Dec 19, 2013

Raspberry Pi - Very simplely OpenCV with webcam



I refer to http://www.technolabsz.com/2013/03/how-to-easily-install-opencv-on.html

This posting is  OpenCV using Webcam.

I tested  cosy pc795 and  logitech c170.(apply to UVC)



1. Install library

sudo apt-get install libcv-dev


very very long time~


2. Install python-opencv

sudo apt-get install python-opencv






3. Install OpenCV library

sudo apt-get install libopencv-dev






sudo apt-get install libcv2.3







sudo apt-get install libopencv-doc

 



4. Run

click to download this link 

Unzip and copy to pi





Run~

python facedetect.py --cascade=face.xml 0









No comments:

Post a Comment