Skip to content

Conversation

ido1990
Copy link
Contributor

@ido1990 ido1990 commented Nov 11, 2021

Added int() to the boxes on lines 53 & 55 due to the following error:

cv2.error: OpenCV(4.5.2) :-1: error: (-5:Bad argument) in function 'rectangle'
Overload resolution failed:
 - Can't parse 'pt1'. Sequence item with index 0 has a wrong type
 - Can't parse 'pt1'. Sequence item with index 0 has a wrong type
 - Can't parse 'rec'. Expected sequence length 4, got 2
 - Can't parse 'rec'. Expected sequence length 4, got 2

Added int() to the boxes on lines 53 & 55 due to the following error:
cv2.error: OpenCV(4.5.2) 👎 error: (-5:Bad argument) in function 'rectangle'
> Overload resolution failed:
>  - Can't parse 'pt1'. Sequence item with index 0 has a wrong type
>  - Can't parse 'pt1'. Sequence item with index 0 has a wrong type
>  - Can't parse 'rec'. Expected sequence length 4, got 2
>  - Can't parse 'rec'. Expected sequence length 4, got 2
@glendell03
Copy link

glendell03 commented Nov 22, 2021

Hi guys :), I got this error as well , need this fix please

@alankbi
Copy link
Owner

alankbi commented Feb 1, 2022

Thanks for the PR!

@alankbi alankbi merged commit 83e2fd6 into alankbi:master Feb 1, 2022
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.

3 participants