I managed to get OpenCV working properly on the Overo so for those that are interested here's how I did it.
After bitbaking the most recent build of omap3-destkop-image I downloaded the project files from here:
git clone git://github.com/pixhawk/pixhawk-oe.git pixhawk.collection
as listed on this page:
http://www.pixhawk.ethz.ch/wiki/tutorials/omap/openembedded_bitbake_installation
I used these files because they contain a convenient recipe for opencv which I know works. I had some trouble with the recipes included with OE but that might have been due to my limited understading of OE and bitbake.
The recipe requires libdc1394 and ffmpeg to be bitbaked first as well, and possibly some others I can't quite remember.
After the bitbake finished, I installed the libdc1394, ffmpeg, and OpenCV packages on the Gumstix. These packages also depend on others, if you have a net connection they'll download automatically, otherwise you may need to bitbake them in your build environment and install them manually.
Since I've decided to do native compiling on the Overo I also installed the GCC and G++ compilers and libraries, as well as pkgconfig. This allows me to simply compile my programs on the Overo without having to worry about cross compiling.
Finally here's a video of my simple hough-circle detector. I used a Logitech Quickcam Pro 9000. As you can see frame rate is really low, around 1fps. Even after removing the code for object detection, leaving only the video streaming and display I was only able to improve this marginally. I'm not sure how this compares to the Overo Water, so if anyone has any experience please let me know.
Friday, July 10, 2009
Subscribe to:
Posts (Atom)