Introduction: Potatoes and tomatoes are important Solanaceae crops that require effective disease monitoring for optimal agricultural production. Traditional disease monitoring methods rely on manual visual inspection, which is inefficient and prone to subjective bias. The application of deep learning in image recognition has led to object detection models such as YOLO (You Only Look Once), which have shown high efficiency in disease identification. However, complex climatic conditions in real agricultural environments challenge model robustness, and current mainstream models struggle with accurate recognition of the same diseases across different plant species.Methods: This paper proposes the SIS-YOLOv8 model, which enhances adaptability to complex agricultural climates by improving the YOLOv8 network structure. The research introduces three key modules: 1) a Fusion-Inception Conv module to improve feature extraction against complex backgrounds like rain and haze; 2) a C2f-SIS module incorporating Style Randomization to enhance generalization ability for different crop diseases and extract more detailed disease features; and 3) an SPPF-IS module to boost model robustness through feature fusion. To reduce the model’s parameter size, this study employs the Dep Graph pruning method, significantly decreasing parameter volume by 19.9% and computational load while maintaining accuracy.Results: Experimental results show that the SIS-YOLOv8 model outperforms the original YOLOv8n model in disease detection tasks for potatoes and tomatoes, with improvements of 8.2% in accuracy, 4% in recall rate, 5.9% in mAP50, and 6.3% in mAP50-95.Discussion: Through these network structure optimizations, the SIS-YOLOv8 model demonstrates enhanced adaptability to complex agricultural environments, offering an effective solution for automatic crop disease detection. By improving model efficiency and robustness, our approach not only advances agricultural disease monitoring but also contributes to the broader adoption of AI-driven solutions for sustainable crop management in diverse climates.
Pilose antler is a valuable traditional Chinese medicinal herb. Slices of different grades show great disparities in medicinal potency and market price. Conventional visual discrimination of wax slices, powder slices, gauze slices and bone slices relies entirely on human inspectors. Such manual evaluation heavily depends on personal expertise and brings prominent subjective bias. Especially for gauze slices and powder slices with highly similar visual appearances, misclassification frequently occurs, making it hard to satisfy practical requirements for large-scale rapid inspection. Accordingly, this paper develops a modified lightweight convolutional network named MobileNet-PAS to realize intelligent grading of pilose antler slices. Built upon the MobileNetV4-small backbone, the proposed model reconstructs the dimensionality-reduction convolution inside UIB blocks using group convolution. The ConvBN layers following the last UIB block are replaced with partial convolution. A SimAM attention module is embedded at the rear of the UIB blocks to boost fine-grained feature representation. The original ReLU6 is further substituted with the PReLU activation function. Meanwhile, a Gap-Aware dynamic learning rate strategy is adopted to optimize parameter updating, so as to strengthen feature distinguishability while restraining model complexity. Experimental results demonstrate that MobileNet-PAS achieves a test-set accuracy of 96.03%, which outperforms the baseline by 3.31 percentage points with reduced parameters and computational cost. Grad-CAM visualization reveals that the improved network suppresses irrelevant background noise and focuses on intrinsic discriminative cues including osseous structure and texture within slices, yielding better classification performance for easily confused samples. Balancing prediction accuracy and lightweight inference performance, the presented approach offers a feasible algorithm for non-destructive rapid identification of pilose antler slices and delivers references for intelligent quality assessment of Chinese medicinal materials.