[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Image/Video Processing in Python

dongie.agnir

1/10/2008 1:12:00 PM

Hello, I'm trying to work on a project in Python that involves the use
of a webcam to track a laser pointer. I found some example code here
http://janto.blogspot.com/2006/01/motion-capture-in-p..., but
the problem is that it's quite slow (about a sec to process a 800 by
600 image). Can anyone who has experience with computer vision help
me? Are there any existing algorithms for finding a color in an image
and plotting its coordinates? It would help me very much.

the profile.py output from the example can be found here if anyone's
interested
http://heightened.files.wordpress.com/2008/01/...
1 Answer

Tim Roberts

1/12/2008 5:51:00 AM

0

"dongie.agnir@gmail.com" <dongie.agnir@gmail.com> wrote:
>
>Hello, I'm trying to work on a project in Python that involves the use
>of a webcam to track a laser pointer. I found some example code here
>http://janto.blogspot.com/2006/01/motion-capture-in-p..., but
>the problem is that it's quite slow (about a sec to process a 800 by
>600 image). Can anyone who has experience with computer vision help
>me? Are there any existing algorithms for finding a color in an image
>and plotting its coordinates? It would help me very much.

You're talking about raw number crunching. This is exactly the kind of
case where you should write some C or C++ code and call it from Python.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.