Others

Container

Preset Config

// init the Anyline SDK with a preset config
anyline = window.anylinejs.init({
    preset: 'container',
    license: demoLicense,
    element: root,
    anylinePath: '../anylinejs',
});

Example Config

config: {
  containerConfig: {
      scanMode: 'HORIZONTAL',
  }
}

Config Parameters

  • scanMode

    • HORIZONTAL

This scans ISO 6346 shipping container numbers in horizontal alignment.

  • scanMode

    • VERTICAL

This scans ISO 6346 shipping container numbers in vertical alignment.

  • validationRegex

    We internally check if the scan result conforms to the ISO 6346 shipping container number specifications, but if you would like to use your custom check you can set here a regex. An alphanumeric string that has to conform to ECMAScript regex.

  • minConfidence

    Results with lower confidence than minConfidence get rejected automatically. This value is a number between 0 and 100. The default is 60.