microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.28k stars 834 forks source link

Wrong image path when exporting label in Pascal VOC format #926

Open tnhgiang opened 4 years ago

tnhgiang commented 4 years ago

Desktop:

Describe the bug The xml in Annotations folder in brief:

<annotation verified="yes">
    <folder>Annotation</folder>
    <filename>20190102085831_6_030180.jpg</filename>
    <path>OCR-PascalVOC-export/Annotations/20190102085831_6_030180.jpg</path>
</annotation>

When exporting labels in Pascal VOC format, I hit an error in <path>. The path should be OCR-PascalVOC-export/JPEGImages/*.jpg

Expected behavior Changing OCR-PascalVOC-export/Annotations/*.jpg into OCR-PascalVOC-export/JPEGImages/*.jpg or OCR-PascalVOC-export/Annotations/*.xml

konabuta commented 4 years ago

@tnhgiang Could you install from my forked VoTT repo and confirm it works ?

https://github.com/konabuta/VoTT/commits/issue-926-pascal-voc-format