9
树莓派安装opencv4
source link: https://segmentfault.com/a/1190000040021525
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
树莓派安装opencv4
尽量使用最新的树莓派Raspbian镜像,执行下面的命令更新系统库:
sudo apt update
sudo apt install -y libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5 libqt4-test libhdf5-dev
pip3安装opencv4,只是特定几个版本的opencv可以安装
sudo pip3 install opencv-contrib-python==4.1.0.25
# 或者
sudo pip3 install opencv-contrib-python==4.4.0.46
python3 -c "import cv2;print(cv2.__version__)"
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK