Interface BarcodeCameraViewScannerConfiguration

interface BarcodeCameraViewScannerConfiguration {
    accumulationConfig?: BarcodeAccumulationConfiguration;
    barcodeFormatConfigurations?: BarcodeFormatConfigurationBase[];
    engineMode?: BarcodeScannerEngineMode;
    extractedDocumentFormats?: BarcodeDocumentFormat[];
    onlyAcceptDocuments?: boolean;
    optimizedForOverlays?: boolean;
    returnBarcodeImage?: boolean;
}

Properties

Configuration to accumulate barcodes across multiple frames in live mode.

barcodeFormatConfigurations?: BarcodeFormatConfigurationBase[]

Options for barcode decoding.

The engine mode for barcode scanning. Default is NEXT_GEN

extractedDocumentFormats?: BarcodeDocumentFormat[]

List of document formats to be extracted. Barcodes that decode to one of the extracted document formats will have the extractedDocument field in BarcodeItem populated with the parsed document. By default, all supported barcode document formats are accepted. If empty, no barcodes will be parsed into documents.

onlyAcceptDocuments?: boolean

If true and acceptedDocumentFormats is not empty, then barcodes that don't decode to one of the accepted document formats will be ignored. Default is false

optimizedForOverlays?: boolean

If true, the quads of linear (1D) barcodes will be further refined to more closely match the barcode's outline in the input image. This will also produce stabler barcode outlines across frames for use cases such as AR. Default is false

returnBarcodeImage?: boolean

If true, the barcode image will be returned in the BarcodeItem. Default is false