This invention discloses a method and
system for pig
body posture perception based on
point cloud completion, belonging to the field of
livestock and poultry intelligent
perception and 3D
point cloud processing technology. This invention acquires 3D point clouds of the pig's
body surface from a single viewpoint using a 3D sensor. After denoising, background
cropping, downsampling, and coordinate normalization, a standardized missing
point cloud is obtained. The missing point cloud is input into a pre-trained
Transformer encoder-decoder point cloud completion model. Through a feature interaction learning module combining local geometric and global structural features, and combined with an inverted residual
multilayer perceptron module, high-precision completion of the missing regions is achieved. Based on the completed point cloud, 3D reconstruction of the pig's
body posture is completed, and multi-
dimensional analysis including
body size measurement, health classification, and
posture recognition is performed. The results are visualized and synchronized to a smart
livestock management system. This invention adopts a single-view, low-cost deployment, adapts to the non-rigid deformation of pigs, has high completion accuracy, and strong anti-
occlusion ability, making it suitable for pig health monitoring in large-scale smart
livestock farming.