Implementing camshift
Hi guys..
I trying to implement this.. http://www.andrew.cmu.edu/user/asheng/15494/final.html
I am at the moment at step 3 at the first part
Generate a map between hue and a scalar "probability" - the probability Here is the value of a hue in the previous histogram divided by the total sum of each bar in the histogram.code..
Which http://pastebin.com/NGufbLJj
So i am basically use the viola jones method to detect faces, and return a bit lost ´rect´ of where the face which is given to this function..
This function somehow detect something.. But doesn't detect the face but rather the button of the screen..
The window moves though as I move, but not at the area i want i to focus on how to do.. , my face..