About the client
The client needed to classify components efficiently from images and to find similar components in its existing dataset. The images were not taken under controlled conditions: angle, scale and background all varied, and some backgrounds were artificial.
Recognising a part wherever it appears in the frame
- Image variation. Components appeared at different angles and scales and against different backgrounds.
- Artificial images. The model had to stay reliable on images with artificial backgrounds.
- An accuracy bar. The project set a requirement of accuracy above 87%.
- Finding alternatives. Users needed suggestions of similar components, not just a label.
What FiftyFive built
FiftyFive built: an object-detection model on the SSD MobileNet framework, developed in Python with Keras and TensorFlow; a recommendation step that returns similar components from the dataset; training and deployment pipelines with Kubeflow on Google Cloud Platform; image processing with OpenCV and supporting machine learning tasks with scikit-learn; a Flask interface for users.
How the solution works
Detection and classification
- SSD MobileNet, a single-shot object-detection network, locates each component in the image and classifies it.
- Detecting the component first means the model can work with parts at any position, angle or scale in the frame.
Similar-component recommendations
- Once a component is classified, the system recommends similar components from the dataset.
Training and deployment
- Kubeflow on Google Cloud Platform runs training and deployment, so the model can be retrained and served at scale.
Interface
- A Flask application, with OpenCV handling image processing, lets users submit images and see the classification and suggestions.
Technology stack
What the solution enabled
Business transformation
Classification accuracy
Object-detection framework that classifies each component
Training and deployment on Google Cloud Platform
Over 87% classification accuracy
Meeting the project's accuracy requirement.
Varied images
Robust performance on images with varied angles, scales and artificial backgrounds.
Recommendations
Similar-component recommendations from the client's dataset.
Retrained and served at scale
Training and deployment pipelines on Kubeflow.
FiftyFive Technologies built a component classification system that recognises components in images captured at different angles and scales and against varied, including artificial, backgrounds, then recommends similar components from the client's dataset. The system uses the SSD MobileNet object-detection framework with Keras and TensorFlow, is trained and deployed with Kubeflow on Google Cloud Platform, and has a Flask interface. The model classified components with over 87% accuracy.
Technical questions
How does the model classify a component wherever it appears in the frame?
SSD MobileNet, a single-shot object-detection network, locates each component in the image and classifies it. Detecting the component first means the model can work with parts at any position, angle or scale in the frame.
How does the system suggest similar components?
Once a component is classified, the system recommends similar components from the dataset.