Face Detection and other Vision Processing (and some sample code)
I've been playing with vision processing stuff for the XO, mostly using OpenCV. I have some sample code up at http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face detection surprisingly quickly. It seems that the bottleneck isn't even the OpenCV Haar Cascade algorithm, but the time it takes to initialize the v4l2 drivers. The code I wrote is just basic proof of concept stuff, but there are some amazing possibilities involved in vision processing, like recognizing sign language and gestures, drawing in air, playing motion based games, and even identifying plants and wildlife. If anyone is interested, I'd like to start developing an Activity that uses face/object detection for something more fun or useful. I'm new to Python and OLPC development, so I could use some help. Alternately, I am a student, so if anyone is interested in mentoring this as a possible Summer of Code project, that would be great. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Face Detection and other Vision Processing (and some sample code)
Nirav Patel wrote: I've been playing with vision processing stuff for the XO, mostly using OpenCV. I have some sample code up at http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face detection surprisingly quickly. It seems that the bottleneck isn't even the OpenCV Haar Cascade algorithm, but the time it takes to initialize the v4l2 drivers. The code I wrote is just basic proof of concept stuff, but there are some amazing possibilities involved in vision processing, like recognizing sign language and gestures, drawing in air, playing motion based games, and even identifying plants and wildlife. If anyone is interested, I'd like to start developing an Activity that uses face/object detection for something more fun or useful. I'm new to Python and OLPC development, so I could use some help. Alternately, I am a student, so if anyone is interested in mentoring this as a possible Summer of Code project, that would be great. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel I made a demo in Etoys for color tracking objects with the camera: http://dev.laptop.org/~bert/camTrack.pr Have good lighting and a distinctly colored object. Pick the color from the object with the color picker and a yellow ellipse on screen will track relative how you move the object. This is just a demo , more to come later... Karl ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Face Detection and other Vision Processing (and some sample code)
Nirav Patel wrote: I've been playing with vision processing stuff for the XO, mostly using OpenCV. I have some sample code up at http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face detection surprisingly quickly. It seems that the bottleneck isn't even the OpenCV Haar Cascade algorithm, but the time it takes to initialize the v4l2 drivers. Wow - this is amazing! And especially with this speed of ~0.25 seconds for finding a face! How are you accessing OpenCV - via SWIG or CTypes? I'd suggest to create [[OpenCV]] and start linking to infos, howto's and examples. That will make life much easier for all who want to play around with image recognition on the xo in the future. - Chris ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Face Detection and other Vision Processing (and some sample code)
OpenCV has a Python API that uses SWIG. It's in the default fedoro repo as opencv-python. Good idea, I'll add it to the wiki momentarily. On Thu, Mar 20, 2008 at 6:47 PM, Chris Hager [EMAIL PROTECTED] wrote: Nirav Patel wrote: I've been playing with vision processing stuff for the XO, mostly using OpenCV. I have some sample code up at http://eclecti.cc/code/face-detection-on-the-olpc-xo that does face detection surprisingly quickly. It seems that the bottleneck isn't even the OpenCV Haar Cascade algorithm, but the time it takes to initialize the v4l2 drivers. Wow - this is amazing! And especially with this speed of ~0.25 seconds for finding a face! How are you accessing OpenCV - via SWIG or CTypes? I'd suggest to create [[OpenCV]] and start linking to infos, howto's and examples. That will make life much easier for all who want to play around with image recognition on the xo in the future. - Chris ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel