MLKitObjectDetection Framework Reference

  • This documentation outlines the available global constants for object detection in ML Kit.

  • Two main detector modes are presented: singleImage where results are returned after tracker and detector finish, and stream where results are returned after tracker processing while detection might still be ongoing.

  • Several object label constants are defined, including fashionGood, homeGood, food, place, and plant, available as both labels and label indices.

Constants

The following constants are available globally.