-
Notifications
You must be signed in to change notification settings - Fork 6.3k
how to create and save rotation bounding box? #20
Comments
@taopanpan , |
@tzutalin I tried,but failed. can you help me? |
@taopanpan , |
@taopanpan @tzutalin tzutalin/ImageNet_Utils#7I have prepared a segmentation tool which is very good and efficient. Then we can integrate that into this tool to make it a multi-function tool. Then let us make the whole tool webbased which annotators do not need to install anything except a web browser :) |
@smajida , |
@taopanpan Hi, you want to detect rotation bounding box? I am working on it, can we work together? |
@ujsyehao , |
I am trying to implement this function, But I am new in PyQt. It's so hard for me```````````` |
This guy has implemented a rotated Bbox function but it does not offer a YOLO format output. Similar to @fastlater , I would also like to know if rotated bounding box would affect training for YOLO?Since YOLO only requires center coordinates, width and height of the Bbox, I assume it wouldn't affect |
Hey! I implemented that feature (#20, #347) when I was considering to work with the labelImg tool. I did however decide against using it and thus did not entirely finish a minor part of the implementation (that can most likely be omitted). The version shipped in the referenced pull request is completely functional (should however be tested). Two minor things I did not take care of:
Tested only via python3. Quick demo
|
@juliusHuelsmann wonderful job. Could you share your windows binaries? |
@MarStarck If you are able to compile the project on windows however, making the If you can build the project (the link includes the patch I submitted), it suffices to (in case you have installed pip) execute the following two commands in the labelImg directory: > pip install pyinstaller
> pyinstaller --onefile labelimg.py after you have build the project once (with either qt5 or qt5) as described in the readme: > pyrcc5 -o resources.py resources.qrc
> python labelImg.py Edit:Please be aware that it is very likely that the export function has to be adapted (I 'store' the coordinates as floating point numbers along with the rotation angle in memory, and depending on the future workflow the export output (which I did not touch at all) has to be changed), so do not start to label a lot of data before checking that everything really works out. |
Hey! I completed the work done by @juliusHuelsmann and added an additional output format for the rotated bounding box (type center_x center_y width height rotation). Specifically, the work is based on the latest version of labelImg and adds a 'KITTI BEV' format writer and reader. Please check it out: labelImg-kitti 😁 |
@arasharchor |
Hi @zexihan . I have checked the tool but some images appeared to be rotated while the source image is not. Do you mind to pull the latest changes at the master branch from the original repository and merged. |
I want to create and save the rotation bounding box by record the rotation angle,
The text was updated successfully, but these errors were encountered: