Indian Journal of Animal Research

Indian Journal of Animal Research cover
Volume 57 · Issue 12 · 2023/07/22

Research on Dairy Cow Identification Methods in Dairy Farm

Liu Bo
Liu Yuefeng
Bao Xiang
Wang Yue
Liu Haofeng
Long Xuan
130 Views

Submitted

2023/04/21

First Online

2023/07/22

doi

10.18805/IJAR.BF-1660

Cite article - Liu Bo, Liu Yuefeng, Bao Xiang, Wang Yue, Liu Haofeng, Long Xuan. (2023). Research on Dairy Cow Identification Methods in Dairy Farm. Indian Journal of Animal Research. 57(12): 1733–1739. doi: 10.18805/IJAR.BF-1660

Abstract

Background: There is a large amount of occlusion in dairy farms and changes in daytime and nighttime lighting seriously affect the accuracy of traditional dairy cow identification.

Methods: This paper proposed a method to dairy cow identification in dairy farm. Firstly, Resnet50 was used to extract the pattern features of dairy cows and this paper fused the fourth and fifth scale features with semantic information. Secondly, on the basis of the triplet loss, it added label smoothing loss instead of softmax cross-entropy loss to further avoid over-fitting and reduced the intra-class distance with the center loss, which improved the mean average precision (mAP) by 8.9% compared with the initial Re-identification(Reid) and the joint optimized distance calculation formula was improved the single distance measurement in the triplet loss, using two distance measurement methods to effectively improve the recognition accuracy. Finally, it was combined with pruning operation to reduce the redundant parameters of the model.

Result: The experiment proves that the identification mAP of dairy cows reaches 81.2%, which is an improvement 10.9% compared to the baseline model mAP, providing a strong technical support for the subsequent dairy cow identification and target tracking system.

References

  1. Andrew, W., Greatwood, C., Burghardt, T. (2020). Fusing Animal Biometrics with Autonomous Robotics: Drone-based Search and Individual ID of Friesian Cattle (Extended Abstract). 2020 IEEE Winter Applications of Computer Vision Workshops (WACVW). Cho, N.P., Thi, T.Z., Hiromitsu, H. (2018). A Hybrid Rolling Skew Histogram-Neural Network Approach to Dairy Cow Identification System. 2018 International Conference on Image and Vision Computing New Zealand (IVCNZ). Gou, X.T., Huang, W., Liu, Q.F. (2019). A Cattle Face Detection Method Based on Improved NMS. Computer and Modernization. 40: 642-653. Guo, Y., Chen, G.P., DING, J. (2020). Advances in cattle behavior monitoring techniques and classification methods. Acta Agriculture Jiangxi. 32(11): 99-105. He, D.J., Liu, J.M., Xiong, H.T. (2020). Individual recognition method of dairy cows based on improved YOLO v3 model. Transactions of the Chinese Society of Agricultural Machinery. 51(4): 250-260. Hermans, A., Beyer, L., Li, B.B. (2017). In defense of the triplet loss for person re-identification. arXiv preprint. https://doi.org/10.48550/arXiv.1703.07737 . Kumar, S., Pandey, A., Sai, R.S.K. (2018). Deep learning framework for recognition of cattle using muzzle point image pattern [J]. Measurement. 116: 1-17. Li, F.J., Huang, Z.W.A. (2021). Target Tracking Method Combining YOLOv3 Detection and ReID. Journal of North China University of Science and Technology (Social Science Edition). 43(3): 110-118. Li, Q., Shang, J., Li, B. (2021). Grassland Cattle Tracking System based on YOLOv3 and Deep SORT. Transducer and Microsystem Technologics. 40(6): 83-85. Li, S.l., Yao, K., Cao, Z.J. (2020). Dairy industry technology development report 2019. Chinese Journal of Animal Science. 56(3): 136-144. Li, F.J., Huang, Z.W. (2022). A Target Tracking Method Combining YOLOv3 Detection and ReI D. Journal of North China University of Science and Technology (Social Science Edition). 43(3): 110-118. Liu, Z., He, S., Hu, W. (2017). Moving object detection based on background subtraction for video sequence. Journal of Computer Applications. 37(6): 1777-1781. Liu, Y.F., Bian, H.D., He, Y.J. (2022). Detection method of multi- objective cows feeding behavior based on iterative magnitude pruning. Transactions of the Chinese Society for Agricultural Machinery. 53(2): 274-281. Meng, L., Yang, X. (2019). A survey of object tracking algorithms. Acta Automatic Sinica. 45(7): 1244-1260. Shen, W.Z., Hu, H.Q., Dai, B.S. (2020). Individual identification of dairy cows based on convolutional neural networks. Multimedia Tools and Applications. 79(21): 14711-14724. Wang, C.Y., Bochkovskiy, A., Liao, H. (2022). Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. arXiv e-prints. Wang, W.H. (2019). Research on cow identification method based on body feature image and depth learning. (Master’s thesis). Wu, C.X., He, X.X. (2022). Research on human posture estimation in earthquake rescue based on ResNet50. Cyber Security and Data Governance. 41(3): 50-58, 70. Xu, B.B., Wang, W.S., Guo, L.F. (2020). A review and future prospects on cattle recognition based on non-contact identification. Journal of Agricultural Science and Technology. 7:79-89. Xu, X.Y., Liu, S.J., Qian, C. (2022). Study on the identification methods of typical cultured fish based on Res Net. Fishery Modernization. 3: 49. Yang, S.Q., Liu, Y.Q., Wang, Z. (2021). Improved YOLO V4 model for face recognition of diary cow by fusing coordinate information. Transactions of the Chinese Society of Agricultural Engineering. 37(15): 7. Yu, X. (2016). Research on precision feeding control system for dairy cattle. (Master’s thesis). Zhang, H.M., Wang, R., Dong, P.J. (2021). Beef cattle multi-target tracking based on DeepSORT algorithm. Transactions of the Chinese Society of Agricultural Machinery. 52(4): 248-256. Zhao, J.M., Lian, Q.S. (2022). Compact loss for visual identification of cattle in the wild. Computers and Electronics in Agriculture 195(April): 106784. Zhao, K.X., He, D.J. (2015). Recognition of individual dairy cattle based on convolutional neural networks. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE). 31(5): 181-187. Zhao, W.J., Ding, L.Y., Li, Q.F. (2020). A method for identifying dairy cows’ feeding behavior based on triaxial acceleration and artificial neural networks. Journal of Anhui Agricultural Sciences. 48(18): 231-234. Zhuo, L., Yuan, S., Li, J.F. (2022). Pedestrian multi-attribute collaborative recognition method based on ResNet50 and channel attention mechanism. Measurement and Control Technology. 41(8): 1-8.
EDITORIAL BOARD

Guided by Experienced Academic Leadership

Distinguished scholars and subject experts committed to editorial excellence, scientific integrity and rigorous peer review.

View Full Board
Yashpal Singh Malik
Chief Editor

Yashpal Singh Malik

Deputy Director General (Agricultural Education)Indian Council of Agricultural Research, Headquarters, New Delhi , India

L.D. Singla
Associate chief editor

L.D. Singla

Professor and HeadAbhilashi University, Chachyot, Himachal Pradesh, India

Vilas G. Atkare
Editor

Vilas G. Atkare

DeanDr. Panjabrao Deshmukh Krishi Vidyapeeth, Akola, Krishi Nagar, Maharashtra, India

S. Maya
Editor

S. Maya

Associate Dean and Professor & HeadKerala Veterinary and Animal Sciences University, Mannuthy, Thrissur, Kerala, India