Abstract: A pattern recognition system for providing automatic alignment capability for a semiconductor wafer or other object. The system includes an integrator for electronically smearing input data representing the reflected light level of a scanned object, means for digitizing the smeared data, and processor means for determining the best match between the smeared, digitized data and predetermined stored data, thereby representing proper alignment of the wafer or other object.