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

Fix detect_live #101

Merged
merged 1 commit into from
Feb 1, 2022
Merged

Fix detect_live #101

merged 1 commit into from
Feb 1, 2022

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.

None yet

3 participants