Object localization and object detection