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

bounding box explode #164

Open
hsiaochinglin opened this issue Oct 20, 2023 · 1 comment
Open

bounding box explode #164

hsiaochinglin opened this issue Oct 20, 2023 · 1 comment

Comments

@hsiaochinglin
Copy link

Hi, I'm using RTX3070 run yolov4-gpu,but when i run the test video i downloaded from your code,the output video look like the picture i pasted.Did anyone encounter this problem? thanks!
1697778609912

@raghav1129
Copy link

raghav1129 commented Nov 8, 2023

Use '.to_tlbr()' to fetch the Boudning box information for plotting. It returns in the form of x1, y1, x2, y2 and that is the format in which cv2.rectangle() works properly.

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