invalidateDetections function

Allow the user to determine a given set of detections invalid