At VisionRD, we are utilizing cutting-edge artificial intelligence (AI) technologies to carry out accurate and effective quality inspections during the manufacturing process, resulting in a 50% reduction in time and a 90% improvement in the quality of car parts inspection.

VisionRD is also working on innovative products like ADAS/AD and IntelliSentry that will enhance the safety of driving in the future.

We welcome contributions from the community. Join us on our mission of driving Innovation and Efficiency in the Automotive Industry.

alt_text alt_text alt_text alt_text alt_text

Pins-Defect-Detection

Introduction

The use case is a car’s fuse box with over 60 fuses connected to different components, and usually 3 pin terminals all with different shapes and sizes. The fuse box in test/fusebox.jpg shows 3 of them, each of which has a different number and shape of pins.

Some example masks (All, Not Good, Good)

Setup

Run the following command in the terminal.

pip3 install -r requirements.txt

For accelerated inference, TensorRT 8.6.1 is used. Our experimental setup is as follows.

  • Ubuntu 22.04.2 LTS x86_64
  • NVIDIA GeForce RTX 3060 Ti

Training

Provide images and their corresponding masks in data/imgs and data/masks respectively. Run the following command to start training.

python3 train.py --epochs 50

Inference

Run the following command to test your models.

python3 predict_trt.py --input <your_test_image>

Results

Create Your Own

A dataset of ~100 images, 30 for each terminal labelled with “Good” and “Not Good” masks is used. Although it is crucial to ensure that the lighting conditions and camera focus are pitch-perfect, the dataset overall should represent everything the model should expect to see in production. For this purpose, we use Albumentations to add random translation, rotation, and scaling to the training data. Once the dataset is ready, follow training instructions as before.

More

Read the blog or visit our website for more!