com.google.mlkit.vision.objects
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
Interfaces
Classes
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.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe ML Kit Object Detection API allows you to identify and track objects within images.\u003c/p\u003e\n"],["\u003cp\u003eThis API provides functionalities like object detection and classification, enabling the identification of specific objects and their categories.\u003c/p\u003e\n"],["\u003cp\u003eYou can utilize interfaces such as \u003ccode\u003eObjectDetector\u003c/code\u003e and classes like \u003ccode\u003eDetectedObject\u003c/code\u003e to interact with and retrieve information about detected objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eObjectDetectorOptionsBase\u003c/code\u003e offers customization choices for tailoring the object detection process according to your requirements.\u003c/p\u003e\n"],["\u003cp\u003eThis API caters to both still image analysis and continuous object tracking in video streams.\u003c/p\u003e\n"]]],["The content defines key components for object detection in images. `ObjectDetector` finds `DetectedObject`s, and its mode is set via `DetectorMode`. `DetectedObject` represents a found object, with `DetectedObject.Label` providing its labels. `ObjectDetection` is the entry point for retrieving an `ObjectDetector`. `ObjectDetectorOptionsBase` contains the base settings for configuring the detector. The core action is the detection of objects within an image, returning details on the objects found.\n"],null,["# com.google.mlkit.vision.objects\n\n### Annotations\n\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [ObjectDetectorOptionsBase.DetectorMode](/android/reference/com/google/mlkit/vision/objects/ObjectDetectorOptionsBase.DetectorMode) | The detector mode which indicates whether detection is for single image or for streaming. |\n\n### Interfaces\n\n|-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ObjectDetector](/android/reference/com/google/mlkit/vision/objects/ObjectDetector) | An [ObjectDetection](/android/reference/com/google/mlkit/vision/objects/ObjectDetection) client for finding [DetectedObject](/android/reference/com/google/mlkit/vision/objects/DetectedObject)s in a supplied image. |\n\n### Classes\n\n|-----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DetectedObject](/android/reference/com/google/mlkit/vision/objects/DetectedObject) | Represents an object detected by [ObjectDetector](/android/reference/com/google/mlkit/vision/objects/ObjectDetector). |\n| [DetectedObject.Label](/android/reference/com/google/mlkit/vision/objects/DetectedObject.Label) | Represents an image label of a detected object. |\n| [ObjectDetection](/android/reference/com/google/mlkit/vision/objects/ObjectDetection) | Entry point to get an [ObjectDetector](/android/reference/com/google/mlkit/vision/objects/ObjectDetector) for finding [DetectedObject](/android/reference/com/google/mlkit/vision/objects/DetectedObject)s in a supplied image. |\n| [ObjectDetectorOptionsBase](/android/reference/com/google/mlkit/vision/objects/ObjectDetectorOptionsBase) | Base options for [ObjectDetector](/android/reference/com/google/mlkit/vision/objects/ObjectDetector). |"]]