This tutorial is applicable to self built images. If you are using the YAHBOOM version of the image, this tutorial can be ignored
The environment configuration for this tutorial is shown in the following figure
sudo chmod +x bazel
mv bazel /usr/local/bin
Enter the following command:bazel --version
The results are shown in the figure:
xxxxxxxxxx
pip3 install opencv-contrib-python==3.4.17.63
pip3 install mediapipe-0.8.4-cp38-cp38-linux_aarch64.whl
pip3 uninstall opencv-contrib-python
4.Verify if the installation was successful
xpython3
import mediapipe as mp
If there are no errors reported, it indicates successful installation
Other reference tutorials https://blog.csdn.net/weixin_43659725/article/details/120211312