Barcode

Scan capability overview

Anyline has leveraged our extensive computer vision and machine-learning expertise to develop a best-in-class 1D and 2D barcode symbology SDK. With the ability to tolerate real-world variations like reflections, warping due to cylindrical or curved surfaces, low contrast codes, damaged or obscured codes, and inverted polarity codes, customers can realize faster throughput and more accurate data quality in their front-line barcode scanning applications.

Single barcode scanning

Instantly detect and decode a single barcode with high accuracy. Optimized for real-time scanning across various barcode types, even in challenging conditions.

Single barcode scanning
{
  "pluginConfig": {
    "id": "MyBarcodePlugin",
    "barcodeConfig": {
      "multiBarcode": false
    },
    "cancelOnResult": true
  }
}
JSON

For details, refer to the Plugin Config JSON schema.

Multiple barcode scanning

Capture multiple barcodes in a single scan session, improving efficiency for inventory tracking, logistics, and batch processing use cases.

Single barcode scanning
{
  "pluginConfig": {
    "id": "MyBarcodePlugin",
    "barcodeConfig": {
      "multiBarcode": true
    },
    "cancelOnResult": true
  }
}
JSON

For details, refer to the Plugin Config JSON schema.

Full screen scanning

To enable fullscreen scanning for your plugins, remove the cutoutConfig node from the config JSON. This setup enables object detection anywhere within the scan view, without displaying a cutout.

{
    "viewPluginConfig": {
        "pluginConfig": {
            "id": "barcode_fullframe",
            "barcodeConfig": {
                "barcodeFormats": [ "ALL" ]
            },
            "cancelOnResult": true
        },
        "scanFeedbackConfig": {
            "style": "rect",
            "strokeWidth": 1,
            "strokeColor": "#0099FF",
            "fillColor": "#330099FF",
            "beepOnResult": false,
            "vibrateOnResult": false,
            "blinkAnimationOnResult": false
        }
    }
}
json

This will allow objects being scanned to be detected wherever they are visible in the scan view. No cutout will be displayed.

In code, use the ALCutoutConfig’s defaultCutoutConfig method or pass a null value to the ALScanViewPluginConfig initializer.

While full frame scanning could technically be used on any Anyline plugin, this is only tested to work well with barcodes. Alternatively, you can simulate the clean look without the cutout by setting the strokeWidth and outerAlpha to 0 and adjusting the cutout region to fill as much of the scan view frame as possible.

Consecutive barcode results

Allows the same barcode to be scanned multiple times consecutively in continuous scanning mode.

Default: false – set it to true if you need repeated barcode results.

For details, refer to the Plugin Config JSON schema.

ParseAAMVA

Extract and process structured data from AAMVA-compliant barcodes, commonly found on driver’s licenses and ID cards in the U.S.

Default: false – set it to true to enable automatic parsing.

For details, refer to the Plugin Config JSON schema.

Supported Formats

Custom Symbology Selection: Configure the scanner to detect only the barcode types relevant to your use case, improving speed and accuracy.

Barcode Code Example

1D Inverse

ONE_D_INVERSE

Aztec / Aztec vCard

AZTEC

Aztec Barcode

Aztec inverse

AZTEC_INVERSE

Bookland/ISBN-10

BOOKLAND

ISBN-10 Barcode

Codabar

CODABAR

Codabar Barcode

Code 11

CODE_11

Code 11 Barcode

Code 32

CODE_32

Code 32 Barcode

Code 39

CODE_39

Code 39 Barcode

Code 93

CODE_93

Code 93 Barcode

Code 128 / EAN-14 / EAN-18 / EAN-128

CODE_128

Code-128 Barcode

GS1 Databar

DATABAR

GS1-128 Coupon

COUPON

Data Matrix

DATA_MATRIX

Data Matrix Barcode

Discrete 2 of 5

DISCRETE_2_5

DotCode

DOT_CODE

EAN 8

EAN_8

EAN-8 Barcode

EAN 13 / EAN-99 / ISMN

EAN_13

EAN-13 Barcode

GS1 QR Code

GS1_QR_CODE

GS QR-Code Barcode

GS1 128

GS1_128

GS1-128 Barcode

ITF-14 / Leitcode

ITF

ITF-14 Barcode

ISSN

ISSN_EAN

ISBT 128

ISBT_128

ISBT-128 Barcode

Klant index (KIX)

KIX

MATRIX 2 of 5

MATRIX_2_5

MSI/Plessey

MSI

MSI/Plessey Barcode

Micro QR

MICRO_QR

Micro QR Code Barcode

Micro PDF417

MICRO_PDF

Micro PDF417 Barcode

PDF 417

PDF_417

PDF 417 Barcode

UK Postal/RM4SCC

POST_UK

UK Postal Barcode

QR Code

QR_CODE

QR-Code Barcode

QR Code Inverse

QR_INVERSE

RSS 14

RSS_14

RSS 14 Barcode

RSS Expanded

RSS_EXPANDED

RSS Expanded Barcode

Trioptic

TRIOPTIC

Trioptic Barcode

UPC A / Identcode

UPC_A

UPC A Barcode

UPC E

UPC_E

UPC E Barcode

UPC EAN Extension

UPC_EAN_EXTENSION

UPU FICS Postal

UPU_FICS

USPS 4CB/One Code

USPS_4CB

USPS 4CB Barcode

US Planet

US_PLANET

US Planet Barcode

US Postnet

US_POSTNET

US Postnet Barcode

Maxicode

MAXICODE

Plugin configuration and result

Plugin configuration

  • Find the PluginConfig parameters here.

Plugin result

  • Find the PluginResult parameters here.