How can I know tracking is lost using KCF tracker
<p>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. </p>

<p>Is there any way to know that the target region is lost or out of the image region.</p>