树莓派安装CV2
Linux(树莓派)安装 python-opencv
sudo pip3 install opencv-python
# 国内源
# sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn opencv-python
更新树莓派系统:
sudo apt-get update
sudo apt-get upgrade
安装 python-OpenCV:
sudo apt-get install libopencv
sudo apt-get install python-opencv