Skip to content

Bug fix in camera.py#461

Open
Manusha17 wants to merge 1 commit into
Tianxiaomo:masterfrom
Manusha17:camera.py-bug-fix
Open

Bug fix in camera.py#461
Manusha17 wants to merge 1 commit into
Tianxiaomo:masterfrom
Manusha17:camera.py-bug-fix

Conversation

@Manusha17

Copy link
Copy Markdown

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

@C-popKingJames

Copy link
Copy Markdown

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