Textmeddelande: Simultaneous object detection and ranking with weak supervision