Property | Defined By | ||
---|---|---|---|
statsCollectionEnabled : Boolean [static] | Mlkit |
Method | Defined By | ||
---|---|---|---|
cleanNativeReferences():void [static]
Clean all Native Firebase Vision Objects. | Mlkit | ||
createVisionImageFromBitmapData($bmd:BitmapData):VisionImage [static] | Mlkit | ||
[static] | Mlkit | ||
createVisionImageFromFile($file:File, $useAirPrefixForAndroid:Boolean = true):VisionImage [static] | Mlkit | ||
doGarbageCollect():void [static] Deprecated, use 'cleanNativeReferences' instead | Mlkit | ||
init():void [static] | Mlkit | ||
[static] | Mlkit | ||
[static] | Mlkit | ||
[static] | Mlkit | ||
[static] | Mlkit | ||
[static] | Mlkit | ||
[static]
| Mlkit |
Constant | Defined By | ||
---|---|---|---|
EXTENSION_ID : String = com.myflashlab.air.extensions.firebase.mlkit [static] | Mlkit | ||
ON_CLOUD : int = 1 [static] | Mlkit | ||
ON_DEVICE : int = 0 [static] | Mlkit | ||
VERSION : String = 8.0.1 [static] | Mlkit |
statsCollectionEnabled | property |
statsCollectionEnabled:Boolean
public static function get statsCollectionEnabled():Boolean
public static function set statsCollectionEnabled(value:Boolean):void
cleanNativeReferences | () | method |
public static function cleanNativeReferences():void
Clean all Native Firebase Vision Objects. Doing this will invalidate all the VisionImage objects and you must create new ones afterwards.
createVisionImageFromBitmapData | () | method |
public static function createVisionImageFromBitmapData($bmd:BitmapData):VisionImage
Parameters
$bmd:BitmapData |
VisionImage |
createVisionImageFromBytes | () | method |
public static function createVisionImageFromBytes($bytes:ByteArray, $metadata:VisionImageMetadata):VisionImage
Parameters
$bytes:ByteArray | |
$metadata:VisionImageMetadata |
VisionImage |
createVisionImageFromFile | () | method |
public static function createVisionImageFromFile($file:File, $useAirPrefixForAndroid:Boolean = true):VisionImage
Parameters
$file:File | |
$useAirPrefixForAndroid:Boolean (default = true )
|
VisionImage |
doGarbageCollect | () | method |
public static function doGarbageCollect():void
Deprecated, use 'cleanNativeReferences' instead
init | () | method |
public static function init():void
initBarcodeDetector | () | method |
public static function initBarcodeDetector($options:BarcodeDetectorOptions = null):BarcodeDetector
Parameters
$options:BarcodeDetectorOptions (default = null )
|
BarcodeDetector |
initFaceDetector | () | method |
public static function initFaceDetector($options:FaceDetectorOptions = null):FaceDetector
Parameters
$options:FaceDetectorOptions (default = null )
|
FaceDetector |
initImageLabeler | () | method |
public static function initImageLabeler($type:int, $options:ImageLabelerOptions = null):ImageLabeler
Parameters
$type:int (default = NaN )
| |
$options:ImageLabelerOptions (default = null )
|
ImageLabeler |
initLandmarkDetector | () | method |
public static function initLandmarkDetector($options:LandmarkDetectorOptions = null):LandmarkDetector
Parameters
$options:LandmarkDetectorOptions (default = null )
|
LandmarkDetector |
initLanguageIdentifier | () | method |
public static function initLanguageIdentifier($options:LanguageIdentifierOptions = null):LanguageIdentifier
Parameters
$options:LanguageIdentifierOptions (default = null )
|
LanguageIdentifier |
initTextRecognizer | () | method |
public static function initTextRecognizer($type:int, $options:TextRecognizerCloudOptions = null):TextRecognizer
Parameters
$type:int (default = NaN ) — Mlkit.ON_DEVICE or Mlkit.ON_CLOUD
| |
$options:TextRecognizerCloudOptions (default = null )
|
TextRecognizer — |
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.firebase.mlkit
ON_CLOUD | Constant |
public static const ON_CLOUD:int = 1
ON_DEVICE | Constant |
public static const ON_DEVICE:int = 0
VERSION | Constant |
public static const VERSION:String = 8.0.1