Skip to main content

Computer Vision System to Detect Maturity of Tomatoes in Real Time Using Deep Learning

  • Conference paper
  • First Online:
Advances in Distributed Computing and Machine Learning

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 302))

  • 695 Accesses

Abstract

Tomatoes form a key ingredient in Indian cuisines. Hence it’s vital to enhance the productivity of tomatoes. This is done by introducing automation in the agricultural sector. Automation not only increases the productivity but also improves the quality. Automation in agriculture makes use of computer vision to detect tomatoes. In this paper, a computer vision system is developed to identify and classify the various stages of maturity in a tomato using deep learning. A database to train the deep learning model is prepared by collecting images of tomatoes displaying various stages of maturity. Images were collected not only based on maturity of tomato but also based on the way tomatoes were located on the plant (single tomato, adjacent tomatoes, tomato partially shaded by leaves). Here we have evaluated three neural network architectures namely AlexNet, GoogLeNet and ResNet-50. Based on the evaluation, it was concluded that ResNet-50 performs better in terms of training time and accuracy. The developed system comprises of ResNet-50 integrated with YOLO v2 and is tested in real time. The accuracy rate for detection of tomatoes in real time using the proposed system is 90%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 299.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Dias, J.S., Ortiz, R.: Transgenic vegetable crops: progress, potentials, and prospects. Plant Breed. Rev. 35(1), 151–246 (2012)

    Google Scholar 

  2. Ghoulem, M., Moueddeb, K.E., Nehdi, E., Boukhanouf, R., Calautit, J.K.: Greenhouse design and cooling technologies for sustainable food cultivation in hot climates: Review of current practice and future status. Biosys. Eng. 183, 121–150 (2019)

    Article  Google Scholar 

  3. Arefi, A., Mollazade, K., Motlagh, A.M., Teimourlou, R.F.: Recognition and localization of ripen tomato based on machine vision. Aust. J. Crop Sci. 5(10), 1144–1149 (2011)

    Google Scholar 

  4. Whittaker, A.D., Miles, G.E., Mitchell, O.R., Gaultney, L.D.: Fruit location in a partially occluded image. Am. Soc. Agri. Eng. 30(3), 591–596 (1987)

    Article  Google Scholar 

  5. Laykin, S., Alchanatis, V., Fallik, E., Edan, Y.: Image processing algorithms for tomato classification. Am. Soc. Agri. Eng. 45(3), 851–858 (2002)

    Google Scholar 

  6. Malik, M.H., Zhang, T., Li, H., Zhnag, M., Shabbir, S., Saeed, A.: Mature tomato fruit detection algorithm based on improved HSV and watershed algorithm. Int. Federat. Automat. Control 51(17), 431–436 (2018)

    Google Scholar 

  7. Zhong, L., Hu, L., Zhou, H.: Deep learning based multi-temporal crop classification. Remote Sens. Environ. 221, 430–443 (2018)

    Article  Google Scholar 

  8. Zhang, L., Jia, J., Gui, G., Hao, H., Gao, W., Wang, M.: Deep learning based improved classification system for designing tomato harvesting robot. IEEE Access 6, 67940–67950 (2018)

    Article  Google Scholar 

  9. Wan, P., Toudeshiki, A., Tan, H., Ehsan, R.: A methodology for fresh tomato maturity detection using computer vision. Comput. Electron. Agric. 146, 43–50 (2018)

    Article  Google Scholar 

  10. Hu, C., Liu, X., Pan, Z., Li, P.: Automatic detection of single ripe tomato on plant combining faster R-CNN and intuitionistic fuzzy set. IEEE Access 7, 154683–154696 (2019)

    Article  Google Scholar 

  11. Saeed, N., King, N., Said, Z., Omar, M.A.: Automatic defects detection in CFRP thermograms using convolutional neural networks and transfer learning. Infrared Phys. Technol. 102, 103048 (2019)

    Google Scholar 

  12. Sharma, N., Jain, V., Mishra, A.: An analysis of convolutional neural networks for image classification. Procedia Comput. Sci. 132, 377–384 (2018)

    Article  Google Scholar 

  13. Krizhevsky, A., Sutskever, I., Hinton, G.E.: ImageNet classification with deep convolutional neural networks. Commun. ACM 60, 84–90 (2017)

    Article  Google Scholar 

  14. Safadinho, D., Ramos, J., Ribeiro, R., Filipe, V., Barroso, J., Pereira, A.: UAV landing using computer vision techniques for human detection. Sensors 20(3), 1–36 (2020)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mulla, N.A., Ravichandran, S., Naik, P.K., Balappa, B.U. (2022). Computer Vision System to Detect Maturity of Tomatoes in Real Time Using Deep Learning. In: Sahoo, J.P., Tripathy, A.K., Mohanty, M., Li, KC., Nayak, A.K. (eds) Advances in Distributed Computing and Machine Learning. Lecture Notes in Networks and Systems, vol 302. Springer, Singapore. https://doi.org/10.1007/978-981-16-4807-6_48

Download citation

Publish with us

Policies and ethics