A real-time multi-class detection method for colonoscopy polyps based on improved YOLOv5s
To facilitate rapid identification and detection of colorectal polyps during colonoscopy procedures,a real-time multi-class detection model for colonoscopic polyps based on modified YOLOv5s is proposed.This model utilizes ConvNeXt as thebackbone network and incorporates the SimAM attention mechanism to improve detection performance.Additionally,a slim-neck module based on GSConv is employed in the neck network to reduce network parameters.For model training and testing,a colorectal polyp dataset containing 1 676 images annotated by professional doctors was constructed.The proposed model achieves a mean Average Precision(mAP@0.5)of 83.0%on the test set,which is an improvement of 8.4%compared to the model before modification,with a detection speed of 120 frames per second.Moreover,the model exhibits a detection speed exceeding 25 frames per second when deployed on edge devices.The results demonstrate that the improved YOLOv5s meets the clinical requirementsfor real-time and accurate colonoscopy examinations.