Package | com.myflashlab.air.extensions.firebase.mlkit |
Class | public class BarcodeDetector |
Inheritance | BarcodeDetector Object |
Method | Defined By | ||
---|---|---|---|
close():void
Closes the barcode detector and release its model resources. | BarcodeDetector | ||
process($visionImage:VisionImage, $callback:Function):void | BarcodeDetector |
Constant | Defined 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 |
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 |
FORMAT_AZTEC | Constant |
public static const FORMAT_AZTEC:int = 13
FORMAT_CODABAR | Constant |
public static const FORMAT_CODABAR:int = 4
FORMAT_CODE_128 | Constant |
public static const FORMAT_CODE_128:int = 1
FORMAT_CODE_39 | Constant |
public static const FORMAT_CODE_39:int = 2
FORMAT_CODE_93 | Constant |
public static const FORMAT_CODE_93:int = 3
FORMAT_DATA_MATRIX | Constant |
public static const FORMAT_DATA_MATRIX:int = 5
FORMAT_EAN_13 | Constant |
public static const FORMAT_EAN_13:int = 6
FORMAT_EAN_8 | Constant |
public static const FORMAT_EAN_8:int = 7
FORMAT_ITF | Constant |
public static const FORMAT_ITF:int = 8
FORMAT_PDF417 | Constant |
public static const FORMAT_PDF417:int = 12
FORMAT_QR_CODE | Constant |
public static const FORMAT_QR_CODE:int = 9
FORMAT_UPC_A | Constant |
public static const FORMAT_UPC_A:int = 10
FORMAT_UPC_E | Constant |
public static const FORMAT_UPC_E:int = 11