I'm designing an AI robot (OpenCV) and I'm trying to get the robots eyes to work properly. At the moment, whenever the camera picks up more than one face the eyes start glitching and darting to each face every second. Is there a way to make OpenCV ignore other detections till the initial one is no longer in view?