Abstract

Counting nursing piglets is an essential task on commercial sow farms and provides a core parameter for evaluating sow reproductive performance. As a current management practice, piglets in farrowing pens are usually manually counted by caretakers several times during and after parturition and at weaning, which is time-consuming, labor-intensive, and often subject to careless errors. In recent years, automated counting tools based on computer vision have drawn increasing attention from the pig industry. However, piglets frequently can be occluded by farrowing stalls or sows, either fully or partially, which results in substantial counting errors by existing automated methods. To address problems caused by the partial occlusion, a two-stage center clustering network (CClusnet) was developed to improve automated piglet counting performance. We constructed a dataset consisting of 2,600 images from three farrowing pens to test and validate the CClusnet. The images were under heavy occlusions with one sow (DNA Genetics Line 241) and 7–13 piglets per image, and 97.7% of images having one or more piglets partially occluded. In the first stage, the CClusnet predicted a semantic segmentation map and a center offset vector map for each image. In the second stage, scattered center points were produced by combining the two maps, and the mean-shift algorithm was applied to determine the piglet count. The results showed that CClusnet achieved 0.43 mean absolute error per image for piglet counting, had a better performance than previous network architectures, and outperformed existing counting methods. Furthermore, our technique is a nonocclusion-specific method and can be applied in other similar settings with different types of occlusions, and with potential to achieve high accuracy in animal position detection and monitoring.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call