Contents

MLObjectDetector

A model you train to classify one or more objects within an image.

Declaration

struct MLObjectDetector

Mentioned in

Overview

Use an MLObjectDetector task to train a machine learning model that can identify items, or objects, within an image. For example, you can train an object detector to recognize breakfast items on a table, such as bananas, croissants, and beverages.

You create an object detector training it with a combination of images and annotations for each object within an image. Then save it as a Core ML model and use it in your app to recognize similar items.

Topics

Creating a data source

Training an object detector asynchronously

Creating an object detector from a checkpoint

Training an object detector synchronously

Evaluating an object detector

Testing an object detector

Saving an object detector

Inspecting an object detector model

Describing an object detector

Supporting types

Default Implementations

See Also

Image models