How to detect defects on a Printed Circuit Board using OpenCV?

How to detect defects on a Printed Circuit Board using OpenCV?

More to explore

Based on this image's title: “How to detect defects on a Printed Circuit Board using OpenCV?