saving detections for evaluation