Current stable version: v1.0
Release date: 11.12.2016
- Python scripts with usage of OpenCV found on different sites.
- Maciej Januszewski ([email protected])
- Python 2.7;
- OpenCV;
- Camera features (
camera_features package
):
Basic video capture:
./video_capture.py
To quit window press S
, to make a picture press P
Face detection:
./face_detect.py
Eyes detection:
./eyes_detect.py
Object tracker:
./object_tracker.py
Motion vectors:
./motion_vectors.py
- Images features (
images_features package
):
Face detection:
./detect_faces.py input_image
Eyes detection:
./detect_eyes.py input_image
Image threshold with PLT output:
./image_threshold_plt.py input_image
- Install OpenCV:
brew install opencv
- You can find OpenCV at:
/usr/local/Cellar/opencv/2.x.x/
- Create symlinks:
ln -s /usr/local/Cellar/opencv/2.x.x/lib/python2.7/site-packages/cv.py cv.py
ln -s /usr/local/Cellar/opencv/2.x.x/lib/python2.7/site-packages/cv2.so cv2.so
- If that will not work, copy these files to your env site-packages:
cp /usr/local/Cellar/opencv/2.x.x/lib/python2.7/site-packages/cv2.so your_project_name/env/lib/python2.7/site-packages/
cp /usr/local/Cellar/opencv/2.x.x/lib/python2.7/site-packages/cv.py your_project_name/env/lib/python2.7/site-packages/