Added option to save frames with embedded detections.