opencv program on open video using dialog box

How to Open Video using Dialog Box in OpenCV 0

How to Open Video using Dialog Box in OpenCV

Program 1 from tkinter import* import tkinter.messagebox as msg import tkinter.filedialog as fd import cv2 def clickmenu(choice): if(choice==’open’): filename = fd.askopenfilename(parent=myroot, title=’open file window’, filetypes=((“Video”, “*.mp4”), (“All File”, “*.*”))) vdo = cv2.VideoCapture(filename) while True:...