Skip to main content
ARS Home » Plains Area » Clay Center, Nebraska » U.S. Meat Animal Research Center » Nutrition, Growth and Physiology » Research » Publications at this Location » Publication #354876

Research Project: Improve Nutrient Management and Efficiency of Beef Cattle and Swine

Location: Nutrition, Growth and Physiology

Title: Using an artificial neural network to predict pig mass from depth images

Author
item CONDOTTA, I - Brazil University
item Brown-Brandl, Tami
item SOUSA, R - Brazil University
item SILVA-MIRANDA, K - Brazil University

Submitted to: Meeting Proceedings
Publication Type: Proceedings
Publication Acceptance Date: 7/13/2018
Publication Date: 8/13/2018
Citation: Condotta, I.C.F.S., Brown-Brandl, T.M., Sousa, R.V., Silva-Miranda, K.O. 2018. Using an artificial neural network to predict pig mass from depth images. Proceedings of the 10th International Livestock Environment Symposium (ILES X), September 25-27, 2018, Omaha, NE. Paper No. ILES 18-043. https://doi.org/10.13031/iles.18-043.
DOI: https://doi.org/10.13031/iles.18-043

Interpretive Summary:

Technical Abstract: Automating the acquisition of animals’ mass would aid the producers by providing information about animals’ mass gain and marketing pigs at the correct mass. Previous image processing methods have an estimated error of 4.6%. The objective of this paper is to test different modeling methods to decrease the error associated with the mass prediction. Seven hundred and seventy-two depth images and masses were collected from a population of grow–finish pigs (equally divided between barrows and gilts and three commercial sire-lines – Landrance, Duroc, Yorkshire); four ages (8, 12, 16, and 20 weeks) were sampled. An artificial neural network (ANN) based-model was created and simulated in several realizations, to fine-tune its parameters using the supervised learning approach. The input variables to the model included body volume, dorsal area, average height, neck to tail length, hip width, shoulders width and last rib width. A cross-validation method was used with three different training, validation and testing protocols – 70% training, 15% validation and 15% testing. Training data were selected to ensure every age, sex, and sire-line were represented. The performance of these models was evaluated by comparing the predicted and measured pig mass using the linear regression parameters – the slope, the intercept, the mean error, the root mean square error (RMSE), and the determination coefficient (R²). The proposed ANN-based model showed a good performance on mass prediction tasks compared with a classical MLR-based model, and demonstrated a better capacity for persistent performance on previously unseen data.