Next Article in Journal
Gum–Gelatin Nanocapsules of Pomegranate Phenolic Extract Promote Redox Homeostasis, Metabolic Health, Immunity, Gut Microbiota, and Growth in Newly Weaned Rabbits
Previous Article in Journal
GWAS and Selective Sweep Analysis Reveal the Genetic Basis of Papilla Number in the Sea Cucumber (Apostichopus japonicus)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Supervised Machine Learning Techniques and Digital Image Analysis for Predicting Live Weight in Anadolu-T Broilers

1
Department of Agricultural Structures and Irrigation, Ondokuz Mayıs University, Samsun 55139, Türkiye
2
Department of Agricultural and Biological Engineering, Purdue University, West Lafayette, IN 47907, USA
3
Department of Animal Science, Ondokuz Mayıs University, Samsun 55139, Türkiye
*
Author to whom correspondence should be addressed.
Animals 2026, 16(1), 68; https://doi.org/10.3390/ani16010068
Submission received: 11 September 2025 / Revised: 11 December 2025 / Accepted: 23 December 2025 / Published: 25 December 2025
(This article belongs to the Special Issue New Techniques and Technologies Applicable to Animal Production)

Simple Summary

Measuring the live weight of chickens is essential for proper feeding, health monitoring, and production planning on poultry farms. However, manual weighing of chickens can be time-consuming for farmers. This study investigated the use of computer-based methods and digital image analysis to estimate the live weight of broiler chickens without the need for direct weighing. In computer-based methods, the weight of broiler chickens was estimated using simple body measurements, such as the length and width of the back. In digital image analysis, the number of body surface pixels and the day of age were used to predict live weight. The results showed that both computer-based methods and digital image–based models provided highly accurate predictions, whereas traditional linear methods were less effective. These findings demonstrate that modern computer vision and machine learning tools can offer fast, reliable, and non-invasive alternatives for monitoring broiler growth. This approach supports smarter and more sustainable practices in precision poultry farming.

Abstract

Accurate estimation of live weight is essential for efficient management and precision control in poultry production. This study evaluated the potential of supervised machine learning (ML) algorithms and digital image analysis for non-invasive prediction of live weight in Anadolu-T broilers, a locally developed genotype in Türkiye. A total of 4200 records were collected from 100 broilers (50 males and 50 females) over 42 days, including daily measurements of back length, back width, and live weight. Five ML algorithms—Random Forest (RF), k-Nearest Neighbors (KNN), Support Vector Regression (SVR), Extreme Gradient Boosting (XGB), and Multiple Linear Regression (MLR)—were trained and validated to estimate live weight based on morphometric traits. Among all algorithms, KNN achieved the highest accuracy (R2 = 0.982, RMSE = 111.509 g, MAPE = 8.205%), followed by RF and XGB, which also produced stable and reliable predictions. The image-based models using log-transformed regression between body surface pixel area and live weight yielded similar accuracy (R2 = 0.989, RMSE = 101.197 g, MAPE = 7.266%), confirming that projected surface area can effectively represent growth progression. The results demonstrate that integrating ML algorithms with digital imaging offers a practical, cost-effective, and non-invasive approach for real-time broiler weight estimation. This approach supports the advancement of precision poultry farming through automated, data-driven growth monitoring.

1. Introduction

Global meat consumption is expected to increase significantly in the coming decades due to the growing world population and increasing demand for animal protein, especially in developing regions, where urbanization and rising income levels are rapidly changing dietary habits [1]. Of all livestock sectors, poultry stands out as the fastest growing, with both the production and consumption of poultry meat rising sharply worldwide [2]. This trend is especially pronounced in developing countries, which now account for the majority of global poultry meat production and have overtaken industrialized countries in recent decades [3]. The widespread appeal of poultry products stems from their affordability, efficient feed conversion, and short production cycles, which make them an important source of high-quality protein and essential nutrients for billions of people worldwide.
As poultry meat continues to play a central role in meeting global protein demands, improving production efficiency has become increasingly important for sustainable growth in the sector. In broiler farming, live weight is an important measure of growth efficiency, as it is crucial for producers to know both the average weight and the weight distribution within a flock at the time of slaughter [4].
Traditionally, to determine live weight, individual birds are manually caught and weighed using electronic or manual scales [5]. Although widely used, this method is labor-intensive, time-consuming, and can compromise animal welfare [6]. Automated weighing platforms have been introduced to alleviate these drawbacks by collecting weight data as birds move freely within the housing environment [7,8]. However, platform engagement can be inconsistent across the flock, as dominant or heavier birds may underutilize the system, resulting in biased or incomplete data [9]. These limitations have stimulated interest in alternative, non-invasive approaches to estimate live weight.
Given the limitations of both manual weighing and current automated systems, recent research has increasingly focused on developing predictive models that utilize easily obtainable phenotypic traits to estimate broiler live weight more efficiently. Morphometric characteristics, such as body length, width, and other linear measurements, have shown strong correlations with body weight and are therefore considered promising predictors for non-invasive weight estimation models [10,11,12]. For instance, the authors in [10] utilized 270 broiler chicks, consisting of 90 individuals from each of the Arbor Acres, Ross, and Marshall strains, to estimate live weight using body length and width measurements. Similarly, in the study by [13] investigated the repeatability of body weight and linear body traits in 100 Marshall broiler chickens from hatch to eight weeks of age, highlighting the consistency of these measurements over time. In another study, ref. [14] developed estimation equations based on morphometric traits to predict live weight specifically in Ross genotype broilers.
Building on these findings, advances in computer vision and digital imaging now offer an additional way to capture morphometric information without direct handling. Far from being confined to poultry, image analysis techniques have been used successfully applied many livestock species to estimate body weight, carcass composition or growth characteristics [15,16,17,18]. Despite this wide application, the integration of image-based measurements with predictive models in poultry is still limited, although it offers considerable potential to reduce labor input and to continuously monitor flocks.
At the same time, the poultry sector generates large volumes of data through its intensive production cycles, providing an ideal context for the application of supervised machine learning (ML) algorithms. Techniques such as artificial neural networks (ANN) [19,20], support vector regression (SVR) [21,22], random forests (RF) [23], and related ensemble methods have shown high predictive accuracy for broiler live weight in previous studies. Yet most of this work has focused narrowly on commercial strains such as Ross and Cobb [24,25,26,27], leaving open the question of whether similar predictive relationships hold for alternative or locally bred genotypes developed under different breeding strategies or regional conditions.
To address the aforementioned gaps in the literature, the present study aims to achieve the following objectives:
  • Conduct a comprehensive comparative evaluation of multiple supervised ML algorithms, including RF, SVR, K-Nearest Neighbors (KNN), Extreme Gradient Boosting (XGB), and Multiple Linear Regression (MLR) to predict live weight in Anadolu-T broilers (a native Turkish genotype selected for fast-growth, feed efficiency and breast meat yield) [28,29] based on simple morphometric inputs (back length and width).
  • Investigate potential gender effects by constructing separate models for male, female, and mixed-sex datasets.
  • Explore a complementary digital image analysis approach to quantify broiler body surface area and derive a linear equation for estimating live weight from body-surface pixels.
  • Establish the growth curve of Anadolu-T broilers using the daily live-weight records collected over the 42-day experimental period.
By integrating morphometric measurements, ML, digital imaging, and growth-curve modeling within a three-stage framework, this study extends non-invasive live-weight prediction to a regionally important broiler line and provides new insights for data-driven precision poultry farming.

2. Materials and Methods

The diagram (Figure 1) summarizes the three-stage workflow used in this study. In Stage 1, daily experimental measurements were collected from Anadolu-T broilers, including back length, back width, and live weight. In Stage 2, these morphometric traits served as inputs for five ML algorithms (RF, KNN, SVR, XGB, and MLR) to estimate live weight. In Stage 3, a complementary digital image-based approach was implemented, in which surface-area pixels extracted from top-view photographs were used to predict live weight through a logarithmic model. The predicted values obtained from both approaches were then evaluated using performance metrics to determine the most accurate method.

2.1. Study Area and Husbandry Conditions

The study was conducted at the Research and Application Farm of the Faculty of Agriculture, Ondokuz Mayıs University, located in Samsun, Türkiye (41°21′ N, 36°11′ E). The experiment was carried out in an environmentally controlled poultry house, where the birds were housed in experimental pens measuring 2.2 × 2.2 m with a height of 0.5 m, separated by wire mesh partitions. The experimental population consisted of 100 one-day-old Anadolu-T broiler chickens (Figure 2), including 50 males and 50 females. To eliminate potential sex-related behavioral effects and ensure consistent data collection, male and female chicks were housed in separate pens.
All pens were bedded with 8–10 cm of wood-shaving litter, which was inspected daily and refreshed as necessary to prevent excessive moisture buildup. Stocking density was maintained at approximately 10 birds m−2, in accordance with standard broiler production recommendations. A 23L:1D lighting schedule was applied during the first week to promote early feed intake and thermoregulation, followed by a 20L:4D photoperiod for the remainder of the experiment. Birds were provided a three-phase commercial broiler diet (starter, grower, and finisher), with feed and water offered ad libitum. Routine sanitary procedures—including daily removal of wet litter patches, weekly disinfection of feeders and drinkers, and continuous monitoring of air quality—were implemented uniformly across all pens.

2.2. Experimental Measurements

The experiment lasted six weeks (42 consecutive days). Throughout this period, the live weight, back length, and back width of each bird were measured individually on a daily basis to ensure continuous monitoring of growth and morphometric development. Back length was measured from the cranial tip of the scapula to the posterior end of the synsacrum, and back width was measured at the widest lateral point between the left and right thoracic regions using a rigid 300 mm ruler (±1 mm precision). Each bird was gently positioned in a natural standing posture on a flat surface, and all measurements were collected by the same trained personnel to minimize operator-related variability.
In total, 4200 individual records were obtained (100 birds × 42 days), providing sufficient statistical power and robustness for training and validating the ML models. By capturing temporal growth dynamics on a daily basis, the dataset reflects both inter-individual variability (differences between birds) and intra-individual growth trajectories (daily changes within the same bird), thereby strengthening the predictive modeling process. However, because these records represent repeated daily measurements from the same individuals rather than independent samples, the observations cannot be considered fully independent. For the ML analysis, the data were randomly split at the record level into a training set (80%) and a testing set (20%), so that different days from the same bird could appear in both sets. Consequently, the reported performance metrics should be interpreted within this repeated-measures time-series framework, rather than as predictive performance on entirely independent populations.

2.3. Growth Curve Modeling Approach

The live weight data of broilers were modeled using the Richards function [30] a flexible sigmoidal growth model widely applied in animal growth studies [31,32,33]. This model was selected because it can accurately represent the nonlinear and asymptotic nature of biological growth, allowing for the estimation of parameters that describe both the growth rate and the inflection point of the curve. The mathematical form of the Richards function is expressed as:
L W = A ( 1 + B e k t ) 1 / m
where LW is the live weight (g), A is the asymptotic maximum weight, B is an integration constant related to the initial condition, k is the growth rate constant, t is the age in days, and m is a dimensionless shape parameter that determines the position of the inflection point.

2.4. Machine Learning-Based Live Weigth Prediction

In this study, five ML algorithms (RF, XGB, SVR, KNN, and MLR) were selected as baseline models to predict the live weight of broilers. These algorithms were chosen based on their different learning strategies, their robustness to different data structures, and their proven effectiveness in previous studies related to livestock performance prediction [34,35,36,37]. RF and XGB, as ensemble-based tree algorithms, are well-suited to handle nonlinear relationships and can effectively manage high-dimensional feature spaces and potential interactions between variables [38,39,40]. SVR is a kernel-based method that performs well in small to medium-sized datasets and is particularly effective in capturing complex, non-linear patterns with controlled overfitting [41,42,43]. KNN, a non-parametric, instance-based learner, offers simplicity, and adaptability to different data distributions without requiring prior assumptions [44,45,46]. Lastly, MLR was included as a classical benchmark model to evaluate the relative performance improvements offered by more advanced, non-linear algorithms [47,48,49].
Although the feature set in this study consists of only two morphometric predictors, these inputs exhibit inherently nonlinear relationships with live weight. Therefore, nonlinear ML algorithms were chosen because they can flexibly capture complex biological patterns without imposing fixed functional structures. MLR was deliberately included as a classical baseline, enabling direct comparison between simple linear modeling and more flexible ML approaches.
To evaluate the effect of gender on model performance, three different datasets were constructed:
  • Model 1: a dataset consisting exclusively of female broiler data,
  • Model 2: a dataset containing only male broiler data, and
  • Model 3: a combined dataset including both male and female data.
For model development, the overall dataset was randomly divided into a training set (80%) and a testing set (20%). From the training set, 90% was further allocated as the primary training subset and used for hyperparameter tuning through internal cross-validation. This process was repeated 10 times to ensure robustness and reliability of the evaluation results, following a repeated random sub-sampling validation approach [50]. Prior to model training, all input features were standardized to a range between 0 and 1 to minimize scale-related bias and enhance model convergence. The entire analysis was carried out on a 64-bit Windows 11 operating system using a personal computer equipped with an AMD Ryzen 7 CPU (3.2 GHz) and 16 GB of RAM, which provided sufficient computational efficiency for iterative training and testing of the ML models.

2.5. Digital Image-Based Live Weigth Prediction

For image acquisition and weight data collection, a custom-designed platform was constructed to hold each bird individually while photographs were taken. The platform had a black floor (600 × 400 mm), providing a clear contrast background that enhanced the visibility of the bird’s outline. The images were captured using the digital camera of a smartphone (iPhone 14, Apple Inc., Cupertino, CA, USA). The device was mounted centrally above the bird at a fixed height of 1.0 m. This distance was kept constant throughout the experiment, thereby ensuring that all images were captured at a uniform scale. To promote posture consistency, each bird was placed on the non-slip platform in a natural standing position, and photographs were taken within a few seconds to minimize any posture-related variation. Moreover, five consecutive images were captured for each bird, and the mean pixel value was used to reduce noise arising from minor differences in posture. The accuracy of broiler body surface estimation largely depends on the quality of the acquired images. To minimize the potential influence of image noise, the pixel value for each bird was calculated as the mean of five replicated digital images.
A fully automated computer-vision workflow was implemented in Python (Python Software Foundation, Wilmington, DE, USA) to measure the projected pixel area of individual broilers from top-view images. The pipeline consisted of four major steps: (i) detection of the calibrated region of interest (ROI) defined by the black reference floor, (ii) segmentation of the bird within the ROI, (iii) pixel counting of the foreground region corresponding to the bird’s body, and (iv) export of per-image measurements and quality-control overlays (Figure 3). Subsequently, the extracted pixel counts were directly regressed against the corresponding live weight records of the birds to develop predictive models for digital image-based weight estimation.
For consistency with the ML-based approach, the image-based regression models were evaluated using the same train–test split (80% training and 20% testing) as in the ML analyses. After extracting the pixel-derived predictors, the image-based equations were fitted using the training subset and then evaluated on the same independent test subset. This ensured that all predictive approaches (ML models and image-based regression) were assessed under the same data partitioning scheme, providing fully comparable performance metrics.

2.6. Model Performance Criteria

In this study, the coefficient of determination (R2), the root mean square error (RMSE), and the mean absolute percentage error (MAPE) and were employ.
R 2 = 1 i = 1 n y m e a y p r e 2 i = 1 n y m e a y a v g 2
R M S E = 1 n i = 1 n y m e a y p r e 2
M A P E = 1 n i = 1 n y m e a y p r e y m e a × 100
where ymea denotes the actual value, ypre symbolizes the predicted value, yavg is the average actual value, and n is the total data number.

3. Results

3.1. Environmental Conditions

Temperature and relative humidity inside the poultry house were continuously monitored throughout the 42-day rearing period in order to maintain stable environmental conditions for the experimental birds. At the beginning of the experiment, the mean indoor temperature was approximately 34 °C, which gradually decreased to about 22 °C by the end of the trial (Figure 4). Conversely, relative humidity exhibited an increasing trend, rising from about 20% at the start to approximately 65% towards the end of the period. Such changes reflect the combined effect of controlled ventilation and the natural accumulation of moisture as bird biomass and litter moisture increased over time. Throughout the trial, both parameters remained within the recommended ranges for broiler production [51,52,53] indicating that the rearing environment was adequately controlled and did not introduce confounding effects on growth performance or morphometric measurements.

3.2. Growth Performance of Broilers

The growth performance of broilers is illustrated in Figure 5 for male, female, and mixed (male + female) groups. In all groups, live weight increased progressively over the 42-day rearing period, following a characteristic sigmoidal growth pattern typical of broiler development. The initial live weight was approximately 30 g for all groups, with growth accelerating notably after the second week and continuing until the sixth week, when the birds approached market age.
As shown in Figure 5a–c, male broilers consistently exhibited higher live weights compared to females throughout the experiment. According to the fitted Richards function, males reached an asymptotic live weight of 6000.87 g, demonstrating a high degree of model accuracy (R2 = 0.981, RMSE = 118.877 g, MAPE = 10.235%). Females attained a lower asymptotic live weight of 4788.52 g, but the model fit remained equally strong (R2 = 0.982, RMSE = 107.909 g, MAPE = 10.355%,). The mixed group exhibited intermediate growth characteristics, with an asymptotic live weight of 6476.49 g, and a satisfactory model performance (R2 = 0.980, RMSE = 130.560 g, MAPE = 11.041%).
The fitted Richards curves provided an excellent fit to the observed live weight data, successfully describing the sigmoidal growth pattern typical of broiler development. The model captured the gradual increase during the early phase, the rapid growth period between the second and sixth weeks, and the final asymptotic stage as the birds approached market age. The R2 and low prediction errors (MAPE and RMSE) confirmed the strong agreement between predicted and observed values, demonstrating the robustness of the model in representing biological growth processes [54].
Sex had a clear influence on the estimated growth parameters. Male broilers exhibited higher asymptotic body weights and faster growth rates than females, consistent with their larger mature body size and greater feed utilization efficiency. In contrast, females showed a more moderate growth trajectory, while the mixed group displayed intermediate characteristics, reflecting the natural biological variability of both sexes. Overall, the Richards model accurately captured these differences, providing a reliable framework for evaluating growth dynamics and performance potential in broilers under commercial rearing conditions.

3.3. Descriptive Statistics of Experimental Data

The descriptive statistics of the input variables (back length and width) and the output variable (live weight) are summarized in Table 1 for male, female, and mixed groups. In all groups, live weight increased from ~30 g at the start of the experiment to over 3000 g by the end, with mean values around 1000 g. Back length averaged 143–144 mm and width 104–105 mm across sexes, showing consistent patterns. Overall, the distributions of live weight and morphometric traits were slightly skewed and relatively flat, indicating comparable growth trends among males, females, and the mixed dataset.

3.4. Performance Evaluation of ML Algorithms

The ML algorithms were employed to predict broiler live weight from morphometric traits, aiming to achieve higher accuracy than conventional linear regression. To maximize predictive performance, particular attention was given to hyperparameter optimization, which plays a decisive role in determining the learning capacity and generalization ability of ML models.
In this study, the hyperparameters of all employed algorithms (RF, SVR, KNN, and XGB) were optimized using a grid search approach combined with k-fold cross-validation on the training dataset. This procedure aimed to determine the optimal hyperparameter combinations that minimize predictive error and improve model generalization. After the optimal configurations were identified, each model was retrained on the entire training dataset and subsequently evaluated on an independent testing set. This strategy ensures that the hyperparameter tuning process remains unbiased with respect to the testing data and allows for a more reliable assessment of model performance on unseen samples. The final hyperparameter settings used for each model are summarized in Table 2, providing a clear reference for the algorithm configurations adopted in this study.
The performance metrics of five different algorithms (RF, KNN, SVR, XGB, and MLR) were evaluated across three datasets: male, female, and mixed (Table 3). The evaluation was based on the R2, RMSE, and MAPE for both training and testing dataset.
In the male dataset, ensemble models (RF and XGB) demonstrated superior performance, achieving R2 values above 0.985 in testing with low RMSE (111–113 g) and MAPE (9%). Among them, XGB yielded the lowest training RMSE (83.056 g) and MAPE (7.769%), indicating its effectiveness in capturing complex nonlinear relationships between morphometric traits and live weight and its strong ability to generalize to unseen data. SVR and KNN also performed well, maintaining R2 = 0.985 in testing, whereas MLR exhibited considerably weaker predictive capability (R2 = 0.930) and much higher error levels (RMSE = 241.435 g, MAPE = 15.412%), confirming the limited suitability of linear models for this problem.
For female broilers, similar performance patterns were observed. RF and XGB again achieved the highest accuracies (R2 = 0.984) in testing, with XGB providing the lowest training errors (RMSE = 81.362 g, MAPE = 6.707%). SVR and KNN followed closely, showing nearly identical testing accuracies (R2 = 0.984) with slightly higher RMSE values (102–103 g) and MAPE around 8%. MLR once more exhibited inferior accuracy (R2 = 0.940, RMSE = 199.012 g, MAPE = 13.377%).
In the mixed-sex dataset, ensemble models maintained their dominance. XGB achieved the best testing performance (R2 = 0.984, RMSE = 106.688 g, MAPE = 9.133%), followed closely by RF (R2 = 0.983, RMSE = 107.378 g, MAPE = 8.853%). KNN and SVR also produced stable predictions with moderate error levels, while MLR remained the least effective (R2 = 0.942, RMSE = 200.305 g, MAPE = 13.909%).
Across all three datasets (male, female, and mixed-sex), the XGB algorithm consistently produced the most accurate predictions, as evidenced by its high R2 values and low error metrics. In contrast, MLR exhibited the weakest performance, with substantially lower predictive accuracy and higher error values. To highlight these differences, the distribution plots of predicted versus observed live weights for both XGB (best-performing) and MLR (worst-performing) models are presented in Figure 6.
The scatter plots of the predicted versus measured live weights show that the estimates generated by XGB are closely aligned with the 1:1 reference line, confirming high predictive accuracy and minimal bias. A slight tendency toward overfitting is noticeable in the XGB model, particularly at higher weight ranges where the scatter of points becomes marginally wider; however, these deviations remain limited and do not significantly affect overall accuracy. By contrast, MLR displays the widest spread and more systematic deviations, especially at higher weights. This outcome underscores the inability of the linear model to capture the complex, non-linear relationships between morphometric traits and body weight, thereby reaffirming the superior robustness and generalization capacity of ensemble-based approaches such as XGB.
The influence of input features on model predictions was investigated using SHapley Additive exPlanations (SHAP), which provide consistent and locally accurate attributions for each predictor. This approach enabled a transparent interpretation of feature contributions across different ML algorithms and sex-specific datasets.
The SHAP analysis revealed that the relative importance of length and width varied substantially across models and datasets (Figure 7). Overall, width emerged as the dominant predictor in most nonlinear models, particularly RF and XGB, where its contribution far exceeded that of length in both male and female groups. In contrast, MLR emphasized length over width, reflecting the sensitivity of linear models to direct relationships. KNN and SVR produced more balanced contributions, indicating that both features jointly supported the predictions. The mixed dataset largely reflected the same patterns observed in the sex-specific groups.
These results demonstrate that feature importance is highly model- and context-dependent: width consistently dominated in ensemble approaches, while length gained greater significance in linear contexts. Such variability underscores the necessity of subgroup-aware modeling when interpreting predictor contributions.

3.5. Performance Evaluation of Digital Image-Based Models

The predictive performance of the digital image–based equations was evaluated separately for male, female, and mixed (male + female) groups using the log-transformed relationships between body surface pixel number and live weight. Initially, a linear regression model was fitted between body weight and body surface area pixels. However, because both variables were repeatedly measured on the same birds across the 42-day growth period, temporal autocorrelation may exist in the data [15]. The log transformation was therefore applied not as a method to remove autocorrelation, but rather to stabilize variance and improve linearity in the relationship between pixel count and live weight.
Importantly, all performance metrics for the image-based models were obtained using the same independent test subset as used for the ML algorithms, ensuring direct comparability between the two approaches.
The fitted regression equations demonstrated high predictive accuracy for all datasets, with R2 values exceeding 0.98 (Table 4). The regression coefficients indicated that both Day and log P (log-transformed body surface pixel number) had strong and positive effects on log LW (log-transformed live weight), while the interaction term (Day × log P) had a small but significant negative effect, suggesting a slight reduction in the marginal effect of log P at later growth stages. Among the groups, the male model demonstrated excellent predictive capability, with R2 values of 0.987 (training) and 0.990 (testing), accompanied by low RMSE values (94.472–95.601 g). The female model produced similarly high R2 values (0.987–0.988) but achieved the lowest error rates overall, with RMSE values below 92.500 g and the smallest MAPE percentages (6.701–6.816%), indicating that the model performed with the greatest precision in this group. The mixed-sex model yielded intermediate results (R2 = 0.986–0.989; RMSE = 96.143–101.197 g), which is expected given the greater biological variability in the combined dataset. Overall, in all models, Day and log P maintained strong positive effects on log LW, while the interaction term consistently remained small yet significantly negative, reflecting a modest reduction in the marginal effect of log P as birds advanced in age.
The three-dimensional response surfaces (Figure 8) illustrate the relationship between log LW, log P, and Day for the male, female, and mixed datasets. In all groups, both log P and Day had strong positive effects on log LW, indicating that broiler live weight increased consistently with surface expansion and age progression. At early growth stages, the lower portions of the surfaces (blue–green regions) corresponded to low log LW values, while the gradient became steeper toward the later stages (yellow–red regions), reflecting the accelerated weight gain of broilers over time. The male model (Figure 8a) exhibited the steepest surface and highest log LW values, demonstrating its superior growth rate and higher sensitivity of body weight to both age and surface area. In contrast, the female model (Figure 8b) showed a slightly flatter surface, suggesting slower mass accumulation and a more stable, quasi-linear response. The mixed model (Figure 8c) presented intermediate behavior between males and females, confirming that it effectively generalized the relationship between image-derived pixel information and live weight across the population. Overall, the smooth and uniform color transitions across all surfaces confirmed that the log-transformed regression equations accurately captured the curvilinear nature of broiler growth and successfully represented the combined effects of surface expansion and age throughout the 42-day rearing period.
Preliminary analyses confirmed that all models exhibited strong linear associations (R2 = 0.98–0.99) across the growing period. Therefore, for simplicity, only RMSE and MAPE were presented to highlight the week-by-week variations in prediction accuracy (Table 5). These indices directly represent the absolute and relative deviation between observed and predicted live weights, providing an intuitive measure of the model’s practical performance. The weekly trend of RMSE and MAPE values indicates that the prediction accuracy of the log-transformed image-based model evolved systematically throughout the 42-day growing period. During the early growth stage (Days 1–14), both RMSE and MAPE values were relatively low across all datasets, confirming that the model accurately estimated live weight when the broilers were small and morphologically uniform. In the middle stage (Days 15–28), RMSE increased noticeably as body size and variability expanded, while MAPE remained stable around 7–8%, suggesting that although absolute errors grew with weight magnitude, the relative prediction accuracy remained consistent. In the final phase (Days 29–42), RMSE values continued to rise due to the wider range of live weights and individual growth heterogeneity, but MAPE decreased to approximately 5–6%, indicating that the model maintained robust proportional accuracy despite increasing dispersion. Overall, these results demonstrate that the image-based regression model successfully adapted to the dynamic growth process of broilers, providing stable and reliable performance across different age periods and population groups (male, female, and mixed).

4. Discussion

The findings of this study highlight the promising potential of supervised ML algorithms and digital image analysis as non-invasive tools for estimating live weight in Anadolu-T broilers. The consistently high prediction accuracy obtained across all datasets (R2 > 0.98) confirms that simple morphometric traits (particularly back length and width) contain sufficient biometric information to model body weight dynamics throughout the growing period.
Among the tested algorithms, the KNN model produced the most stable and accurate predictions, followed closely by ensemble-based approaches such as RF and XGB. The superiority of KNN may be attributed to its instance-based learning mechanism, which captures localized nonlinearities between morphometric traits and live weight without assuming an explicit functional form. Similar findings were reported different studies [55,56,57] where KNN outperformed more complex algorithms when the feature set was small and strongly correlated with body mass.
While ensemble models such as RF and XGB also performed well (especially in training scenarios) they showed slight signs of overfitting when evaluated with unseen test data. This is a common problem with ensemble methods, especially when tuning is not sufficiently regularized [58,59]. Nevertheless, their R2 values remained consistently high, indicating strong generalization. XGB often achieved the best training values with its regularized gradient boosting approach, but was narrowly outperformed by KNN and RF in testing phases.
SVR provided stable performance across all data sets, although it lagged slightly behind KNN and ensemble models in terms of RMSE and MAE. The ability of SVR to manage non-linear patterns through kernel functions was evident. However, the reliance on careful parameter tuning may have limited the fitting ability for all datasets equally [60,61].
The MLR, which was used as the base model, performed significantly worse in all scenarios. The rigid assumption of linear relationships and the susceptibility to multicollinearity probably contributed to higher prediction errors and lower R2 values. This emphasizes the limitations of classical regression models in capturing the complex biological variability inherent in phenotypic livestock data [62,63].
A major strength of this study is the use of SHAP analysis to interpret feature importance. The results revealed that back width was generally a more influential predictor than back length, especially in non-linear models like RF and XGB. In contrast, MLR models relied disproportionately on length, likely due to the linear structure favoring the most variance-explaining feature. This feature sensitivity demonstrates that even simple morphometric measurements can provide valuable predictive insights when interpreted by appropriate models.
The supplementary image-based modeling further validated the potential of digital vision as an alternative to manual measurements. The log-transformed regression equations exhibited strong linearity (R2 > 0.98) between body surface pixel area and live weight, confirming that projected surface area can reliably reflect growth progression. The weekly RMSE–MAPE trends indicated that the model adapted well to the broilers’ dynamic development, with proportional errors decreasing in later stages as birds attained higher weights. These findings corroborate earlier studies [15,20,25] demonstrating that properly calibrated imaging systems can provide accurate weight predictions for broilers and other livestock species.
Another valuable contribution of this research is the focus on Anadolu-T, a locally bred Turkish genotype, rather than commercial varieties such as Ross or Cobb. The genetic specificity and the novelty of this genotype make this breed a suitable candidate for testing the generalizability of ML approaches. The study thus extends the genetic and geographical scope of the existing literature and underlines that ML tools can also be effective beyond industrialized production systems.
From a practical perspective, implementing such models under field conditions could significantly reduce the need for error-prone automated platforms. These models could be integrated into low-cost digital systems that rely on simple measurements, allowing farmers to obtain near real-time estimates of live weight and growth efficiency.
Despite these promising outcomes, several limitations require explicit consideration. The dataset, while temporally dense, represents a relatively homogeneous group of 100 birds raised under identical, controlled environmental and management conditions. As such, the high predictive accuracies largely reflect intra-individual consistency rather than true population-level generalization across diverse production settings. In addition, all images were captured under highly standardized lighting, background, and camera positions. Although this controlled setup was necessary to evaluate baseline model performance, it does not fully reflect the variability present in commercial broiler houses, where inconsistent illumination, bird movement, flock density, and litter conditions may influence image quality and model robustness. A further limitation is the absence of independent external validation. Because train–test splitting occurred at the record level, measurements from the same individual could appear in both sets, meaning that the reported metrics should not be interpreted as predictive performance on unrelated populations. Future studies should therefore extend data collection across multiple flocks, genotypes, housing systems, and environmental contexts, while incorporating independent validation datasets and real-world imaging conditions to ensure broader applicability.
Overall, this study demonstrates that integrating morphometric measurements with supervised ML algorithms and digital imaging can provide an effective and biologically interpretable framework for real-time, non-contact monitoring of broiler growth. The strong predictive performance and physiological relevance of these models point to their potential as practical tools for precision poultry farming. However, the limitations noted above underscore the need for continued research that evaluates model robustness under commercial conditions and across diverse populations to fully realize the practical utility of these approaches.

5. Conclusions

This study demonstrated that supervised ML algorithms and digital image analysis can effectively and non-invasively estimate the live weight of Anadolu-T broilers based on simple morphometric traits.
All tested ML algorithms achieved excellent predictive performance (R2 > 0.98), confirming that back length and width provide sufficient biometric information for accurate live weight estimation. The KNN algorithm produced the most stable and accurate results across male, female, and mixed datasets, showing the lowest overall prediction errors. Ensemble models such as RF and XGB achieved comparable accuracy to KNN, demonstrating strong capability in modeling nonlinear morphometric relationships.
The log-transformed regression models based on body surface pixel area achieved high accuracy confirming that digital image analysis can serve as a reliable alternative to manual weighing. Weekly RMSE and MAPE trends showed decreasing proportional errors toward later growth stages, indicating that the models effectively adapted to the dynamic growth of broilers.
The integration of ML algorithms with image-based morphometric analysis offers a practical, cost-effective, and non-invasive method for real-time weight estimation in broiler production. Future research should focus on expanding datasets to multiple genotypes and rearing environments, automating image capture, and integrating environmental or behavioral data to enhance scalability and robustness.

Author Contributions

Conceptualization, D.Y., E.K. and B.C.; methodology, E.K. and K.E.; software, E.K. and B.C.; validation, E.K. and B.C.; formal analysis, E.K. and B.C.; investigation, D.Y. and K.E.; resources, K.E. and M.S.; data curation, D.Y. and E.K.; writing—original draft preparation, E.K. and H.S.; writing—review and editing, K.E. and H.S.; visualization, E.K. and H.S.; supervision, M.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Ondokuz Mayıs University Scientific Research Projects Department (BAP01-2024-5593).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors would like to thank the General Directorate of Agricultural Research and Policies (TAGEM), Eskişehir Transition Zone Agricultural Research Institute and the Scientific and Technological Research Council of Türkiye (TÜBİTAK Grant No. 123O922) for their support in providing the broiler material.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Mottet, A.; Tempio, G. Global poultry production: Current state and future outlook and challenges. World’s Poult. Sci. J. 2017, 73, 245–256. [Google Scholar] [CrossRef]
  2. Windhorst, H.-W. Changes in poultry production and trade worldwide. World’s Poult. Sci. J. 2006, 62, 585–602. [Google Scholar] [CrossRef][Green Version]
  3. Windhorst, H.-W. Dynamics and patterns of global poultry-meat production. In Poultry Quality Evaluation; Elsevier: Amsterdam, The Netherlands, 2017; pp. 1–25. [Google Scholar]
  4. Flock, D.; Laughlin, K.; Bentley, J. Minimizing losses in poultry breeding and production: How breeding companies contribute to poultry welfare. World’s Poult. Sci. J. 2005, 61, 227–237. [Google Scholar] [CrossRef]
  5. Nyalala, I.; Okinda, C.; Kunjie, C.; Korohou, T.; Nyalala, L.; Chao, Q. Weight and volume estimation of poultry and products based on computer vision systems: A review. Poult. Sci. 2021, 100, 101072. [Google Scholar] [CrossRef]
  6. Wang, L.; Sun, C.; Li, W.; Ji, Z.; Zhang, X.; Wang, Y.; Lei, P.; Yang, X. Establishment of broiler quality estimation model based on depth image and BP neural network. Trans. Chin. Soc. Agric. Eng. 2017, 33, 199–205. [Google Scholar]
  7. Wang, K.; Pan, J.; Rao, X.; Yang, Y.; Wang, F.; Zheng, R.; Ying, Y. An image-assisted rod-platform weighing system for weight information sampling of broilers. Trans. ASABE 2018, 61, 631–640. [Google Scholar] [CrossRef]
  8. Chedad, A.; Vranken, E.; Aerts, J.-M.; Berckmans, D. Behaviour of chickens towards automatic weighing systems. IFAC Proc. Vol. 2000, 33, 207–212. [Google Scholar] [CrossRef]
  9. Chedad, A.; Aerts, J.-M.; Vranken, E.; Lippens, M.; Zoons, J.; Berckmans, D. Do heavy broiler chickens visit automatic weighing systems less than lighter birds? Br. Poult. Sci. 2003, 44, 663–668. [Google Scholar] [CrossRef]
  10. Nosike, R.; Onunkwo, D.; Obasi, E.; Amaduruonye, W.; Ukwu, H.; Nwakpu, O.; Ezike, J.; Chijioke, E. Prediction of body weight with morphometric traits in some broiler chicken strains. Niger. J. Anim. Prod. 2017, 44, 15–22. [Google Scholar] [CrossRef]
  11. Udeh, I.; Isikwenu, J.; Ukughere, G. Performance characteristics and prediction of body weight using linear body measurements in four strains of broiler chicken. Int. J. Anim. Vet. Adv. 2011, 3, 44–46. [Google Scholar]
  12. Udeh, I.; Ogbu, C. Principal component analysis of body measurements in three strains of broiler chicken. Sci. World J. 2011, 6, 11–14. [Google Scholar]
  13. Ojedapo, L. Evaluation of body weight and other linear parameters of Marshall broiler for repeatability estimates. Int. J. Appl. Agric. Apic. Res. 2013, 9, 175–181. [Google Scholar]
  14. Latshaw, J.; Bishop, B. Estimating body weight and body composition of chickens by using noninvasive measurements. Poult. Sci. 2001, 80, 868–873. [Google Scholar] [CrossRef]
  15. Mollah, M.B.R.; Hasan, M.A.; Salam, M.A.; Ali, M.A. Digital image analysis to estimate the live weight of broiler. Comput. Electron. Agric. 2010, 72, 48–52. [Google Scholar] [CrossRef]
  16. Tasdemir, S.; Urkmez, A.; Inal, S. Determination of body measurements on the Holstein cows using digital image analysis and estimation of live weight with regression analysis. Comput. Electron. Agric. 2011, 76, 189–197. [Google Scholar] [CrossRef]
  17. Wongsriworaphon, A.; Arnonkijpanich, B.; Pathumnakul, S. An approach based on digital image analysis to estimate the live weights of pigs in farm environments. Comput. Electron. Agric. 2015, 115, 26–33. [Google Scholar] [CrossRef]
  18. Buayai, P.; Piewthongngam, K.; Leung, C.K.; Saikaew, K.R. Semi-automatic pig weight estimation using digital image analysis. Appl. Eng. Agric. 2019, 35, 521–534. [Google Scholar] [CrossRef]
  19. Ferraz, P.F.P.; Yanagi Junior, T.; Hernández Julio, Y.F.; Castro, J.d.O.; Gates, R.S.; Reis, G.M.; Campos, A.T. Predicting chick body mass by artificial intelligence-based models. Pesqui. Agropecuária Bras. 2014, 49, 559–568. [Google Scholar] [CrossRef][Green Version]
  20. Amraei, S.; Abdanan Mehdizadeh, S.; Salari, S. Broiler weight estimation based on machine vision and artificial neural network. Br. Poult. Sci. 2017, 58, 200–205. [Google Scholar] [CrossRef]
  21. Faridi, A.; Sakomura, N.; Golian, A.; Marcato, S. Predicting body and carcass characteristics of 2 broiler chicken strains using support vector regression and neural network models. Poult. Sci. 2012, 91, 3286–3294. [Google Scholar] [CrossRef]
  22. Amraei, S.; Mehdizadeh, S.A.; Sallary, S. Application of computer vision and support vector regression for weight prediction of live broiler chicken. Eng. Agric. Environ. Food 2017, 10, 266–271. [Google Scholar] [CrossRef]
  23. Küçüktopçu, E.; Cemek, B.; Yıldırım, D. Estimating Ross 308 Broiler Chicken Weight Through Integration of Random Forest Model and Metaheuristic Algorithms. Animals 2024, 14, 3082. [Google Scholar] [CrossRef]
  24. Küçüktopçu, E.; Cemek, B.; Simsek, H. Application of Mamdani fuzzy inference system in poultry weight estimation. Animals 2023, 13, 2471. [Google Scholar] [CrossRef]
  25. Mortensen, A.K.; Lisouski, P.; Ahrendt, P. Weight prediction of broiler chickens using 3D computer vision. Comput. Electron. Agric. 2016, 123, 319–326. [Google Scholar] [CrossRef]
  26. Bila, L. Predicting body weight in Ross 308 broiler chickens using a data mining algorithm approach. South Afr. J. Anim. Sci. 2025, 55, 291–303. [Google Scholar] [CrossRef]
  27. Gous, R.; Walters, H.; Rochell, S.; Emmans, G. Evaluation of the potential growth and body composition of the Cobb 700 genotype. Br. Poult. Sci. 2024, 65, 265–272. [Google Scholar] [CrossRef]
  28. Sarıca, M.; Erensoy, K.; Özkan, İ.; Oğuzhan, E.; Çağlak, S. Growth and carcass traits of Anadolu-T broiler pure lines. Turk. J. Agric. Food Sci. Technol. 2021, 9, 1980–1987. [Google Scholar]
  29. Erensoy, K.; Sarıca, M. Fast growing broiler production from genetically different pure lines in Turkey. 2. Broiler traits: Growth, feed intake, feed efficiency, livability, body defects and some heterotic effects. Trop. Anim. Health Prod. 2023, 55, 61. [Google Scholar] [CrossRef]
  30. Richards, F.J. A flexible growth function for empirical use. J. Exp. Bot. 1959, 10, 290–301. [Google Scholar] [CrossRef]
  31. Goliomytis, M.; Panopoulou, E.; Rogdakis, E. Growth curves for body weight and major component parts, feed consumption, and mortality of male broiler chickens raised to maturity. Poult. Sci. 2003, 82, 1061–1068. [Google Scholar] [CrossRef]
  32. Narinç, D.; Narinç, N.Ö.; Aygün, A. Growth curve analyses in poultry science. World’s Poult. Sci. J. 2017, 73, 395–408. [Google Scholar] [CrossRef]
  33. Önder, H.; Yılmaz, M.; Şahin, M.; Şen, U.; Bozkurt, S.; Erensoy, K.; Gök, İ.; Tolun, T.; Uçar, A. Classification and Comparison of Eight Different Growth Curve Methods for Pekin Duck. Vet. Med. Sci. 2025, 11, e70476. [Google Scholar] [CrossRef]
  34. Küçüktopçu, E.; Cemek, B.; Simsek, H. Machine Learning and Wavelet Transform: A Hybrid Approach to Predicting Ammonia Levels in Poultry Farms. Animals 2024, 14, 2951. [Google Scholar] [CrossRef] [PubMed]
  35. Li, X.; Wu, J.; Zhao, Z.; Zhuang, Y.; Sun, S.; Xie, H.; Gao, Y.; Xiao, D. An Improved Method for Broiler Weight Estimation Integrating Multi-Feature with Gradient Boosting Decision Tree. Animals 2023, 13, 3721. [Google Scholar] [CrossRef]
  36. Faraz, A.; Tırınk, C.; Önder, H.; Şen, U.; Ishaq, H.M.; Tauqir, N.A.; Waheed, A.; Nabeel, M.S. Usage of the XGBoost and MARS algorithms for predicting body weight in Kajli sheep breed. Trop. Anim. Health Prod. 2023, 55, 276. [Google Scholar] [CrossRef] [PubMed]
  37. Shahinfar, S.; Kelman, K.; Kahn, L. Prediction of sheep carcass traits from early-life records using machine learning. Comput. Electron. Agric. 2019, 156, 159–177. [Google Scholar] [CrossRef]
  38. Rigatti, S.J. Random forest. J. Insur. Med. 2017, 47, 31–39. [Google Scholar] [CrossRef]
  39. Biau, G.; Scornet, E. A random forest guided tour. Test 2016, 25, 197–227. [Google Scholar] [CrossRef]
  40. Bergen, S.; Huso, M.M.; Duerr, A.E.; Braham, M.A.; Schmuecker, S.; Miller, T.A.; Katzner, T.E. A review of supervised learning methods for classifying animal behavioural states from environmental features. Methods Ecol. Evol. 2023, 14, 189–202. [Google Scholar] [CrossRef]
  41. Basak, D.; Pal, S.; Patranabis, D.C. Support vector regression. Neural Inf. Process. Lett. Rev. 2007, 11, 203–224. [Google Scholar]
  42. Drucker, H.; Burges, C.J.; Kaufman, L.; Smola, A.; Vapnik, V. Support vector regression machines. Adv. Neural Inf. Process. Syst. 1996, 9, 155–161. [Google Scholar]
  43. Awad, M.; Khanna, R.; Awad, M.; Khanna, R. Support vector regression. In Efficient Learning Machines: Theories, Concepts, and Applications for Engineers and System Designers; Springer: Berlin/Heidelberg, Germany, 2015; pp. 67–80. [Google Scholar]
  44. Taunk, K.; De, S.; Verma, S.; Swetapadma, A. A brief review of nearest neighbor algorithm for learning and classification. In Proceedings of the 2019 international conference on intelligent computing and control systems (ICCS), Madurai, India, 15–17 May 2019; pp. 1255–1260. [Google Scholar]
  45. Kramer, O.; Kramer, O. K-nearest neighbors. In Dimensionality Reduction with Unsupervised Nearest Neighbor; Springer: Berlin/Heidelberg, Germany, 2013; pp. 13–23. [Google Scholar]
  46. Peterson, L.E. K-nearest neighbor. Scholarpedia 2009, 4, 1883. [Google Scholar] [CrossRef]
  47. Uyanık, G.K.; Güler, N. A study on multiple linear regression analysis. Procedia-Soc. Behav. Sci. 2013, 106, 234–240. [Google Scholar] [CrossRef]
  48. Eberly, L.E. Multiple linear regression. In Topics in Biostatistics; Springer: Berlin/Heidelberg, Germany, 2007; pp. 165–187. [Google Scholar]
  49. Tranmer, M.; Elliot, M. Multiple linear regression. Cathie Marsh Cent. Census Surv. Res. (CCSR) 2008, 5, 1–5. [Google Scholar]
  50. Shahinfar, S.; Khansefid, M.; Haile-Mariam, M.; Pryce, J. Machine learning approaches for the prediction of lameness in dairy cows. Animal 2021, 15, 100391. [Google Scholar] [CrossRef] [PubMed]
  51. Yahav, S.; Shinder, D.; Tanny, J.; Cohen, S. Sensible heat loss: The broiler’s paradox. World’s Poult. Sci. J. 2005, 61, 419–434. [Google Scholar] [CrossRef]
  52. Cheng, Y.; Du, M.; Xu, Q.; Chen, Y.; Wen, C.; Zhou, Y. Dietary mannan oligosaccharide improves growth performance, muscle oxidative status, and meat quality in broilers under cyclic heat stress. J. Therm. Biol. 2018, 75, 106–111. [Google Scholar] [CrossRef]
  53. Winn, P.; Godfrey, E. The effect of humidity on growth and feed conversion of broiler chickens. Int. J. Biometeorol. 1967, 11, 39–50. [Google Scholar] [CrossRef]
  54. Nematzadeh, R.; Alijani, S.; Hasanpur, K.; Olyayee, M.; Shodja, J. Comparison of different mathematical functions for fitting growth curves of ascitic and healthy broiler chickens. Ank. Üniversitesi Vet. Fakültesi Derg. 2022, 69, 289–295. [Google Scholar] [CrossRef]
  55. Salau, J.; Haas, J.H.; Junge, W.; Thaller, G. Determination of body parts in holstein friesian cows comparing neural networks and k nearest neighbour classification. Animals 2020, 11, 50. [Google Scholar] [CrossRef]
  56. Mohapatra, R.K.; Sethuraman, P.; Jayalakshmi, D.; Rajesh, T.; Babu, T.R.; Arumugam, D. Analysing Model Performance: KNN and Random Forest-Enhanced KNN in Milk Quality Prediction. In Proceedings of the 2025 6th International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV), Tirunelveli, India, 17–19 June 2025; pp. 832–836. [Google Scholar]
  57. Yıldız, B.İ.; Karabağ, K. Prediction of Beef Production Using Linear Regression, Random Forest and k-Nearest Neighbors Algorithms. Kahramanmaraş Sütçü İmam Üniversitesi Tarım Ve Doğa Derg. 2025, 28, 247–255. [Google Scholar] [CrossRef]
  58. Natekin, A.; Knoll, A. Gradient boosting machines, a tutorial. Front. Neurorobot. 2013, 7, 21. [Google Scholar] [CrossRef]
  59. Chen, T.; Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
  60. Smola, A.J.; Schölkopf, B. A tutorial on support vector regression. Stat. Comput. 2004, 14, 199–222. [Google Scholar] [CrossRef]
  61. Cherkassky, V.; Ma, Y. Practical selection of SVM parameters and noise estimation for SVM regression. Neural Netw. 2004, 17, 113–126. [Google Scholar] [CrossRef] [PubMed]
  62. Kozaklı, Ö.; Ceyhan, A.; Noyan, M. Comparison of machine learning algorithms and multiple linear regression for live weight estimation of Akkaraman lambs. Trop. Anim. Health Prod. 2024, 56, 250. [Google Scholar] [CrossRef] [PubMed]
  63. Sant’Ana, D.A.; Pache, M.C.B.; Martins, J.; Soares, W.P.; de Melo, S.L.N.; Garcia, V.; de Moares Weber, V.A.; da Silva Heimbach, N.; Mateus, R.G.; Pistori, H. Weighing live sheep using computer vision techniques and regression machine learning. Mach. Learn. Appl. 2021, 5, 100076. [Google Scholar] [CrossRef]
Figure 1. Systematic overview of the live weight prediction model.
Figure 1. Systematic overview of the live weight prediction model.
Animals 16 00068 g001
Figure 2. Representative view of one-day-old Anadolu-T chicks.
Figure 2. Representative view of one-day-old Anadolu-T chicks.
Animals 16 00068 g002
Figure 3. Illustration of the image-processing workflow. (a) Top-view image of a broiler placed on the black reference floor with its body boundaries outlined, (b) Binary mask of the bird obtained after segmentation.
Figure 3. Illustration of the image-processing workflow. (a) Top-view image of a broiler placed on the black reference floor with its body boundaries outlined, (b) Binary mask of the bird obtained after segmentation.
Animals 16 00068 g003
Figure 4. Variation in temperature (°C) and relative humidity (%) inside the poultry house during the 42-day rearing period.
Figure 4. Variation in temperature (°C) and relative humidity (%) inside the poultry house during the 42-day rearing period.
Animals 16 00068 g004
Figure 5. Growth curves of broiler live weight over the 42-day rearing period for (a) male, (b) female, and (c) mixed groups (In the equations, LW denotes live weight (g), and t represents days).
Figure 5. Growth curves of broiler live weight over the 42-day rearing period for (a) male, (b) female, and (c) mixed groups (In the equations, LW denotes live weight (g), and t represents days).
Animals 16 00068 g005
Figure 6. Scatter plots of measured versus estimated live weight values obtained using the XGB (best-performing) and MLR (worst-performing) models for the male (a,b), female (c,d), and mixed-sex (e,f) broiler datasets.
Figure 6. Scatter plots of measured versus estimated live weight values obtained using the XGB (best-performing) and MLR (worst-performing) models for the male (a,b), female (c,d), and mixed-sex (e,f) broiler datasets.
Animals 16 00068 g006aAnimals 16 00068 g006b
Figure 7. Feature importance, evaluated using the mean SHAP values by using the ML models for (a) male, (b) female and (c) mixed-sex broiler dataset.
Figure 7. Feature importance, evaluated using the mean SHAP values by using the ML models for (a) male, (b) female and (c) mixed-sex broiler dataset.
Animals 16 00068 g007
Figure 8. Three-dimensional response surfaces illustrating the relationships between log-transformed live weight (Log LW), log-transformed body surface pixel number (log P), and age (Day) for (a) male, (b) female, and (c) mixed (male + female) broiler groups.
Figure 8. Three-dimensional response surfaces illustrating the relationships between log-transformed live weight (Log LW), log-transformed body surface pixel number (log P), and age (Day) for (a) male, (b) female, and (c) mixed (male + female) broiler groups.
Animals 16 00068 g008
Table 1. Descriptive summary of variables used in model training and testing.
Table 1. Descriptive summary of variables used in model training and testing.
ParametersTrainingTesting
Length
(mm)
Width
(mm)
Live Weight
(g)
Length
(mm)
Width
(mm)
Live Weight (g)
Male
Min34.6030.2033.1051.2028.6034.90
Max219.30169.003414.00213.50262.703162.00
Mean142.04103.641039.24142.21104.231066.52
SE1.351.1624.842.111.8540.08
SD47.0140.15861.7548.0141.95910.35
Sk−0.39−0.110.61−0.290.040.57
Kr−1.14−1.21−0.87−1.26−1.01−1.06
Female
Min42.7031.5033.1750.9032.0038.70
Max218.90167.002987.00216.30169.303085.00
Mean143.72104.191018.36145.52106.241070.9
SE1.311.1423.502.081.7936.48
SD44.7638.80799.9146.4339.92814.14
Sk−0.38−0.080.52−0.5−0.210.38
Kr−1.07−1.23−1.01−1.08−1.24−1.14
Mixed (Male and Female)
Min34.6030.3033.1050.9028.6036.20
Max219.30262.703414.00218.90166.503302.00
Mean142.72104.081037.53144.16104.821048.79
SE0.960.8317.381.431.2426.20
SD46.5940.14845.0545.6739.46834.30
Sk−0.38−0.070.56−0.42−0.130.54
Kr−1.15−1.17−0.96−1.08−1.21−0.95
Min: minimum, Max: maximum, Mean: mean, SD: standard deviation, Sk: skewness, Kr: kurtosis.
Table 2. Best-tuned hyperparameter values for the ML algorithms used in model development.
Table 2. Best-tuned hyperparameter values for the ML algorithms used in model development.
AlgorithmsDatasetHyperparameters
RFFemalemax_depth: 5, min_samples_leaf: 1, min_samples_split: 5, n_estimators: 150
Malemax_depth: 5, min_samples_leaf: 2, min_samples_split: 5, n_estimators: 100
Mixedmax_depth: 5, min_samples_leaf: 2, min_samples_split: 2, n_estimators: 150
XGBFemalelearning_rate: 0.05, max_depth: 3, n_estimators: 100, subsample: 1.0
Malelearning_rate: 0.05, max_depth: 3, n_estimators: 200, subsample: 0.8
Mixedlearning_rate: 0.05, max_depth: 3, n_estimators: 180, subsample: 1.0
SVRFemaleregularization parameter (C): 1000, epsilon (ε): 0.01, kernel: rbf
Maleregularization parameter (C): 1000, epsilon (ε): 0.5, kernel: rbf
Mixedregularization parameter (C): 1000, epsilon (ε): 0.01, kernel: rbf
KNNFemalen_neighbors: 11, power parameter: 1, weights: uniform
Malen_neighbors: 13, power parameter: 1, weights: uniform
Mixedn_neighbors: 13, power parameter: 1, weights: uniform
Table 3. Model evaluation results for male, female, and mixed broiler dataset.
Table 3. Model evaluation results for male, female, and mixed broiler dataset.
DataAlgorithmsTrainingTesting
R2RMSE (g)MAPE (%)R2RMSE (g)MAPE (%)
MaleRF0.98991.7478.1320.985111.2749.112
XGB0.99183.0567.7690.984113.2529.049
SVR0.985104.9378.2500.983117.9878.459
KNN0.98798.5317.5430.985111.7098.366
MLR0.946200.34115.0370.930241.43515.412
FemaleRF0.98984.5997.5920.984102.4718.848
XGB0.99081.3626.7070.984103.0818.012
SVR0.984100.3657.5030.984103.4467.778
KNN0.98693.1467.0920.984102.6787.797
MLR0.942193.34812.9180.940199.01213.377
MixedRF0.98798.0688.2680.983107.3788.853
XGB0.98698.3498.6690.984106.6889.133
SVR0.983108.7858.0190.983109.2338.171
KNN0.986100.5427.5100.982111.5098.205
MLR0.948193.15414.0660.942200.30513.909
Table 4. Regression coefficients and performance statistics for log-transformed image-based models developed separately for male, female, and mixed datasets.
Table 4. Regression coefficients and performance statistics for log-transformed image-based models developed separately for male, female, and mixed datasets.
DataModelTrainingTesting
R2RMSE (g)MAPE (%)R2RMSE (g)MAPE (%)
Male L o g L W = 4.127 +   ( 0.124 × D a y ) +   ( 1.261 × l o g P )   ( 0.020 × D a y × l o g P )
S E = ( 0.094 ) * * ( 0.003 ) * * ( 0.021 ) * * ( 0.001 ) * *
0.98794.4727.5100.99095.6017.736
Female L o g L W = 4.380 +   ( 0.127 × D a y ) +   ( 1.318 × l o g P )   ( 0.021 × D a y × l o g P )
S E = ( 0.079 ) * * ( 0.002 ) * * ( 0.017 ) * * ( 0.001 ) * *
0.98789.4046.7010.98892.2766.816
Mixed L o g L W = 4.294 +   ( 0.124 × D a y ) +   ( 1.299 × l o g P )   ( 0.021 × D a y × l o g P )
S E = ( 0.061 ) * * ( 0.002 ) * * ( 0.014 ) * * ( 0.001 ) * *
0.98696.1437.1560.989101.1977.266
Log LW: Log-transformed live weight, Log P: Log-transformed body surface pixel number, SE: Standard error, ** (p < 0.01).
Table 5. Weekly predictive performance of the log-transformed image-based regression model for male, female, and mixed datasets.
Table 5. Weekly predictive performance of the log-transformed image-based regression model for male, female, and mixed datasets.
DaysRMSE (g)MAPE (%)
Male1–76.9268.581
8–1424.9818.726
15–2155.6928.355
22–2899.8747.310
29–35130.2246.204
36–42157.0015.109
Female1–77.6948.053
8–1422.0777.690
15–2152.1987.838
22–2879.3776.249
29–35115.5645.368
36–42162.0105.524
Mixed1–77.3038.423
8–1423.6308.264
15–2154.2728.199
22–2889.5206.726
29–35123.5245.817
36–42173.4475.751
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.

Share and Cite

MDPI and ACS Style

Küçüktopçu, E.; Cemek, B.; Yıldırım, D.; Simsek, H.; Erensoy, K.; Sarıca, M. Application of Supervised Machine Learning Techniques and Digital Image Analysis for Predicting Live Weight in Anadolu-T Broilers. Animals 2026, 16, 68. https://doi.org/10.3390/ani16010068

AMA Style

Küçüktopçu E, Cemek B, Yıldırım D, Simsek H, Erensoy K, Sarıca M. Application of Supervised Machine Learning Techniques and Digital Image Analysis for Predicting Live Weight in Anadolu-T Broilers. Animals. 2026; 16(1):68. https://doi.org/10.3390/ani16010068

Chicago/Turabian Style

Küçüktopçu, Erdem, Bilal Cemek, Didem Yıldırım, Halis Simsek, Kadir Erensoy, and Musa Sarıca. 2026. "Application of Supervised Machine Learning Techniques and Digital Image Analysis for Predicting Live Weight in Anadolu-T Broilers" Animals 16, no. 1: 68. https://doi.org/10.3390/ani16010068

APA Style

Küçüktopçu, E., Cemek, B., Yıldırım, D., Simsek, H., Erensoy, K., & Sarıca, M. (2026). Application of Supervised Machine Learning Techniques and Digital Image Analysis for Predicting Live Weight in Anadolu-T Broilers. Animals, 16(1), 68. https://doi.org/10.3390/ani16010068

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop