dummy writing for detection_results and outputs