BoofCV Android: Detect hand gestures

↘锁芯ラ 提交于 2019-12-25 19:06:10

问题


I want to detect 4 basic hand gestures of user in front of camera. When the user moves his hand in front of camera from left to right, right to left, top to down and down to top. How can I achieve this using BoofCV for android? What are the starting steps?


回答1:


This question is a bit high level and is really a generic computer vision question. BoofCV contains the tools so that you could do that using several different techniques. It doesn't contain gesture recognition built in.

If the background is static relative to the camera I would just take a picture with no hand, then subtract that the current image. Look at the centroid of the pixels with the biggest change. Use that (x,y) coordinate to determine how it's moving. This will be good enough for a proof of concept.



来源:https://stackoverflow.com/questions/37018558/boofcv-android-detect-hand-gestures

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