What are annotations?


Annotations represent detailed information about a specific image that can be used in the training process.

Annotations can specify a category assigned to the entire image (for classification training) or the position of 0 or more objects along with their categories (for detection training).


#Annotation formats


Annotations can be represented by files that are compatible with different formats. Our portal currently supports two annotation formats:


Annotation files can be imported into the portal when uploading images, as long as they are saved in one of the supported formats and meet the requirements outlined below. Similarly, when downloading, we can specify the format in which we would like to export our annotations.


#Pascal VOC


For Pascal VOC, the annotation file in .xml format must be structured as below:



#Darknet TXT


For Darknet TXT, the annotation file with the .txt extension must have a structure shown below:



The file in which all category names are listed must be named labels.txt. Otherwise, the annotations will not be read correctly by the portal. The first number in a line in the annotation file indicates the category index from the labels.txt file, numbered from zero upward.