Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.js
Information about dairy cow ruminating is closely associated with the health status of dairy cows. Therefore, it is of great significance to recognize and make statistics of dairy cows’ ruminating and feeding behavior. Concerning conventional recognition methods which are dependent on contact type d...
| Published in: | Information Processing in Agriculture |
|---|---|
| Main Authors: | , , , , , |
| Format: | Article |
| Language: | English |
| Published: |
Elsevier
2024-12-01
|
| Subjects: | |
| Online Access: | http://www.sciencedirect.com/science/article/pii/S2214317323000884 |
| _version_ | 1849829711140618240 |
|---|---|
| author | Yu Zhang Xiangting Li Zhiqing Yang Shaopeng Hu Xiao Fu Weizheng Shen |
| author_facet | Yu Zhang Xiangting Li Zhiqing Yang Shaopeng Hu Xiao Fu Weizheng Shen |
| author_sort | Yu Zhang |
| collection | DOAJ |
| container_title | Information Processing in Agriculture |
| description | Information about dairy cow ruminating is closely associated with the health status of dairy cows. Therefore, it is of great significance to recognize and make statistics of dairy cows’ ruminating and feeding behavior. Concerning conventional recognition methods which are dependent on contact type devices, they have some defects of poor instantaneity and strong stress responses. As for recognition based on machine vision, it needs to transmit masses of data and raises high requirements for the cloud server and network performance. According to principles of edge computing, the model is deployed via Tensorflow.js in an edge device in the present study, constructing a recognition and statistical system for ruminating and feeding behavior of dairy cows. Through the application programming interface (API) of the browser, an edge device is able to invoke a camera and acquire dairy cow images. Then, the images can be inputted in the SSD MobileNet V2 model, which is followed by inference based on browser hashrate. Moreover, the edge device merely uploads recognition results to the cloud server for statistics, which features high instantaneity and compatibility. In terms of recognizing ruminating and feeding behavior of dairy cows, the proposed system has a precision ratio of 96.50%, a recall rate of 91.77%, an F1-score of 94.08%, specificity of 91.36%, and accuracy of 91.66%. This suggests that the proposed method is effective in recognizing dairy cow behavior. |
| format | Article |
| id | doaj-art-519a30a2d4514b9bbf7dd2db0794bcd2 |
| institution | Directory of Open Access Journals |
| issn | 2214-3173 |
| language | English |
| publishDate | 2024-12-01 |
| publisher | Elsevier |
| record_format | Article |
| spelling | doaj-art-519a30a2d4514b9bbf7dd2db0794bcd22025-08-20T01:28:57ZengElsevierInformation Processing in Agriculture2214-31732024-12-0111458158910.1016/j.inpa.2023.11.002Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.jsYu Zhang0Xiangting Li1Zhiqing Yang2Shaopeng Hu3Xiao Fu4Weizheng Shen5College of Electrical and Information, Northeast Agricultural University, Harbin 150030, ChinaCollege of Electrical and Information, Northeast Agricultural University, Harbin 150030, ChinaCollege of Electrical and Information, Northeast Agricultural University, Harbin 150030, ChinaCollege of Electrical and Information, Northeast Agricultural University, Harbin 150030, ChinaCollege of Electrical and Information, Northeast Agricultural University, Harbin 150030, ChinaCorresponding author.; College of Electrical and Information, Northeast Agricultural University, Harbin 150030, ChinaInformation about dairy cow ruminating is closely associated with the health status of dairy cows. Therefore, it is of great significance to recognize and make statistics of dairy cows’ ruminating and feeding behavior. Concerning conventional recognition methods which are dependent on contact type devices, they have some defects of poor instantaneity and strong stress responses. As for recognition based on machine vision, it needs to transmit masses of data and raises high requirements for the cloud server and network performance. According to principles of edge computing, the model is deployed via Tensorflow.js in an edge device in the present study, constructing a recognition and statistical system for ruminating and feeding behavior of dairy cows. Through the application programming interface (API) of the browser, an edge device is able to invoke a camera and acquire dairy cow images. Then, the images can be inputted in the SSD MobileNet V2 model, which is followed by inference based on browser hashrate. Moreover, the edge device merely uploads recognition results to the cloud server for statistics, which features high instantaneity and compatibility. In terms of recognizing ruminating and feeding behavior of dairy cows, the proposed system has a precision ratio of 96.50%, a recall rate of 91.77%, an F1-score of 94.08%, specificity of 91.36%, and accuracy of 91.66%. This suggests that the proposed method is effective in recognizing dairy cow behavior.http://www.sciencedirect.com/science/article/pii/S2214317323000884Recognition of cow ruminationEdge computingTensorflow.jsSSD MobileNet V2Real-time analysis |
| spellingShingle | Yu Zhang Xiangting Li Zhiqing Yang Shaopeng Hu Xiao Fu Weizheng Shen Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.js Recognition of cow rumination Edge computing Tensorflow.js SSD MobileNet V2 Real-time analysis |
| title | Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.js |
| title_full | Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.js |
| title_fullStr | Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.js |
| title_full_unstemmed | Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.js |
| title_short | Recognition and statistical method of cows rumination and eating behaviors based on Tensorflow.js |
| title_sort | recognition and statistical method of cows rumination and eating behaviors based on tensorflow js |
| topic | Recognition of cow rumination Edge computing Tensorflow.js SSD MobileNet V2 Real-time analysis |
| url | http://www.sciencedirect.com/science/article/pii/S2214317323000884 |
| work_keys_str_mv | AT yuzhang recognitionandstatisticalmethodofcowsruminationandeatingbehaviorsbasedontensorflowjs AT xiangtingli recognitionandstatisticalmethodofcowsruminationandeatingbehaviorsbasedontensorflowjs AT zhiqingyang recognitionandstatisticalmethodofcowsruminationandeatingbehaviorsbasedontensorflowjs AT shaopenghu recognitionandstatisticalmethodofcowsruminationandeatingbehaviorsbasedontensorflowjs AT xiaofu recognitionandstatisticalmethodofcowsruminationandeatingbehaviorsbasedontensorflowjs AT weizhengshen recognitionandstatisticalmethodofcowsruminationandeatingbehaviorsbasedontensorflowjs |
