public interface Detector extends Closeable,
LifecycleObserver
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-01-25 UTC.
[null,null,["Last updated 2022-01-25 UTC."],[[["`Detector` is a base interface for ML Kit vision features, allowing detection of various elements like barcodes, faces, images, objects, poses, and text within images."],["It extends `Closeable` and `LifecycleObserver`, enabling resource management and integration with Android's lifecycle."],["Subclasses of `Detector` provide specific functionalities, such as `BarcodeScanner` for recognizing barcodes, `FaceDetector` for finding faces, and more."],["`Detector` processes input images through the `InputImage` class to identify and extract desired information."],["Developers can leverage `Detector` implementations to build applications with computer vision capabilities."]]],[]]