Affiliation:
1. Department of Mechanical Engineering, Indian Institute of Technology, Kharagpur, West Bengal, India
2. Department of Electrical Engineering, Indian Institute of Technology, Kharagpur, West Bengal, India
Abstract
Automated assessment of tomato crop maturity is vital for improving agricultural productivity and reducing food waste. Traditionally, farmers have relied on visual inspection and manual assessment to predict tomato maturity, which is prone to human error and time-consuming. Computer vision and deep learning automate this process by analysing visual characteristics, enabling data-driven harvest decisions, optimising quality, and reducing waste for sustainable and efficient agriculture. This research demonstrates deep learning models accurately classifying tomato maturity stages using computer vision techniques, utilising a novel dataset of 4,353 tomato images. The Vision Transformer (ViT) model exhibited superior performance in classifying tomatoes into three ripeness categories (immature, mature, and partially mature), achieving a remarkable testing accuracy of 98.67% and the Convolution neural network (CNN) models, including EfficientNetB1, EfficientNetB5, EfficientNetB7, InceptionV3, ResNet50, and VGG16, achieved testing accuracies of 88.52%, 89.84%, 91.16%, 90.94%, 93.15%, and 92.27%, respectively, when tested with unseen data. ViT significantly surpassed the performance of CNN models. This research highlights the potential for deploying ViT in agricultural environments to monitor tomato maturity stages and packaging facilities smartly. Transformer-based systems could substantially reduce food waste and improve producer profits and productivity by optimising fruit harvest time and sorting decisions.
Reference56 articles.
1. Maturity detection of tomatoes using transfer learning;Begum;Measurement: Food,2022
2. P. Nahak, K. Pansuriya, D.K. Pratihar and A.K. Deb, Vision transformer-based transfer learning approach for tomato maturity stage classification. In: Proceedings of the 15th International Conference on Soft Computing and Pattern Recognition. Springer (2024).
3. Online tomato sorting based on shape, maturity, size, and surface defects using machine vision;Arjenaki;Turkish Journal of Agriculture and Forestry,2013
4. R. Damayanti, Y. Hendrawan, B. Susilo, S. Oktavia, et al., Prediction of tomatoes maturity using tcs3200 color sensor. In: IOP Conference Series: Earth and Environmental Science. vol 475, IOP Publishing (2020), p. 012011.
5. Application of hyperspectral imaging as a nondestructive technology for identifying tomato maturity and quantitatively predicting lycopene content;Dai;Foods,2023