I want to read each frame from a mkv file to loop over and apply my object detection algorithm. However i cant find any way to read the video from the mkv file.
I want a similar function to the imutils.video.FileVideoStream, but for mkv file.
vs = FileVideoStream('C:/Users/hedeg/Documents/TRN-pytorch/sample_data/Lift.mp4').start()