A Method of Body Condition Scoring for Dairy Cows Based on Lightweight Convolution Neural Network

卷积(计算机科学) 人工神经网络 卷积神经网络 计算机科学 数学 人工智能
作者
Tao Feng,Yangyang Guo,Xiaoping Huang,Jun Wu,Can Cheng
出处
期刊:Journal of the ASABE [American Society of Agricultural and Biological Engineers]
卷期号:67 (2): 409-420
标识
DOI:10.13031/ja.15696
摘要

Highlights A cow body condition scoring model (ShuffleNet-SEH) based on a lightweight convolutional neural network using ShuffleNetV2 was proposed. Introducing the SE attention mechanism and H-Swish activation function enhances the feature extraction capability of the model. Achieved over 98% classification accuracy rate on the cow datasets. The proposed method can be applied to mobile devices. Abstract. Body condition scoring is an essential tool for nutrition management in large-scale dairy farming. The traditional method of manual scoring is inefficient and prone to subjective error. With the advancement of deep learning algorithms and machine vision technology, automatic scoring methods have been proposed. In response to the current problems of large parameter sizes and poor robustness in deep learning models, this study proposes a cow body condition scoring model (ShuffleNet-SEH) based on a lightweight convolutional neural network using ShuffleNetV2 as a foundation. Firstly, tail area images of cows were collected to construct a diverse dataset that includes complex variations such as motion blur and different levels of illumination. Secondly, the ShuffleNet-SEH model was developed by integrating a Squeeze-and-Excitation Networks (SENet) module into the main branch of ShuffleNetV2 after 1×1 convolution to enhance the representation ability of the network and improve its accuracy in identifying the cow body condition. Additionally, the nonlinear activation function ReLU in SENet was replaced by H-Swish to reduce the computational data required for the model on mobile devices, making it suitable for quantization operations. ShuffleNet-SEH was comprehensively evaluated, including ablation experiments, confusion matrix analysis, and feature map analysis. Multiple complex test sets were constructed for validation purposes. Throughout these evaluations, ShuffleNet-SEH exhibited remarkable performance. Furthermore, the efficacy and interpretability of ShuffleNet-SEH in cow body condition scoring tasks were further substantiated through meticulous feature map analysis. The findings underscore the robustness and reliability of ShuffleNet-SEH across diverse experimental scenarios and assessments. In the constructed motion blur test set, ShuffleNet-SEH demonstrated outstanding performance. Specifically, it achieved an accuracy rate of 98.2%, a precision rate of 98.5%, and a recall rate of 98.3%. These results represent significant improvements of 2.3%, 2.4%, and 3.2%, respectively, compared to the performance of the ShuffleNetV2 model. In addition, it is noteworthy that the ShuffleNet-SEH model has a size of approximately 5.64 MB, while the original ShuffleNet model has a size of 4.97 MB. This indicates a modest increase in model size of approximately 13.5% with the incorporation of the ShuffleNet-SEH enhancements. Moreover, superior overall performance was displayed by ShuffleNet-SEH model compared to mainstream convolutional neural network classification models, including MobileNetV2, EfficientNetV1, and ConvNeXt. The success of ShuffleNet-SEH in accurately identifying cow body condition while maintaining a lightweight architecture makes it suitable for deployment on mobile devices and, thus, has the potential to promote the commercialization of cow body condition scoring. Keywords: Attention mechanism, Body condition score, Deep learning, ShuffleNetV2.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
共享精神应助落羽无尘1006采纳,获得10
刚刚
刚刚
yanlulu完成签到 ,获得积分10
1秒前
善学以致用应助三七二一采纳,获得10
1秒前
1秒前
2秒前
yhm7426发布了新的文献求助30
3秒前
22222发布了新的文献求助10
3秒前
3秒前
深情安青应助xuhandi采纳,获得10
3秒前
Brightan发布了新的文献求助10
4秒前
大个应助红糖发糕采纳,获得30
4秒前
猫猫猫完成签到,获得积分20
4秒前
4秒前
4秒前
美丽蕨菜子应助吃个馍馍采纳,获得10
5秒前
6秒前
高伟杰完成签到,获得积分10
6秒前
bkagyin应助彬彬采纳,获得10
6秒前
大个应助佚名采纳,获得30
6秒前
6秒前
7秒前
CRUSADER发布了新的文献求助10
7秒前
yu完成签到,获得积分10
8秒前
Hello应助胡树采纳,获得10
8秒前
8秒前
共享精神应助kk采纳,获得30
9秒前
che发布了新的文献求助10
9秒前
9秒前
所所应助Levy采纳,获得10
9秒前
谷雨应助miles采纳,获得10
9秒前
猫猫猫发布了新的文献求助10
10秒前
chickensandwhich完成签到,获得积分20
10秒前
11秒前
11秒前
11秒前
11秒前
谨慎的擎宇完成签到,获得积分10
11秒前
weddcf发布了新的文献求助10
12秒前
hululaoqi发布了新的文献求助10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 临床微生物学程序手册,多卷,第5版 2000
List of 1,091 Public Pension Profiles by Region 1621
Les Mantodea de Guyane: Insecta, Polyneoptera [The Mantids of French Guiana] | NHBS Field Guides & Natural History 1500
The Victim–Offender Overlap During the Global Pandemic: A Comparative Study Across Western and Non-Western Countries 1000
King Tyrant 720
T/CIET 1631—2025《构网型柔性直流输电技术应用指南》 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5589024
求助须知:如何正确求助?哪些是违规求助? 4671817
关于积分的说明 14789701
捐赠科研通 4627219
什么是DOI,文献DOI怎么找? 2532047
邀请新用户注册赠送积分活动 1500655
关于科研通互助平台的介绍 1468382