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

Bug fix in camera.py #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Manusha17
Copy link

@Tianxiaomo @KelvinCPChiu @wenh06 can anyone please check and accept this commit.

@C-popKingJames
Copy link

yes, i also find this problem,your fix is bigger than help me a lot. if I not fixed ,i will meet this problem

Traceback (most recent call last):
File "E:/DeepLearning/pytorch-YOLOv4-master/camera.py", line 69, in
orig_im = plot_boxes_cv2(frame, boxes, class_names=class_names)
File "E:\DeepLearning\pytorch-YOLOv4-master\tool\utils.py", line 116, in plot_boxes_cv2
x1 = int(box[0] * width)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'

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

Successfully merging this pull request may close these issues.

2 participants