In response to the structural changes of tomato seedlings, traditional image techniques are difficult to accurately quantify key morphological parameters, such as leaf area, internode length, and mutual occlusion between organs. Therefore, this paper proposes a tomato point cloud stem and leaf segmentation framework based on Elite Strategy-based Improved Red-billed Blue Magpie Optimization (ES-RBMO) Algorithm. The framework uses a four-layer Convolutional Neural Network (CNN) for stem and leaf segmentation by incorporating an improved swarm intelligence algorithm with an accuracy of 0.965. Four key phenotypic parameters of the plant were extracted. The phenotypic parameters of plant height, stem thickness, leaf area and leaf inclination were analyzed by comparing the values extracted by manual measurements with the values extracted by the 3D point cloud technique. The results showed that the coefficients of determination (R2) for these parameters were 0.932, 0.741, 0.938 and 0.935, respectively, indicating high correlation. The root mean square error (RMSE) was 0.511, 0.135, 0.989 and 3.628, reflecting the level of error between the measured and extracted values. The absolute percentage errors (APE) were 1.970, 4.299, 4.365 and 5.531, which further quantified the measurement accuracy. In this study, an efficient and adaptive intelligent optimization framework was constructed, which is capable of optimizing data processing strategies to achieve efficient and accurate processing of tomato point cloud data. This study provides a new technical tool for plant phenotyping and helps to improve the intelligent management in agricultural production.
In recent years, the research and application of ginseng, a famous and valuable medicinal herb, has received extensive attention at home and abroad. However, with the gradual increase in the demand for ginseng, discrepancies are inevitable when using the traditional manual method for grading the appearance and quality of ginseng. Addressing these challenges was the primary focus of this study. This study obtained a batch of ginseng samples and enhanced the dataset by data augmentation, based on which we refined the YOLOv8 network in three key dimensions: firstly, we used the C2f-DCNv2 module and the SimAM attention mechanism to augment the model’s effectiveness in recognizing ginseng appearance features, followed by the use of the Slim-Neck combination (GSConv + VoVGSCSP) to lighten the model These improvements constitute our proposed DGS-YOLOv8 model, which achieved an impressive mAP50 of 95.3% for ginseng appearance quality detection. The improved model not only has a reduced number of parameters and smaller size but also improves 6.86%, 2.73%, and 3.82% in precision, mAP50, and mAP50-95 over the YOLOv8n model, which comprehensively outperforms the other related models. With its potential demonstrated in this experiment, this technology can be deployed in large-scale production lines to benefit the food and traditional Chinese medicine industries. In summary, the DGS-YOLOv8 model has the advantages of high detection accuracy, small model space occupation, easy deployment, and robustness.