SCS-YOLO11: a robust detection framework for pileus of deer antler mushrooms in greenhouse environments
Abstract
In the intelligent cultivation of mushrooms within greenhouses, monitoring during the blooming period is crucial. This stage involves the formation and differentiation of young fruiting bodies, where timely detection of mushroom pileus is essential for automated environmental control. However, accurately detecting and counting immature caps remains challenging due to their small size, similar morphology, dense clustering, and complex background interference in greenhouse environments. To address these issues, this paper proposes an improved detection system, named SCS-YOLO11, based on the YOLOv11s architecture. To address the challenges of small-target detection in mushroom pileus recognition, we propose a coupled multi-scale attention (CMCA) module that effectively integrates global context and multi-scale spatial features. Additionally, a lightweight SPConv module is introduced to reduce computational cost while maintaining feature expressiveness, and a compact spatial-channel attention module (SCAM) further enhances feature discrimination in the detection head. It jointly models spatial and channel attention to guide the model to focus on key mushroom cap regions across multi-scale feature maps. Compared with the baseline YOLO11s model, SCS-YOLO11s shows remarkable improvements. Its precision increases from 79% to 84%, and mAP rises from 74.6% to 79%, with only 2.13M parameters and 3.6G FLOPs, demonstrating high efficiency. When applied to mushroom datasets, experiments show that its performance surpasses other YOLO-series models. SCS-YOLO11 strikes a balance between detection accuracy and computational efficiency, making it a promising solution for real-time monitoring of small mushroom pileus in the complex and dynamic settings of greenhouse mushroom cultivation.
Supporting Agencies
Shanghai Agricultural Science and Technology Innovation Project, Shanghai Municipal Science and Technology Commission
Data Availability Statement
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.
References
- Bera, A., Wharton, Z., Liu, Y., Zhang, M., Wang, T., Kumar, R. 2021. Attend and Guide (AG-Net): A keypoints-driven attention-based deep network for image recognition. IEEE Trans. Image Process 30:3691-3704 DOI: https://doi.org/10.1109/TIP.2021.3064256
- Bochkovskiy, A., Wang, C.Y., Liao, H.Y.M. 2020. YOLOv4: Optimal speed and accuracy of object detection. arXiv:2004.10934.
- Cao, Y., Xu, J., Lin, S., Wei, F., Hu, H. 2019. GCNet: Non-local networks meet squeeze-excitation networks and beyond. Proc. IEEE/CVF Int. Conf. Comput. Vis. Workshop (ICCVW). pp. 1971-1980. DOI: https://doi.org/10.1109/ICCVW.2019.00246
- Chen, C., Wang, F., Cai, Y., Yi, S., Zhang, B. 2023. An improved YOLOv5s-based Agaricus bisporus detection algorithm. Agronomy 13:1871. DOI: https://doi.org/10.3390/agronomy13071871
- Chen, W., Lu, J., Pei, T., Yuan, G. 2025. YOLOv8-AFA: A photovoltaic module fault detection method based on multi-scale feature fusion. Energy Sources Part A 47:657-676. DOI: https://doi.org/10.1080/15567036.2024.2443948
- Chen, X., Liu, Y., Guo, W., Wang, M., Zhao, J., Zhang, X., Zheng, W. 2024. The development and nutritional quality of Lyophyllum decastes affected by monochromatic or mixed light provided by light-emitting diode. Front. Nutr. 11:1404138. DOI: https://doi.org/10.3389/fnut.2024.1404138
- Chen, Y., Fan, H., Xu, B., Zhang, Z., Li, X., Wang, J. 2019. Drop an octave: Reducing spatial redundancy in convolutional neural networks with octave convolution. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR). pp. 3435-3444. DOI: https://doi.org/10.1109/ICCV.2019.00353
- Dai, J., Li, Y., He, K., Sun, J. 2016. R-FCN: Object detection via region-based fully convolutional networks. Adv. Neural Inf. Process. Syst. 29:379-387.
- Gao, C., Qiao, F., Zhang, X., Wang, H. 2014. An improved HOG based pedestrian detector. In: F. Sun, D. Hu, H. Liu (eds.), Foundations and practical applications of cognitive systems and information processing. Advances in intelligent systems and computing. Berlin, Springer. pp. 577-590. DOI: https://doi.org/10.1007/978-3-642-37835-5_50
- Girshick, R. 2015. Fast R-CNN. Proc. IEEE Int. Conf. Comput. Vis. (ICCV). pp. 1440-1448. DOI: https://doi.org/10.1109/ICCV.2015.169
- Gu, R., Wang, G., Song, T., Zhang, Y., Li, H., Zhao, J. 2020. CA-Net: Comprehensive attention convolutional neural networks for explainable medical image segmentation. IEEE Trans. Med. Imaging 40:699-711. DOI: https://doi.org/10.1109/TMI.2020.3035253
- Han, K., Wang, Y., Tian, Q., Guo, J., Xu, C., Xu, C. 2020. GhostNet: More features from cheap operations. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR). pp. 1580-1589. DOI: https://doi.org/10.1109/CVPR42600.2020.00165
- He, K., Gkioxari, G., Dollár, P., Girshick, R. 2017. Mask R-CNN. Proc. IEEE Int. Conf. Comput. Vis. (ICCV). pp. 2961-2969. DOI: https://doi.org/10.1109/ICCV.2017.322
- Hou, Q., Zhou, D., Feng, J., Wang, L., Chen, X., Zhao, H. 2021. Coordinate attention for efficient mobile network design. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR). pp. 13713-13722. DOI: https://doi.org/10.1109/CVPR46437.2021.01350
- Huang, J., Zhang, X., Jia, L., Zhou, Y. 2024. A high-speed YOLO detection model for steel surface defects with the channel residual convolution and fusion-distribution. Meas. Sci. Technol. 35:105410. DOI: https://doi.org/10.1088/1361-6501/ad6281
- Khanam, R., Hussain, M. 2024. What is YOLOv5: A deep look into the internal features of the popular object detector. arXiv:2407.20892.
- Khanam, R., Hussain, M. 2024. YOLOv11: An overview of the key architectural enhancements. arXiv:2410.17725.
- Kiran, J.S., Singh, N., Abbas, H.M., Saravanan, R. 2025. Automated fruit counting with YOLOv5 model for harvest management in orchards. Proc. Int. Conf. Autom. Comput. (ICAC). pp. 235-240. DOI: https://doi.org/10.1109/AUTOCOM64127.2025.10956721
- Li, X.J., Xiao, S.J., Xie, Y.H., Chen, J., Xu, H.R., Yin, Y., Peng, H.P. 2024. Structural characterization and immune activity evaluation of a polysaccharide from Lyophyllum decastes. Int. J. Biol. Macromol. 278:134628. DOI: https://doi.org/10.1016/j.ijbiomac.2024.134628
- Lin, T.Y., Goyal, P., Girshick, R., He, K., Dollár, P. 2017. Focal loss for dense object detection. Proc. IEEE Int. Conf. Comput. Vis. (ICCV). pp. 2980-2988. DOI: https://doi.org/10.1109/ICCV.2017.324
- Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., Berg, A.C. 2016. SSD: Single shot multibox detector. Proc. Eur. Conf. Comput. Vis. (ECCV). pp.:21-37. DOI: https://doi.org/10.1007/978-3-319-46448-0_2
- Liu, Y., Shao, Z., Hoffmann, N., Zhang, L., Chen, W. 2021. Global attention mechanism: Retain information to enhance channel-spatial interactions. arXiv:2112.05561.
- Lu, C., Liaw, J. 2020. A novel image measurement algorithm for common mushroom caps based on convolutional neural network. Comput. Electron. Agric. 171:105336. DOI: https://doi.org/10.1016/j.compag.2020.105336
- Luo, S., Xu, Y., Zhang, C., Jin, J., Kong, C., Xu, Z., et al. 2025. LIDD-YOLO: A lightweight industrial defect detection network. Meas. Sci. Technol. 36:015001. DOI: https://doi.org/10.1088/1361-6501/ad9d65
- Redmon, J., Divvala, S., Girshick, R., Farhadi, A. 2016. You only look once: Unified, real-time object detection. Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR). pp. 779-788. DOI: https://doi.org/10.1109/CVPR.2016.91
- Redmon, J., Farhadi, A. 2017. YOLO9000: Better, faster, stronger. Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR). pp. 7263-7271. DOI: https://doi.org/10.1109/CVPR.2017.690
- Ren, S., He, K., Girshick, R., Sun, J. 2016. Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell. 39:1137-1149. DOI: https://doi.org/10.1109/TPAMI.2016.2577031
- Shang, C., Zou, X., Zhou, X., Xiang, Y., Wu, M. 2023. Study on fusion clustering and improved YOLOv5 algorithm based on multiple occlusion of Camellia oleifera fruit. Comput. Electron. Agric. 209:107706. DOI: https://doi.org/10.1016/j.compag.2023.107706
- Singh, P., Verma, V.K., Rai, P., Kumar, A., Sharma, R., Gupta, T. 2019. HetConv: Heterogeneous kernel-based convolutions for deep CNNs. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR). pp. 4835-4844. DOI: https://doi.org/10.1109/CVPR.2019.00497
- Soudeep, S., Mridha, M.F., Jahin, M.A., Dey, N. 2024. DGNN-YOLO: Dynamic graph neural networks with YOLO11 for small object detection and tracking in traffic surveillance. arXiv:2411.17251.
- Wang, A., Chen, H., Liu, L., Chen, K., Lin, Z., Han, J., Ding, G. 2024. YOLOv10: Real-time end-to-end object detection. Adv. Neural Inf. Process. Syst. (NeurIPS) 37:107984-108011. DOI: https://doi.org/10.52202/079017-3429
- Wang, H., Feng, J., Yin, H. 2023. Improved method for apple fruit target detection based on YOLOv5s. Agriculture 13:2167. DOI: https://doi.org/10.3390/agriculture13112167
- Wang, Q., Wu, B., Zhu, P., Li, M., Zhang, Y., Liu, X. 2020. ECA-Net: Efficient channel attention for deep convolutional neural networks. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR). pp. 11534-11542. DOI: https://doi.org/10.1109/CVPR42600.2020.01155
- Woo, S., Park, J., Lee, J.Y., Kim, H., Choi, S., Hwang, S. 2018. CBAM: Convolutional block attention module. Proc. Eur. Conf. Comput. Vis. (ECCV). pp. 3-19. DOI: https://doi.org/10.1007/978-3-030-01234-2_1
- Zhang, M., Ye, S., Zhao, S., Wang, W., Xie, C. 2025. Pear object detection in complex orchard environment based on improved YOLO11. Symmetry 17:255. DOI: https://doi.org/10.3390/sym17020255
- Zhao, M., Wu, S., Li, Y. 2023. Improved YOLOv5s-based detection method for Termitomyces albuminosus. Trans. Chin. Soc. Agric. Eng. 39:267-276.
- Zhu, X., Su, W., Lu, L., Li, B., Cheng, T., Luo, J. 2020. Deformable DETR: Deformable transformers for end-to-end object detection. arXiv:2010.04159.
Metrics
Citations and online attention from Dimensions, Altmetric and PlumX.
License
Copyright (c) 2025 the Author(s)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
PAGEPress has chosen to apply the Creative Commons Attribution NonCommercial 4.0 International License (CC BY-NC 4.0) to all manuscripts to be published.