Skip to main content

FiftyFive Tech

Email Us sales@fiftyfivetech.io
Get in Touch
Gloved hands holding a black and a red multimeter probe against the soldered contacts of a green circuit board on a workbench

Machine learning & analytics

VGG16 transfer learning identifies PCBs with over 85% accuracy

FiftyFive trained a VGG16 transfer-learning model that identifies PCBs from varied images with over 85% accuracy and returns predictions in under 2s.

Discuss your image recognition problem
Industry
Manufacturing — electronics
Region
Solution
PCB identification with over 85% accuracy
Story

About the client

The client needed to identify PCBs quickly and reliably from images. Those images came from a diverse dataset in which the same board could appear at different angles, at different scales and under different environmental conditions. Predictions had to arrive in real time or near real time to be useful in operations.

Challenge

The same board never looks the same twice

  • Image variability. Angle, scale and lighting or background changes make the same board look different from one image to the next.
  • Practical accuracy. The model had to be accurate enough to rely on in real use.
  • Speed. Computation time had to support real-time or near-real-time predictions.
Solution

What FiftyFive built

FiftyFive built and deployed a PCB identification model and its user interface: a transfer-learning model that uses VGG16, with pre-trained weights, for feature extraction; image preparation with OpenCV and preprocessing and evaluation with scikit-learn; orchestration and deployment with Kubeflow on Google Cloud Platform; a Flask web interface for submitting images and viewing results.

How the solution works

  1. Image preparation

    • Incoming images are processed with OpenCV, and scikit-learn supports data preprocessing before the model sees them.
  2. Feature extraction with transfer learning

    • Rather than training a network from scratch, the model starts from VGG16 with pre-trained weights and uses it to extract visual features from each board image.
    • This reuses what the network already knows about shapes and edges, which improves accuracy and reduces training effort on a specialised dataset.
  3. Training, evaluation and deployment

    • The model is built in Keras and evaluated with scikit-learn.
    • Kubeflow on Google Cloud Platform orchestrates the pipeline and deploys the model.
  4. User interface

    • A Flask application lets users submit images and receive the identification.

Technology stack

VGG16 (pre-trained CNN)Feature extraction through transfer learning
Python and KerasModel development
Kubeflow on Google Cloud PlatformPipeline orchestration and model deployment
scikit-learnData preprocessing and model evaluation
OpenCVImage manipulation
FlaskUser interface

What the solution enabled

Outcomes

Business transformation

Over 85%

Identification accuracy across varied angles, scale and conditions

Under 2 s

Predictions, meeting the real-time requirement

Google Cloud

Deployed model with a Flask interface

Over 85% identification accuracy

Across images that varied in angle, scale and conditions.

Predictions in under 2 seconds

Meeting the real-time requirement.

A deployed model on Google Cloud

With a Flask interface.

Transfer learning on VGG16

Reuses pre-trained weights, which improves accuracy and reduces training effort on a specialised dataset.

FiftyFive Technologies built an image recognition model that identifies printed circuit boards (PCBs) from photographs taken at different angles and scales and in different conditions. The model uses transfer learning on the VGG16 convolutional neural network, written in Python with Keras, and is orchestrated and deployed with Kubeflow on Google Cloud Platform, with a Flask interface for users. It identified PCBs with over 85% accuracy and returned predictions in under 2 seconds.

FAQ

Technical questions

Why use transfer learning for PCB identification?

In this project, FiftyFive Technologies started from the VGG16 network with pre-trained weights and used it to extract features from PCB images. Reusing a trained network made the model more robust to changes in angle, scale and conditions, and it identified boards with over 85% accuracy and returned predictions in under 2 seconds.

How is the PCB identification model built and deployed?

Incoming images are processed with OpenCV, and scikit-learn supports data preprocessing before the model sees them. The model is built in Keras and evaluated with scikit-learn. Kubeflow on Google Cloud Platform orchestrates the pipeline and deploys the model. A Flask application lets users submit images and receive the identification.

Discuss your industrial image recognition problem with FiftyFive's machine learning engineers.

Book a call

Project snapshot

Industry
Manufacturing — electronics
Services
Machine learning model development, MLOps, web interface
Status
Delivered
Core technologies
Keras, VGG16, Kubeflow, Google Cloud Platform, OpenCV, Flask