Human-Computer Video Interface. Which Language?

Hi,

I suppose this will be the best place on this forum to ask, its not flash or web related so I’ll throw it into random.

I have this project to school and I’m having some trouble. First, I’v been a bit naive and tought flash could handle what I need, but it doesn’t.

The plan is to create non-contact interface based od camera input. I need to process the images from camera and retrieve finger position. While there will be no special glove or something its becoming more complicated. What I need from you is an advise which language to use, which will be best in speed/usability. The application will run on a single machine. Here are the things it will have to do.

video of 640/480 @ about 25 fps

  • Go trought all pixels, convert to IRgBy color model, determine skin color
  • Filter the output (fill small holes, delete lonely misinterpreted pixels)
  • Substract current with last frame -> find an outline of movement
  • Choose which of the existing shapes is a hand.
  • Find the finger by calculating dot-product of vetors created by connecting pixels in the outline

You know, this is a lot of computing and loops… flash didnt handle even skin recognition, it was chewing 640/480 image for a minute of dual-core pentium =/