HumanSignal / labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
https://youtu.be/p0nR2YsCY_U
MIT License
22.54k stars 6.27k forks source link

previosly used class name is kept in label box #405

Open bit-scientist opened 5 years ago

bit-scientist commented 5 years ago

I am trying to use yolo format in this labelImg.py, after changing the format to yolo, I opened my folder containing images to label, then I drew box around the object as usual, I was going to insert new class label, but there I can see previously used label name (helmet). I don't need any helmet class name in my classes.txt file. I couldn't get rid of it in any way. I tried to manually make classes.txt file and inserted my 2 completely different class names each to a new line, saved and did the same process above, nothing changed. Is it a bug or something?

vdalv commented 5 years ago

You should be setting your default classes in the: data/predefined_classes.txt file. Try adding your two classes there.