Cv2 Python Videocapture(0) Unexpected Argument
I have a short python script that will open the webcam and display a live feed on a local web site. I am using PyCharm IDE which offers corrections and notify's you in case of synt
Solution 1:
Instead of hacking in the incorrect bindings, you could also just silence the warning in the IDE, by adding a noinspection comment.
# noinspection PyArgumentListcap = cv2.VideoCapture(filename)
Solution 2:
I think you are right and Hector-the-Inspector of PyCharm IDE is wrong. So go to the line with warning and suppress the warning for this statement: put cursor on the statement, go to the bulb icon, click on triangle in the right corner, in the menu choose "Suppress for statement".
Post a Comment for "Cv2 Python Videocapture(0) Unexpected Argument"