Research on High Performance Apple Recognition Model Construction Strategy Based on Deep Learning

Authors

  • Yixuan Wang
  • Zhengkun Su

DOI:

https://doi.org/10.54097/334ks329

Keywords:

Computer Vision, Apple Recognition, Faster R-CNN, Deep Learning.

Abstract

In order to improve the working efficiency and environmental adaptability of apple picking robots, which can realize accurate recognition and localization, ripening assessment, and quality assessment under complex situations such as "leaf occlusion", "branch occlusion", "fruit occlusion", "mixed occlusion", etc., this paper proposes a Faster R-CNN-based apple recognition method. "mixed occlusion" and other complex situations to achieve accurate recognition and localization, maturity assessment, quality assessment, the paper proposes an apple recognition method based on Faster R-CNN. The method combines the cv2.inRange and cv2.fitEllipse functions in OpenCV to optimize the model, and performs color segmentation and shape fitting by setting up color and shape thresholds to recognize apples. The trained model was tested to have a recall of 88.44% under the validation set, an accuracy of 90.35%, an F1 value of 89.38%, and a recognition time of about 0.3 s per image.The experimental results showed that the number of apples in the dataset showed a normal distribution, with the number distributed more in the range of 0 to 10. Candidate frames are screened by RPN, and apple coordinates are derived based on the coordinate transformation formula, and the experimental results show that the apples are more densely distributed near the range of x=100, y=100. The image color distribution was extracted through color histogram, and the entropy value of GLCM, contrast as the texture feature of apples, and the classification prediction of apple ripeness was carried out by using Random Forest Model, and the accuracy of the model prediction was 83.2%, the precision rate was 84.1%, and the recall rate was 83.5%, and the experimental results showed that 88.7% of the apples were ripe. Image edges were extracted by the Canny edge detection algorithm and the area values of pixel points within the edges were calculated. The ratio of pixel area converted to apple mass was estimated to be 0.007 based on the image resolution and apple density, and the test results indicated that the mass of apples was mostly concentrated in the range of 0~100g.

Downloads

Download data is not yet available.

References

Taixiong Zheng, Mingzhe Jiang, Mingchi Feng. A review of research on vision-based target recognition and localisation methods for picking robots[J]. Journal of Instrumentation,2021,42(09):28-51.

LIU X, ZHAO D, JI W, et al. A detection method for apple fruits based on colour and shape features[J]. IEEE Access, 2019, 7: 67923-67933.

MENG Y H, WANG J Q, TIAN E L, et al. Research on navigation of agricultural UAV based on single chip microcomputer control [J]. Mechanization Research,2020, 42(3): 245-248.

Zaar* E A, Assawab R,Aoulalay A, et al.MFTs-Net: A Deep Learning Approach for High Similarity Date Fruit Recognition[J].Journal of Advances in Information Technology,2023,14(6).

Keying R, Xiaoyan C, Zichen W, et al. Fruit Recognition Based on YOLOX*[J]. Proceedings of the International Conference on Artificial Life and Robotics,2022,27470-473.

Singh H G, Ganpathy M, Singh B K, et al.Fruit recognition from images using deep learning applications[J].Multimedia Tools and Applications,2022, 81(23):33269-33290.

WAN Shaohua, GOUDOS S. Faster R-CNN for multi-class fruit detection using a robotic vision system[J]. Computer Networks, 2019, 168: 107036.

MA J, LU A, CHEN C, et al. YOLOv5-lotus an efficient object detection method for lotus seedpod in a natural environment[J]. Computers and Electronics in Agriculture, 2023, 206: 107635.

HU Weixin, XIONG Juntao, Liang Junhao, et al. A method of citrus epidermis defects detection based on an improved YOLOv5[J].14 Biosystems Engineering, 2023, 227: 19-35.

CAO Z, MEI F, ZHANG D, et al. Recognition and detection of persimmon in a natural environment based on an improved YOLOv5 model[J]. Electronics, 2023, 12(4): 785.

Downloads

Published

16-05-2024

How to Cite

Wang, Y., & Su, Z. (2024). Research on High Performance Apple Recognition Model Construction Strategy Based on Deep Learning. Highlights in Science, Engineering and Technology, 98, 295-302. https://doi.org/10.54097/334ks329