hand gesture recognition with camera video in actionscript

耗尽温柔 提交于 2019-12-11 02:14:43

问题


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 ideas ? Is there any 3rd-paty libary for this purpose ?


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/6529118/hand-gesture-recognition-with-camera-video-in-actionscript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!