Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4878

Beginners • Re: How to personalize photobooth code???

$
0
0
If you add this line before the while loop in thermal_printer_camera.sh, it will display the image from /home/pi/scripts/mypic.jpg, then wait for the shutter etc.

Code:

gpicview /home/pi/scripts/mypic.jpg &
Tested on a pi3 using "Buster" (an old 32-bit) version of Raspberry Pi OS.

Statistics: Posted by neilgl — Sat Aug 31, 2024 6:04 pm



Viewing all articles
Browse latest Browse all 4878

Trending Articles