-
Notifications
You must be signed in to change notification settings - Fork 6.2k
There seems to be a bug when opening the annotation file and visually adjust the size and location of the previously labeled bboxes? #18
Comments
I have fixed the bug by modifying the Line 121 of pascal_voc_io.py as following: Anyway, thanks a lot :) |
Hi @George-Zhu , |
@George-Zhu Thanks for the fix! Saved my day! |
@tzutalin You can just load an image, annotate, save and then close the project. ( I did this with Open Dir and set the default annotation folder). Close it and re-open with Open Dir, then try to edit rectangles ... you'll see that it fails to keep the aspect ratio and messes the box. |
HI @nkhdiscovery , |
Hi @tzutalin , Actually, I think this has no further harm as I had a quick review of the code, changing this line makes the order clock-wise and later in adding these points to shape and building the canvas (which is handled by Qt I guess), the resulting canvas would be obviously treated differently. |
@nkhdiscovery , |
This fixes #18 where openning previous annotation files causes a bug …
…uses a bug in resizing bounding boxes, they were not rectangle anymore and could become deformed.
…sue#18 This fixes HumanSignal#18 where openning previous annotation files causes a bug …
…uses a bug in resizing bounding boxes, they were not rectangle anymore and could become deformed.
Hi @tzutalin ~ This labeling tool is pretty convenient and I like it very much! However, when I click the "open annotation" button, open a previously saved xml file and try to adjust the size and location of the bbox visually, the shape of the bboxes are no longer rectangles. Maybe there is a bug here.
I did this because I wanted to use CNN to pre-label the bboxes so that we can just make some adjustment, which can reduce the workload.
I 'm looking forward to your reply : )
The text was updated successfully, but these errors were encountered: