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

Camera board • Re: Problem with Picamera2 (Bad images)

$
0
0
Not entirely sure what to suggest, but I'd try some different camera resolutions to see if that shows any differences, such as

Code:

from picamera2 import Picamera2picam2 = Picamera2()picam2.start(show_preview=True)
Does that show a sensible preview image?

In your earlier example, it might also be worth putting a short sleep (maybe a second or two) before the "capture_file", perhaps the first frame out of the camera is not usable. It might also be worth capturing a sequence of a few images, just to check that.

Statistics: Posted by therealdavidp — Thu Mar 20, 2025 9:35 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles