Video/Image Analysis

General Robotics Forum - All aspects of robots and their applications. 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Video/Image Analysis @@ 05-01-2007
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by @@ on May 1, 2007, 12:22 am
Hi all:

Are there any windows-based programs out there that can detect a bright spot
(say a laser pointer or IR LED) on a video feed and return simple
coordinates as to its location within the frame. I'm looking for something
self-contained but would also be interested in Visual C, or Visual Basic
libraries.

Thanks in advance.

-Will



Posted by Jon Hylands on May 1, 2007, 7:28 am

> Are there any windows-based programs out there that can detect a bright spot
> (say a laser pointer or IR LED) on a video feed and return simple
> coordinates as to its location within the frame. I'm looking for something
> self-contained but would also be interested in Visual C, or Visual Basic
> libraries.

www.roborealm.com

Later,
Jon

--------------------------------------------------------------
Jon Hylands Jon@huv.com http://www.huv.com/jon

Project: Micro Raptor (Small Biped Velociraptor Robot)
http://www.huv.com/blog

Posted by Gordon McComb on May 1, 2007, 2:27 pm
@@ wrote:
> Are there any windows-based programs out there that can detect a bright spot
> (say a laser pointer or IR LED) on a video feed and return simple
> coordinates as to its location within the frame. I'm looking for something
> self-contained but would also be interested in Visual C, or Visual Basic
> libraries.

Be sure to check out the multi-part article in SERVO Magazine on OpenCV.
Also visit the author's home page at www.robinhewitt.com to see some
additional vision-related libraries she has created.

You should also check out CodeProject (www.codeproject.com), where there
are several C++ and C-based image analysis libraries. Look for those
that are implemented as a standard DirectShow filter, and then you can
use the DirectShowNet (directshownet.sourceforge.net) open source
library. This library wraps DirectShow COM calls so you can use C# or
VB.NET to produce Windows-based vision and media applications.

If the frame rate is low enough, you could probably do this internally
in a C#/VB app using DirectShowNet only, and creating the threshhold
algorithm yourself in code. Look for the sample applications that use
the SampleGrabber filter and interface. This filter allows you to
inspect the RGB pixels of a video stream. You should not use this
technique with 30 fps video as it will be too slow, especially in
VB.NET. You get better speed using unsafe memory pointers in C# --
various code sources on the Web demonstrate how to do this. For this
type of image analysis a frame rate of 8-10 fps is usually sufficient.

-- Gordon

Posted by @@ on May 1, 2007, 11:56 pm
Thanks to Jon and Gordon for your responses, I'll check out all your
suggested resources.

-Will
> Hi all:
> Are there any windows-based programs out there that can detect a bright
spot
> (say a laser pointer or IR LED) on a video feed and return simple
> coordinates as to its location within the frame. I'm looking for
something
> self-contained but would also be interested in Visual C, or Visual Basic
> libraries.
> Thanks in advance.
> -Will




The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy