Update detect_objects to return empty list

* Update detect_objects to return empty list if there's no detection.