running "wheezy" on pi - tightvncserver runs on pi - vncviewer on fedora (f17) |
running a sample py script contours.py for opencv samples |
someone posted a question in Raspberry pi fb group - about installing and usin the python interface of opencv in pi - i have installed and tested opencv in pi from both pre-built package and compiled from src c0de - never tried python interface of cv - now managed to install pythoncv on pi and tested a sample code - these are the steps
1. Install opencv
$ sudo apt-get install dev-opencv
2. Install python dependencies
$ sudo apt-get install python-numpy
$ sudo apt-get install libpython2.6 python-dev python2.6-dev
3. Install python-opencv
$ sudo apt-get install python-opencv
4. Go to samples/python/ folder of Opencv src code
(and run a python script)
$ python contours.py
- EOF
No comments:
Post a Comment