How to read mp4 video to be processed by scikit-image?
问题 I would like to apply a scikit-image function (specifically the template matching function match_template ) to the frames of a mp4 video, h264 encoding. It's important for my application to track the time of each frame, but I know the framerate so I can easily calculate from the frame number. Please note that I'm running on low resources, and I would like to keep dependencies as slim as possible: numpy is needed anyway, and since I'm planning to use scikit-image , I would avoid importing (and