A Multi-Module Methodological Evaluation of Image-Derived Morphometric Features for Body Weight Estimation in Ewes Under Strict Animal-Level Validation
Bernardo José Marques Ferreira, Caroline Lima De Andrade, Tiago Bresolin, Janiele Santos De Araújo, Eduardo Michelon Do Nascimento, Salete Alves De Moraes, Marcelo Caique Félix Rodrigues, Sánara Adrielle França Melo, Daniel Ribeiro Menezes, Mário Adriano Ávila QueirozAccurate body weight monitoring is essential for efficient sheep production, yet conventional weighing methods are labor-intensive and require frequent animal handling. Computer vision provides a promising non-invasive alternative; however, many published studies rely on validation strategies that may overestimate predictive performance because repeated observations from the same animals are simultaneously included in training and testing datasets. This study developed and evaluated an integrated analytical framework for image-based body weight estimation in ewes that combines standardized image processing, robust frame-level quality control, longitudinal statistical modeling, and strict leakage-controlled validation. A longitudinal dataset comprising 20 Dorper ewes monitored over six sampling periods was acquired using top-view depth imaging synchronized with body weight measurements under semi-arid conditions. The analytical framework integrated three complementary modules: longitudinal mixed-effects modeling, early prediction of final body weight, and contemporaneous body weight estimation. Predictive analyses were evaluated using nested leave-one-animal-out cross-validation, in which all preprocessing, correlation filtering, feature selection, model optimization, and model selection were performed exclusively within the training animals of each outer fold. The longitudinal mixed-effects model accurately characterized individual growth trajectories (conditional R2 = 0.98). Initial body weight remained the strongest predictor of final body weight (R2 = 0.770), whereas image-derived morphometric descriptors alone showed limited predictive performance under strict animal-level validation (R2 = −0.899 to −0.031). Combining baseline body weight with selected morphometric descriptors produced modest but biologically informative improvements, achieving a maximum R2 of 0.839. Contemporaneous body weight estimation achieved moderate predictive performance (maximum R2 = 0.332) and revealed temporal changes in the importance of morphometric descriptors throughout growth. Overall, the proposed framework provides a reproducible methodology for evaluating image-derived phenotypes under rigorous animal-level validation, contributing to the development of more robust, interpretable, and biologically grounded computer vision systems for Precision Livestock Farming.