cv2.VideoCapture parameter is not taking as input cv2.VideoCapture parameter is not taking as input tkinter tkinter

cv2.VideoCapture parameter is not taking as input


It is because you have added the not necessary double-quote " at the beginning and end of source path:

s='\"'+s+'\"'

Remove the above line will fix the issue.