Skip to content

Commit da6ea55

Browse files
nathan-continoJessamyTnpentrel
authored
Update annotate section based on Product feedback (#4452)
Co-authored-by: Jessamy Taylor <[email protected]> Co-authored-by: Naomi Pentrel <[email protected]>
1 parent b25f5fa commit da6ea55

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

docs/data-ai/train/capture-annotate-images.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -286,17 +286,15 @@ You can either manually add annotations through the Viam web UI, or add annotati
286286

287287
## Annotate images
288288

289-
### Classify images with tags
289+
You must annotate images in order to train an ML model on them.
290+
Viam supports two ways to annotate an image:
290291

291-
Classification determines a descriptive tag or set of tags for an image.
292-
For example, you could use classification to answer the following questions:
292+
- Add tags to whole images (classification)
293+
- Label bounding boxes around objects within images (object detection)
293294

294-
- does an image of a food display appear `full`, `empty`, or `average`?
295-
- the quality of manufacturing output `good` or `bad`?
296-
- what combination of toppings exists on a pizza: `pepperoni`, `sausage`, and `pepper`? or `pineapple`, `ham`, and `mushroom`?
295+
### Add tags to an image
297296

298-
Viam supports single and multiple classification.
299-
To create a training dataset for classification, annotate tags to describe your images.
297+
Use tags to add metadata about an entire image, for example if the quality of a manufacturing output is `good` or `bad`.
300298

301299
{{< alert title="Tip" color="tip" >}}
302300

@@ -509,16 +507,9 @@ await dataClient.addTagsToBinaryDataByIds(tags, myIds);
509507

510508
Once you've annotated your dataset, you can [train](/data-ai/train/train-tflite/) an ML model to make inferences.
511509

512-
### Detect objects with bounding boxes
510+
### Label objects within an image
513511

514-
Object detection identifies and determines the location of certain objects in an image.
515-
For example, object detection could help you identify:
516-
517-
- how many `pizza` objects appear on a counter
518-
- the number of `bicycle` and `pedestrian` objects on a greenway
519-
- which `plant` objects are popular with `deer` in your garden
520-
521-
To create a training set for object detection, annotate bounding boxes to teach your model to identify objects that you want to detect in future images.
512+
Use labels to add metadata about objects within an image, for example by drawing bounding boxes around each bicycle in a street scene and adding the bicycle label.
522513

523514
{{< alert title="Tip" color="tip" >}}
524515

0 commit comments

Comments
 (0)