BarcodeScanningAnalyzer

条码扫描分析器

根据需要,可以通过构造函数指定要检测的条形码格式,以优化性能和准确性。

支持检测识别的条形码格式主要有:

  • 线性格式:Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, ITF, UPC-A, UPC-E

  • 2D格式:Aztec, Data Matrix, PDF417, QR Code

具体条码格式定义见:Barcode.BarcodeFormat

Author

Jenly

Follow me

Constructors

Link copied to clipboard
constructor()
constructor(barcodeFormat: Int, vararg barcodeFormats: Int)
constructor(options: BarcodeScannerOptions?)

Functions

Link copied to clipboard
open override fun analyze(imageProxy: ImageProxy, listener: Analyzer.OnAnalyzeListener<List<Barcode>>)