In this project, the aim was to integrate a computer vision system to detect whether all bottles have caps. Bottles without caps or with damaged caps have a direct impact on the company's costs. BAÜP's requirement was to create a reliable means of automatically detecting this defect on the filling line. To this end, a vision system was configured that could evaluate simple rules based on the orientation and presence of objects.
The first step in such a system is proper image acquisition, which has to do with capturing quality images through a camera. Resolution, illumination, background colour and conveyor belt speed are factors that directly affect image quality. Once the image is captured, different analysis algorithms classify the objects (bottles) as OK or NOT OK.
Real-time communication between the vision system and the line control system ensures that non-conforming product is quickly discarded.
In this particular application, a user interface with statistical information of the analyses has also been developed.