Skip to main content

Developing a Tool to Classify Different Types of Fruits Using Deep Learning and VGG16

  • Conference paper
  • First Online:
Intelligent Computing & Optimization (ICO 2022)

Abstract

In this paper, we present two methods for the classification of fruits of Bangladesh from image processing techniques. We have used deep learning convolutional neural network in our model and VGG16 in another model. From both models, we have found 99% accuracy. Initially, we used only five classes (apple, orange, jackfruit, watermelon, banana) for building these models. Evaluating our model gives us accuracy on the test dataset and by inputting one fruit image our model predicts the fruit what it is. We have checked and experimented with our model several times that it can detect fruit accurately from single fruit images. If our model goes through further improvement, it can be an application that will help shopkeepers or farmers on fixing price calculations on both online and offline platforms.

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Hossen, M.S., Arefin, M.S., Karim, R.: Developing a framework for fruits detection from images (2017). https://doi.org/10.1109/ECACE.2017.7913041

  2. Shamim Hossain, M., Al-Hammadi, M., Muhammad, G.: Automatic fruit classification using deep learning for industrial applications. IEEE Trans. Ind. Inform. 15(2) (2019). https://doi.org/10.1109/TII.2018.2875149

  3. Behera, S.K., Rath, A.K., Sethy, P.K.: Fruit recognition using support vector machine based on deep features. Karbala Int. J. Mod. Sci. 6(2) (2020). https://doi.org/10.33640/2405-609X.1675

  4. Bhargava, A., Bansal, A.: Automatic detection and grading of multiple fruits by machine learning. Food Anal. Methods 13(3), 751–761 (2019). https://doi.org/10.1007/s12161-019-01690-6

    Article  Google Scholar 

  5. Feng, J., Zeng, L., Liu, G., Si, Y.: Fruit recognition algorithm based on multi-source images fusion. Nongye Jixie Xuebao/Trans. Chin. Soc. Agric. Mach. 45(2) (2014). https://doi.org/10.6041/j.issn.1000-1298.2014.02.013

  6. Feng, J., Zeng, L., He, L.: Apple fruit recognition algorithm based on multi-spectral dynamic image analysis. Sensors (Switzerland) 19(4) (2019). https://doi.org/10.3390/s19040949

  7. Patel, H.N., Jain, D.R.K., Joshi, D.M.V.: Fruit detection using improved multiple features based algorithm. Int. J. Comput. Appl. 13(2) (2011). https://doi.org/10.5120/1756-2395

  8. Sreekanth, G.R., Thangaraj, P., Kirubakaran, S.: Fruit detection using improved K-means algorithm. J. Crit. Rev. 7(12) (2020). https://doi.org/10.31838/jcr.07.12.02

  9. Naranjo-Torres, J., Mora, M., Hernández-García, R., Barrientos, R.J., Fredes, C., Valenzuela, A.: A review of convolutional neural network applied to fruit image processing. Appl. Sci. (Switzerland) 10(10) (2020). https://doi.org/10.3390/app10103443

  10. Sahu, D., Dewangan, C.: Identification and classification of mango fruits using image processing. Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol. 2(2), 203–210 (2017)

    Google Scholar 

  11. Chithra, P.L., Henila, M.: Fruits classification using image processing techniques. Int. J. Comput. Sci. Eng. 2(2) (2019)

    Google Scholar 

  12. Joseph, J.L., Kumar, V.A., Mathew, S.P.: Fruit classification using deep learning. In: Mekhilef, S., Favorskaya, M., Pandey, R.K., Shaw, R.N. (eds.) Innovations in Electrical and Electronic Engineering, vol. 756, pp. 807–817. Springer, Singapore (2021). https://doi.org/10.1007/978-981-16-0749-3_62

    Chapter  Google Scholar 

  13. Saranya, N., Srinivasan, K., Pravin Kumar, S.K., Rukkumani, V., Ramya, R.: Fruit classification using traditional machine learning and deep learning approach. In: Smys, S., Tavares, J.M.R.S., Balas, V.E., Iliyasu, A.M. (eds.) Computational Vision and Bio-Inspired Computing. AISC, vol. 1108, pp. 79–89. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-37218-7_10

    Chapter  Google Scholar 

  14. Sa, I., Ge, Z., Dayoub, F., Upcroft, B., Perez, T., McCool, C.: Deepfruits: a fruit detection system using deep neural networks. Sensors (Switzerland) 16(8) (2016). https://doi.org/10.3390/s16081222

  15. Barbole, D.K., Jadhav, P.M., Patil, S.B.: A review on fruit detection and segmentation techniques in agricultural field. In: Chen, J.-Z., Tavares, J.M.R.S., Iliyasu, A.M., Du, K.-L. (eds.) Second International Conference on Image Processing and Capsule Networks, vol. 300, pp. 269–288. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-84760-9_24

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohammad Shamsul Arefin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ahsan, M. et al. (2023). Developing a Tool to Classify Different Types of Fruits Using Deep Learning and VGG16. In: Vasant, P., Weber, GW., Marmolejo-Saucedo, J.A., Munapo, E., Thomas, J.J. (eds) Intelligent Computing & Optimization. ICO 2022. Lecture Notes in Networks and Systems, vol 569. Springer, Cham. https://doi.org/10.1007/978-3-031-19958-5_61

Download citation

Publish with us

Policies and ethics