bonn-activity-maps / bam_annotation_tool

Bonn Activity Maps annotation tool
4 stars 1 forks source link

Duplicate Poses in the database #388

Closed anDoer closed 3 years ago

anDoer commented 4 years ago

Some students deleted ground truth bounding boxes for certain persons and created a new person instance to re-annotate the same person. What we ended up with is a ground truth person which has a head bounding box and a pose but no bounding box. And we have another person instance which has a bounding box, but no ground truth pose and no head bounding box.

In order to prevent students to fix the same person twice, we need to update the database as soon as possible and remove all persons that do not have a bounding box at all. I'm a little bit afraid of a hard removal. Is there an easy way to hide such persons in the frontend?

dari1495 commented 3 years ago

According to my own script, there are no persons annotated without an annotated bbox. I'm not 100% sure this code works correctly but I think it's a fair assumption so far.

dari1495 commented 3 years ago

And indeed my code was wrong. I modified the script to detect persons annotated with no annotated bbox.

dari1495 commented 3 years ago

Add a tag invalid = 1 during export to those persons with no bbox annotated