Skip to content

Commit c660e1d

Browse files
authored
Update AI.md
1 parent abb6754 commit c660e1d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

AI.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Many people have asked me what the purpose is and how to use AI with Etichetta.
33

44
For simplicity, let’s assume we want to create an AI capable of distinguishing my cat (“goose”) from other cats (“non_goose”). Below is a photo of Goose that I manually annotated using Etichetta.
55

6-
![goose](https://github.com/trikko/etichetta/assets/647157/d06c1b0a-15d9-4700-8cb4-3614d463e5f8)
6+
<img src="https://github.com/trikko/etichetta/assets/647157/d06c1b0a-15d9-4700-8cb4-3614d463e5f8" width="480">
77

88
The standard version of YOLO is able to recognize many different classes from "person" to "toothbrush". Among these is also the “cat” class. Why not take advantage of this potential? By opening the AI settings, I selected the `yolov8s.onnx` model and the `yoloclass.txt` label list.
99

10-
![popup](https://github.com/trikko/etichetta/assets/647157/f244c0ab-89f1-4be3-a00d-1cdaab00dd08)
10+
<img src="https://github.com/trikko/etichetta/assets/647157/f244c0ab-89f1-4be3-a00d-1cdaab00dd08" width="480">
1111

1212
This list contains all the classes that YOLO recognizes, one per line. I changed line 16 from “cat” to “non_goose”.
1313

@@ -24,10 +24,9 @@ dog
2424
toothbrush
2525
```
2626

27-
2827
In this way, returning to the photos to be labeled and pressing the `A` key, all the cats recognized by the AI are labeled as “non_goose” (with a percentage representing the degree of certainty)
2928

30-
![non_goose_1](https://github.com/trikko/etichetta/assets/647157/efde7eb3-e4ea-4cfd-8f7a-fb41e377fb2e)
31-
![non_goose_2](https://github.com/trikko/etichetta/assets/647157/5a9ff296-58bb-4850-b625-1fc74b67793e)
29+
<img src="https://github.com/trikko/etichetta/assets/647157/efde7eb3-e4ea-4cfd-8f7a-fb41e377fb2e" width="480">
30+
<img src="https://github.com/trikko/etichetta/assets/647157/5a9ff296-58bb-4850-b625-1fc74b67793e" width="480">
3231

3332
Now all I have to do is simply adjust the proposed frame and press the `0` or `1` key to choose the right class. A nice difference compared to making all the rectangles from scratch!

0 commit comments

Comments
 (0)