STRICH Barcode Scanning SDK API Reference
    Preparing search index...

    Interface LocatorConfiguration

    Locator configuration

    interface LocatorConfiguration {
        chromaReject?: boolean;
        forceSyncReadback?: boolean;
        impl?: "webgl2" | "auto";
        regionOfInterest?: RegionOfInterest;
    }
    Index

    Properties

    chromaReject?: boolean

    Disregard colorful areas, assume barcodes are printed black on white.

    This is an advanced setting and should normally not be changed.

    false
    
    forceSyncReadback?: boolean

    Disable asynchronous reads from GPU when using webgl2 LocatorConfiguration.impl.

    Some older iOS versions have issues with WebGL2 asynchronous reads. There is usually no need to change this setting from its default.

    false
    
    impl?: "webgl2" | "auto"

    The locator implementation to use.

    This is an advanced setting and should normally not be changed. It used to be possible to force WebGL 1, but starting with 1.5, WebGL1 is no longer supported. This property might be used in the future to switch to a WebGPU-powered locator.

    auto
    
    regionOfInterest?: RegionOfInterest

    The region of interest in viewport coordinates.

    if no region of interest is specified, an appropriate one will automatically be selected at run-time depending on the configured symbologies.