Detector

  • Detector is an interface used for ML Kit vision features and extends Closeable and LifecycleObserver.

  • Detector has known indirect subclasses such as BarcodeScanner, FaceDetector, and ObjectDetector.

  • Subclasses like BarcodeScanner and FaceDetector recognize specific features in supplied images.

  • Detector inherits a close() method from both Closeable and AutoCloseable interfaces.

public interface Detector extends Closeable , LifecycleObserver
Known Indirect Subclasses
BarcodeScanner Recognizes barcodes (in a variety of 1D and 2D formats) in a supplied InputImage
FaceDetector A FaceDetection client for finding Face s in a supplied image. 
ImageLabeler An ImageLabeling client for finding ImageLabel s in a supplied image. 
ObjectDetector An ObjectDetection client for finding DetectedObject s in a supplied image. 
PoseDetector A PoseDetection client for finding Pose in a supplied image. 
Segmenter A Segmentation client for identifying pixels in a supplied image as being part of the foreground or the background. 
TextRecognizer TextRecognition client for performing optical character recognition(OCR) on an input image to detect latin-based characters. 

Detector for ML Kit vision features.

Inherited Method Summary

Design a Mobile Site
View Site in Mobile | Classic
Share by: