[Paper Review] Fruit recognition from images using deep learning
This paper introduces the Fruits-360 dataset, a high-quality collection of 90,483 images across 131 fruit and vegetable classes, and presents a deep convolutional neural network trained on this data for accurate fruit recognition. Using a custom TensorFlow model with HSV and grayscale feature fusion, the system achieves high accuracy in classifying diverse fruits, demonstrating strong performance for applications in automated harvesting and retail robotics.
In this paper we introduce a new, high-quality, dataset of images containing fruits. We also present the results of some numerical experiment for training a neural network to detect fruits. We discuss the reason why we chose to use fruits in this project by proposing a few applications that could use this kind of neural network.
Motivation & Objective
- To create a high-quality, diverse, and publicly available dataset of fruit and vegetable images for training robust object recognition models.
- To develop a deep neural network capable of accurately recognizing a wide variety of fruits from natural images, even under challenging visual conditions.
- To explore the feasibility of using deep learning for real-world applications such as autonomous fruit harvesting and in-store robotic inspection.
- To evaluate the effectiveness of multi-spectral input (RGB, HSV, grayscale) fusion in improving classification performance.
- To provide a reproducible, open-source framework for fruit recognition using TensorFlow and transferable model architecture.
Proposed method
- The Fruits-360 dataset was collected from natural environments, including stores and orchards, with careful annotation and background control to reduce noise.
- A custom deep learning model was built using TensorFlow, incorporating a novel input layer that converts RGB images to HSV and grayscale, then concatenates them into a 4-channel input.
- The network architecture consists of four convolutional blocks with ReLU activation, max-pooling layers, and two fully connected layers with dropout regularization for generalization.
- Data augmentation and transfer learning techniques were applied during training using the ImageDataGenerator for improved robustness and convergence.
- Model training used sparse categorical cross-entropy loss and Adadelta optimizer with learning rate reduction on plateau and model checkpointing.
- Performance was evaluated using test accuracy, loss, confusion matrices, and classification reports on a held-out test set.
Experimental results
Research questions
- RQ1Can a deep convolutional neural network achieve high accuracy in recognizing a broad range of fruits from real-world images?
- RQ2How does the fusion of HSV and grayscale features improve fruit classification performance compared to RGB-only input?
- RQ3To what extent does a curated, high-quality dataset with minimal background noise enhance model generalization and accuracy?
- RQ4Can a single deep learning model effectively distinguish between visually similar fruits, such as oranges and grapefruits in the citrus family?
- RQ5How well does the model perform on out-of-distribution fruit types not seen during training?
Key findings
- The Fruits-360 dataset contains 90,483 high-quality images of 131 distinct fruit and vegetable classes, collected from real-world settings to minimize background noise.
- The proposed deep learning model achieved high test accuracy, with the final model reporting a test accuracy of approximately 95% on the 131-class classification task.
- The inclusion of HSV and grayscale features in the input improved model performance by providing complementary color and intensity information.
- The model demonstrated strong generalization, achieving high accuracy even on visually similar fruits such as citrus varieties.
- The use of data generators with augmentation and early stopping with learning rate reduction significantly improved training stability and convergence.
- The trained model was successfully evaluated using confusion matrices and classification reports, showing consistent performance across most classes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.