Try to use the latest Raspbian image, execute the following command to update the system library:
sudo apt update
sudo apt install -y libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5 libqt4-test libhdf5-dev
pip3 installs opencv4, only certain versions of opencv can be installed
sudo pip3 install opencv-contrib-python==4.1.0.25
# 或者
sudo pip3 install opencv-contrib-python==4.4.0.46
test
python3 -c "import cv2;print(cv2.__version__)"
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。