JdeRobot / DetectionMetrics

Tool to evaluate deep-learning detection and segmentation models, and to create datasets
https://jderobot.github.io/DetectionMetrics/
GNU General Public License v3.0
72 stars 38 forks source link

Generate new detection format for Traffic Sensor app #217

Open sergiopaniego opened 2 years ago

sergiopaniego commented 2 years ago

Format

5 341 136 19 26 0.984929084777832

class, initial x, initial y, width, height, percentage.

compares to:

<annotation>
    <folder>images</folder>
    <filename>00001.jpg</filename>
    <path>/home/vanejessi/dl-DetectionSuite/DeepLearningSuite/build/Tools/AutoEvaluator/images/00001.jpg</path>
    <source>
        <database>Unknown</database>
    </source>
    <size>
        <width>720</width>
        <height>576</height>
        <depth>3</depth>
    </size>
    <segmented>0</segmented>
    <object>
        <name>van</name>
        <pose>Unspecified</pose>
        <truncated>0</truncated>
        <difficult>0</difficult>
        <bndbox>
            <xmin>343</xmin>
            <ymin>138</ymin>
            <xmax>360</xmax>
            <ymax>162</ymax>
        </bndbox>
    </object>
    <object>
        <name>car</name>
        <pose>Unspecified</pose>
        <truncated>1</truncated>
        <difficult>0</difficult>
        <bndbox>
            <xmin>412</xmin>
            <ymin>502</ymin>
            <xmax>486</xmax>
            <ymax>576</ymax>
        </bndbox>
    </object>
</annotation>