Specialized hardware (cameras, lighting, optics) captures an image of the scene; software processes the image, extracts features and makes a decision (pass/fail, position, orientation) that drives a machine or robot on the production line.
Automating visual inspection and decisions in manufacturing, and giving robots the visual information needed to act precisely (e.g. locating and grasping objects).