/** * LocalizationMode specifies the strategies used to identify the locations of barcodes within an image. * @see {@link SimplifiedBarcodeReaderSettings.localizationModes} * */ export enum EnumLocalizationMode { LM_END = -1, /** Omits the localization process entirely. */ LM_SKIP = 0x0, /** Automatic localization mode selection; not yet implemented. */ LM_AUTO = 0x1, /** Identifies barcodes by finding connected blocks, offering optimal results, especially recommended for highest priority in most scenarios. */ LM_CONNECTED_BLOCKS = 0x2, /** Detects barcodes through analysis of patterns of contiguous black and white regions, tailored for QR Codes and DataMatrix codes. */ LM_STATISTICS = 0x4, /** Locates barcodes by identifying linear patterns, designed primarily for 1D barcodes and PDF417 codes. */ LM_LINES = 0x8, /** Provides rapid barcode localization, suited for interactive applications where speed is crucial. */ LM_SCAN_DIRECTLY = 0x10, /** Targets barcode localization through detection of specific mark groups, optimized for Direct Part Marking (DPM) codes. */ LM_STATISTICS_MARKS = 0x20, /** Combines methods of locating connected blocks and linear patterns to efficiently localize postal codes. */ LM_STATISTICS_POSTAL_CODE = 0x40, /** Initiates barcode localization from the image center, facilitating faster detection in certain layouts. */ LM_CENTRE = 0x80, /** Specialized for quick localization of 1D barcodes, enhancing performance in fast-scan scenarios. */ LM_ONED_FAST_SCAN = 0x100, }