Stay organized with collections
Save and categorize content based on your preferences.
Object Detection and Tracking
plat_iosplat_android
With ML Kit's on-device object detection and tracking API, you can localize
and track in real time the most prominent objects in an image or live camera
feed. You can also optionally classify detected objects into one of several
general categories.
Object detection and tracking with coarse classification is useful for building
live visual search experiences. Because object detection and tracking happens
quickly and completely on the device, it works well as the front end of a longer
visual search pipeline. After you detect and filter objects, you can pass them
to a cloud backend, such as Cloud Vision Product Search,
or to a custom model, such as one you trained using
AutoML Vision Edge.
Detect objects and get their location in the image. Track objects across
images.
Optimized on-device model
The object detection and tracking model is optimized for mobile devices
and intended for use in real-time applications, even on lower-end
devices.
Prominent object detection
Automatically determine the most prominent object in an image.
Coarse classification
Classify objects into broad categories, which you can use to filter out
objects you're not interested in. The following categories are supported:
home goods, fashion goods, food, plants, places, and unknown.
[[["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 2025-08-15 UTC."],[],[],null,["Object Detection and Tracking \nplat_ios plat_android \n\nWith ML Kit's on-device object detection and tracking API, you can localize\nand track in real time the most prominent objects in an image or live camera\nfeed. You can also optionally classify detected objects into one of several\ngeneral categories.\n\nObject detection and tracking with coarse classification is useful for building\nlive visual search experiences. Because object detection and tracking happens\nquickly and completely on the device, it works well as the front end of a longer\nvisual search pipeline. After you detect and filter objects, you can pass them\nto a cloud backend, such as [Cloud Vision Product Search](https://cloud.google.com/vision/product-search/docs/),\nor to a custom model, such as one you trained using\n[AutoML Vision Edge](/docs/ml-kit/automl-vision-edge).\n\n[iOS](/docs/ml-kit/ios/detect-objects)\n[Android](/docs/ml-kit/android/detect-objects)\n| This is a beta release of ML Kit for Firebase. This API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy.\n\nKey capabilities\n\nExample results\n\nTracking the most prominent object across images\n\nPhoto: Christian Ferrer \\[CC BY-SA 4.0\\]\n\nMultiple objects in a static image"]]