We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following error occurs while generating the video with a stimulus indicator.
~/Desktop/GIT/utils_video/utils_video/utils.py in add_dot(image, radius, center, color) 589 590 def add_dot(image, radius=35, center=(50, 50), color=(255, 0, 0)): --> 591 image = cv2.circle(image, center, radius, color, -1) 592 return image 593 TypeError: Scalar value for argument 'color' is not numeric
I tried these options but neither worked for me: color = np.array((255,0,0), dtype=np.uint8) and color = tuple([int(x) for x in (255,0,0)])
color = np.array((255,0,0), dtype=np.uint8)
color = tuple([int(x) for x in (255,0,0)])
OpenCV version: 4.1.2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following error occurs while generating the video with a stimulus indicator.
I tried these options but neither worked for me:
color = np.array((255,0,0), dtype=np.uint8)
and
color = tuple([int(x) for x in (255,0,0)])
OpenCV version: 4.1.2
The text was updated successfully, but these errors were encountered: