相机鼠标项目有帮助吗? [英] camera mouse project help?

查看:89
本文介绍了相机鼠标项目有帮助吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我一直在使用实时视频处理技术在相机鼠标上进行项目.我什至检测到并跟踪了面部和眼睛,但问题是我的跟踪窗口不稳定,因此当我连接到鼠标事件时,它不会正确移动光标.任何有想法的人都将在等待.
thnx. :rolleyes:

hey everyone i have been doing a project on camera mouse using real time video processing. i have even detected and tracked the face and the eyes but the problem is my tracking window is not stable, so when i connect to the mouse event it will not accuratly move the curser.Anybody who got an idea i will be waiting.
thnx. :rolleyes:

推荐答案

我们需要更多细节!

这就像希望医生仅通过您的电话号码来诊断您的疾病一样!
We need more detail!

That is like expecting a doctor to diagnose your disease just from your telephone number!


一种方法是添加平滑功能,以逐帧消除抖动.平滑功能将位于为鼠标指针计算的坐标上.因此,一种类型的平滑函数会说新的x,y鼠标指针坐标是从头部跟踪器重新计算的坐标(例如,最后三组鼠标指针坐标)的函数.因此,即使头部跟踪器出现抖动,鼠标指针也不会移动.

当然,另一种方法是开发更稳定的头部跟踪器.
One approach is to add a smoothing function to smooth out the frame by frame jitters. The smoothing function would be on the calculated coordinates for the mouse pointer. So one type of smoothing function would say that the new x,y mouse pointer coordinates is a function of the newly calculated coordinates from the head tracker and, say, the last three sets of mouse pointer coordinates. Thus, even though the head tracker jitters, the mouse pointer wouldn''t.

Another approach, of course, is to develop a more stable head tracker.


这篇关于相机鼠标项目有帮助吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆