detecting presence or properties of a dot on paper