AI Vision for Gear Defect Detection in Metal Machining
Reliably detect surface flaws and gear-tooth defects on reflective, curved geometries with AI segmentation.

TL;DR (Quick Answer)
A precision gear manufacturer couldn't reliably inspect for defects due to reflective surfaces and complex tooth geometry. Using the OV20i Vision System, an AI segmentation model was trained on just 11 samples (5 good, 6 bad) to achieve 100% detection accuracy on both surface and gear-tooth defects.
The Challenge: Inspecting Imperfect Perfection
For manufacturers of precision gears for the automotive and aerospace sectors, quality is non-negotiable. However, automated gear inspection presents significant challenges that cause traditional vision systems to fail. The core issues stem from the physical nature of the parts themselves.
- Reflective Finishes: Machined metal surfaces create specular highlights (glare) that can blind a standard camera or be misinterpreted as a defect.
- Curved Geometry: The complex, curved shape of gear teeth distorts light and makes it difficult for rule-based systems to apply a consistent standard.
- Changing Orientation: Slight variations in how a gear is presented to the camera can cause major accuracy drift in systems that rely on fixed regions of interest (ROIs).
A leading supplier was experiencing exactly these issues, resulting in high false-positive rates and the risk of defects escaping to the customer.
Solution: Segmentation for Geometric Certainty
With the OV20i, Overview AI's engineers implemented a solution centered around an AI segmentation model, which is ideal for parts with complex geometries like gear teeth.
High-Accuracy Model from a Small Dataset
Proving that quality data trumps quantity, the team trained a robust model on an incredibly small dataset: just **5 good and 6 defective samples**. The system quickly learned to distinguish the texture and shape of a perfect gear tooth from one with a defect, reaching 100% validation accuracy.
Metadata to Distinguish Critical vs. Cosmetic
Not all visual anomalies are functional defects. The solution used **metadata-driven thresholding** to create intelligent filtering. This allowed the system to ignore minor, acceptable cosmetic marks while maintaining high sensitivity for true functional defects like chips, cracks, or grinding errors on the gear teeth.
Key Engineering Takeaways
This project reinforced several core principles of successful machine vision deployment:
- 1. Optics Over Data: Consistent, high-quality illumination is far more effective than trying to overcome poor imaging with a massive dataset.
- 2. Context is Key: Using metadata to classify defects (e.g., by size, location, or type) enables intelligent, selective pass/fail decisions.
- 3. Right Tool for the Job: Segmentation is the superior AI technique for inspecting parts with complex 3D geometries, as it learns form and texture, not just brightness or color.
FAQ
Why is inspecting machined gears so difficult?
Gear inspection is challenging due to highly reflective finishes, complex curved geometry of the gear teeth, and constant variations in orientation. These factors cause lighting variations that break traditional rule-based vision systems.
How does an AI segmentation model help with gear inspection?
Segmentation is ideal for complex 3D geometries. The model learns the "shape" and texture of a good gear tooth, allowing it to accurately identify deviations and defects, even on reflective surfaces, without being confused by glare.
Can this system tell the difference between a cosmetic scratch and a critical defect?
Yes. By using metadata-driven thresholding, the system can be programmed to filter out minor cosmetic marks while maintaining high sensitivity for true functional defects that affect the gear's performance.
Need to Inspect Complex Machined Parts?
Let AI-powered segmentation solve your toughest inspection challenges on reflective and complex surfaces.