Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert the YOLO V4 Bounding Box Coordinates to the format prescribed in the repo #144

Open
Riankk123 opened this issue May 25, 2021 · 1 comment

Comments

@Riankk123
Copy link

Riankk123 commented May 25, 2021

I saved the Bounding box coordinates of the images with the help of YOLO v4 file .
The output is like:
diningtable: 27% (left_x: -1 top_y: 90 width: 144 height: 309)
Now how to convert it to the prescribed format of class_name left top right bottom
@Cartucho Pls help
Thank You

@yej117
Copy link

yej117 commented May 27, 2021

Hello @Riankk123,
I think the author has already put the code and description inside the readme file.
You can find the instruction and the program scripts/extra/

But I noticed that there are some problem with the output result format (maybe has been changed in different version), I forked the repository to my github, and put a new file scripts/extra/convert_dr_yolov4.py. You can also try it.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants