编程知识 cdmana.com

Hello, what else can I do to read the XML file and re label the ground truth

Hello! A little white I think so VOC Data according to GT Modify the labels of large, medium and small , It's about modifying the label according to the judged area I only know how to add two judgment conditions, but I don't know how to add cycles , The boss asked for support Thank you very much !
my xml File format :

<?xml version="1.0"?>-<annotation>       <folder>JPEGImages</folder>       <filename>00003.jpg</filename>       <path>/home/wu/PycharmProjects/hat/Hat/JPEGImages/00003.jpg</path>     -<source>             <database>Unknown</database>      </source>     -<size>             <width>640</width>             <height>960</height>             <depth>3</depth>      </size>      <segmented>0</segmented>     -<object>             <name>rider</name>             <pose>Unspecified</pose>             <truncated>0</truncated>             <difficult>0</difficult>            -<bndbox>                  <xmin>428</xmin>                  <ymin>553</ymin>                  <xmax>481</xmax>                  <ymax>625</ymax>             </bndbox>       </object>      -<object>             <name>rider</name>             <pose>Unspecified</pose>             <truncated>0</truncated>             <difficult>0</difficult>            -<bndbox>                   <xmin>250</xmin>                   <ymin>575</ymin>                   <xmax>259</xmax>                   <ymax>586</ymax>             </bndbox>       </object></annotation>

版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/12/20211207160122963b.html

Scroll to Top