Ideal Posture Detection and Body Size Measurement of Pig Based on Kinect

被引:0
|
作者
Si Y. [1 ]
An L. [1 ]
Liu G. [2 ,3 ]
Li B. [2 ,3 ]
机构
[1] College of Information Science and Technology, Hebei Agricultural University, Baoding
[2] Key Laboratory of Modern Precision Agriculture System Integration Research, Ministry of Education, China Agricultural University, Beijing
[3] Key Laboratory of Agricultural Information Acquisition Technology, Ministry of Agriculture, China Agricultural University, Beijing
来源
Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery | 2019年 / 50卷 / 01期
关键词
Body size measurement; Image processing; Kinect camera; Pig; Posture detection; Video;
D O I
10.6041/j.issn.1000-1298.2019.01.006
中图分类号
学科分类号
摘要
In the research of pig body size measurement based on machine vision, the demand for posture of pig is high. Image frames of ideal posture need manual selection, which limits the application of body size measurement based on machine vision. To improve the image utilization rate and the efficiency of pig body measurement, pig species of Landrace and Large White were taken as the researches object. Kinect camera was used to obtain video data of pigs. An algorithm was proposed which can detect the posture of pig in the image. In this algorithm, the minimum external rectangles were computed to adjust the level of the pig's body. Head and tail positions were identified by projection and difference methods. Boundary signature was used to determine whether part of the ears was missing. Image skeleton algorithm and Hough transform algorithm were applied to judge whether the pig body was skewed. On this basis, algorithms for measuring pig body size were designed. The top view and side view of video had 52 016 frames, respectively. These frames of 103 sets of video data were tested by the posture detection algorithm and body size measuring algorithm. And 2 592 frames of ideal posture frames were screened out. It produced high false negatives (432 frames) and very low false positives (0 frames). The results showed that the absolute deviation of body length was small. The body length deviation of each frame was less than 2.3%, and the consistency of the measurement results was high. The average accuracy of body width was 95.5%, the average accuracy of body height was 96.3%, and the average accuracy of body length was 97.3%. This research can be used to measure pig body size based on machine vision to improve measurement efficiency. © 2019, Chinese Society of Agricultural Machinery. All right reserved.
引用
收藏
页码:58 / 65
页数:7
相关论文
共 21 条
  • [1] Liu T., Teng G., Zhang S., Et al., Reconstruction and application of 3D pig body model based on point cloud data, Transactions of the Chinese Society for Agricultural Machinery, 45, 6, pp. 291-295, (2014)
  • [2] Xu N., Wang X., Cao X., Et al., Canonical correlation analysis of main breeding traits for Landrace, Journal of Zhejiang University (Agriculture and Life Sciences), 26, 5, pp. 563-566, (2000)
  • [3] Cheng Y.Y., Liu S.C., Su D., Et al., Distribution and linkage disequilibrium analysis of polymorphisms of GH1 gene in different populations of pigs associated with body size, Journal of Genetics, 95, 1, pp. 79-87, (2016)
  • [4] Andrea P., Marcella G., Luigi S., Et al., On-barn pig weight estimation based on body measurements by a Kinect v1 depth camera, Computers and Electronics in Agriculture, 148, pp. 29-36, (2018)
  • [5] Liu T., Teng G., Fu W., Et al., Extraction algorithms and applications of pig body size measurement points based on computer vision, Transactions of the CASE, 29, 2, pp. 161-168, (2013)
  • [6] Wang K., Guo H., Ma Q., Et al., Pig body size measurement method based on mirror reflection of single angle point cloud, Transactions of the Chinese Society for Agricultural Machinery, 49, 3, pp. 187-195, (2018)
  • [7] Li Z., Du X., Mao T., Et al., Pig dimension detection system based on depth image, Transactions of the Chinese Society for Agricultural Machinery, 47, 3, pp. 311-318, (2016)
  • [8] Jiang J., Zhou L., Li G., Sheep body size measurement based on computer vision, Journal of Computer Applications, 34, 3, pp. 846-850, (2014)
  • [9] Banhazi T.M., Tscharke M., Ferdous W.M., Et al., Using image analysis and statistical modelling to achieve improved pig weight predictions, Agricultural Technologies in a Changing Climate: The 2009 CIGR International Symposium of the Australian Society for Engineering in Agriculture, pp. 13-16, (2009)
  • [10] Bai M., Xue H., Jiang X., Et al., Extraction of sheep body measurement points and calculation of sheep body size based on the inflection point, Journal of Inner Mongolia Agricultural University(Natural Science Edition), 38, 6, pp. 73-78, (2017)