Indoor scene recognition by a mobile robot through adaptive object detection