Hi all, I'm building an in-house visual inspection prototype for metal clamps (V-band, T-bolt, spring-loaded T-bolt, torque-limiter clamps; stainless steel).
The software side is my own: YOLO Model for defect detection + PatchCore/PaDiM anomaly detection, Python on a Windows PC. I'm looking for advice on the Hardware : camera, lens and especially lighting.
What we need to detect :
- Thread damage on the T-bolt and nut
- Wrong bridge assembly / missing parts
- Spot-weld (nugget) defects (visual signs only)
- Band damage: dents, kinks, cracks, scratches
- Missing stamping (stamped part number)
- Out-of-round shape (planned with a backlit silhouette)
Production numbers
- ~2500 clamps per day, so roughly 8 s per part in one shift
- Mixed sizes: diameter from about [40] mm to [40] inch
- Smallest defect we'd like to catch: about [0.5] mm
- Parts are placed by hand for now (no conveyor yet)
- We do NOT want to change zoom/focus per part, so I'm planning one fixed setup for all sizes and normalising the scale in software
What I've tried so far
- Luxonis OAK-1-W (12MP, wide angle): fixed focus, one side of the image soft
- 8MP USB UVC webcam module: OK for testing, not industrial
- The Imaging Source DFK Z30GP031 (5MP, motorised zoom, GigE PoE): works, but zoom repeatability and a dim red LED ring light (colour camera) give long exposures and strong reflections on the shiny band
Current plan / questions
- Camera : I'm leaning towards a 5MP global shutter colour camera with a Sony IMX264 (e.g. Hikrobot, Daheng, Basler ace 2 Basic), USB3 so it connects directly to the PC. Is 5MP enough, or should I go to 12MP for threads/stamping on the largest clamps? Any brands to avoid?
- One camera or two? Is it realistic to inspect threads and stamping from one top-down photo, or is a second dedicated camera for the bolt area the norm?
Thanks for any advice!