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-opencv2. Install python-opencv
3. Install OpenCV library
sudo apt-get install libopencv-dev
4. Run
Unzip and copy to pi
Run~
python facedetect.py --cascade=face.xml 0
No comments:
Post a Comment