Skip to content

Fix circle handler 'color' is not numeric #24

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

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Fix circle handler 'color' is not numeric #24

merged 1 commit into from
Oct 21, 2024

Conversation

zeddo123
Copy link
Member

This PR fixes issue #23. opencv expects the colors to be int but they had a numpy integer type.

@zeddo123 zeddo123 added the bug Something isn't working label Oct 21, 2024
@zeddo123 zeddo123 self-assigned this Oct 21, 2024
@zeddo123 zeddo123 merged commit 7992ccd into master Oct 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cv2.circle raises a "Bad argument" error due to incorrect color format in CirclesHandler.output_on_image
1 participant