Difference between revisions of "RaspiCam with OpenCV and Python"
From Lofaro Lab Wiki
(→Pi Cam Lib via PIP) |
(→OpenCV for Python) |
||
Line 10: | Line 10: | ||
===OpenCV for Python=== | ===OpenCV for Python=== | ||
<code> | <code> | ||
− | + | $ sudo apt-get install python-opencv | |
</code> | </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