public interface Detector extends Closeable,
LifecycleObserver
Detector
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 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eDetector\u003c/code\u003e is a base interface for ML Kit vision features, allowing detection of various elements like barcodes, faces, images, objects, poses, and text within images.\u003c/p\u003e\n"],["\u003cp\u003eIt extends \u003ccode\u003eCloseable\u003c/code\u003e and \u003ccode\u003eLifecycleObserver\u003c/code\u003e, enabling resource management and integration with Android's lifecycle.\u003c/p\u003e\n"],["\u003cp\u003eSubclasses of \u003ccode\u003eDetector\u003c/code\u003e provide specific functionalities, such as \u003ccode\u003eBarcodeScanner\u003c/code\u003e for recognizing barcodes, \u003ccode\u003eFaceDetector\u003c/code\u003e for finding faces, and more.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDetector\u003c/code\u003e processes input images through the \u003ccode\u003eInputImage\u003c/code\u003e class to identify and extract desired information.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage \u003ccode\u003eDetector\u003c/code\u003e implementations to build applications with computer vision capabilities.\u003c/p\u003e\n"]]],[],null,[]]