Dynamic Tracking of Respiratory Rate and Quantitative Analysis of Heat Stress Response of Caged Broilers Based on Infrared Thermal Imaging Video Amplification Technology
Simple Summary
Abstract
1. Introduction
- Limited technological adaptability and measurement solutions for broilers require further development. Current research on RR measurement has primarily focused on large animals such as pigs, sheep, and dairy cows. Studies on broilers still rely mainly on manual observation or respiratory sound monitoring, which have the limitations of high labor costs and low measurement accuracy. Broilers are small in size with weak respiratory signals. In cage-rearing environments with high density and serious mutual occlusion between individuals, traditional contact devices are prone to inducing stress responses, leading to measurement deviations. Non-contact video processing technology, however, has room for optimization in broiler scenarios and has not yet formed a widely recognized, mature measurement solution. Although manual observation is simple to perform, it is easily affected by the observer’s subjective judgment and cannot achieve continuous dynamic monitoring [33]. Video image processing technology is an effective non-contact method for measuring RR in poultry because it can capture subtle physiological movements, but research on its adaptability to high-density cage-rearing scenarios requires further investigation.
- Whole-life-stage dynamic monitoring data and standardized reference systems need improvement. Most existing studies on broiler RR focus on “single-time period” monitoring or targeted measurement under specific conditions, and systematic studies on the dynamic change patterns of RR throughout the whole life stage are relatively limited. Although Nascimento et al. [28] completed weekly RR measurements of broilers aged 0–6 weeks under controlled temperature conditions and confirmed that RR varies significantly with age, such studies are limited in number. Their core goal is comparative analysis under heat stress rather than establishing a whole-life-stage standard physiological data model. A systematic database or standardized reference value system covering the complete growth stage of broilers has not been fully established, which fails to provide adequate data support for judging respiratory abnormalities at different growth stages. The baseline RR of broilers shows a downward trend with increasing age, which is closely related to the decrease in metabolic rate and the gradual improvement of thermoregulatory capacity [34]. However, existing research on continuous tracking and quantitative modeling of this dynamic pattern is insufficient.
- Insufficient adaptability to heat stress scenarios and the need for further research on dynamic change rules. Although existing studies have clarified the correlation between RR and broiler heat stress, two areas for improvement remain when combined with actual farming scenarios. First, the abnormal response characteristics of RR under heat stress have not been fully verified by video measurement technology, and the applicability of the video magnification measurement method proposed in this study in such scenarios remains to be clarified. Second, the exploration of dynamic change patterns of broiler RR under different heat stress intensities is not yet comprehensive, which cannot adequately support the early warning and precise regulation of heat stress. There is a significant corresponding relationship between heat stress intensity and RR. Yin et al. [35] showed that the RR of broilers under a 32 °C heat stress environment is significantly higher than that under an optimal 23 °C environment. However, most existing studies focus on a single temperature gradient, and quantitative analysis of dynamic response rules under multi-gradient temperature increases is relatively limited.
2. Materials and Methods
2.1. Test Site and Test Animals
2.2. Test Environment Control
- Temperature regulation: During the early stage, temperature was decreased by 0.5 °C per day, and during the later stage by 2 °C per week (approximately 0.3 °C per day on average) [37,38]. Actual recorded values showed that the temperature was maintained within ±0.7 °C of the target during the rearing period. In the heat stress experiment, an intelligent temperature-controlled heating lamp was used to regulate ambient temperature, with a control accuracy of ±0.4 °C. Temperature was monitored jointly using hygrothermographs and temperature-humidity sensors. When the temperature deviated from the set range, it was regulated using air conditioners, ventilation systems, or sprinkler equipment. The detailed temperature profile is shown in Figure 2.
- Humidity regulation: Relative humidity (RH) was maintained between 50% and 70%. A dynamic pattern of higher RH in early stages followed by gradual reduction was applied as the broilers matured [37,38]. Actual recorded values showed that humidity was maintained within ±5% RH of the target. Humidity was monitored jointly using hygrothermographs and temperature-humidity sensors. When the humidity was too low, the sprinkler system was activated for humidification. When the humidity was too high, the ventilation system was activated for dehumidification.
2.3. Experimental Design
2.3.1. Data Collection During the Conventional Rearing Period
2.3.2. Data Collection During Heat Stress Experiment
2.4. Data Acquisition Equipment and Parameters
2.4.1. Infrared Thermal Imaging Equipment
2.4.2. Data Processing Hardware and Software Configuration
2.5. True Respiratory Rate Acquisition
2.6. Measurement of Respiratory Rate
2.6.1. Overall Measurement Process
- Input Tracking Module: The system inputted 1 min infrared thermal video clips. An improved Real-Time Detection Transformer (RT-DETR) deep learning model, which had been fully trained on a dataset containing broilers of different ages and postures, was used to identify and locate individual broilers. Subsequently, dense optical flow was applied to continuously track the identified broilers and obtain their motion trajectories.
- Screening and Localization Module: Based on the tracking results, the motion amplitude of the broilers within a 10 s time window was calculated using the dense optical flow method, and the motion amplitude threshold was set at 1.5 pixels. Broilers with no obvious body movement within this window (i.e., “quiet state” broilers) were selected. Subsequently, the trained improved RT-DETR model was used to automatically locate the regions of interest (ROIs) related to respiratory movements.
- Signal Analysis Module: Video data within the ROIs were processed using phase-based video magnification (PBVM) technology to enhance subtle physiological signals corresponding to respiratory movements. The amplified signals were then processed using fast Fourier transform (FFT) spectral analysis, enabling the estimation of RR.
2.6.2. Preprocessing: Acquiring Quiet Broilers and Their ROIs
- Selection criteria for quiet broilers: This study referred to the research conclusions of Leen Yassin Kassab et al. [41] on the influence of video window length on the performance of video magnification technology. When the head movement of the target object is minimal, a window length exceeding 10 s reduces the detection performance of the video magnification algorithm for subtle and transient changes in heart rate. Considering the weakness and transience of broiler RR signals, this study adopted 10 s as the time threshold for judging the quiet state. Broilers that remained stationary within 10 s, with no obvious body swaying or displacement, were selected to ensure the detection efficiency of subsequent algorithms for subtle respiratory movements.
- Physiological basis for ROI localization: Combined with the respiratory physiological characteristics of broilers, their breathing process is mainly realized by the regular undulation of the thoracic cage and the contraction and expansion of air sacs. The chest and back exhibit synchronous undulations with the movement of the thoracic cage, while the tail produces subtle displacement due to the contraction and expansion of air sacs. The movement rhythms of both are consistent with the RR. Based on this physiological mechanism, this study jointly located the thoracodorsal region and the tail as ROIs for RR measurement, ensuring that the collected signals directly reflect the respiratory physiological state of broilers.
2.6.3. Video Magnification Technology
- Spatial Decomposition: A complex-valued steerable pyramid was used to perform multi-scale and multi-orientation decomposition of the 10 s ROI video. This pyramid captures the local phase and amplitude information of images via complex filters. It can not only analyze the directional characteristics of images but also characterize the directionality of local structures such as edges and textures, realizing efficient linear decomposition of video frames into scale and direction sub-bands. In this study, the number of pyramid levels was adaptively determined based on image size, ranging from 1 to 4 levels. The number of orientations was fixed at 8.
- Temporal Filtering: An ideal filter was selected to perform frequency domain filtering on the decomposed images of each scale. The filtering frequency band was restricted to the range of broiler RR, i.e., 0.3 Hz to 3.0 Hz, thereby preserving respiration-related motion signals. The absolute bandwidth of the temporal filter was 2.7 Hz.
- Linear Amplification: The filtered phase signals were multiplied by the amplification factor α to achieve linear amplification of subtle respiration-related motions. In this study, the amplification factor α was fixed at 40. Unlike EVM technology, this study did not require subsequent video reconstruction steps. The amplified motion signals were directly extracted for subsequent frequency analysis, avoiding potential signal distortion that may occur during the reconstruction process.
2.6.4. Respiratory Rate Estimation Based on Spectral Analysis
2.7. Evaluation Indicators
2.7.1. Basic Characteristics of Statistical Analysis
- Standard Deviation (SD): This describes the absolute dispersion of measurement data, reflecting the extent to which individual measurements deviate from the mean. A smaller SD indicates a higher degree of data centralization. The formulas are provided in Equations (6) and (7).
- Standard Error of the Mean (SEM): This measures the error and reliability of the sample mean in estimating the population mean. A smaller SEM indicates higher estimation accuracy. The calculation formula is shown in Equation (8).
- Pearson Correlation Coefficient (r): This quantifies the linear correlation strength between the algorithm-derived values and the manual counts, ranging from −1 to 1, with a larger absolute value indicates a stronger linear correlation. The calculation formula is shown in Equation (9).where n represents the sample size, represents the actual artificial count value of the i-th instance, is the average value of the artificial count values, represents the algorithm measurement value of the i-th time, and is the average value of the algorithm measurement values.
2.7.2. Evaluation Metrics for Prediction Accuracy
- Mean Absolute Error (MAE): This reflects the average magnitude of deviation between the algorithm-derived values and the manual counts. A smaller MAE indicates lower individual measurement deviation. The calculation formula is shown in Equation (10).
- Mean Absolute Percentage Error (MAPE): This quantifies the relative error magnitude relative with respect to the true value, providing an intuitive measure of relative deviation as a percentage. The calculation formula is shown in Equation (11).
- Root Mean Square Error (RMSE): This quantifies the overall deviation between the algorithm-derived values and the manual counts, with greater sensitivity to large errors. A smaller RMSE indicates higher overall measurement accuracy. The calculation formula is shown in Equation (12).
- Coefficient of Determination (R2): This quantifies the extent to which the algorithm-derived values explain the variation in the manual counts. The in this study represents the linear fitting degree between the manual reference values () and the algorithm-measured values () relative to the identity line. The calculation formula is shown in Equation (13).where n represents the sample size, represents the actual manual count value of the i-th instance, is the average value of the manual count values, represents the algorithm measurement value of the i-th instance, and is the average value of the algorithm measurement values.
3. Results
3.1. RR Measurement Results
3.2. Analysis of Monitoring Method Accuracy
3.2.1. Experiment on RR of Broilers Throughout the Whole Life Stage
3.2.2. Experiment on Broiler RR Under Heat Stress
3.3. Benchmark Patterns of Broiler RR Across the Whole Life Stage
3.4. Analysis of Temperature Stress Responses Based on RR Changes
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Wu, D.H.; Di, C.; Zhang, M.C.; Ying, Y.B. Information perception in modern poultry farming: A review. Comput. Electron. Agric. 2022, 199, 107131. [Google Scholar] [CrossRef]
- Li, N.; Ren, Z.; Li, D.; Zeng, L. Review: Automated techniques for monitoring the behaviour and welfare of broilers and laying hens: Towards the goal of precision livestock farming. Animal 2020, 14, 617–625. [Google Scholar] [CrossRef]
- Helwatkar, A.; Riordan, D.; Walsh, J. Sensor Technology For Animal Health Monitoring. Int. J. Smart Sens. Intell. Syst. 2014, 7, 1–6. [Google Scholar] [CrossRef]
- Salzer, Y.; Lidor, G.; Rosenfeld, L.; Reshef, L.; Shaked, B.; Grinshpun, J.; Honig, H.H.; Kamer, H.; Balaklav, M.; Ross, M. Technical note: A nose ring sensor system to monitor dairy cow cardiovascular and respiratory metrics. J. Anim. Sci. 2022, 100, skac240. [Google Scholar] [CrossRef]
- Paci, P.; Mancini, C.; Price, B.A. Designing for wearability: An animal-centred framework. In Proceedings of the Sixth International Conference on Animal-Computer Interaction, Haifa, Israel, 12 November 2019. [Google Scholar] [CrossRef]
- Warhoe, J.; Simpson, S.; Goldblatt, B.; Zersen, K. Validation of Wireless Harness for Measuring Respiratory Rate, Heart Rate, and Body Temperature in Hospitalized Dogs. Vet. Sci. 2025, 12, 626. [Google Scholar] [CrossRef]
- Massaroni, C.; Nicolo, A.; Sacchetti, M.; Schena, E. Contactless Methods for Measuring Respiratory Rate: A Review. IEEE Sens. J. 2021, 21, 12821–12839. [Google Scholar] [CrossRef]
- Lu, Y.; Li, G.; Hao, Y.; Lin, Q. Monitoring respiratory rate in pigs based on Wi-Fi wireless sensing technology. Trans. Chin. Soc. Agric. Eng. 2019, 35, 183–190. [Google Scholar]
- Wang, T.; Liu, X.; Li, Z.; Yan, H.; Song, H.; Hu, J. Synchronous monitoring method for dairy goat respiration and rumination based on acoustic impulse response. Trans. Chin. Soc. Agric. Mach. 2023, 54, 322–331. [Google Scholar]
- Wu, D.H. Research on Detection Method of Dairy Cow Respiratory Behavior Based on Video Analysis. Master’s Thesis, Northwest A&F University, Yangling, China, 2021. [Google Scholar] [CrossRef]
- Olubummo, D.A.; Bello, R.W. Computer vision-based precision livestock farming: An overview of the challenges and opportunities. World News Nat. Sci. 2024, 54, 26–37. [Google Scholar] [CrossRef]
- Jorquera-Chavez, M.; Fuentes, S.; Dunshea, F.R.; Warner, R.D.; Poblete, T.; Jongman, E.C. Modelling and Validation of Computer Vision Techniques to Assess Heart Rate, Eye Temperature, Ear-Base Temperature and Respiration Rate in Cattle. Animals 2019, 9, 1089. [Google Scholar] [CrossRef]
- Wu, D.; Han, M.; Song, H.; Song, L.; Duan, Y. Monitoring the respiratory behavior of multiple cows based on computer vision and deep learning. J. Dairy Sci. 2023, 106, 2963–2979. [Google Scholar] [CrossRef] [PubMed]
- Stewart, M.; Wilson, M.; Schaefer, A.; Huddart, F.; Sutherland, M. The use of infrared thermography and accelerometers for remote monitoring of dairy cow health and welfare. J. Dairy Sci. 2017, 100, 3893–3901. [Google Scholar] [CrossRef] [PubMed]
- Kim, S.; Hidaka, Y. Breathing pattern analysis in cattle using infrared thermography and computer vision. Animals 2021, 11, 207. [Google Scholar] [CrossRef]
- Amed, K.; Lbrahim, A.S.; Sadiq, A. The Applications based on Video Motion Magnification Techniques. J. La Multiapp. 2024, 5, 1–9. [Google Scholar] [CrossRef]
- Wu, H.; Rubinstein, M.; Shih, E.; Guttag, J.; Durand, F.; Freeman, W. Eulerian video magnification for revealing subtle changes in the world. ACM Trans. Graph. 2012, 31, 1–8. [Google Scholar] [CrossRef]
- Wadhwa, N.; Rubinstein, M.; Durand, F.; Freeman, W.T. Phase-based video motion processing. ACM Trans. Graph. 2013, 32, 1–10. [Google Scholar] [CrossRef]
- Oh, T.H.; Jaroensri, R.; Kim, C.; Elgharib, M.; Durand, F.; Freeman, W.T.; Matusik, W. Learning-based video motion magnification. In Proceedings of the European Conference on Computer Vision, Munich, Germany, 8 September 2018. [Google Scholar] [CrossRef]
- Ismael, S.H.; Albattat, H.J.; Jabbar, A.A.Z.; Toman, T.A. Eulerian video magnification: A review. Indones. J. Electr. Eng. Comput. Sci. 2020, 18, 799. [Google Scholar] [CrossRef]
- Lauridsen, H.; Gonzales, S.; Hedwig, D.; Perrin, K.L.; Williams, C.J.A.; Wrege, P.H.; Bertelsen, M.F.; Pedersen, M.; Butcher, J.T. Extracting physiological information in experimental biology via Eulerian video magnification. BMC Biol. 2019, 17, 103. [Google Scholar] [CrossRef]
- Wu, D.; Yin, X.; Jiang, B.; Jiang, M.; Li, Z.; Song, H. Detection of the respiratory rate of standing cows by combining the Deeplab V3+ semantic segmentation model with the phase-based video magnification algorithm. Biosyst. Eng. 2020, 192, 72–89. [Google Scholar] [CrossRef]
- Wang, J.T.; Liu, L.S.; Li, M.Z.; Okinda, C.; Lovarelli, D.; Guarino, M.; Shen, M. The estimation of broiler respiration rate based on the semantic segmentation and video amplification. Front. Phys. 2022, 10, 1047077. [Google Scholar] [CrossRef]
- Rzucidlo, C.L.; Curry, E.; Shero, M.R. Non-invasive measurements of respiration and heart rate across wildlife species using Eulerian Video Magnification of infrared thermal imagery. BMC Biol. 2023, 21, 61. [Google Scholar] [CrossRef]
- Onagbesan, O.M.; Uyanga, V.A.; Oso, O.; Tona, K.; Oke, O.E. Alleviating heat stress effects in poultry: Updates on methods and mechanisms of actions. Front. Vet. Sci. 2023, 10, 1255520. [Google Scholar] [CrossRef]
- Wang, X.Y.; Wang, F.Y.; Chen, H.X.; Dong, H.-L.; Zhao, Z.-Q.; Si, L.-F. Chronic heat stress induces lung injury in broiler chickens by disrupting the pulmonary blood-air barrier and activating TLRs/NF-κB signaling pathway. Poult. Sci. 2023, 102, 103066. [Google Scholar] [CrossRef]
- Apalowo, O.O.; Ekunseitan, A.D.; Fasina, O.Y. Impact of Heat Stress on Broiler Chicken Production. Poultry 2024, 3, 107–128. [Google Scholar] [CrossRef]
- Nascimento, T.S.; Silva, D.O.J.I.; Mourão, B.G.; de Castro, A.C. Bands of respiratory rate and cloacal temperature for different broiler chicken strains. Rev. Bras. Zootec. 2012, 41, 1318–1324. [Google Scholar] [CrossRef]
- Brugaletta, G.; Teyssier, J.-R.; Rochell, S.J.; Dridi, S.; Sirri, F. A review of heat stress in chickens. Part I: Insights into physiology and gut health. Front. Physiol. 2022, 13, 934381. [Google Scholar] [CrossRef] [PubMed]
- Oluwagbenga, E.; Fraley, G. Heat stress and poultry production: A comprehensive review. Poult. Sci. 2023, 102, 103141. [Google Scholar] [CrossRef] [PubMed]
- Ma, Y.; Guo, Y.; Gao, B.; Zheng, P.; Chen, C. Development of a Tool to Detect Open-Mouthed Respiration in Caged Broilers. Animals 2025, 15, 2732. [Google Scholar] [CrossRef]
- Oso, O.M.; Abaunza, M.N.; Bodempudi, C.U.V.; Chen, X.; Chen, C.; Aggrey, S.E.; Li, G. Automatic analysis of high, medium, and low activities of broilers with heat stress operations via image processing and machine learning. Poult. Sci. 2025, 104, 104954. [Google Scholar] [CrossRef]
- Cardoso, D.M.; Cardeal, P.C.; Soares, K.R.; Sousa, L.S.; Castro, F.L.S.; Araújo, I.C.S.; Lara, L.J.C. Feed form and nutritional level for rearing growing broilers in thermoneutral or heat stress environments. J. Therm. Biol. 2022, 103, 103159. [Google Scholar] [CrossRef] [PubMed]
- Jin, J.; Sun, S.; Song, K.; Yongjie, X.; Shaojun, H. Sex-based responses of heat stress and subsequent recovery on the growth performance, metabolic changes, and redox status of broilers at market age. Int. J. Biometeorol. 2023, 67, 1669–1677. [Google Scholar] [CrossRef] [PubMed]
- Yin, C.; Tang, S.; Liu, L.; Cao, A.; Xie, J.; Zhang, H. Effects of Bile Acids on Growth Performance and Lipid Metabolism during Chronic Heat Stress in Broiler Chickens. Animals 2021, 11, 630. [Google Scholar] [CrossRef] [PubMed]
- Uyanga, V.A.; Wang, M.; Tong, T.; Zhao, J.; Wang, X.; Jiao, H.; Onagbesan, O.M.; Lin, H. L-Citrulline Influences the Body Temperature, Heat Shock Response and Nitric Oxide Regeneration of Broilers Under Thermoneutral and Heat Stress Condition. Front. Physiol. 2021, 12, 671691. [Google Scholar] [CrossRef] [PubMed]
- Fairchild, B.D. Environmental Factors to Control When Brooding Chicks; University of Georgia: Athens, GA, USA, 2009. [Google Scholar]
- Omomowo, O.O.; Falayi, F.R. Temperature-humidity index and thermal comfort of broilers in humid tropics. Agric. Eng. Int. CIGR J. 2021, 23, 101–110. [Google Scholar]
- Zhou, S.; Thornton, T.; Gan, H.; Tabler, T.; Zhao, Y. Impact of Lighting Intensity on Welfare and Performance in Broiler Chickens. Animals 2025, 15, 3348. [Google Scholar] [CrossRef]
- Shynkaruk, T.; Parsons, M.; Adler, C.A.B.; Goeree, C.; Long, K.; Schwean-Lardner, K. Does the distribution of light intensity within the barn impact broiler production and welfare? Br. Poult. Sci. 2025, 66, 281–289. [Google Scholar] [CrossRef]
- Yassin Kassab, L. Heart Rate Detection Using Video Magnification: Impact of Algorithmic Parameters and Noise. Master’s Thesis, Carleton University, Ottawa, ON, Canada, 2022. [Google Scholar]











| Parameter Type | Parameter Value |
|---|---|
| Placement Height | 0.6 m~0.9 m |
| Distance from Broiler Cage | 0.1 m~0.5 m |
| Video Frequency | 30 frames per second |
| Video Resolution | 640 × 480 |
| Color Model | Rainbow |
| Emissivity(ε) | 0.95 |
| Hardware and Software Name | Configuration Details |
|---|---|
| PyTorch | 2.1.2 |
| Python | 3.10 |
| CUDA | 11.8 |
| CPU | 15 vCPU Intel(R) Xeon(R) Platinum 8358P CPU @ 2.60 GHz, Intel Corporation, Santa Clara, CA, USA |
| GPU | NVIDIA RTX 4090(24 GB), NVIDIA Corporation, Santa Clara, CA, USA |
| Memory | 90 GB |
| Experimental Type | MAE | MAPE | RMSE | R2 |
|---|---|---|---|---|
| Whole-Life-Stage Experiment | 0.036 Hz | 4.461% | 0.044 Hz | 0.961 |
| Heat Stress Experiment | 0.042 Hz | 3.270% | 0.055 Hz | 0.928 |
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. |
© 2026 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.
Share and Cite
Lu, C.; He, J.; Zheng, W.; Wu, M.; Hong, S.; Lin, F.; Su, H.; Gao, Y. Dynamic Tracking of Respiratory Rate and Quantitative Analysis of Heat Stress Response of Caged Broilers Based on Infrared Thermal Imaging Video Amplification Technology. Animals 2026, 16, 1115. https://doi.org/10.3390/ani16071115
Lu C, He J, Zheng W, Wu M, Hong S, Lin F, Su H, Gao Y. Dynamic Tracking of Respiratory Rate and Quantitative Analysis of Heat Stress Response of Caged Broilers Based on Infrared Thermal Imaging Video Amplification Technology. Animals. 2026; 16(7):1115. https://doi.org/10.3390/ani16071115
Chicago/Turabian StyleLu, Caihua, Jincheng He, Wenwan Zheng, Mengyao Wu, Sisi Hong, Fan Lin, Hongjie Su, and Yuyun Gao. 2026. "Dynamic Tracking of Respiratory Rate and Quantitative Analysis of Heat Stress Response of Caged Broilers Based on Infrared Thermal Imaging Video Amplification Technology" Animals 16, no. 7: 1115. https://doi.org/10.3390/ani16071115
APA StyleLu, C., He, J., Zheng, W., Wu, M., Hong, S., Lin, F., Su, H., & Gao, Y. (2026). Dynamic Tracking of Respiratory Rate and Quantitative Analysis of Heat Stress Response of Caged Broilers Based on Infrared Thermal Imaging Video Amplification Technology. Animals, 16(7), 1115. https://doi.org/10.3390/ani16071115

