webcam motion tracking with Python

送分小仙女□ 提交于 2019-12-23 04:11:13

问题


Is there a simple way to track the motions of a single entity in a webcam feed? For example, I imagine a "hello world" app with an index finger used as mouse pointer.

I realize there's still a lot of basic research in this area, so it might be too early to expect an easy to use, generic abstraction.

For the sake of completeness, I've seen some related but lower-level (and non-Python) projects being mentioned, including AForge, WiimoteLib and an article on motion detection algorithms.


回答1:


You might want to take a look at http://opencv.willowgarage.com/wiki/PythonInterface. I'm not sure how hard it would be to do arbitrary motion tracking, but it was fairly simple to implement face tracking.



来源:https://stackoverflow.com/questions/2348151/webcam-motion-tracking-with-python

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