» Articles » PMID: 37570282

A Method for Obtaining 3D Point Cloud Data by Combining 2D Image Segmentation and Depth Information of Pigs

Overview
Journal Animals (Basel)
Date 2023 Aug 12
PMID 37570282
Authors
Affiliations
Soon will be listed here.
Abstract

This paper proposes a method for automatic pig detection and segmentation using RGB-D data for precision livestock farming. The proposed method combines the enhanced YOLOv5s model with the Res2Net bottleneck structure, resulting in improved fine-grained feature extraction and ultimately enhancing the precision of pig detection and segmentation in 2D images. Additionally, the method facilitates the acquisition of 3D point cloud data of pigs in a simpler and more efficient way by using the pig mask obtained in 2D detection and segmentation and combining it with depth information. To evaluate the effectiveness of the proposed method, two datasets were constructed. The first dataset consists of 5400 images captured in various pig pens under diverse lighting conditions, while the second dataset was obtained from the UK. The experimental results demonstrated that the improved YOLOv5s_Res2Net achieved a mAP@0.5:0.95 of 89.6% and 84.8% for both pig detection and segmentation tasks on our dataset, while achieving a mAP@0.5:0.95 of 93.4% and 89.4% on the Edinburgh pig behaviour dataset. This approach provides valuable insights for improving pig management, conducting welfare assessments, and estimating weight accurately.

References
1.
Ren S, He K, Girshick R, Sun J . Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. IEEE Trans Pattern Anal Mach Intell. 2016; 39(6):1137-1149. DOI: 10.1109/TPAMI.2016.2577031. View

2.
Zhang L, Gray H, Ye X, Collins L, Allinson N . Automatic Individual Pig Detection and Tracking in Pig Farms. Sensors (Basel). 2019; 19(5). PMC: 6427794. DOI: 10.3390/s19051188. View

3.
Tu S, Yuan W, Liang Y, Wang F, Wan H . Automatic Detection and Segmentation for Group-Housed Pigs Based on PigMS R-CNN. Sensors (Basel). 2021; 21(9). PMC: 8125813. DOI: 10.3390/s21093251. View

4.
Lin T, Goyal P, Girshick R, He K, Dollar P . Focal Loss for Dense Object Detection. IEEE Trans Pattern Anal Mach Intell. 2018; 42(2):318-327. DOI: 10.1109/TPAMI.2018.2858826. View

5.
Bo Z, Atif O, Lee J, Park D, Chung Y . GAN-Based Video Denoising with Attention Mechanism for Field-Applicable Pig Detection System. Sensors (Basel). 2022; 22(10). PMC: 9143193. DOI: 10.3390/s22103917. View