Pascal VOC - “Pattern Analysis, Statistical Modeling and Computational Learning Visual Object Classes” format is the input to the Pascal object detector.
Rectangle and Polygon (converted to Rectangle) are supported.
<annotation><folder>GeneratedData_Train</folder><filename>AdobeStock_178130386.jpeg</filename><source><database>3</database></source><size><width>5347</width><height>3565</height><depth>Unknown</depth></size><segmented>0</segmented><object><name>Person</name><pose>Unknown</pose><truncated>0</truncated><difficult>0</difficult><occluded>0</occluded><bndbox><xmin>2178.14352077908</xmin><xmax>4853.585890028213</xmax><ymin>196.4357164171007</ymin><ymax>2830.8985731336807</ymax></bndbox></object><object><name>Place</name><pose>Unknown</pose><truncated>0</truncated><difficult>0</difficult><occluded>0</occluded><bndbox><xmin>275.3160671657988</xmin><xmax>542.3477579752605</xmax><ymin>1271.1143663194446</ymin><ymax>1630.742831759983</ymax></bndbox></object></annotation>