Automatic location and recognition of horse freezing brand using rotational YOLOv5 deep learning network
Individual livestock identification is of great importance to precision livestock farming. Liquid nitrogen freezing labeled horse brand is an effective way for livestock individual identification. Along with various technological developments, deep-learning-based methods have been applied in such individual marking recognition. In this research, a deep learning method for oriented horse brand location and recognition was proposed. Firstly, Rotational YOLOv5 (R-YOLOv5) was adopted to locate the oriented horse brand, then the cropped images of the brand area were trained by YOLOv5 for number recognition. In the first step, unlike classical detection methods, R-YOLOv5 introduced the orientation into the YOLO framework by integrating Circle Smooth Label (CSL). Besides, Coordinate Attention (CA) was added to raise the attention to positional information in the network. These improvements enhanced the accuracy of detecting oriented brands. In the second step, number recognition was considered as a target detection task because of the requirement of accurate recognition. Finally, the whole brand number was obtained according to the sequences of each detection box position. The experiment results showed that R-YOLOv5 outperformed other rotating target detection algorithms, and the AP (Average Accuracy) was 95.6 %, the FLOPs were 17.4 G, the detection speed was 14.3 fps. As for the results of number recognition, the mAP (mean Average Accuracy) was 95.77 %, the weight size was 13.71 MB, and the detection speed was 68.6 fps. The two-step method can accurately identify brand numbers with complex backgrounds. It also provides a stable and lightweight method for livestock individual identification. • Proposing a two-step way to recognize brand numbers for horse identification. • Realizing oriented target detection through modifications on YOLOv5 framework. • Developing R-YOLOv5 to accurately express the morphology of oriented horse brand. • Achieving accurate recognition of brand numbers with taking YOLOv5 for number recognition.
Authors
- Yuying Shang (ORCID: https://orcid.org/0000-0003-3537-4398)
- Huaibo Song (ORCID: https://orcid.org/0000-0003-4508-5338)
- Yitao Jiao
- Zhixin Hua
- Zheng Wang
- Tianyu Zhang (ORCID: https://orcid.org/0000-0003-3041-5576)
Institutions
- Inner Mongolia Academy of Agricultural & Animal Husbandry Sciences (CN)
- Ministry of Agriculture and Rural Affairs (CN)
- Northwest A&F University (CN)
Publication Details
- Journal
- Artificial Intelligence in Agriculture
- Published
- 2024-10-10
- DOI
- https://doi.org/10.1016/j.aiia.2024.10.003
- Citations
- 7
- Primary Topic
- Food Supply Chain Traceability
- Type
- article
- Field-Weighted Citation Impact
- 2.44
Funders
- National Natural Science Foundation of China
- Northwest A and F University
- National Key Research and Development Program of China