{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,3]],"date-time":"2026-08-03T06:48:55Z","timestamp":1785739735938,"version":"3.56.0"},"reference-count":36,"publisher":"MDPI AG","issue":"15","license":[{"start":{"date-parts":[[2026,8,1]],"date-time":"2026-08-01T00:00:00Z","timestamp":1785542400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100004763","name":"Natural Science Foundation of Inner Mongolia Autonomous Region","doi-asserted-by":"publisher","award":["2024LHMS06008"],"award-info":[{"award-number":["2024LHMS06008"]}],"id":[{"id":"10.13039\/501100004763","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Animals"],"abstract":"<jats:p>Accurate sheep detection supports counting, tracking, behavior analysis, and health monitoring in intelligent livestock farming. However, occlusion, scale variation, nighttime low light, and background interference can cause missed detections and inaccurate localization. This study proposes GMS-YOLO11n, an improved YOLO11n-based detector for fixed-view sheep monitoring. A spatially gated bottleneck convolution module was introduced at key backbone downsampling stages to strengthen local structural cues, while a multi-scale attention fusion module combined deep semantic information with shallow-to-intermediate details through feature alignment, cross-scale attention, and channel-wise learnable gating. A dataset of 3531 images of Small-tailed Han sheep, containing 8167 annotated instances, was used for evaluation. Across six independent runs, GMS-YOLO11n achieved precision, recall, F1-score, mAP@0.5, and mAP@0.5:0.95 of 93.62% \u00b1 0.12%, 91.03% \u00b1 1.37%, 92.30% \u00b1 0.75%, 96.53% \u00b1 0.49%, and 76.32% \u00b1 0.57%, respectively. Compared with the COCO-pretrained YOLO11n baseline, the corresponding improvements were 1.05, 4.38, 2.79, 2.76, and 6.92 percentage points. Subset analysis showed mAP@0.5:0.95 gains of 9.83 and 7.62 percentage points under nighttime low-light and obvious-occlusion conditions. These results demonstrate improved detection performance under the challenging visual conditions represented in the evaluated single-farm, fixed-view dataset; broader generalization requires external validation.<\/jats:p>","DOI":"10.3390\/ani16152351","type":"journal-article","created":{"date-parts":[[2026,8,3]],"date-time":"2026-08-03T06:17:40Z","timestamp":1785737860000},"page":"2351","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["GMS-YOLO11n: A Sheep Detection Model for Challenging Fixed-View Farm Conditions Integrating Spatially Gated Structural Enhancement and Multi-Scale Attention"],"prefix":"10.3390","volume":"16","author":[{"given":"Wenbo","family":"Yu","sequence":"first","affiliation":[{"name":"College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China"},{"name":"Inner Mongolia Engineering Research Center for Intelligent Equipment for the Entire Process of Forage and Feed Production, Hohhot 010018, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ruoya","family":"Xie","sequence":"additional","affiliation":[{"name":"College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China"},{"name":"Inner Mongolia Engineering Research Center for Intelligent Equipment for the Entire Process of Forage and Feed Production, Hohhot 010018, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yongqi","family":"Liu","sequence":"additional","affiliation":[{"name":"College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China"},{"name":"Inner Mongolia Engineering Research Center for Intelligent Equipment for the Entire Process of Forage and Feed Production, Hohhot 010018, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhi","family":"Xue","sequence":"additional","affiliation":[{"name":"College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China"},{"name":"Inner Mongolia Engineering Research Center for Intelligent Equipment for the Entire Process of Forage and Feed Production, Hohhot 010018, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhengpeng","family":"Yang","sequence":"additional","affiliation":[{"name":"College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China"},{"name":"Inner Mongolia Engineering Research Center for Intelligent Equipment for the Entire Process of Forage and Feed Production, Hohhot 010018, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wenqiang","family":"Han","sequence":"additional","affiliation":[{"name":"College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China"},{"name":"Inner Mongolia Engineering Research Center for Intelligent Equipment for the Entire Process of Forage and Feed Production, Hohhot 010018, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,8,1]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"127712","DOI":"10.1016\/j.jclepro.2021.127712","article-title":"Wearable Internet of Things enabled precision livestock farming in smart farms: A review of technical solutions for precise perception, biocompatibility, and sustainability monitoring","volume":"312","author":"Zhang","year":"2021","journal-title":"J. Clean. Prod."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"102","DOI":"10.3390\/agriculture15010102","article-title":"Livestock biometrics identification using computer vision approaches: A review","volume":"15","author":"Meng","year":"2025","journal-title":"Agriculture"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"101362","DOI":"10.1016\/j.atech.2025.101362","article-title":"Sheep identification based on face features with the method and practical application analysis","volume":"12","author":"Yuan","year":"2025","journal-title":"Smart Agric. Technol."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Zhang, F., Zhao, X., Wang, S., Qiu, Y., Fu, S., and Zhang, Y. (2025). Research on herd sheep facial recognition based on multi-dimensional feature information fusion technology in complex environment. Front. Vet. Sci., 12.","DOI":"10.3389\/fvets.2025.1404564"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"109271","DOI":"10.1016\/j.compag.2024.109271","article-title":"Sub-window inference: A novel approach for improved sheep counting in high-density aerial images","volume":"225","author":"Biggs","year":"2024","journal-title":"Comput. Electron. Agric."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"106219","DOI":"10.1016\/j.compag.2021.106219","article-title":"Detecting sheep in UAV images","volume":"187","author":"Sarwar","year":"2021","journal-title":"Comput. Electron. Agric."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"110918","DOI":"10.1016\/j.compag.2025.110918","article-title":"Round-the-clock accurate sheep face recognition via frequency enhancement and cross-modal embedding generation","volume":"239","author":"Xu","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"101215","DOI":"10.1016\/j.atech.2025.101215","article-title":"Application of non-invasive monitoring technology in intensive sheep farming: A review","volume":"12","author":"Liang","year":"2025","journal-title":"Smart Agric. Technol."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Guo, X., Ma, C., Wang, C., Cui, X., Xu, G., Wang, R., Liu, Y., Sun, B., Wang, Z., and Guo, X. (2025). A Sheep Behavior Recognition Approach Based on Improved FESS-YOLOv8n Neural Network. Animals, 15.","DOI":"10.3390\/ani15060893"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"107010","DOI":"10.1016\/j.compag.2022.107010","article-title":"Application of deep learning in sheep behaviors recognition and influence analysis of training data characteristics on the recognition effect","volume":"198","author":"Cheng","year":"2022","journal-title":"Comput. Electron. Agric."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"107696","DOI":"10.1016\/j.compag.2023.107696","article-title":"A sheep dynamic counting scheme based on the fusion between an improved-sparrow-search YOLOv5x-ECA model and few-shot deepsort algorithm","volume":"206","author":"Cao","year":"2023","journal-title":"Comput. Electron. Agric."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Hao, J., Zhang, H., Han, Y., Wu, J., Zhou, L., Luo, Z., and Du, Y. (2023). Sheep face detection based on an improved retinaface algorithm. Animals, 13.","DOI":"10.3390\/ani13152458"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Woo, S., Park, J., Lee, J.-Y., and Kweon, I.S. (2018, January 8\u201314). Cbam: Convolutional block attention module. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.","DOI":"10.1007\/978-3-030-01234-2_1"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Lin, T.-Y., Doll\u00e1r, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21\u201326). Feature pyramid networks for object detection. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.106"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Liu, S., Qi, L., Qin, H., Shi, J., and Jia, J. (2018, January 18\u201323). Path aggregation network for instance segmentation. Proceedings of the 2018 IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00913"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Wang, Y., Han, D., Wang, L., Guo, Y., and Du, H. (2023). Contextualized small target detection network for small target goat face detection. Animals, 13.","DOI":"10.3390\/ani13142365"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Wang, J., Zhai, Y., Zhu, L., Xu, L., and Yuan, H. (2024). PD-YOLO: A study of daily behavioural detection in housed sheep. PLoS ONE, 19.","DOI":"10.1371\/journal.pone.0313412"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Pan, F., Huang, F., Zhang, L., Yin, H., Ruan, Y., Yang, D., and Wang, S. (2025). Occlusion-Aware Caged Chicken Detection Based on Multi-Scale Edge Information Extractor and Context Fusion. Animals, 15.","DOI":"10.3390\/ani15182669"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Hu, T., Yan, R., Jiang, C., Chand, N.V., Bai, T., Guo, L., and Qi, J. (2023). Grazing sheep behaviour recognition based on improved yolov5. Sensors, 23.","DOI":"10.3390\/s23104752"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Wang, F., Jiang, M., Qian, C., Yang, S., Li, C., Zhang, H., Wang, X., and Tang, X. (2017, January 21\u201326). Residual attention network for image classification. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.683"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Pang, Y., Wang, T., Anwer, R.M., Khan, F.S., and Shao, L. (2019, January 15\u201320). Efficient featurized image pyramid network for single shot detector. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00751"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"109718","DOI":"10.1016\/j.compag.2024.109718","article-title":"A systematic survey of public computer vision datasets for precision livestock farming","volume":"229","author":"Bhujel","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27\u201330). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.91"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"106495","DOI":"10.1016\/j.compag.2021.106495","article-title":"Automatic recognition method of cow ruminating behaviour based on edge computing","volume":"191","author":"Shen","year":"2021","journal-title":"Comput. Electron. Agric."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"14","DOI":"10.1093\/af\/vfaf050","article-title":"Navigating AI deployment in precision livestock farming: Current trends and future prospects","volume":"16","author":"Guo","year":"2025","journal-title":"Anim. Front."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"110677","DOI":"10.1016\/j.compag.2025.110677","article-title":"High-precision counting method of moving sheep flock based on YOLOV8n-MEB+ ByteTrack-CD and diversion channel","volume":"237","author":"Xue","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"108757","DOI":"10.1016\/j.compag.2024.108757","article-title":"Object detection and tracking in Precision Farming: A systematic review","volume":"219","author":"Baja","year":"2024","journal-title":"Comput. Electron. Agric."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Huang, S., Lu, Z., Cheng, R., and He, C. (2021, January 10\u201317). FaPN: Feature-aligned pyramid network for dense image prediction. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Montreal, QC, Canada.","DOI":"10.1109\/ICCV48922.2021.00090"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"5625714","DOI":"10.1109\/TGRS.2025.3572706","article-title":"Cross-layer feature pyramid transformer for small object detection in aerial images","volume":"63","author":"Du","year":"2025","journal-title":"IEEE Trans. Geosci. Remote Sens."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Guo, C., Fan, B., Zhang, Q., Xiang, S., and Pan, C. (2020, January 13\u201319). Augfpn: Improving multi-scale feature learning for object detection. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.01261"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Liu, H., Jia, C., Shi, F., Cheng, X., and Chen, S. (2025, January 11\u201315). SCSegamba: Lightweight structure-aware vision mamba for crack segmentation in structures. Proceedings of the Computer Vision and Pattern Recognition Conference, Nashville, TN, USA.","DOI":"10.1109\/CVPR52734.2025.02738"},{"key":"ref_32","first-page":"4703215","article-title":"A lightweight semantic segmentation network based on self-attention mechanism and state space model for efficient urban scene segmentation","volume":"63","author":"Li","year":"2025","journal-title":"IEEE Trans. Geosci. Remote Sens."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"303","DOI":"10.1007\/s11263-009-0275-4","article-title":"The pascal visual object classes (voc) challenge","volume":"88","author":"Everingham","year":"2010","journal-title":"Int. J. Comput. Vis."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Doll\u00e1r, P., and Zitnick, C.L. (2014, January 6\u201312). Microsoft coco: Common objects in context. Proceedings of the 13th European Conference, Zurich, Switzerland.","DOI":"10.1007\/978-3-319-10602-1_48"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"427","DOI":"10.1016\/j.ipm.2009.03.002","article-title":"A systematic analysis of performance measures for classification tasks","volume":"45","author":"Sokolova","year":"2009","journal-title":"Inf. Process. Manag."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Padilla, R., Netto, S.L., and Da Silva, E.A. (2020, January 1\u20133). A survey on performance metrics for object-detection algorithms. Proceedings of the 2020 International Conference on Systems, Signals and Image Processing (IWSSIP), Niteroi, Brazil.","DOI":"10.1109\/IWSSIP48289.2020.9145130"}],"container-title":["Animals"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2076-2615\/16\/15\/2351\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,3]],"date-time":"2026-08-03T06:40:14Z","timestamp":1785739214000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2076-2615\/16\/15\/2351"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,1]]},"references-count":36,"journal-issue":{"issue":"15","published-online":{"date-parts":[[2026,8]]}},"alternative-id":["ani16152351"],"URL":"https:\/\/doi.org\/10.3390\/ani16152351","relation":{},"ISSN":["2076-2615"],"issn-type":[{"value":"2076-2615","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,1]]}}}