To reduce cleaning and disinfection tasks by hand or operator-controlled machines which generates unpredictable splash and imposes potential health risks, there is a need to develop an autonomous robot that can automatically detect the location of dirty regions without manual training in the targeted areas and operate in narrow corridors for both floor and vertical wall cleaning.