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

Troubleshooting • Re: Importing picamera2 causes imshow hang

$
0
0
With picamera2 commented out as in your post, we get the error:

Code:

python f-cv2.py[ WARN:0@0.014] global loadsave.cpp:241 findDecoder imread_('image.jpg'): can't open/read file: check file path/integrity
as expected as there is no file image.jpg

If we have an exsiting file "image.jpg" in the directory, it works fine, the image is shown via imshow.
It then waits for a key to be pressed and exits when we do that.

I am using Bookworm with Wayland with labwc

Statistics: Posted by neilgl — Fri Oct 25, 2024 10:47 am



Viewing all articles
Browse latest Browse all 3991

Trending Articles