Under the background of intelligent manufacturing, quality inspection printed circuit board (PCB), as carrier electronic products, plays an important role. In view shortcomings existing traditional detections, this paper has put forward a PCB detection method based on machine vision, focusing image preprocessing algorithm and analysis. The median filter was used to remove noise in image. Logari...