Skip to main content
QUICK REVIEW

[Paper Review] Deep Mangoes: from fruit detection to cultivar identification in colour images of mango trees

Philippe Borianne, Frédéric Borne|arXiv (Cornell University)|Sep 24, 2019
Smart Agriculture and AIAgricultural and Biological Sciences35 references15 citations
TL;DR

This paper proposes a Faster R-CNN-based approach for detecting mango fruits and identifying their cultivars (Kent, Keitt, Boucodiekhal) in high-resolution color images of mango trees. It achieves a F1-score of 0.90 for fruit detection in 500×500 pixel tiles and 0.56 for joint detection and identification, with 80% cultivar classification accuracy on detected fruits, suggesting potential for integration with Mask R-CNN and dual-stream Faster R-CNN for improved performance.

ABSTRACT

This paper presents results on the detection and identification mango fruits from colour images of trees. We evaluate the behaviour and the performances of the Faster R-CNN network to determine whether it is robust enough to "detect and classify" fruits under particularly heterogeneous conditions in terms of plant cultivars, plantation scheme, and visual information acquisition contexts. The network is trained to distinguish the 'Kent', 'Keitt', and "Boucodiekhal" mango cultivars from 3,000 representative labelled fruit annotations. The validation set composed of about 7,000 annotations was then tested with a confidence threshold of 0.7 and a Non-Maximal-Suppression threshold of 0.25. With a F1-score of 0.90, the Faster R-CNN is well suitable to the simple fruit detection in tiles of 500x500 pixels. We then combine a multi-tiling approach with a Jaccard matrix to merge the different parts of objects detected several times, and thus report the detections made at the tile scale to the native 6,000x4,000 pixel size images. Nonetheless with a F1-score of 0.56, the cultivar identification Faster R-CNN network presents some limitations for simultaneously detecting the mango fruits and identifying their respective cultivars. Despite the proven errors in fruit detection, the cultivar identification rates of the detected mango fruits are in the order of 80%. The ideal solution could combine a Mask R-CNN for the image pre-segmentation of trees and a double-stream Faster R-CNN for detecting the mango fruits and identifying their respective cultivar to provide predictions more relevant to users' expectations.

Motivation & Objective

  • To develop a robust deep learning system for detecting and identifying mango fruits in complex, heterogeneous agricultural imaging conditions.
  • To evaluate the performance of Faster R-CNN in detecting and classifying three major mango cultivars (Kent, Keitt, Boucodiekhal) under variable lighting, tree structure, and imaging conditions.
  • To address the challenge of scale and object fragmentation by combining multi-tiling with spatial merging using the Jaccard matrix.
  • To assess the feasibility of joint fruit detection and cultivar classification in high-resolution images (6,000×4,000 pixels).
  • To identify limitations in current detection and classification performance and propose a more effective architecture for real-world agricultural applications.

Proposed method

  • Training a Faster R-CNN model on 3,000 annotated mango fruit instances across three cultivars: Kent, Keitt, and Boucodiekhal.
  • Using a confidence threshold of 0.7 and Non-Maximal Suppression threshold of 0.25 for post-processing detections in tile-based inference.
  • Applying a multi-tiling strategy to process large 6,000×4,000 pixel images by dividing them into 500×500 pixel tiles.
  • Employing the Jaccard matrix to merge overlapping detections across adjacent tiles and reconstruct full-image object locations.
  • Evaluating detection and classification performance on a validation set of approximately 7,000 annotations.
  • Proposing a hybrid architecture combining Mask R-CNN for tree image segmentation and a dual-stream Faster R-CNN for simultaneous fruit detection and cultivar classification.

Experimental results

Research questions

  • RQ1Can Faster R-CNN reliably detect mango fruits in highly variable color and structural conditions across different cultivars?
  • RQ2How effective is Faster R-CNN in jointly detecting mango fruits and identifying their cultivar under real-world imaging constraints?
  • RQ3To what extent does multi-tiling with Jaccard-based merging improve detection consistency across large-scale images?
  • RQ4What are the primary failure modes in joint detection and classification, and how can they be mitigated?
  • RQ5Is a dual-stream Faster R-CNN architecture more effective than a single-stream approach for simultaneous fruit detection and cultivar identification?

Key findings

  • The Faster R-CNN achieved a F1-score of 0.90 for fruit detection in 500×500 pixel image tiles, indicating strong detection performance under controlled tile conditions.
  • The joint detection and cultivar identification task yielded a F1-score of 0.56, indicating significant challenges in simultaneous object detection and fine-grained classification.
  • Despite detection errors, the cultivar identification accuracy on detected fruits reached approximately 80%, suggesting robustness in classification when detection is reliable.
  • The multi-tiling approach with Jaccard matrix merging successfully reconstructed full-image detections from fragmented tile-level results.
  • The study identifies limitations in current single-stream Faster R-CNN for joint detection and classification, motivating a dual-stream architecture.
  • The authors conclude that combining Mask R-CNN for tree segmentation with a double-stream Faster R-CNN offers a more effective solution for real-world agricultural vision tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.