BarcodeCandidate

AttributeDescription

barcode

The value of the scanned barcode.

boundingBox

A box describing the location of the barcode in the camera view.


/**
 * A UPC code captured by scanning a barcode
 */
export type Barcode = string

/**
 * A candidate resulting from barcode scanning
 */
export interface BarcodeCandidate {
  /**
   * The value of the scanned barcode
   */
  barcode: Barcode

  /**
   * A box describing the location of the barcode in the camera view
   */
  boundingBox: BoundingBox
}

Last updated