Գրեք սա: Simultaneous object detection and ranking with weak supervision