error: OpenCV(4.5.2) :-1: error: (-5:Bad argument) in function 'VideoCapture'
Overload resolution failed:
- Can't convert object of type 'tuple' to 'str' for 'filename'
- Required argument 'apiPreference' (pos 2) not found
- Argument 'index' is required to be an integer
- Required argument 'apiPreference' (pos 2) not found