In-depth exploration of the effects of genes on the development, physiology, and behavior of organisms requires high-precision phenotypic analysis. However, the overlap of body postures in group behavior and the similarity of movement patterns between strains pose challenges to accuracy analysis. To address this issue, we designed the WormYOLO model based on the YOLO architecture, which improves the segmentation performance of C .elegans and effectively handles overlapping poses in images. In detection and segmentation tasks, WormYOLO performs well on the more overlapping Mating dataset, with its object detection performance improving by 24.1% (mAP