This page is being translated by your browser

Translation can break parts of Roboflow. If something stops working, turn translation off and reload the page.

Detection · Manufacturing & QC

PCB defect detection: Datasets & Models

Automated visual inspection of printed circuit boards to locate manufacturing defects like missing components, solder bridges, and open traces. Uses object detection to flag faulty boards before they move downstream.

PCB defect detection example
1M+
developers
16k
organizations
50B
inferences

PCB defect detection

This PCB defect detection workflow runs an object detection model on board images to locate manufacturing faults and mark their position on each unit. It flags defects such as missing holes, mouse bites, open circuits, short circuits, spurious copper, and spurs from inputs like inline inspection cameras or bench rig captures.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate pcb defect detection

Manual PCB inspection is slow, inconsistent, and hard to scale as board density and production volume grow, and human inspectors miss subtle defects like hairline solder bridges or partial opens after hours on the line. Automating pcb defect detection with computer vision gives you repeatable, high-speed inspection that catches these faults consistently across every shift. In a manufacturing and QC setting, catching defects at the board stage prevents costly downstream rework and field failures. The result is faster throughput and a documented, auditable record of every inspected board.

Key benefits

Teams get consistent defect classification and localization that runs at line speed and scales across multiple inspection stations without adding headcount. The workflow integrates with existing inline cameras and inspection fixtures, so you can deploy on current infrastructure rather than re-tooling. RF-DETR provides strong accuracy on small, densely packed defects, making it a solid recommended starting point for building your own PCB inspection pipeline.

How to use it

  1. Upload an image: Drop any photo into the widget above to try pcb defect detection for free, right on this page.
  2. Preview instant results: The model detects missing hole, mouse bite, open circuit, short circuit, spurious copper, spur within seconds and returns an annotated image with structured predictions, so you can immediately see how well it works. Adjust the detection classes and re-run until the results fit your scenario.
  3. Like what you see?: With a free Roboflow account, you can deploy this workflow with the Serverless Cloud API, customize it in your workspace, or train RF-DETR on your own images for production accuracy.
  4. Get started for free: No code or training data required to begin: upload, review the results, and make it part of your stack in a single click.
Recommended model

Recommended model for pcb defect detection

RF-DETR is state of the art for real-time object detection, instance segmentation, and keypoint detection, with higher accuracy and lower latency than comparable models, and it's Apache 2.0 licensed. When you're ready to build a production model for pcb defect detection, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.

Train your own model
Roboflow Agent

Not sure where to start?

Describe your PCB Defect Detection project to Roboflow Agent.

Agent