Process all your datasets in one place

Comparison of Annotation Formats

Technical information and the difference between PascalVOC .XML and Microsoft COCO (Common Objects in Context) .JSON Annotation Formats





General

41

Score

62

Score

Winner
Publication 2005 2014
Example
<annotation> 
<folder>Training</folder>
<filename>000001.png</filename>
<path>/my/path/Training/000001.png</path>
<source>
<database>NanoML.org</database>
</source>
<size>
<width>224</width>
<height>224</height>
<depth>3</depth>
</size>
<object>
<name>Car</name>
<pose>Frontal</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>82</xmin>
<xmax>172</xmax>
<ymin>88</ymin>
<ymax>146</ymax>
</bndbox>

</object>
</annotation>
{
    "info": {
        "year": "2021",
        "version": "1.0",
        "description": "Exported from NanoML.org",
        "contributor": "Peter",
        "url": "https://NanoML.org/datasets/test",
        "date_created": "2021-04-10T14:54:31+00:00"
    },
    "licenses": [
        {
	"url": "http://creativecommons.org/licenses/by-nc-sa/2.0/",
	"id": 1,
	"name": "Attribution-NonCommercial-ShareAlike License"
	}
    ],
    "categories": [
        {
	"id": 1,
	"name": "Car",
	"supercategory": "vehicle"
        }
    ],
    "images": [
        {
	"id": 0,
	"license": 1,
	"file_name": "000001.png",
	"height": 292,
	"width": 400,
	"date_captured": "2021-04-10T14:54:31+00:00"
    ],
    "annotations": [
        {
	"id": 0,
	"image_id": 0,
	"category_id": 1,
	"bbox": [
	128,
	259,
	103,
	30
	],
	"area": 3090,
	"segmentation": [],
	"iscrowd": 0
        }
    ]
}
                                                                                                        
Properties
min. Size 0.6 kB 1.05 kB
Size per additional object 0.25 kB 0.3 kB
File Format .XML .JSON
Human readability Good Okay
Popularity
Google Trends Popularity Okay Good
Model availability Bad Good
Structure
Uses normalized values
One Annotation File per Image
LabelMap required
Supported Types
Bounding Box Support
Polygonal Segmentation Support
Dot annotation Support
Other
Recommended Tool Labellmg Coco Annotation Tool