Installing and running OpenCV on a Raspberry Pi.

Charles Reid 8cd2f9735e fix formatting of readme 4 months ago
LICENSE updating license. 4 months ago fix formatting of readme 4 months ago initial commit - install script. 4 months ago add numpy to take photo script 4 months ago


OpenCV-related scripts for the Raspberry Pi.

Installing OpenCV

To install OpenCV on the Raspberry Pi, use apt-get.

Take a Photo with OpenCV

To capture a photo from a webcam or USB camera using OpenCV:

$ python

Note that this imports OpenCV, which takes a few seconds and 10% of the Pi's memory.

  • If time-constrained, incorporate photo-taking in a script that runs in the background.
  • If memory-constrained, put in a script that is only run when needed.