S
S
Sarvar062021-07-25 13:35:42
Python
Sarvar06, 2021-07-25 13:35:42

I get an error invalid character in identifier how to fix it?

C:\Users\sayfi\OneDrive\Desktop\Python\AI>python AIVirtualMouseProject.py
File "AIVirtualMouseProject.py", line 36
cv2.rectangle(img, (frameR, frameR), (wCam-frameR, hCam-frameR) , (255, 0, 255), 2)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2021-07-25
@AlekseyZz

sign problem -
wCam-frameR should be replaced with wCam-frameR

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question