kirubhakinect / ehci

Automatically exported from code.google.com/p/ehci
0 stars 0 forks source link

automatic reinitial on head tracking #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Daniel,
I just wonder if you have any suggestion about automatic reinitialize when 
needed. I try to make the program remember the initial frame, or initialize 
when too few points are detected, but they did not work desirably. I notice you 
are using the lkdemo.c example from opencv. When I swipe my hand over my face 
the tracking points goes away with my hand. Is there a way to avoid it?

Original issue reported on code.google.com by hashingh...@gmail.com on 8 Sep 2010 at 8:44

GoogleCodeExporter commented 9 years ago
Hi hashingwanggz,
there are several types of reinitialization.
You could always reinitialize when a head detection happens, for instance.
You could also tell that the model shouldn't move/rotate faster than some 
threshold.
Maybe set some kalman filter.
Since the algorithm depends heavily on tracking, there's not much you can do 
about swiping without changing the whole process, although I think that 
reinitializing on detection could be a way. Read the paper it's based on and 
look for the keypoints for zeroing error.
Kind regards,
Daniel

Original comment by danielba...@gmail.com on 8 Sep 2010 at 10:31

GoogleCodeExporter commented 9 years ago
Thank you for your respond!
Take a look at this: 
http://www.youtube.com/watch?v=p2FD31cYdxU
Another video also shows a high quality head tracking:
http://www.youtube.com/watch?v=lMlYLC78JMo

Original comment by hashingh...@gmail.com on 8 Sep 2010 at 11:36