Difference between revisions of "RaspiCam with OpenCV and Python"

From Lofaro Lab Wiki
Jump to: navigation, search
(Credits)
(OpenCV for Python)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Required Items==
+
=Required Items=
 
* Raspberry Pi
 
* Raspberry Pi
 
* Raspberry Pi Cam
 
* 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

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