Welcome to Chinese Agricultural Science Bulletin,

Chinese Agricultural Science Bulletin ›› 2023, Vol. 39 ›› Issue (22): 152-157.doi: 10.11924/j.issn.1000-6850.casb2023-0212

Previous Articles     Next Articles

Multi-angle Volume Detection and Grading of ‘Cuiguan’ Pear Based on OpenCV

LIU Xian1(), CHEN Junsheng2, ZHAO Yuhui2   

  1. 1 Digital Agriculture Research Institute, Fujian Academy of Agricultural Sciences, Fuzhou 350003
    2 School of Computer Science and Technology, Fujian Agriculture and Forest University, Fuzhou 350003
  • Received:2023-03-15 Revised:2023-05-22 Online:2023-08-05 Published:2023-07-28

Abstract:

In order to improve the intelligence and efficiency of ‘Cuiguan’ pear size detection and grading, the research on ‘Cuiguan’ pear size detection and grading was conducted based on OpenCV machine vision technology from multiple perspectives. On the self-developed image acquisition system test platform, 100 images of ‘Cuiguan’ pear were collected from multiple angles as test samples. Based on the images, Python language and OpenCV computer vision library programming were used to solve the pixel values of the single angle size of ‘Cuiguan’ pear. Then the fruit size pixel values were calculated from multiple angles. To verify the effect of grading, ‘Cuiguan’ pear were graded according to the local standards of Fujian Province and compared with the traditional weight grading method. The test results show that using machine vision technology to detect and grade the fruit size from multiple angles based on the ‘Cuiguan’ pear image is an intelligent grading method with certain feasibility, reaching a grading accuracy of 97%. The research results can provide technical reference for the size grading method of ‘Cuiguan’ pear based on machine vision.

Key words: ‘Cuiguan’ pear, image, OpenCV, grading