问题 The idea is that, user should be able to load a video from their local machine and tell the program to take a screenshot from the video every 5sec or 30sec. Is there any library to help me with this task? Any idea from how to proceed would be helpful. 回答1: install opencv-python (which is an unofficial pre-built OpenCV package for Python) by issuing the following command: pip install opencv-python # Importing all necessary libraries import cv2 import os import time # Read the video from