I am working on project in which i need to open recorded video from folder i can upload video using opencv code but i want to make code which will open video from folder using file browser and assign it to cv2.videoCapture automatically so i dont have to change code for each video i want to upload.
what should i do make a function or declare a variable?
kindly help anyone
↧