To address the problems of low network accuracy, slow speed, and a large number of model parameters in printed circuit board (PCB) defect detection, an improved detection algorithm of PCB surface defects based on YOLOv5 is proposed, named PCB-YOLO, in this paper. Based on the K-means++ algorithm, more suitable anchors for the dataset are obtained, and a small target detection layer is added to make the PCB-YOLO pay attention to more small target information. Swin transformer is embedded into the backbone network, and a united attention mechanism is constructed to reduce the interference between the background and defects in the image, and the analysis ability of the network is improved. Model volume compression is achieved by introducing depth-wise separable convolution. The EIoU loss function is used to optimize the regression process of the prediction frame and detection frame, which enhances the localization ability of small targets. The experimental results show that PCB-YOLO achieves a satisfactory balance between performance and consumption, reaching 95.97% mAP at 92.5 FPS, which is more accurate and faster than many other algorithms for real-time and high-precision detection of product surface defects.
The detection of single nucleotide polymorphisms (SNPs) is of great significance in the early diagnosis of diseases and the rational use of drugs. Thus, a novel biosensor based on the quenching effect of fluorescence-embedded SYBR Green I (SG) dye and graphene oxide (GO) was introduced in this study. The probe DNA forms a double helix structure with perfectly complementary DNA (pcDNA) and 15 single-base mismatch DNA (smDNA) respectively. SG is highly intercalated with perfectly complementary dsDNA (pc-dsDNA) and exhibits strong fluorescence emission. Single-base mismatch dsDNA (SNPs) has a loose double-stranded structure and exhibits poor SG intercalation and low fluorescence sensing. At this time, the sensor still showed poor SNP discrimination. GO has a strong effect on single-stranded DNA (ssDNA), which can reduce the fluorescence response of probe DNA and eliminate background interference. And competitively combined with ssDNA in SNPs, quenching the fluorescence of SG/SNP, while the fluorescence value of pc-dsDNA was retained, increasing the signal-to-noise ratio. At this time, the sensor has obtained excellent SNP resolution. Different SNPs detect different intensities of fluorescence in the near-infrared region to evaluate the sensor's identification of SNPs. The experimental parameters such as incubation time, incubation temperature and salt concentration were optimized. Under optimal conditions, 1 nM DNA with 0–10 nM linear range and differentiate 5% SNP were achieved. The detection method does not require labeling, is low cost, simple in operation, exhibits high SNP discrimination and can be distinguished by SNP at room temperature.