Patent ID: 8373109

Claim:
A detection device arranged to determine position information of a teat in an animal related treating device, wherein the position information comprises at least a distance from that object to the detection device, the detection device comprising: a light source arranged to emit light; a control device arranged to control the light source; a light measuring device comprising a 2D classification of light sensitive elements and arranged to measure reflected light and to generate a corresponding measuring signal; a signal processing device arranged to process the measuring signal to position information, including distance information, of the teat with respect to the detection device, wherein the signal processing device comprises an object recognition device is configured to recognize at least one of: an udder, a teat, and respective parts thereof, wherein the light measuring device has an absolute sensitivity maximum with a wavelength between 400 and 570 nm, and the light source has an absolute emission maximum with a wavelength between 400 and 570 nm.