The application of photodiode arrays for optical recognition is considered. For three different objects, the individual reference functions C//r(k) are shown graphically. In addition, the scanning functions C(k) obtained during the measuring phase and the calculated absolute difference function D(k prime ) are presented. It can be seen from these graphs that the described method is able to determine the angular displacement of various workpiece shapes. By comparing C//r(k) and C(k), it can be noticed that the absolute minimum of the absolute difference function is a unique criterion for determining the angular displacement.