Options
All
  • Public
  • Public/Protected
  • All
Menu

Detects barcodes in the images from the camera.

Hierarchy

  • BarcodeFinder
    • BarcodeFinder

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

onDetection

onDetection: Event1<BarcodeFinderFound>

Emitted when a barcode becomes visible in a camera frame.

Accessors

enabled

  • get enabled(): boolean
  • set enabled(e: boolean): void
  • Gets/sets the enabled state of the barcode finder. Disable when not in use to save computational resources during frame processing.

    Returns boolean

  • Gets/sets the enabled state of the barcode finder. Disable when not in use to save computational resources during frame processing.

    Parameters

    • e: boolean

    Returns void

formats

  • get formats(): barcode_format_t[]
  • set formats(f: barcode_format_t[]): void
  • Gets/sets the barcode formats to scan for.

    Returns barcode_format_t[]

  • Gets/sets the barcode formats to scan for.

    Parameters

    • f: barcode_format_t[]

    Returns void

found

  • Returns an array of discovered barcodes

    Returns BarcodeFinderFound[]

Methods

destroy

  • destroy(): void
  • Destroys the barcode finder.

    Returns void

Legend

  • Constructor
  • Property
  • Method

Generated using TypeDoc