can.inan
can.inan

Reputation: 39

Yolo Darknet: How to label images

I am new to Object Detection with Yolo and I have questions regarding the labeling (for custom objects): Is there any guideline or tips on how to label images to have high accuracy at the end? Anything I have to take care of?

For example what if I have one object twice next to each other like in the following picture: enter image description here

https://www.manchestereveningnews.co.uk/news/greater-manchester-news/greater-manchester-28-new-buses-17777605.amp

How would you label the black bus? Just the black part or would you assume the whole bus and thus create a box that would include the blue bus as well?

Upvotes: 2

Views: 4051

Answers (2)

B200011011
B200011011

Reputation: 4258

Update:

Below are two examples of images labeled in COCO Dataset that show complex cases. You may explore further on the dataset to find out how they handled different cases.

Another resource, http://vision.stanford.edu/pdf/bbox_submission.pdf.

Image 1:

enter image description here

Image 2:

enter image description here


These links below may help.

Upvotes: 5

WS Ayan
WS Ayan

Reputation: 521

You can create labels by color. For example if there are buses with different colors like black,red,blue and others you can label them with names like black_bus, red_bus, blue_bus and default_bus. But accuracy depends on the number of training images. You need thousands of images of each colored bus to get better accuracy.

You can label the example image like this:

black and blue labels

Upvotes: 0

Related Questions