How to capture a picture after every 5 seconds of camera using opencv python and Raspbery Pi 3?
问题 I am working on a school project which is related to Image Processing using OpenCV Python and Raspberry Pi 3. The hardware of Raspberry Pi 3 cannot handle the video from camera consecutively, therefore I'm thinking about only capture a picture after every 5 seconds from the camera and use it to recognize what I need, then continue. I did some research on the internet and found a function called time.sleep(5), however this function only pause the camera 5 seconds and then continue. Can anyone