Simple Summary
In this study, we analyzed the typical characteristics of cows with different locomotion scores, finding that using multiple characteristics for lameness detection is more effective than relying on a single trait. However, not all characteristics are suitable for individual detection, as some are more relevant at the group level. Specifically, back arch is a key indicator for severe lameness, while mild lameness is better detected through changes in leg and hoof movement characteristics like step overlap and supporting phase. A hierarchical classification approach further enhances performance by reducing individual variability.
Abstract
Lameness adversely affects the welfare and productivity of dairy cows. This study quantifies and analyzes key gait characteristics of cows with varying locomotion scores, evaluating their effectiveness for lameness detection in computer vision systems while considering individual specificity. Six key characteristics—back arch, head bob, speed, step overlap, supporting phase, and hoof step time—were analyzed to assess their distribution across different locomotion scores. Through a comparative analysis of single-parameter and multiple-parameter classification models, we quantitatively demonstrated that models using multiple characteristics significantly outperformed single-parameter models, achieving an accuracy of 84% and a Macro-F1 score of 0.81, while better accounting for individual variability. Among the characteristics, step overlap, supporting phase, and back arch showed higher relative importance in the classifiers. Back arch was a strong indicator of severe lameness, while step overlap and supporting phase were more effective for detecting mild cases. A hierarchical classification approach further improved performance by minimizing the impact of less relevant characteristics. This study highlights the importance of integrating multiple gait and posture features for robust lameness detection, providing practical insights for automated systems.
1. Introduction
Lameness is a painful gait disorder in dairy cows representing significant welfare concerns for cows [1]. Lameness not only reduces milk production [2] but also impairs reproductive performance and overall cow well-being [3,4]. Early detection of lameness is crucial for timely intervention, which can prevent further complications and improve animal welfare [5]. Traditional methods of detecting lameness primarily rely on visual observations [6]. However, these approaches are time-consuming, labor-intensive, and subject to observer bias. To address these limitations, various automatic lameness detection methods have been explored, including the use of pressure sensors [7,8,9], accelerometers [10,11], and computer vision technologies [12,13,14,15,16,17], which have garnered increasing attention in recent studies. Computer vision technologies have gained attention for this application as they are relatively inexpensive, non-intrusive, and scale well with large herds.
Lameness is typically defined as a deviation in gait resulting from pain or discomfort caused by hoof or leg injuries or diseases [18]. Compared with healthy cows, lame cows exhibit distinct gait abnormalities, such as walking with an arched back and uneven movement [19]. These adjustments in posture and locomotion are believed to help alleviate pain, offering key indicators for lameness detection [18]. Previous studies have utilized computer vision systems to capture and analyze these motion characteristics, leading to the development of lameness detection algorithms [12,20]. These systems offer advantages such as ease of data collection and simple algorithm implementation [21]. However, detecting lameness in cows remains challenging due to individual specificity, such as differences in pain tolerance and locomotion characteristics among cows [22,23,24,25]. Thus, there is a growing need to develop more comprehensive lameness detection methods that consider multiple characteristics simultaneously, leveraging the integration of diverse gait and posture characteristics to enhance algorithm robustness and mitigate the impact of individual specificity.
Zhao [25] analyzed the head–hoof linkage pattern of dairy cows based on the curves of hoof movement and head swing. Li [26] proposed a spatiotemporal energy network that more comprehensively captures walking patterns by compressing walking videos into gait energy images and history energy images. However, the proposed method models the entire process of cow walking without extracting finer lameness features. Furthermore, research demonstrating the advantages of using multiple locomotion characteristics for lameness detection remains limited. Russello [15] examined six locomotion traits—back posture, head bobbing amplitude, tracking distance, stride length, stance duration, and swing duration—and found that using multiple traits improved classification accuracy compared with relying on a single characteristic. However, this study did not explore the impact of mild versus severe lameness or provide insights into why multiple characteristics lead to better detection.
In summary, numerous studies have acknowledged that individual variability poses a challenge to the precise detection of lameness in dairy cows. However, there is a scarcity of research that quantifies the impact of individual variability on the characteristics associated with bovine lameness, and empirical data demonstrating how this issue affects detection outcomes is limited. Some studies have suggested the use of multiple characteristics to detect lameness in an effort to mitigate the influence of individual variability. Nonetheless, there is a paucity of research investigating whether an increase in the number of characteristics correlates with improved detection efficacy, or whether an optimal combination of characteristics could yield superior results. Furthermore, the question of whether different characteristics are more effective for classifying varying degrees of lameness remains largely unexplored.
In light of these challenges, our article pursues two primary objectives. The first is to provide a clear and quantitative assessment of the variability in lameness characteristics under the influence of individual specificity and to examine whether the use of multiple characteristics for lameness detection is more effective than reliance on a single characteristic in such contexts. The second objective is to conduct an in-depth analysis of these characteristics to explore whether an increased number of characteristics leads to better detection outcomes, whether an optimal combination of characteristics can enhance performance, and how different characteristics affect the classification of varying degrees of lameness. This research will provide valuable theoretical insights to guide the development of more accurate and robust lameness detection methods for dairy cows.
2. Materials and Methods
2.1. Image Acquisition
The dataset was collected at Dingyuan Farm, located in Hebei Province, China, in September 2020. The herd consisted of 1000 lactating Holstein cows, from which 300 multiparous lactating Holstein cows were randomly selected. After excluding cows that stopped, crowded, or overlapped during the recording process, a total of 175 cows were included in the study. The experimental setup consisted of a 6 × 1.5 m passing alley situated at the exit of a milking parlor. A digital camera (Panasonic DC-GH5S, Tokyo, Japan) was mounted on a tripod positioned 4 m from the side of the passing alley (Figure 1).
Figure 1.
Top view of the video data collection system for walking cows.
The videos were recorded over three days as the cows passed individually and freely through the alley. In total, 175 video recordings were obtained, each with a duration ranging from 5 to 10 s. The video resolution was 1920 × 1080 pixels, and the camera frame rate was set to 50 frames per second. Each video captured the entire body of the cow, along with the movement periods of the cows.
Ethical approval was not required for this study, as the data collection process was entirely non-invasive. Video recordings were obtained using a stationary camera placed at a distance from the cows, ensuring that no physical contact or interference with the animals occurred.
2.2. Locomotion Scoring by Visual Observations
The locomotion of the cows was scored by two observers trained in locomotion scoring at the passing alley. We used a simplified locomotion scoring system to categorize the cows’ movement into three scores: Score 1 indicates cows that are not lame, Score 2 indicates cows with mild lameness, and Score 3 indicates cows with severe lameness. The description for each score is shown in Table 1. Each observer scored the cows at the passing alley located at the exit from the milking parlor and also scored the cows twice from the video recordings. If discrepancies in scoring arose, the two observers would review the video repeatedly to reach a consensus result.
Table 1.
Description of a 3-point lameness score for dairy cows.
2.3. Characteristic Parameter Acquisition
Based on established methods for detecting lameness in dairy cows, six key kinematic parameters were selected for this study: back arch, head bob, hoof step time, step overlap, speed, and supporting phase. These parameters were chosen because they comprehensively capture the head and back postures during cow locomotion, overall velocity, as well as temporal and spatial information of hoof movement phases. The computational procedures and data sources for deriving these parameters are summarized in Table 2, providing a detailed reference for their calculation. To ensure data accuracy, key body parts of the cows, essential for parameter calculation, were manually annotated. This involved marking the central coordinates of the cow’s head, withers, hooves, mid-back, and tailhead to establish reference points for parameter expression. As shown in Figure 2, every frame of the video that captured a walking cow was marked. The annotations encompassed both the location of the key body parts and specific details required for the characteristic parameter calculations. For example, we annotated the positions of the front, back, left, and right legs; the phases of the gait cycle; and the transition points of hoof contact and lift-off. These annotations enabled the calculation of temporal data such as stride duration and phase timing based on the frame rate and the sequence of marked frames. Frames with obscured body parts were interpolated using data from adjacent frames to ensure continuity and consistency in the dataset.
Table 2.
The computational procedures and data sources.
Figure 2.
Precise location of cows’ anatomy producing data for computer analyses.
2.4. Locomotion Score Prediction
In this study, we employed machine learning classification algorithms to evaluate the predictive performance of each kinematic characteristic in classifying locomotion scores. Lameness classification was performed using three widely used machine learning algorithms: support vector machine (SVM), decision tree, and logistic regression [31,32,33]. These classifiers learn from given examples and can be trained to score lameness [15]. Multiple classifiers were employed to ensure robustness and generalizability of the results, as relying on a single classifier might lead to model-specific biases and reduce the persuasiveness of the findings. The dataset comprised 80, 66, and 29 cows with locomotion scores of 1, 2, and 3, respectively, resulting in an imbalanced class distribution. To mitigate overfitting, the data were normalized, and regularization techniques combined with fivefold cross-validation were applied throughout the detection process. Stratified sampling was employed to maintain an equal ratio of the three locomotion scores across the fivefold cross-validation subsets. These measures ensured balanced representation of each group and minimized bias due to imbalanced sample sizes. All analyses were conducted using PyCharm 3.8, with the pandas library for data manipulation, sklearn for machine learning, numpy for numerical computations, and matplotlib for visualization. The kernel of the SVM was the linear, the criterion of decision tree learning was entropy, and the logistic regression classifier used multinomial regression.
For classifiers utilizing a single characteristic parameter, we trained six instances of each algorithm type, with each instance corresponding to one of the six characteristic parameters. For each classifier, the input x consisted of a single characteristic parameter vector, while the output y represented the locomotion score of the cow. To compare the performance of locomotion score classification using multiple characteristic parameters versus a single parameter, we trained one instance of each algorithm type using all six characteristic parameters as input. Classification effectiveness at each lameness level was evaluated using sensitivity, specificity, precision, recall, and Macro-F1 scores, which were calculated using Equations (1)–(6), respectively:
To evaluate the overall efficacy of the classifiers, we selected accuracy and Macro-F1 as the primary performance metrics. The Macro-F1 score was computed by calculating the F1 score for each class and then taking the unweighted mean across all classes. The Macro-average is especially useful with imbalanced datasets, as all classes contribute equally to the metric.
In the cow lameness detection system, an excessive number of input parameter types is not recommended, as it may increase system complexity and elevate the likelihood of errors during parameter acquisition. Therefore, selecting a balanced set of parameters that effectively capture lameness-related features while maintaining system efficiency is crucial. To determine whether reducing the number of classification characteristics could maintain comparable performance, we evaluated the relative importance of each parameter to the classifiers. Based on these findings, we further investigated the contribution of each characteristic parameter to individual lameness detection performance.
To quantify the relative importance of the six lameness detection characteristics, we employed a weight-based feature importance analysis method [34,35]. First, all characteristic data were standardized (mean = 0, variance = 1) to ensure comparability across features with different units and scales. The weight coefficients or characteristic importance scores of classifiers were then extracted. To ensure the stability and generalizability of the results, characteristic importance values were computed using fivefold stratified cross-validation and averaged as the final importance scores.
3. Results
3.1. Descriptive Analysis and Correlation
Figure 3 presents the box plots of the six parameters across the three locomotion scores. Specifically, Figure 3a–f illustrate the distributions of back arch, head bob, speed, step overlap, supporting phase, and hoof step time for cows with locomotion scores of 1, 2, and 3. The analysis focused on identifying demarcation thresholds in characteristic distributions across locomotion scores to assess classification utility. In Figure 3a,b, the distributions of back arch and head bob exhibit overlap between Scores 1 and 2, but both parameters show statistically significant separation from Score 3. In Figure 3d,e, the distributions of step overlap and supporting phase exhibit overlap between Scores 2 and 3, but both parameters show statistically significant separation from Score 1. Figure 3c,f reveal that the distributions of speed and hoof step time overlap across all three locomotion scores.
Figure 3.
Box plots of the 6 parameters: back arch (a), head bob (b), speed (c), overlap (d), supporting phase (e), and hoof step time (f) versus the locomotion scores of 175 cows.
The average values of the six characteristic parameters for cows across different locomotion scores are presented in Table 3 and Figure 4. The values of the lameness-related characteristic parameters exhibited consistent trends across different locomotion scores. This suggests that these characteristics are closely associated with the movement patterns of lame cows, further validating findings from previous studies. However, the applicability of these characteristics for individual cow lameness recognition requires further analysis on a case-by-case basis. These findings highlight the potential of these characteristics as indicators of lameness severity at a population level. However, individual variability in movement patterns may limit their direct application to lameness recognition in individual cows, necessitating additional research to refine their utility in practical settings.
Table 3.
The average values of six characteristic parameters of cows with different locomotion scores.
Figure 4.
The average values of six characteristic parameters of cows with different locomotion scores.
3.2. Classification Accuracy
The cross-validated classification accuracies on the test dataset, obtained using both single-parameter and multiple-parameter approaches, are summarized in Table 4. In the table, we focused on comparing the accuracy and Macro-F1 scores of classifiers with different input configurations of single parameters and multiple parameters. The classification accuracy varied significantly across the six parameters and among the different algorithms. Compared with the single-parameter classification results, the multiple-parameter approach demonstrated superior performance and stability, achieving an accuracy of approximately 84% and a Macro-F1 score of 0.81. These results suggest that combining multiple parameters enhances both the accuracy and robustness of lameness classification, making it a more reliable approach for practical applications compared with single-parameter methods.
Table 4.
Classification results of the six single parameters and multiple parameters by classifiers.
The relative importance of the six characteristic parameters is presented in Table 5. The relative importance of the characteristic parameters varied across different classifiers. Overall, the top three most important characteristic parameters were consistently step overlap, supporting phase, and back arch, whereas the remaining three parameters exhibited relatively lower importance. This consistency in the top three parameters highlights their potential as robust indicators for lameness detection, while the lower importance of the remaining parameters suggests their limited utility in classification tasks.
Table 5.
The relative importance of six characteristic parameters of the classifiers.
We visualized the distributions of the step overlap and supporting phase characteristics for healthy and lame cows, along with the distribution of the back arch characteristic for healthy and mildly lame cows compared with severely lame cows, as shown in Figure 5. Among them, there were significant differences in the distributions of the step overlap and supporting phase characteristics between cows with Score 1 and lame cows with Scores 2 and 3, particularly in the step overlap. The median for the combined Scores 2 and 3 group was approximately 10, significantly higher than that of the Score 1 group, which was around −2.5. The interquartile range (IQR) for the Scores 2 and 3 group spans from about 5 to 15, whereas the IQR for the Score 1 group ranges from approximately −5 to 0, indicating a clear numerical disparity in the step overlap characteristic values.
Figure 5.
The distributions of the step overlap, supporting phase, and back arch characteristics.
Additionally, the back arch characteristic distribution showed a significant difference between cows with Score 3 and those with Scores 1 and 2. The median for the Score 3 group was approximately 0.0010, significantly higher than that of the Scores 1 and 2 group, which was around 0.0005. The IQR for the Score 3 group ranged from about 0.0009 to 0.0011, while the IQR for the Scores 1 and 2 group spanned from approximately 0.0004 to 0.0006.
4. Discussion
4.1. Individual Specificity
Many studies on lameness detection have mentioned cows’ individual specificity and considered it a challenge hindering accurate detection, as variations in gait patterns and physiological responses among individual cows can significantly affect the performance of detection algorithms [22,23,24,25]. However, few studies have quantified the extent of individual specificity, making it challenging to comprehensively assess its impact on lameness detection. This issue is less pronounced during manual observation, as observers can subjectively identify uneven gait patterns without requiring precise measurements of individual leg swing phases. In contrast, computer vision-based detection techniques exacerbate this issue, as they depend on quantitative data derived from cows’ walking patterns to compute lameness-related characteristics. Cow individual specificity introduces significant variations in data among different cows, ultimately compromising the accuracy of lameness detection results. These findings underscore the need for developing adaptive algorithms that account for individual variability, thereby improving the robustness and reliability of computer vision-based lameness detection systems.
We propose that the key to addressing this issue lies in the development of specific quantitative metrics, akin to the locomotion scores used in manual observation, to objectively describe healthy cows and enable automated lameness assessment. For instance, while current studies indicate that healthy cows typically do not arch their backs during walking [36,37], there is no well-defined threshold to distinguish a ‘level-back posture’ from an ‘arched-back posture’, nor a clear criterion to determine when an arched-back posture becomes evident. To address this challenge, the first step is to understand cow individual specificity. It is essential to identify characteristics that exhibit significant individual variability and those that overlap across cows with different lameness severities. Ultimately, the goal is to identify characteristics with minimal individual variability that can reliably detect lameness, thereby enhancing the effectiveness of computer vision-based lameness detection technologies.
The mean values of each characteristic, as shown in Table 3 and Figure 4, vary significantly across locomotion scores, demonstrating that cows with different locomotion scores exhibit measurable differences in these characteristics at the population level. However, as shown in Figure 3, none of the characteristics are completely separable across the three locomotion scores, indicating that individual cows with different locomotion scores may not consistently exhibit these characteristic differences due to individual variability. This underscores the limitation of relying on a single characteristic for lameness classification, as individual variability can lead to substantial misclassification errors.
4.2. Multiple-Parameter Detection
Single-characteristic detection of lameness is significantly influenced by individual variability, especially when detecting mild lameness, where subtle gait changes may vary widely among cows. Therefore, many studies have investigated the use of multiple characteristics for lameness detection to mitigate the effects of individual variability, thereby enhancing the comprehensiveness and robustness of the detection system [38,39]. However, few studies have provided empirical evidence to validate the effectiveness of this approach, particularly in the context of mild lameness detection. As shown in Table 4, the results indicate that multiple-parameter detection significantly enhances detection accuracy and reliability.
Under conditions of hoof pain and discomfort, different cows exhibited distinct abnormal gait characteristics compared with normal cows, with cows displaying mild lameness showing a wider range of variability in these characteristics. In this context, multiple-parameter detection is more effective in accurately identifying lame cows, especially those with mild lameness, due to its ability to capture a broader spectrum of gait abnormalities. The results further clarify that, in our comparative experiments, the multiple-parameter detection method achieved a significant improvement in sensitivity, particularly for detecting cows with mild lameness, highlighting its practical utility.
Although the multiple-parameter detection method outperformed the single-parameter approach in this study, it does not necessarily imply that adding more parameters will lead to further performance improvements. While the multiple-parameter approach demonstrated superior performance in this study, the inclusion of additional parameters may introduce redundancy or noise, potentially diminishing the detection accuracy. Therefore, careful selection and optimization of parameters are essential to maximize the effectiveness of lameness detection systems.
As shown in Table 5, the top three most significant characteristic parameters, identified through feature importance analysis, were step overlap, supporting phase, and back arch. Using these three characteristics as inputs, we developed an SVM classification model with a linear kernel, achieving an accuracy of 87% and a Macro-F1 score of 0.84. This performance surpassed that of the classifier trained on all six characteristics. This finding demonstrates that while multiple characteristics can reduce the impact of individual variability, not all characteristics are equally effective for lameness detection.
4.3. Characteristics and Detection Methods
As shown in Figure 3, certain characteristics demonstrate greater separation in their distributions across different locomotion scores. For instance, the back arch characteristic shows a clear separation in the distribution of Score 3 compared with the other two scores (Score 1 and Score 2), while the step overlap and supporting phase characteristics exhibit significant separation in the distribution of Score 1 compared with the other two scores. Figure 5 visualizes the distributions of the step overlap and supporting phase characteristics for healthy and lame cows. The distributions of each characteristic show significant separation between the two groups, emphasizing their ability to distinguish between different degrees of lameness. These observations suggest that these characteristics hold promise for distinguishing between different locomotion scores, particularly in the early detection of lameness. This further validates that the early lameness in dairy cows is primarily characterized by leg and hoof changes; it is important to note that subtle changes in leg kinematics may also provide valuable insights for early lameness detection and the potential of gait variables for application in early lameness detection systems [40,41,42]. However, significant distributional differences existed in the back arch characteristic between healthy/mildly lame cows and severely lame cows. The back arch characteristic, while occasionally observable in mild lameness cases, demonstrates inconsistent occurrence and minimal manifestation. In contrast, severe lameness consistently exhibits markedly prominent back arching. This explains why, in the classification results, the back arch characteristic demonstrated the highest sensitivity specifically for Score 3 cases compared with other characteristics.
Based on these findings, we developed a combined SVM classifier using a hierarchical approach. First, we used the back arch characteristic to classify severely lame cows, followed by the step overlap and supporting phase characteristics to distinguish between healthy and mildly lame cows among the non-severely lame cases. We found that this hierarchical approach achieved superior performance compared with the previously mentioned method of directly performing three-class classification using all three characteristics, particularly in terms of accuracy and Macro-F1 scores. The first classifier achieved an accuracy of 91% and a Macro-F1 score of 0.95, and the second classifier achieved an accuracy of 93% and a Macro-F1 score of 0.93, yielding an overall accuracy of 90%. These results suggest that a multi-step, hierarchical classification approach leveraging different characteristics based on their discriminative properties is an effective strategy. This approach minimizes the impact of individual variability by isolating the influence of less relevant characteristics.
Our findings are consistent with those of Russello et al. (2024), demonstrating the effectiveness of multiple locomotion traits for lameness detection [15]. Integrating multiple locomotion traits enhances the robustness of lameness detection systems, particularly by reducing misclassification rates caused by individual variability among cows. However, notable differences exist in the treatment of head bobbing and the classification methodologies employed. While Russello et al. (2024) [15] classified cows into binary categories (lame vs. non-lame), our study differentiated between mild and severe lameness. This distinction may explain the lower sensitivity of head bobbing in our results, as it is less pronounced in mild cases. Specifically, head bobbing was more pronounced in severe lameness but exhibited greater variability in mild cases, underscoring the importance of considering lameness severity when interpreting this trait.
Additionally, it is important to note that our study is based on data from 175 cows, which may limit the generalizability of the results. The relatively small sample size could restrict the broader applicability of our findings. To address this limitation, future studies should aim to expand the sample size by including a more diverse and larger population of cows. This would not only improve the robustness of the results but also offer more comprehensive insights into the mechanisms and early detection strategies for lameness.
5. Conclusions
In this study, we demonstrated that combining multiple gait characteristics significantly improves classification accuracy and robustness compared with relying on a single characteristic. However, incorporating too many characteristics does not necessarily lead to improved classification performance. We recommend including key characteristics such as back arch for posture analysis and spatiotemporal leg characteristics like step overlap and supporting phase for gait analysis. Additionally, a multi-step, hierarchical classification approach, leveraging different characteristics based on their discriminative properties, can effectively reduce the impact of individual variability and improve detection accuracy. In future work, we plan to explore advanced feature selection techniques and further optimize the multi-step classification framework to enhance lameness detection performance.
Author Contributions
Conceptualization, X.K.; methodology, X.K.; software, J.L.; validation, X.K. and J.L.; formal analysis, X.K.; investigation, Q.L.; resources, G.L.; data curation, X.K. and J.L.; writing—original draft preparation, X.K. and J.L.; writing—review and editing, G.L.; visualization, Q.L.; supervision, X.K.; project administration, G.L.; funding acquisition, X.K. and G.L. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the Talent introduction fund (no. 20230323Z0062), and the National Natural Science Foundation of China (no. 32272930).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
No new data were created.
Acknowledgments
We would like to thank the Talent introduction fund of Ningbo, National Natural Science Foundation of China, and NingboTech University for their support.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Botreau, R.; Bracke, M.B.; Perny, P.; Butterworth, A.; Capdeville, J.; Van Reenen, C.G.; Veissier, I. Aggregation of measures to produce an overall assessment of animal welfare. Part 2: Analysis of constraints. Animals 2007, 1, 1188–1197. [Google Scholar] [CrossRef] [PubMed]
- Green, L.E.; Hedges, V.J.; Schukken, Y.H.; Blowey, R.W.; Packington, A.J. The impact of clinical lameness on the milk yield of dairy cows. J. Dairy Sci. 2002, 85, 2250–2256. [Google Scholar] [CrossRef] [PubMed]
- Rees, G. Fate of a severely lame cow. Practice 2014, 36, 526–527. [Google Scholar] [CrossRef]
- Booth, C.J.; Warnick, L.D.; Groehn, Y.T.; Maizon, D.O.; Guard, C.L.; Janssen, D. Effect of lameness on culling in dairy cows. J. Dairy Sci. 2004, 87, 4115–4122. [Google Scholar] [CrossRef]
- Van Nuffel, A.; Zwertvaegher, I.; Pluym, L.; Van Weyenberg, S.; Thorup, V.M.; Pastell, M.; Sonck, B.; Saeys, W. Lameness detection in dairy cows: Part 1. How to distinguish between non-lame and lame cows based on differences in locomotion or behavior. Animals 2015, 5, 838–860. [Google Scholar] [CrossRef]
- Greenough, P.R.; MacCallum, F.J.; Weaver, A.D. Lameness in Cattle, 2nd ed.; Wright (Scientechnica): Bristol, UK, 1981. [Google Scholar]
- Pastell, M.; Hanninen, L.; de Passillé, A.M.; Rushen, J. Measures of weight distribution of dairy cows to detect lameness and the presence of hoof lesions. J. Dairy Sci. 2010, 93, 954–960. [Google Scholar] [CrossRef]
- Poikalainen, V.; Praks, J.; Kokin, E.; Aland, A.; Veemäe, I.; Peets, S.; Ahokas, J.; Pastell, M.; Hautala, M.; Berckmans, D.; et al. Elaboration of basic methods for automatic analysis of cows’ gait. Agron. Res. 2010, 8, 216–225. [Google Scholar]
- Maertens, W.; Vangeyte, J.; Baert, J.; Jantuan, A.; Mertens, K.C.; De Campeneere, S.; Pluk, A.; Opsomer, G.; Van Weyenberg, S.; Van Nuffel, A. Development of a real time cow gait tracking and analysing tool to assess lameness using a pressure sensitive walkway: The GAITWISE system. Biosyst. Eng. 2011, 110, 29–39. [Google Scholar] [CrossRef]
- Pastell, M.; Tiusanen, J.; Hakojärvi, M.; Hänninen, L. A wireless accelerometer system with wavelet analysis for assessing lameness in cattle. Biosyst. Eng. 2009, 104, 545–551. [Google Scholar] [CrossRef]
- Mandel, R.; Harazy, H.; Gygax, L.; Nicol, C.J.; Ben-David, A.; Whay, H.R.; Klement, E. Detection of lameness in dairy cows using a grooming device. J. Dairy Sci. 2018, 101, 1511–1517. [Google Scholar] [CrossRef]
- Song, X.Y.; Leroy, T.; Vranken, E.; Maertens, W.; Sonck, B.; Berckmans, D. Automatic detection of lameness in dairy cattle—Vision-based trackway analysis in cow’s locomotion. Comput. Electron. Agric. 2008, 64, 39–44. [Google Scholar] [CrossRef]
- Viazzi, S.; Bahr, C.; Van Hertem, T.; Schlageter-Tello, A.; Romanini, C.E.B.; Halachmi, I.; Lokhorst, C.; Berckmans, D. Comparison of a three-dimensional and two-dimensional camera system for automated measurement of back posture in dairy cows. Comput. Electron. Agric. 2014, 100, 139–147. [Google Scholar] [CrossRef]
- Zhao, K.; Bewley, J.M.; He, D.; Jin, X. Automatic lameness detection in dairy cattle based on leg swing analysis with an image processing technique. Comput. Electron. Agric. 2018, 148, 226–236. [Google Scholar] [CrossRef]
- Russello, H.; van der Tol, R.; Holzhauer, M.; van Henten, E.J.; Kootstra, G. Video-based automatic lameness detection of dairy cows using pose estimation and multiple locomotion traits. Comput. Electron. Agric. 2024, 223, 12. [Google Scholar] [CrossRef]
- Myint, B.B.; Onizuka, T.; Tin, P.; Aikawa, M.; Kobayashi, I.; Zin, T.T. Development of a real-time cattle lameness detection system using a single side-view camera. Sci. Rep. 2024, 14, 22. [Google Scholar] [CrossRef]
- Jiang, B.; Song, H.B.; He, D.J. Lameness detection of dairy cows based on a double normal background statistical model. Comput. Electron. Agric. 2019, 158, 140–149. [Google Scholar] [CrossRef]
- Scott, G.B. Changes in limb loading with lameness for a number of friesian cattle. Br. Vet. J. 1989, 145, 28–38. [Google Scholar] [CrossRef]
- Hoffman, A.C.; Moore, D.A.; Vanegas, J.; Wenz, J.R. Association of abnormal hind-limb postures and back arch with gait abnormality in dairy cattle. J. Dairy Sci. 2014, 97, 2178–2185. [Google Scholar] [CrossRef]
- Pluk, A.; Bahr, C.; Poursaberi, A.; Maertens, W.; van Nuffel, A.; Berckmans, D. Automatic measurement of touch and release angles of the fetlock joint for lameness detection in dairy cattle using vision techniques. J. Dairy Sci. 2012, 95, 1738–1748. [Google Scholar] [CrossRef]
- Kang, X.; Zhang, X.D.; Liu, G. A Review: Development of Computer Vision-Based Lameness Detection for Dairy Cows and Discussion of the Practical Applications. Sensors 2021, 21, 26. [Google Scholar] [CrossRef]
- Poursaberi, A.; Bahr, C.; Pluk, A.; Van Nuffel, A.; Berckmans, D. Real-time automatic lameness detection based on back posture extraction in dairy cattle: Shape analysis of cow with image processing techniques. Comput. Electron. Agric. 2010, 74, 110–119. [Google Scholar] [CrossRef]
- Viazzi, S.; Bahr, C.; Schlageter-Tello, A.; Van Hertem, T.; Romanini, C.E.B.; Pluk, A.; Halachmi, I.; Lokhorst, C.; Berckmans, D. Analysis of individual classification of lameness using automatic measurement of back posture in dairy cattle. J. Dairy Sci. 2013, 96, 257–266. [Google Scholar] [CrossRef] [PubMed]
- Piette, D.; Norton, T.; Exadaktylos, V.; Berckmans, D. Individualised automated lameness detection in dairy cows and the impact of historical window length on algorithm performance. Animal 2020, 14, 409–417. [Google Scholar] [CrossRef] [PubMed]
- Zhao, K.; Zhang, M.; Ji, J.; Zhang, R.; Bewley, J.M. Automatic lameness scoring of dairy cows based on the analysis of head- and back-hoof linkage features using machine learning methods. Biosyst. Eng. 2023, 230, 424–441. [Google Scholar] [CrossRef]
- Li, Q.; Si, Y.S.; Chu, M.Y.; Liu, N.; Kang, X.; Liu, G. A novel lameness detection method for dairy cows based on temporal gait and spatial post features. Comput. Electron. Agric. 2024, 224, 13. [Google Scholar] [CrossRef]
- Flower, F.C.; Weary, D.M. Gait assessment in dairy cattle. Animal 2009, 3, 87–95. [Google Scholar] [CrossRef]
- Zillner, J.C.; Tücking, N.; Plattes, S.; Heggemann, T.; Büscher, W. Using walking speed for lameness detection in lactating dairy cows. Livest. Sci. 2018, 218, 119–123. [Google Scholar] [CrossRef]
- Kang, X.; Zhang, X.D.; Liu, G. Accurate detection of lameness in dairy cattle with computer vision: A new and individualized detection strategy based on the analysis of the supporting phase. J. Dairy Sci. 2020, 103, 10628–10638. [Google Scholar] [CrossRef]
- Bahr, C.; Leroy, T.; Song, X.; Vranken, E.; Maertens, W.; Vangeyte, J.; Van Nuffel, A.; Sonck, B.; Berckmans, D. Automatic detection of lameness in dairy cattle–analyzing image parameters related to lameness. In Proceedings of the American Society of Agricultural and Biological Engineers, Reno, NV, USA, 31 August–4 September 2009; Livestock Environment VIII: Iguassu Falls, Brazil, 2009. [Google Scholar]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Quinlan, J.R. Induction of decision trees. Mach. Learn. 1986, 1, 81–106. [Google Scholar] [CrossRef]
- Hosmer, D.W.; Lemeshow, S. Applied Logistic Regression, 2nd ed.; Wiley: New York, NY, USA, 2000; pp. 1–392. [Google Scholar]
- Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 2017, 30, 4765–4774. [Google Scholar]
- Kohavi, R. A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection. In Proceedings of the International Joint Conference on Artificial Intelligence, Montreal, QC, Canada, 20–25 August 1995; Morgan Kaufmann: San Francisco, CA, USA, 1995; pp. 1137–1145. [Google Scholar]
- Sprecher, D.J.; Hostetler, D.E.; Kaneene, J.B. A lameness scoring system that uses posture and gait to predict dairy cattle reproductive performance. Theriogenology 1997, 47, 1179–1187. [Google Scholar] [CrossRef] [PubMed]
- Winckler, C.; Willen, S. The reliability and repeatability of a lameness scoring system for use as an indicator of welfare in dairy cattle. Acta Agric. Scand. Sect. A-Anim. Sci. 2001, 51, 103–107. [Google Scholar] [CrossRef]
- Barney, S.; Dlay, S.; Crowe, A.; Kyriazakis, I.; Leach, M. Deep learning pose estimation for multi-cattle lameness detection. Sci. Rep. 2023, 13, 4499. [Google Scholar] [CrossRef]
- Li, Q.; He, Z.J.; Liu, X.W.; Chu, M.Y.; Wang, Y.C.; Kang, X.; Liu, G. Lameness detection system for dairy cows based on instance segmentation. Expert Syst. Appl. 2024, 249, 123775. [Google Scholar] [CrossRef]
- Haladjian, J.; Hodaie, Z.; Nüske, S.; Brügge, B. Gait Anomaly Detection in Dairy Cattle. In Proceedings of the Fourth International Conference on Animal-Computer Interaction, Milton Keynes, UK, 21–23 November 2017; ACM: New York, NY, USA, 2017; pp. 1–8. [Google Scholar]
- Gardenier, J.; Underwood, J.; Clark, C. Object Detection for Cattle Gait Tracking. In Proceedings of the 2018 IEEE International Conference on Robotics and Automation (ICRA), Brisbane, Australia, 21–25 May 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 2206–2213. [Google Scholar]
- Van Nuffel, A.; Vangeyte, J.; Mertens, K.C.; Pluym, L.; De Campeneere, S.; Saeys, W.; Opsomer, G.; Van Weyenberg, S. Exploration of measurement variation of gait variables for early lameness detection in cattle using the GAITWISE. Livest. Sci. 2013, 156, 88–95. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).