Hanno
01-15-2009, 12:42 PM
Here's a video demo showing ViewPort integrated with OpenCV:
2 Minute YouTube Video (http://www.youtube.com/watch?v=Teb-HTAg4_Q)
The OpenCV integration lets you easily experiment with
state-of-the-art computer vision with your ViewPort/Propeller
combination. Find x,y of faces, colored blobs, circles,
textures all using spin code!
OpenCV has been the leading Computer Vision library for 10 years,
it was used by Stanford to win the DARPA race. Until now, it was
difficult to do vision processing with OpenCV and control
real-world devices. With the ViewPort integration, people will
have the best of all worlds- easy integration with all sorts of
real world sensors and actuators with the Propeller and state of
the art vision algorithms from OpenCV, all presented with a
simple interface inside of ViewPort.
To get started, click on the "OpenCV" view inside of ViewPort.
If you have a standard web cam attached to your system you
should see a live video in the video pane. You can also process
video from the Propeller Frame Grabber, or an AVI file. The
AVI file must be of a specific format see here:
opencv.willowgarage.com/wiki/VideoCodecs
Click on the "edge", "face", "color", etc tabs to set up
"filters" to detect specific items. The video output will
show the filtered video and the x,y position will be be sent
to appropriate Propeller variables. In your Propeller program
you can use these values to control servos, etc. In each
"filter" tab you can specify the filter's parameters.
All parameters controlled in the interface are also available
programmatically in your spin program. This lets your program
search for multiple items.
Hanno
2 Minute YouTube Video (http://www.youtube.com/watch?v=Teb-HTAg4_Q)
The OpenCV integration lets you easily experiment with
state-of-the-art computer vision with your ViewPort/Propeller
combination. Find x,y of faces, colored blobs, circles,
textures all using spin code!
OpenCV has been the leading Computer Vision library for 10 years,
it was used by Stanford to win the DARPA race. Until now, it was
difficult to do vision processing with OpenCV and control
real-world devices. With the ViewPort integration, people will
have the best of all worlds- easy integration with all sorts of
real world sensors and actuators with the Propeller and state of
the art vision algorithms from OpenCV, all presented with a
simple interface inside of ViewPort.
To get started, click on the "OpenCV" view inside of ViewPort.
If you have a standard web cam attached to your system you
should see a live video in the video pane. You can also process
video from the Propeller Frame Grabber, or an AVI file. The
AVI file must be of a specific format see here:
opencv.willowgarage.com/wiki/VideoCodecs
Click on the "edge", "face", "color", etc tabs to set up
"filters" to detect specific items. The video output will
show the filtered video and the x,y position will be be sent
to appropriate Propeller variables. In your Propeller program
you can use these values to control servos, etc. In each
"filter" tab you can specify the filter's parameters.
All parameters controlled in the interface are also available
programmatically in your spin program. This lets your program
search for multiple items.
Hanno