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

Python • Method does not work: picam2.start_preview(Preview.DRM)

$
0
0
from picamera2 import Picamera2, Preview
picam2 = Picamera2()
picam2.start_preview(Preview.DRM)

I entered the program from the example Picamera 2 library.
But when starting it gives an error: "Commit failed"
When I change DRM to QTGL, the camera window opens and the camera works fine.

Also, title_field from the example of the same library does not work.

Statistics: Posted by Ingener — Sun Jun 16, 2024 5:56 pm



Viewing all articles
Browse latest Browse all 1234

Trending Articles