Skip to content

Instantly share code, notes, and snippets.

@SpiralOutDotEu
Forked from Prasad9/annotation.xml
Created June 7, 2019 16:39
Show Gist options
  • Save SpiralOutDotEu/c58b8d028860adf7261e7d1243150bd1 to your computer and use it in GitHub Desktop.
Save SpiralOutDotEu/c58b8d028860adf7261e7d1243150bd1 to your computer and use it in GitHub Desktop.
A sample XML annotation file based on Pascal VOC format.
<annotation>
<folder>GeneratedData_Train</folder>
<filename>000001.png</filename>
<path>/my/path/GeneratedData_Train/000001.png</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>224</width>
<height>224</height>
<depth>3</depth>
</size>
<segmented>0</segmented>
<object>
<name>21</name>
<pose>Frontal</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<occluded>0</occluded>
<bndbox>
<xmin>82</xmin>
<xmax>172</xmax>
<ymin>88</ymin>
<ymax>146</ymax>
</bndbox>
</object>
</annotation>
@MeghnaDesai
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment