Installing and running OpenCV on a Raspberry Pi.

Charles Reid 8cd2f9735e fix formatting of readme 1 month ago
LICENSE updating license. 1 month ago fix formatting of readme 1 month ago initial commit - install script. 1 month ago add numpy to take photo script 1 month 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.