I am using KCF tracker to track a region selected by hand (mouse). Once it is selected, the tracker is able to do it but the tracker fails to stop tracking after the target has moved outside the image.
Is there any way to know that the target region is lost or out of the image region.