mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Segmentation fault after installing mediapipe on raspberry pi 3 model b

Open Mousavikia opened this issue 3 years ago • 1 comments

Hi community... After updating numpy to its latest version I tried to install mediapipe on my raspberry pi 3 model b with following instructions found in here...

sudo apt install ffmpeg python3-opencv python3-pip
sudo apt install libxcb-shm0 libcdio-paranoia-dev libsdl2-2.0-0 libxv1  libtheora0 libva-drm2 libva-x11-2 libvdpau1 libharfbuzz0b libbluray2 libatlas-base-dev libhdf5-103 libgtk-3-0 libdc1394-22 libopenexr23
sudo pip3 install mediapipe-rpi3

After getting the successful installed massage on all of the above packages, I tried to import mediapipe in python3 but I get this message:

Segmentation fault After this message python quits automatically.

Even when I wanted to import opencv I get the same message again, but any other packages like numpy, os and ... work fine. Can someone help?

Note: I installed the latest version of raspberry pi os from here and I installed Raspberry Pi OS (Legacy) version.

Mousavikia avatar Sep 15 '22 13:09 Mousavikia

Hi @Mousavikia, MediaPipe doesn't have official Python package to install Raspberry pi 3 separately. Could you please follow steps mentioned in the Official documentation to build mediapipe in the Edge devices eg. Raspberry pi, Coral board. Thank you!

kuaashish avatar Sep 16 '22 06:09 kuaashish

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] avatar Sep 23 '22 06:09 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Sep 30 '22 07:09 google-ml-butler[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Sep 30 '22 07:09 google-ml-butler[bot]