Individual pigs were automatically identified by their unique painting patterns using shape recognition
techniques. The weight estimation process developed as follows: First, to localized pigs in the image, an
ellipse fitting algorithm was employed. Second, the area the pig occupying in the ellipse was calculated.
Finally, the weight of pigs was estimated using dynamic modelling. The developed model was then validated
by comparing the estimated weight against manual twice weekly actual weight measurements of
each individual pig. In addition, to monitor the weight of pigs individually, the pigs were marked on their
back with basic unique paint patterns and were identified automatically using shape recognition techniques.
In this way, the weight of each individual pig could be estimated. This method can replace the
regular weight measurements on farms that require repeated handling and thereby causing stress to
the pigs.