Skip to main content
dot-patterns opencv

Computer vision, OpenCV, Raspberry Pi, Webcams and CSI Raspicam

Before start to talk about the installation of openCV in a Raspberry Pi it’s important to clarify something:

  1. If you use a regular USB camera attached to the Raspberry Pi, the installation is basically the same as any other debian like distribution.
  2. If you use the Raspicam CSI camera, you must use UV4L (UserVideo4Linux) drivers and all will be a little bit tricky, and currently I didn’t tried yet to install the UV4L drivers to use the Raspicam CSI camera, but here are some resources about it*:

http://tothinkornottothink.com/post/59305587476/raspberry-pi-simplecv-opencv-raspicam-csi-camera

http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14

http://www.raspberrypi.org/forums/viewtopic.php?f=33&t=61834

*NOTE: OpenCV works with raspicam following the instructions below (the same as the USB camera), but as far as I have been able to test, the video driver with raspicam has very low framerate and the scripts don’t run as good as with USB camera.

(more…)