I've received a lot of e-mails asking about my modified Ubuntu packages and how to use the new Python API. The old packages I made didn't contain the new Python API. I had some problems getting this to work, but I finally managed to do this.
I've made new packages, based upon the latest Debian OpenCV packages. I've modified them to include the new python API, and the OpenCV cmake configure script is included now also.
Run the following command to enable my repository:
sudo add-apt-repository ppa:gijzelaar/opencv2After this you can install the updated OpenCV packages. Karmic and Lucid compatible! Get it while it is hot. More info can be found at the PPA page.
Below is a screen capture of my first prototype for translating gestures into sound. Left hand controls pitch, right hand controls Frequency Modulation. Note that this is real time, and without prior knowledge about skin color. Skin color is extracted from my frace. Want to know more? Check out the source code on the project site.
This month I'm starting my graduation project for my Master. I will research the possibilities of translating sign language into sound, and implement this. I made a Google Code project for this, where you can keep track of my progress.
here you can see a preview of the first step of the project:
OpenCV 2.0 has been unexpectedly released not so long ago, but it wasn't included in Ubuntu Karmic. Luckily it is already included in Debian sid and 'porting' packages from Debian to Ubuntu is quite trivial.
I've ported these packages to Ubuntu and uploaded them to a Ubuntu Personal Package Archive. Instructions on how to use these packages are supplied on the PPA page, but in short you should add ppa:gijzelaar/opencv2-karmic to your system's Software Sources.
I'm doing the course Electronic Music Composition II at CREA for more than 2 months now. I really enjoy taking this course. Also it is a boost for my productivity. I actually finished a song! Well actually, I still think it needs a little bit of work so maybe I'll improve it this week. But you can listen to it already.
I was disappointed, crying, screaming, running around angry and banging my head against the wall when the video i/o functionality stopped working when I updated to the latest Ubuntu release (Jaunty). But since this is a open source world, I fixed this problem myself. Gentoo actually fixed this bug 1.5 year ago, so I used that patch and did some modifications.
If you are as frustrated as I am, don't seek any further. I made a Launchpad PPA for this new OpenCV package. I changed the includes to the new location and replaced the img_convert() function with the gentoo code as example. To install my packages open a console and run:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com cafc44ee7f39098ce6ec229cca70e6a9087475a0
after that add the following line to your /etc/apt/sources.list:
deb http://ppa.launchpad.net/gijzelaar/opencv/ubuntu jaunty main
After running a apt-get update you can install all the opencv packages, and they actually work.
By the way, if you use Python and OpenCV I advise you to check out the ctypes version of the python bindings. You can install them from my opencv repository by installing the python-opencv-ctypes package.
If you have any tips, comments or whatever please let me know in the comments.