-
Sorry if this has been answered elsewhere, but I'm trying to run a simple picamera2 program with a preview pane and cv2. I'm finding that the program runs just fine without cv2, but if I so much as import cv2 the program crashes at the picam2.start_preview(Preview.QTGL) statement. I'm running Bullseye with recent updates. Do I have some kind of version mismatch? The exception is; Here's the program; import cv2 # fails if I import this from picamera2 import Picamera2, Preview picam2 = Picamera2() |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It turned out to be the openCV version, apparently I jumped the gun when I installed that. A little too green? |
Beta Was this translation helpful? Give feedback.
-
I had this same problem and solved it by uninstalling the "normal" python opencv |
Beta Was this translation helpful? Give feedback.
It turned out to be the openCV version, apparently I jumped the gun when I installed that. A little too green?