Skip to content

Instantly share code, notes, and snippets.

@natxopedreira
Forked from Prasad9/annotation.xml
Created June 1, 2020 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natxopedreira/52eb2d2e24f3d8d80c3f97916f5d1481 to your computer and use it in GitHub Desktop.
Save natxopedreira/52eb2d2e24f3d8d80c3f97916f5d1481 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment