{"title":"Multimodal sow lameness classification method integrating spatiotemporal features","authors":"Zekai Chen , Qiong Huang , Sumin Zhang , Xuhong Tian , Ling Yin","doi":"10.1016/j.compag.2025.110363","DOIUrl":null,"url":null,"abstract":"<div><div>Sow lameness may result in reduced swine farming efficiency, decreased production performance, and diminished economic profitability of farms. Therefore, the automatic and accurate prediction of sow lameness is crucial for enhancing health monitoring systems and improving farm profitability. This paper introduces a Contour and Skeleton Fusion-based Multimodal Network (CSF-MN) for classifying the severity of sow lameness. The Contour Feature Classification (CFC) module within the CSF-MN framework employs the FYOLOv8s-Seg algorithm to extract contour features of sows, which are then processed by the SimTSM algorithm to train a contour classification model. Meanwhile, the Skeleton Feature Classification (SFC) module uses the FYOLOv8s-Pose algorithm for skeletal feature extraction and integrates the NLPoseC3D algorithm to train a skeletal classification model. To detect lameness, prediction confidences from both models are dynamically fused using a weight assignment mechanism. To validate the effectiveness of the method, 321 samples are randomly selected from a total of 459 samples for K-fold cross-validation. The 321 samples are divided into 10 subsets, with 8 subsets used as the training set and the remaining 2 subsets used as the validation set in each iteration. This process is repeated 10 times, and the results from all 10 iterations are used to evaluate the performance. Experimental results demonstrate that the CSF-MN network achieved an accuracy of 94.2 %, specificity of 96.8 %, and sensitivity of 97.4 % on the test set. These results indicate that the proposed approach effectively integrates spatiotemporal features from sow gait, enabling an accurate assessment of lameness severity.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"235 ","pages":"Article 110363"},"PeriodicalIF":7.7000,"publicationDate":"2025-04-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925004697","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Sow lameness may result in reduced swine farming efficiency, decreased production performance, and diminished economic profitability of farms. Therefore, the automatic and accurate prediction of sow lameness is crucial for enhancing health monitoring systems and improving farm profitability. This paper introduces a Contour and Skeleton Fusion-based Multimodal Network (CSF-MN) for classifying the severity of sow lameness. The Contour Feature Classification (CFC) module within the CSF-MN framework employs the FYOLOv8s-Seg algorithm to extract contour features of sows, which are then processed by the SimTSM algorithm to train a contour classification model. Meanwhile, the Skeleton Feature Classification (SFC) module uses the FYOLOv8s-Pose algorithm for skeletal feature extraction and integrates the NLPoseC3D algorithm to train a skeletal classification model. To detect lameness, prediction confidences from both models are dynamically fused using a weight assignment mechanism. To validate the effectiveness of the method, 321 samples are randomly selected from a total of 459 samples for K-fold cross-validation. The 321 samples are divided into 10 subsets, with 8 subsets used as the training set and the remaining 2 subsets used as the validation set in each iteration. This process is repeated 10 times, and the results from all 10 iterations are used to evaluate the performance. Experimental results demonstrate that the CSF-MN network achieved an accuracy of 94.2 %, specificity of 96.8 %, and sensitivity of 97.4 % on the test set. These results indicate that the proposed approach effectively integrates spatiotemporal features from sow gait, enabling an accurate assessment of lameness severity.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.