EconPapers    
Economics at your fingertips  
 

A Cascaded Individual Cow Identification Method Based on DeepOtsu and EfficientNet

Ruihong Zhang, Jiangtao Ji, Kaixuan Zhao (), Jinjin Wang, Meng Zhang and Meijia Wang
Additional contact information
Ruihong Zhang: College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
Jiangtao Ji: College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
Kaixuan Zhao: College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
Jinjin Wang: College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
Meng Zhang: College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China
Meijia Wang: School of Electronic Information and Artificial Intelligence, Shannxi University of Science & Technology, Xi’an 710021, China

Agriculture, 2023, vol. 13, issue 2, 1-19

Abstract: Precision dairy farming technology is widely used to improve the management efficiency and reduce cost in large-scale dairy farms. Machine vision systems are non-contact technologies to obtain individual and behavioral information from animals. However, the accuracy of image-based individual identification of dairy cows is still inadequate, which limits the application of machine vision technologies in large-scale dairy farms. There are three key problems in dairy cattle identification based on images and biometrics: (1) the biometrics of different dairy cattle may be similar; (2) the complex shooting environment leads to the instability of image quality; and (3) for the end-to-end identification method, the identity of each cow corresponds to a pattern, and the increase in the number of cows will lead to a rapid increase in the number of outputs and parameters of the identification model. To solve the above problems, this paper proposes a cascaded dairy individual cow identification method based on DeepOtsu and EfficientNet, which can realize a breakthrough in dairy cow group identification accuracy and speed by binarization and cascaded classification of dairy cow body pattern images. The specific implementation steps of the proposed method are as follows. First, the YOLOX model was used to locate the trunk of the cow in the side-looking walking image to obtain the body pattern image, and then, the DeepOtsu model was used to binarize the body pattern image. After that, primary classification was carried out according to the proportion of black pixels in the binary image; then, for each subcategory obtained by the primary classification, the EfficientNet-B1 model was used for secondary classification to achieve accurate and rapid identification of dairy cows. A total of 11,800 side-looking walking images of 118 cows were used to construct the dataset; and the training set, validation set, and test set were constructed at a ratio of 5:3:2. The test results showed that the binarization segmentation accuracy of the body pattern image is 0.932, and the overall identification accuracy of the individual cow identification method is 0.985. The total processing time of a single image is 0.433 s. The proposed method outperforms the end-to-end dairy individual cow identification method in terms of efficiency and training speed. This study provides a new method for the identification of individual dairy cattle in large-scale dairy farms.

Keywords: dairy cow; individual identification; body pattern image; binarization; cascaded classification (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2023
References: View complete reference list from CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
https://www.mdpi.com/2077-0472/13/2/279/pdf (application/pdf)
https://www.mdpi.com/2077-0472/13/2/279/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:13:y:2023:i:2:p:279-:d:1045175

Access Statistics for this article

Agriculture is currently edited by Ms. Leda Xuan

More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jagris:v:13:y:2023:i:2:p:279-:d:1045175