Abstract: A printed circuit board (PCB) surface-mounted devices (SMDs) defect detection algorithm based on random forest (RF) was proposed to detect pin defects, resistor defects, and capacitor ...