Skip to content

Instantly share code, notes, and snippets.

@srishilesh
Created January 23, 2022 16:26
Show Gist options
  • Save srishilesh/e1b180b55576a6747cecc6e389e86a0b to your computer and use it in GitHub Desktop.
Save srishilesh/e1b180b55576a6747cecc6e389e86a0b to your computer and use it in GitHub Desktop.
A sample XML for PASCAL VOC dataset
<annotation verified="yes">
<folder>MARMOT_ANNOTATION</folder>
<filename>10.1.1.1.2006_3.bmp</filename>
<path>MARMOT_ANNOTATION/10.1.1.1.2006_3.bmp</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>793</width>
<height>1123</height>
<depth>3</depth>
</size>
<segmented>0</segmented>
<object>
<name>column</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>458</xmin>
<ymin>710</ymin>
<xmax>517</xmax>
<ymax>785</ymax>
</bndbox>
</object>
<object>
<name>row</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>458</xmin>
<ymin>710</ymin>
<xmax>517</xmax>
<ymax>785</ymax>
</bndbox>
</object>
</annotation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment