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

Troubleshooting • Re: Raspberry Pi Camera only working when i add --qt-preview on libcamera-hello

$
0
0
My camera works and displays properly when i use the command "libcamera-hello --qt-preview" but when i run it normally like "libcamera-hello" it doesn't work, i tried to use the camera in a face detection project but the camera output using cv2 is only black, does anyone know how do i fix this?
IIRC (see the "Reduced Screenshot" here: https://www.cpmspectrepi.uk/raspberry_p ... er_cameras )
the --qt-preview option is (was) only "necessary" when using a (Real)VNC connected "display". So are you doing that or using a (physically) connected display? If the latter is that via a HDMI connection or another method/type?
Trev.

Statistics: Posted by FTrevorGowen — Sat Mar 23, 2024 5:37 pm



Viewing all articles
Browse latest Browse all 5229

Trending Articles