RESEARCH ON PIG BODY SIZE MEASUREMENT SYSTEM BASED ON STEREO VISION
Body size of pigs is an important evaluation indicator in pig breeding. The traditional method of body size measurement is usually in manual way, which requires more employees and causes stress reactions of pigs. In response to the shortcomings of the traditional methods, this paper designed a system for measuring the body size of pigs based on stereo vision. The point cloud of both the calibration object and the pig was collected using dual KinectV2 cameras. Pre-processing was conducted using filtering and random sample consensus to remove background noise from the point clouds. As there was limited overlap between the two sides of the point clouds, the rotation matrix obtained from registering the calibration object was applied to the pig point clouds. Curve fitting and slicing were then utilized to measure the pig's body dimensions, including length, width, height, and abdominal circumference. The results of the study indicated that the mean absolute percentage error (MAPE) was 2.13% for body length, 1.02% for body width, 1.05% for body height, and 2.21% for abdominal girth. These results demonstrate the high accuracy and practical production value of the system.
Abstract in Chinese