开发者

hand gesture recognition with camera video in actionscript

I want to implement an flex application using actionscript 3: with the camera and the virture buttons(like a image) in the camera, one can move his hand to pass over the virture button field in order to fire the button. Now my solution is following this way: capture the button field in erery frame to get a bitmapdata, and calculate the gray-scale summation of the bitmapdata, if the difference between the two frames is greater than a given value, then fire the button. Actually, it could work, but it is very sensible to the lighting condition of the background, worse, when there are more than one buttons, people often fire the button by misdike. Any better id开发者_运维百科eas ? Is there any 3rd-paty libary for this purpose ?


You should look at http://www.bytearray.org/?p=3027


I'm not positive this will work very well as you don't have enough information about the camera to have an accurate reading. It's probably only going to work in perfect condition. Remember that even with an infrared camera, the Kinect took a while to get the proper hardware/software combo to work. This is just a pipe dream. You need some sort of unique point of reference.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜