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

AI Camera - IMX500 • Re: AI Camera + Zero 2 W + picamera2 + mediapipe not working :(

$
0
0
mediapipe will work with any USB webcam... the AI camera won't get any advantage

The mediapipe pip package depends on numpy 1.46, but the latest opencv wants numpy 2.x

The solution for this is:

* create new venv
* pip install mediapipe
* pip install opencv-python==4.11.0.86

^ That installation works in x86 and aarch64
It runs perfectly in Linux Mint x86_64, but not in in my raspberry pi Bookworm+Labwc

Can you try that?

In my case, openCV can't open a viewing window, and I suspect it is from labwc+wayland (qt, xcb stuff). The raspberry+mediapipe examples I saw are not showing they use X11 or wayland.

This is the most updated guide for mediapipe in rpi
https://github.com/make2explore/MediaPi ... aspberryPi

Statistics: Posted by robertojguerra — Mon Nov 03, 2025 5:53 am



Viewing all articles
Browse latest Browse all 7530

Trending Articles