3

I am working on setMouseCallback() event in a program for mouse as a paint brush. In the attachment, there is code on right side and Python Shell on Left side. When I run the code there is Syntax error.

How can i fix this error ?

enter image description here

3

You are missing a (, try:

img = np.zeros((512, 512, 3), np.uint8)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.