Novel image segmentation model of multi-view sheep face for identity recognition

Authors

  • Suhui Liu 1. College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China 2. Inner Mongolia Engineering Research Center for Intelligent Facilities on Prataculture and Aquaculture, Hohhot 010018, China http://orcid.org/0009-0008-5953-648X
  • Guangpu Wang 1. College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
  • Chuanzhong Xuan 1. College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China 2. Inner Mongolia Engineering Research Center for Intelligent Facilities on Prataculture and Aquaculture, Hohhot 010018, China http://orcid.org/0000-0001-7605-9330
  • Zhaohui Tang 1. College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China 2. Inner Mongolia Engineering Research Center for Intelligent Facilities on Prataculture and Aquaculture, Hohhot 010018, China
  • Junze Jia 1. College of Mechanical and Electrical Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China

DOI:

https://doi.org/10.25165/ijabe.v18i6.9678

Keywords:

image segmentation, sheep face, deep learning, multi-view, feature fusion

Abstract

Traditional sheep identification is based on ear tags. However, the application of ear tags not only causes stress to the animals but also leads to loss of ear tags, which affects the correct recognition of sheep identity. In contrast, the acquisition of sheep face images offers the advantages of being non-invasive and stress-free for the animals. Nevertheless, the extant convolutional neural network-based sheep face identification model is prone to the issue of inadequate refinement, which renders its implementation on farms challenging. To address this issue, this study presented a novel sheep face recognition model that employs advanced feature fusion techniques and precise image segmentation strategies. The images were preprocessed and accurately segmented using deep learning techniques, with a dataset constructed containing sheep face images from multiple viewpoints (left, front, and right faces). In particular, the model employs a segmentation algorithm to delineate the sheep face region accurately, utilizes the Improved Convolutional Block Attention Module (I-CBAM) to emphasize the salient features of the sheep face, and achieves multi-scale fusion of the features through a Feature Pyramid Network (FPN). This process guarantees that the features captured from disparate viewpoints can be efficiently integrated to enhance recognition accuracy. Furthermore, the model guarantees the precise delineation of sheep facial contours by streamlining the image segmentation procedure, thereby establishing a robust basis for the precise identification of sheep identity. The findings demonstrate that the recognition accuracy of the Sheep Face Mask Region-based Convolutional Neural Network (SFMask R-CNN) model has been enhanced by 9.64% to 98.65% in comparison to the original model. The method offers a novel technological approach to the management of animal identity in the context of sheep husbandry. Key words: image segmentation; sheep face; deep learning; multi-view; feature fusion DOI: 10.25165/j.ijabe.20251806.9678 Citation: Liu S H, Wang G P, Xuan C Z, Tang Z H, Jia J Z. Novel image segmentation model of multi-view sheep face for identity recognition. Int J Agric & Biol Eng, 2025; 18(6): 260–268.

References

Jie C, Cao X K, Wang S X, Zhang J Q, Yue B L, Zhang X Y, et al. 3D genome organization and its study in livestock breeding. Journal of Integrative Agriculture, 2024; 23(1): 39–58.

Huang L, Qian B, Guan F, Hou Z, Zhang Q. Goat face recognition model based on wavelet transform and convolutional neural networks. Transactions of the CSAM, 2023; 54(5): 278–287.

Dhanya V G, Subeesh A, Kushwaha N L, Vishwakarma D K, Nagesh Kumar T, Ritika G, et al. Deep learning based computer vision approaches for smart agricultural applications. Artificial Intelligence in Agriculture, 2022; 6: 211–229.

Muhammad F A, Giovanni P B, Antonio V, Maria F S, Fahad A, Giovanni L, et al. The groundbreaking impact of digitalization and artificial intelligence in sheep farming. Research in Veterinary Science, 2024; 170: 105197.

Shamshiri R R, Weltzien C, Hameed I A, Yule I J, Grift T E, Balasundram S K, et al. Research and development in agricultural robotics: A perspective of digital farming. Int J Agric & Biol Eng, 2018; 11(4): 1–14.

Madkour K, Dawood Mahmoud A O, Sewilam H. The use of artemia for aquaculture industry: An updated overview. Annals of Animal Science, 2023; 23(1): 3–10.

Dong S S, Sui B, Shen Y J, Meng H B, Zhao L X, Ding J T, et al. Investigation and analysis of the linkage mechanism and whole process cost of livestock manure organic fertilizer. Int J Agric & Biol Eng, 2020; 13(2): 223–227.

Wang D W, Deng L M, Ni J G, Gao J Y, Zhu H F, Han Z Z. Recognition pest by image-based transfer learning. Journal of the Science of Food and Agriculture, 2019; 99(10): 4524–4531.

Song C Y, Zhang F, Li J S, Xie J Y, Yang C, Zhou H, et al. Detection of maize tassels for UAV remote sensing image with an improved YOLOX Model. Journal of Integrative Agriculture, 2023; 22(6): 1671–1683.

Salama A, Hassanien A E, Fahmy A. Sheep identification using a hybrid deep learning and Bayesian optimization approach. IEEE Access, 2019; 7: 31681–31687.

Ning J F, Lin J Y, Yang S Q, Wang Y S, Lan X Y. Face recognition method of dairy goat based on improved YOLO v5s. Transactions of the CSAM, 2023; 54(4): 331–337.

Zhang H M, Zhou L X, Li Y H, Hao J Y, Sun Y, Li S Q. Sheep face recognition method based on improved MobileFaceNet. Transactions of the CSAM, 2022; 53(5): 267–274.

Huang Z J, Xu A J, Zhou S Y, Ye J H, Weng X X, Xiang Y. Key point detection method for pig face incorporating reparameterization and attention mechanism. Transactions of the CSAE, 2023; 39(12): 141–149.

Mathieu M, Mei J Q, Shan X S, Ye L Y, Feng P, Yan X J, et al. An adaptive pig face recognition approach using convolutional neural networks. Computers and Electronics in Agriculture, 2020; 173: 105386.

Cai C, Song X X, He J R. Algorithm and realization for cattle face contour extraction based on computer vision. Transactions of the CSAE, 2017; 33(11): 171–177.

Weng Z, Meng F H, Liu S Q, Zhang Y, Zheng Z Q, Gong C L. Cattle face recognition based on a Two-Branch convolutional neural network. Computers and Electronics in Agriculture, 2022; 196: 106871.

Cui Q N, Pan H W, Li X K, Zhang K J, Chen W P. CMSuG: Competitive mechanism-based superpixel generation method for image segmentation. Journal of Intelligent & Fuzzy Systems, 2022; 43(4): 4409–4430.

Li K, Yu L Q, Heng P. Domain-incremental cardiac image segmentation with style-oriented replay and domain-sensitive feature whitening. IEEE Transactions on Medical Imaging, 2023; 42(3): 570–581.

Gu J P, Wang Z H, Gao R H, Wu H R. Cow behavior recognition based on image analysis and activities. Int J Agric & Biol Eng, 2017; 10(3): 165–174.

Zhu H, Yang H T, Guo L W, Zhang Y D, Wang Y R, Huang M K, et al. FaceScape: 3D facial dataset and benchmark for single-view 3D face reconstruction. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023; 45(12): 14528–14545.

Boone L, Biparva M, Mojiri F P, Ramirez J, Masellis M, Bartha R, et al. ROOD-MRI: Benchmarking the robustness of deep learning segmentation models to out-of-distribution and corrupted data in MRI. NeuroImage, 2023; 278: 120289.

Zhou H R, Huang D, Wu B M. Deep recognition of rice disease images: how many training samples do we really need? Journal of the Science of Food and Agriculture, 2024; 104(13): 8070–8078.

Zhu N Y, Liu X, Liu Z Q, Hu K, Wang Y K, Tan J L, et al. Deep learning for smart agriculture: Concepts, tools, applications, and opportunities. Int J Agric & Biol Eng, 2018; 11(4): 21–28.

Xiong H T, Li J, Wang T W, Zhang F, Wang Z Y. EResNet-SVM: An overfitting-relieved deep learning model for recognition of plant diseases and pests. Journal of the Science of Food and Agriculture, 2024; 104(10): 6018–6034.

Liu W, Yan Z W, Wang J W, Ning Z M, Min Z. Ultrawideband real time monitoring system based on electro-optical under-sampling and data acquisition for near-field measurement. IEEE Transactions on Instrumentation and Measurement, 2020; 69(9): 6603–6612.

Dong X H, Kim W Y, Zheng Y, Oh J Y, Ehsani R, Lee K H. Three-dimensional quantification of apple phenotypic traits based on deep learning instance segmentation. Computers and Electronics in Agriculture, 2023; 212: 108156.

Chen G J, Yue X Y, Zhu Y N, Fu Y P. Study on Building Extraction Algorithm of Remote Sensing Image Based on Multi-scale Feature Fusion. Computer Science, 2023; 50(9): 202–209.

Chen X S, Dang P N, Zhang E Z, Chen Y X, Tang C Y, Qi L. Accurate recognition of rice plants based on visual and tactile sensing. Journal of the Science of Food and Agriculture, 2024; 104(7): 4268–4277.

Shi Y Q, Gao W J, Shen T T, Li W T, Li Z H, Huang X W. Calorie detection in dishes based on deep learning and 3D reconstruction. Computers and Electronics in Agriculture, 2025; 229: 109832.

Hui F, Xie Z, Li H, Guo Y, Li B, Liu Y, et al. Image-based root phenotyping for field-grown crops: An example under maize/soybean intercropping. Journal of Integrative Agriculture, 2022; 21(6): 1606–1619.

Mohammad R, Samira M, Hamidreza K. ResNet deep models and transfer learning technique for classification and quality detection of rice cultivars. Expert Systems With Applications, 2024; 247: 123276.

Rehman Y, Hafsa A, Bhatti D M, Toor W T, Ahmad M, Mazzara M. Detection of small size traffic signs using regressive anchor box selection and DBL layer tweaking in YOLOv3. Applied Sciences, 2021; 11(23): 11555.

Zhang Y, Ma Y L, Li Y L, Wen L F. A deep learning approach of RQD analysis for rock core images via Cascade Mask R-CNN-Based model. Rock Mechanics and Rock Engineering, 2024; 57(12): 11381–11398.

Singh V. Sunflower leaf diseases detection using image segmentation based on particle swarm optimization. Artificial Intelligence in Agriculture, 2019; 3: 62–68.

Li H, Tian Z N, Li X H, Arebi P. Identifying effective nodes in term of the influence maximization on the social IoT networks using deep learning-based node embedding. Computing, 2025; 107(1): 38.

Ma B L, Hua Z X, Wen Y C, Deng H X, Zhao Y J, Pu L R, et al. Using an improved lightweight YOLOv8 model for real-time detection of multi-stage apple fruit in complex orchard environments. Artificial Intelligence in Agriculture, 2024; 11: 70–82.

Sapkota R, Ahmed D, Karkee M. Comparing YOLOv8 and Mask R-CNN for instance segmentation in complex orchard environments. Artificial Intelligence in Agriculture, 2024; 13: 84–99.

Zhang W, Cheng Z S, Chen J, Gao W. Hierarchical collaboration for referring image segmentation. Neurocomputing, 2025; 613: 128632.

Li F Y, Peng H, Yu S H, Zeng F, Chen F, Yang F. Revisiting the loss functions in sequential recommendation. Engineering Applications of Artificial Intelligence, 2024; 138: 109366.

Valentin S, Lancelot R, Roche M. Fusion of spatiotemporal and thematic features of textual data for animal disease surveillance. Information Processing in Agriculture, 2023; 10(3): 347–360.

Ge L Z, Zou K L, Zhou H, Yu X W, Tan Y Z, Zhang C L, et al. Three dimensional apple tree organs classification and yield estimation algorithm based on multi-features fusion and support vector machine. Information Processing in Agriculture, 2022; 9(3): 431–442.

Praneet S, Amy R R. Task-aware image quality estimators for face detection. EURASIP Journal on Image and Video Processing, 2024; 2024: 44.

Downloads

Published

2025-12-26

How to Cite

Liu, S., Wang, G., Xuan, C., Tang, Z., & Jia, J. (2025). Novel image segmentation model of multi-view sheep face for identity recognition. International Journal of Agricultural and Biological Engineering, 18(6), 260–268. https://doi.org/10.25165/ijabe.v18i6.9678

Issue

Section

Information Technology, Sensors and Control Systems