Added input output for object detection