1. A method for determining the quality of milk wherein a sample is examined, characterized in that the type of at least one detected object is determined on the basis of at least one object recognition rule.