Auto-Annotation
Use AI to help you build AI. Auto annotation uses your model predictions to label your training data
This tutorial demonstrates how auto-annotation workflows can be configured within the Clarifai platform. With auto-annotation, you can use model predictions to label your inputs. Auto-annotation can help you to prepare training data, or assign other useful labels and metadata to your inputs.
When a concept is predicted by a model, it is predicted with a confidence score between 0 and 1. For example, when your model predictions are confident (close to 1), you can have your data automatically labeled with that concept. When your predictions are less-than-confident, you can have your input sent to a human being for review.
This enables you to speed-up and scale-up your annotation process while ensuring quality standards.
In the Clarifai platform, the outputs from one model can be used as inputs to another model. This forms a workflow. Different models accept and produce different types of inputs and outputs.
In this tutorial, we'll create a workflow that detects bounding box regions in images of cats and dogs. Once a certain threshold is met, the workflow will automatically generate annotations for these detected regions. If the threshold is not met, the annotation will be marked as pending review.
Here's what our final workflow will look like:
Prerequisites
- Create an application, add images of cats and dogs to a dataset in the app, and add bounding box labels of
cat
anddog
to the images, respectively. You could use the following images:
https://samples.clarifai.com/dog1.jpeg
https://samples.clarifai.com/dog2.jpeg
https://samples.clarifai.com/dog3.jpeg
https://samples.clarifai.com/cat1.jpeg
https://samples.clarifai.com/cat2.jpeg
https://samples.clarifai.com/cat3.jpeg
- Create a visual detector model and train it with the
cat
anddog
concepts. - Create a labeling task. Remember to choose
Detection
as the modeling objective. Then, go to the Tasks listing page and copy the ID of the task.