I am playing with the camshiftdemo.c [1] distributed with opencv. I select my face and it starts tracking but as soon as I move from my desk to a red couch, circle leaves my face and moves on the couch. Is there a way to change this behaviour?
[1] https://code.ros.org/trac/opencv/browser/trunk/opencv/samples/c/camshiftdemo.c?rev=1429