Click here to Skip to main content
15,666,844 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I can take a photo with the camera using Python in my Raspberry Pi. However, I want to show the photo taken for at least 5 seconds, how do I do that?

What I have tried:

I tried searching on Google but I could not find an available answer for this.
Updated 9-Mar-22 21:33pm

1 solution

To do that, use the OpenCV2 Python module. Implement a timer to dispatch an event and use cam = cv2.VideoCapture(...) object and frame = method, while handling the event.

Thanks. :))
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900