Skip to content

Instantly share code, notes, and snippets.

@Prasad9
Created November 6, 2017 13:54
Show Gist options
  • Save Prasad9/30900b0ef1375cc7385f4d85135fdb44 to your computer and use it in GitHub Desktop.
Save Prasad9/30900b0ef1375cc7385f4d85135fdb44 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>
@kaanakdik
Copy link

What is best tool or method for creating our own segmentation dataset on pascal voc format?

@andihaki
Copy link

andihaki commented Sep 5, 2021

does .xml (pascal voc) support for facelandmark (68 keypoint for example)? any example xml file

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