Real-time Objects Recognition and Obstacles Avoidance for Mobile Robot