How do machine vision systems work?

LOTS AUTOMATION manufacturer of machine vision lights.
Here are the typical components involved:
•    Sensors
•    Frame-grabber
•    Cameras (digital or analog)
•    Lighting sufficient for cameras to capture quality images
•    Software and computer capable of analyzing images
•    Algorithms that can identify patterns; important in some use cases
•    Output such as a screen or mechanical components
Let’s look at how these components work together when machine vision is used to inspect a product in a manufacturing operation, a very common example of a machine vision system in practice.
The process begins when a sensor detects the presence of a product. The sensor then triggers a light source to illuminate the area and a camera to capture an image of the product or a component of the product. The frame-grabber (a digitizing device) translates the camera’s image into digital output. The digital file is saved on a computer so it can be analyzed by the system software. The software compares the file against a set of predetermined criteria to identify defects. If a defect is identified, the product will fail inspection.
That’s the machine vision system works.