Packagecom.myflashlab.air.extensions.firebase.mlkit
Classpublic class BarcodeDetector
InheritanceBarcodeDetector Inheritance Object



Public Methods
 MethodDefined By
  
close():void
Closes the barcode detector and release its model resources.
BarcodeDetector
  
process($visionImage:VisionImage, $callback:Function):void
BarcodeDetector
Public Constants
 ConstantDefined By
  FORMAT_AZTEC : int = 13
[static]
BarcodeDetector
  FORMAT_CODABAR : int = 4
[static]
BarcodeDetector
  FORMAT_CODE_128 : int = 1
[static]
BarcodeDetector
  FORMAT_CODE_39 : int = 2
[static]
BarcodeDetector
  FORMAT_CODE_93 : int = 3
[static]
BarcodeDetector
  FORMAT_DATA_MATRIX : int = 5
[static]
BarcodeDetector
  FORMAT_EAN_13 : int = 6
[static]
BarcodeDetector
  FORMAT_EAN_8 : int = 7
[static]
BarcodeDetector
  FORMAT_ITF : int = 8
[static]
BarcodeDetector
  FORMAT_PDF417 : int = 12
[static]
BarcodeDetector
  FORMAT_QR_CODE : int = 9
[static]
BarcodeDetector
  FORMAT_UPC_A : int = 10
[static]
BarcodeDetector
  FORMAT_UPC_E : int = 11
[static]
BarcodeDetector
Method Detail
close()method
public function close():void

Closes the barcode detector and release its model resources. To use it again, you must init again.

process()method 
public function process($visionImage:VisionImage, $callback:Function):void

Parameters

$visionImage:VisionImage
 
$callback:Function

Constant Detail
FORMAT_AZTECConstant
public static const FORMAT_AZTEC:int = 13

FORMAT_CODABARConstant 
public static const FORMAT_CODABAR:int = 4

FORMAT_CODE_128Constant 
public static const FORMAT_CODE_128:int = 1

FORMAT_CODE_39Constant 
public static const FORMAT_CODE_39:int = 2

FORMAT_CODE_93Constant 
public static const FORMAT_CODE_93:int = 3

FORMAT_DATA_MATRIXConstant 
public static const FORMAT_DATA_MATRIX:int = 5

FORMAT_EAN_13Constant 
public static const FORMAT_EAN_13:int = 6

FORMAT_EAN_8Constant 
public static const FORMAT_EAN_8:int = 7

FORMAT_ITFConstant 
public static const FORMAT_ITF:int = 8

FORMAT_PDF417Constant 
public static const FORMAT_PDF417:int = 12

FORMAT_QR_CODEConstant 
public static const FORMAT_QR_CODE:int = 9

FORMAT_UPC_AConstant 
public static const FORMAT_UPC_A:int = 10

FORMAT_UPC_EConstant 
public static const FORMAT_UPC_E:int = 11