Visual Inspection System for Floating Cap and Crooked Cap
1. Introduction
This project visually detects whether the bottle cap is tightened in place and whether it is tilted. The bottle body and cap are as shown in the figure below.
2. System Design
2.1 Related supporting requirements
The inspection station requires the camera to be approximately 200mm away from the bottle cap. According to the detection content and characteristics, in order to ensure 100% detection accuracy, the visual work site lighting is required to be stable and without obvious external light interference.
2.2 Visual installation structure
The vision system software uses vision-specific software for multi-threading image acquisition and processing.
Then calculate the difference through the obtained position relationship. The test data results are as follows:
SN
|
Location description | Position difference pix | Angle difference ° |
1 | The bottle cap is actually offset by 45 degrees | 0.983203 | -0.0191867 |
2 | The bottle cap is actually offset by 90 degrees | 1.04716 | 0.088188 |
3 | The bottle cap is actually offset by 135 degrees | 26.1098 | 0.196655 |
4 | The bottle cap is actually offset by 180 degrees | 39.2081 | 0.142126 |
5 | Bottle cap tilt | 118.208 | 4.30537 |
Attached detection image:
3. Hardware Configuration
4. Software Configuration