Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Plant Sci.

Sec. Technical Advances in Plant Science

Volume 16 - 2025 | doi: 10.3389/fpls.2025.1636727

Research on Persimmon Fruit Diameter Accurate Detection Method Based on Improved RCNN Instance Segmentation Algorithm

Provisionally accepted
  • 1School of Horticulture college, Anhui Agricultural University, Hefei, China
  • 2Institute of Vegetables, Anhui Academy of Agricultural Sciences, Hefei, China
  • 3School of Mechanical Engineering, Anhui University of Technology, Ma’anshan,, China
  • 4College of Information Engineering, Shaoxing Vocational & Technical College, Shaoxing, China

The final, formatted version of the article will be published soon.

Aiming at the problem of inaccurate fruit recognition and fruit diameter detection in persimmon inspection process, this research proposes a novel persimmon accurate recognition and fruit diameter detection algorithm based on the Region-based Convolutional Neural Network (RCNN) Mask and instance segmentation algorithm. The algorithm strategically targets the object of interest by integrating cropping, morphological processing, and concave point segmentation modules into the fully connected layer following the Region of Interest (RoI) feature. Initially, the algorithm separates the front and back background of the cropped target object using morphological processing to obtain a binarized image. Subsequently, concave point segmentation is applied to address sticking issues arising from overlapping or occlusion between fruits, while a template matching algorithm helps in image recognition. The improved instance segmentation algorithm enhances the segmentation accuracy of the target fruit and reduces the relative error in the fruit diameter measurement caused by sticking problems during occlusion and overlap. Notably, compared with the original algorithm, the improved Mask RCNN instance segmentation algorithm achieves a mean Average Precision (mAP) of 94.25%, representing an improvement of 8.05%, with the Mean Intersection-over-Union (MIoU) value increases by 18.5%. The maximum relative error in fruit diameter measurement is reduced to 1.3%, while the maximum relative error in fruit thickness measurement is 1.98%, meeting the stringent requirements of orchard inspection. Overall, the proposed method enhances the precision and accuracy of fruit diameter detection, offering valuable theoretical and technical insights for intelligent inspection, yield estimation, fruit detection, and mechanized picking in the agricultural domain.

Keywords: Persimmon recognition, Fruit diameter detection, Mask RCNN, Instance segmentation algorithm, binarization

Received: 28 May 2025; Accepted: 16 Jul 2025.

Copyright: © 2025 Fang, Liu, Feng, Chen and Jiang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Yangyang Liu, School of Mechanical Engineering, Anhui University of Technology, Ma’anshan,, China
HaiKun Jiang, Institute of Vegetables, Anhui Academy of Agricultural Sciences, Hefei, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.