How do I get a detection judgment after an AR tracking image is lost?

No matter how I try, after the tracking image is lost, I can’t tell what events the tracking image has lost, so I can’t make the corresponding tracking image after it’s lost and hide the corresponding Actor