Face movement detection for C# code
显示 更早的评论
hello everyone
I'm university student and I'd love to have help from you people with experience in the field , I never worked on matlab
anyway I'm working on a project developed on C# programming language ( a program to detect face movement and according to the detection moving the mouse cursor )
I've written a code for detecting the movement in C# but when I move the cursor using the face the pointer's accuracy is really low the pointer is shaky..
and I've been told that Matlab guy's can help you ...
thank you ,I would really appropriate your help .
采纳的回答
更多回答(1 个)
Walter Roberson
2013-3-26
0 个投票
Examine the frequency of the movement in the conditions where you want the motion to settle down. Filter the position changes to block that range of frequencies, predicting the revised positions.
3 个评论
Hadeel Arslan
2013-3-26
Walter Roberson
2013-3-26
Use your existing software, with a small modification to record the coordinates to a file, and use it in a series of trials to move the cursor to various locations. Best would be if you could also add a mechanism to allow you to insert end-of-trial markers in the file.
Then import the data to any handy analysis program (such as MATLAB), break it up into sub-trials, and run something like STFT (Short Time Fourier Transform) to produce a spectrogram to allow you to examine how the movement frequencies evolve as the subject moves around, and how it differs when the subject is settled and trying to focus in one area. Is the movement high frequency? Low frequency? Once you know, you can start designing filters to dampen the effective cursor movement under those circumstances.
If you do use MATLAB for the analysis, you will want the Signal Processing Toolbox for STFT (though you might be able to find a File Exchange contribution that implements it without that toolbox), and you might want the add of a utility such as this one that plots the data in different ways.
Hadeel Arslan
2013-3-26
类别
在 帮助中心 和 File Exchange 中查找有关 Interactions, Camera Views, and Lighting 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!