Linear Camera
The vision system uses a linear camera which facilitates the system installation on line board , allowing to position the lighting device in the space between the two rollers without changing the conveying line lay-out.

Optimization
To optimize the primitives use you can insert into the program the polygon (trapeze)coordinates of the expected cut to control and prevent the discard when the stains are out of the given polygon.
Robustness
Among the most important algorithms developed by Specialvideo there is definitely the background self-learning that allows to continue the work even in dust and scrap glass presence . In the picture you can see how the pieces in the background (vertical dark bands) do not prevent the spots identification.