"cameraStartDetectBarcode"

Starts the detection of a barcode in the camera feed

Synopsis

int cameraStartDetectBarcode(string decoderFormat = "")

Parameters

Parameter Description
fileName

decoderFormat can be any "|" combination of the strings, limiting the format to be detected.

By default (or empty) all supported formats are enabled.

  • DecoderFormat_Aztec
  • DecoderFormat_CODABAR
  • DecoderFormat_CODE_39
  • DecoderFormat_CODE_93
  • DecoderFormat_CODE_128
  • DecoderFormat_DATA_MATRIX
  • DecoderFormat_EAN_8
  • DecoderFormat_EAN_13
  • DecoderFormat_ITF
  • DecoderFormat_MAXICODE
  • DecoderFormat_PDF_417
  • DecoderFormat_QR_CODE
  • DecoderFormat_RSS_14
  • DecoderFormat_RSS_EXPANDED
  • DecoderFormat_UPC_A
  • DecoderFormat_UPC_E
  • DecoderFormat_UPC_EAN_EXTENSION
  • DecoderFormat_CODE_128_GS1

Return Value

The function returns 0 and in case of an error -1.

Description

The function starts the detection of a barcode in the camera feed in the specified decoder format. If a barcode is detected, the barcodeDetected(string code) event is called.

Assignment

VideoPlayer.ewo