I had a friend that worked for an electronics test equipment manufacture, some of the systems they had were pretty awesome. If a component were off center by something like 1/1000 of a meter the visual inspection system would flag a board for review. The sped that it could find defects was amazing. No human could hope to keep up, so every part on the line could be inspected.