Objectives. A hybrid approach to the problem of searching and classifying defects in printed circuit boards (PCB) is proposed. Key factors and trends in the design and production of PCBs are considered. The relevance of the study is determined by the use of new materials and production technologies.Methods. A hybrid approach based on the algorithm of comparison with reference and the use of the YOLO family of neural network models for detecting objects is used to solve the problem.Results. Models were trained on public sets of PCB images with six classes of defects, and their accuracy was assessed using generally accepted metrics.Conclusion. Experiments have shown that the YOLOv8 neural network architecture has high accuracy of defect detection, low sensitivity to image quality, presence of text and graphic objects on the PCB, but the low quality of training datasets imposes restrictions on the use of only neural networks for defect detection. It is proposed to use a hybrid approach to improve the quality of defect inspection by applying different methods depending on the quality assessment of the analyzed images.