Python Forum
Picamera2 add text to camera preview - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Picamera2 add text to camera preview (/thread-44533.html)



Picamera2 add text to camera preview - GigiG - May-26-2025

I have a Picamera2 640*480 preview running on my 800*480 DSI LCD (see photo), so there is some free room at right (it's blue because I placed a blu image as background using fbi:
/usr/bin/fbi -noverbose -a -fitwidth /home/gigi/blue.png
Is there a way to add some info text in this free area, like Picamera2 overlay but outside the preview frame? For example, I'd like to add some info text showing current camera status.
I'm on Bookworm Lite without desktop.
[attachment=3311]