Rasberry Pi Camera 개발환경 구성

piCamera 구성

현재 시스템 정보

1
2
$ uname -a
Linux camerapi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

Science modules

1
2
3
sudo apt-get install build-essential python-dev python-distlib python3-dev python3-distlib
sudo apt-get install libzmq3-dev
sudo apt-get install libgdal-dev
1
2
3
4
5
$ sudo apt-get install python-numpy python-decorator python-scipy
$ sudo apt-get install python-matplotlib

$ sudo apt-get install python3-decorator python3-numpy python3-scipy
$ sudo apt-get install python3-matplotlib

Jupyter-notebook

1
2
3
4
5
6
$ mkvirtualenv -p python3 --system-site-packages cv3python3
$
(cv3python3) $ pip install jupyter


(cv3python3) $ jupyter-notebook --no-browser --ip=* --port=8585 jupyterCamera/

Camera

카메라 파이썬 모듈은 pip에서 설치하는 것으로 하자.

패키로 설치시

1
$ sudo apt-get install python-picamera python-numpy python-rpi.gpio python-opencv ffmpeg

cv3