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

Camera board • PiCamera 2 and PIL Pillow Draw Text

$
0
0
Hello

I'm looking to draw text upon the picamera capture_image method:

Code:

image = self.picam2.capture_image("main")
How can I then use this to draw on using PIL and return the image without saving to a file?

Code:

Image.open(image) #Does not work.
Thanks in advance.

Statistics: Posted by Monogram — Mon Jan 06, 2025 2:46 am



Viewing all articles
Browse latest Browse all 4168

Trending Articles