RaspiCam with OpenCV and Python

From Lofaro Lab Wiki
Jump to: navigation, search

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