| Package | com.tuarua.firebase.ml.vision.cloud.landmark |
| Class | public class CloudLandmarkDetector |
| Inheritance | CloudLandmarkDetector Object |
| Method | Defined By | ||
|---|---|---|---|
close():void Closes the landmark detector and release its model resources. | CloudLandmarkDetector | ||
detect(image:VisionImage, listener:Function):void
Detects landmark in a given image. | CloudLandmarkDetector | ||
| Constant | Defined By | ||
|---|---|---|---|
| NAME : String = VisionLandmarkANE [static] | CloudLandmarkDetector | ||
| close | () | method |
public function close():voidCloses the landmark detector and release its model resources.
| detect | () | method |
public function detect(image:VisionImage, listener:Function):voidDetects landmark in a given image.
Parameters
image:VisionImage — The image to use for detecting landmark.
| |
listener:Function — Closure to call back on the main queue with landmark detected or error.
|
| NAME | Constant |
public static const NAME:String = VisionLandmarkANE