Raspberry Pi學習筆記(五): Pi Camera+Python+OpenCV安裝
1 min readMay 13, 2019
#20190811更新Pi Camera資源
#20190811更新Raspberry Pi相容的Webcam列表
Pi Camera安裝
幫樹莓派裝眼睛:Raspberry Pi 相機模組安裝連接模組時,要小心Pi上的連接座是用卡榫的,輕輕撥動即可。
測試拍照
raspistill -o image.png
安裝OpenCV
sudo apt-get update && sudo apt-get upgrade
sudo apt install libqt4-test#關鍵
sudo apt-get install -y festival python-dev python-opencv python-pip x11vnc liblivemedia-dev libv4l-dev cmake python-matplotlib vlc libatlas-base-dev libjasper-dev libqtgui4 python3-pyqt5參考本文pip3 install opencv-python
檢查安裝是否成功
python3
import cv2
cv2.__version__
Raspberry Pi Camera + Python + OpenCV (Day1)
Raspberry Pi Camera + Python + OpenCV (Day2)