imageZMQ download
Install Python dependencies: cv2, flask. pip install opencv-python flask
Run "python main.py".
Navigate the browser to the local webpage.
https://github.com/EdjeElectronics/OpenCV-Playing-Card-Detector
ffmpeg -i /dev/video0 -c:v h264_omx -r 10 -vf "drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:text='%{localtime}':x=8:y=8:fontcolor=white: box=1: boxcolor=black" out.mkv
ffmpeg -nostdin -hide_banner -loglevel error -i /dev/video0 -c:v h264_omx -r 10 -vf "drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:text='%{localtime}':x=8:y=8:fontcolor=white: box=1: boxcolor=black" -f rtsp rtsp://localhost:80/live/stream
sudo apt install ffmpeg
ffplay /dev/video0