Difference between revisions of "RaspiCam with OpenCV and Python"
From Lofaro Lab Wiki
(→Credits) |
(→OpenCV for Python) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | =Required Items= |
− | + | * Raspberry Pi | |
+ | * Raspberry Pi Cam | ||
+ | |||
+ | =Stepa= | ||
+ | ==Attach Pi Cam== | ||
+ | Attached the Pi Cam to the top ribbon port | ||
+ | |||
+ | ==Install the Software== | ||
+ | ===OpenCV for Python=== | ||
+ | <code> | ||
+ | $ sudo apt-get install python-opencv | ||
+ | </code> | ||
+ | |||
+ | ===Pi Cam Lib via PIP=== | ||
+ | <code> | ||
+ | $ pip install "picamera[array]" | ||
+ | </code> | ||
+ | |||
+ | or | ||
+ | |||
+ | <code> | ||
+ | $ sudo apt-get install python-picamera | ||
+ | </code> |
Latest revision as of 16:15, 19 March 2018
Contents
Required Items
- Raspberry Pi
- Raspberry Pi Cam
Stepa
Attach Pi Cam
Attached the Pi Cam to the top ribbon port
Install the Software
OpenCV for Python
$ sudo apt-get install python-opencv
Pi Cam Lib via PIP
$ pip install "picamera[array]"
or
$ sudo apt-get install python-picamera