Skip to main content

Posts

Showing posts with the label Image Processing

IC Recognition from a Printed Circuit Board

In this post, I will tell you about a project that I and my friend did last year. That was IC detection from a printed circuit board and then recognize it using optical character recognition. This is the application of Open Computer Vision (OpenCV). First of all, I will show you a flowchart that will describe our methodology and then I will discuss in detail. There are two main parts of our algorithm: Localizing each IC on the PCB, extracting and saving it. Then we use Tesseract OCR engine to read the labels of each detected IC. A. PREPROCESSING Before we apply any algorithms to our image we have to process it to obtain a proper  image. To save processing time we will resize the image maintaining the aspect ratio.  After that remove noise from the image using Gaussian Blur. B. SEGMENTATION First, we convert the RGB image to HSV (Hue, Saturation, Value) color space. The H channel creates a mask for all the integrated circuits on the board. We...