A cleaning and disinfecting apparatus for treating at least one container for human excretions. The cleaning and disinfecting apparatus comprises at least one cleaning chamber with at least one fluid device for applying at least one cleaning fluid to the container. The cleaning and disinfecting apparatus is configured to carry out at least one cleaning program, wherein, in the cleaning program, the container is emptied and the cleaning fluid is applied thereto. The cleaning and disinfecting apparatus furthermore has at least one image detector. The image detector is configured to identify at least one property of the container. The cleaning and disinfecting apparatus is configured to influence the cleaning program in accordance with the identified property.