I am working on the following project:
I want a video playing on a raspberry pi continuously in a loop. Whenever I press a button on the gpio, i want a text to be overlayed on the video for 5 seconds and then disappear.
I have seen posts on the internet providing solutions with OpenCV and moviepy but the python program only opens a video from a predefined filepath and displays the text on a predefined frame. What I want is the text to be displayed on demand on playing video.
Could you please suggest any projects or solutions which might suit my needs? Thank you for your time.