capacitor-plugin-scanbot-barcode-scanner-sdk
    Preparing search index...

    Type Alias OneDConfirmationMode

    OneDConfirmationMode: "NONE" | "MINIMAL" | "MODERATE" | "THOROUGH"

    Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes. Some barcode types are naturally prone to false positives (e.g. MSI Plessey). For those barcode types false positives can be drastically reduced (precision can be increased) by requiring that multiple scan-lines in the input scan to the same result. However, this stronger condition can lead to missed barcodes (lower recall). Confirmation is avoided for barcode types, which are by design resistant to false positives, (e.g. Code128) to maximize recall.

    • NONE: No confirmation is required. This mode is the most prone to generating false positives.
    • MINIMAL: Minimal confirmation is performed. Compared to no confirmation, it provides a substantial decrease in false positives (increased precision), at the cost of a minimal decrease in recall.
    • MODERATE: Moderate confirmation is performed. Compared to minimal confirmation, it provides an additional decrease in false positives, at the cost of a slight decrease in recall.
    • THOROUGH: Recommended. Thorough confirmation is performed. Almost completely eliminates false positives, at the cost of an additional slight decrease in recall.

    Type Declaration

    • "NONE"

      No confirmation is required. This mode is the most prone to generating false positives.

    • "MINIMAL"

      Minimal confirmation is performed. Compared to no confirmation, it provides a substantial decrease in false positives (increased precision), at the cost of a minimal decrease in recall.

    • "MODERATE"

      Moderate confirmation is performed. Compared to minimal confirmation, it provides an additional decrease in false positives, at the cost of a slight decrease in recall.

    • "THOROUGH"

      Recommended. Thorough confirmation is performed. Almost completely eliminates false positives, at the cost of an additional slight decrease in recall.