Nothing Special   »   [go: up one dir, main page]

Skip to main content

Advertisement

Log in

A novel deep learning neural network for fast-food image classification and prediction using modified loss function

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Accurate food image classification is often critical to accurately monitor the dietary assessment to reduce the risk of different heart-related diseases, obesity, diabetes, and other related health conditions. The accuracy and efficiency of image classification results when using traditional deep learning methods were less than optimal. This research aimed at enhancing the classification and prediction accuracy of food images and reducing the processing time by using the Deep Convolutional Neural Network (DCN) algorithm. The solution starts by using the Modified Loss function, the images are fed into the DCN for features extraction through alternating between convolutional layers and pooling layers, then this is followed by a fully connected layer. Finally, the Softmax function is used to classify the images. The result was compared during the classification phase in the DCN. The proposed solution enhanced the accuracy of the classification by using the regularized loss function and lowered the processing time by decreasing the weights of the neurons in the neural network. Probability score is used as the evaluation metric for the accuracy, and total execution time is used as the evaluation metric for the speed of the algorithm. The combination of deep neural network with regularized cross entropy cost function has improved the fast-food images classification by ahcieving better processing time by 40 ~ 50s and accuracy by 5% in average.

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

Access this article

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

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Bossard L, Guillaumin M, Van Gool L. (2014). Food-101 – mining discriminative components with random forests. European conference on computer vision. Retrieved from https://www.vision.ee.ethz.ch/datasets_extra/food-101/

  2. Chen Y, Tao J, Liu L (2020) Research of improving semantic image segmentation based on a feature fusion model. J Ambient Intell Human Comput 2020. https://doi.org/10.1007/s12652-020-02066-z

  3. Ciocca G, Napoletano P, Schettini R (2017) Food recognition: a new dataset, experiments and results. IEEE J Biomed Health Inform 21(3):588–599. https://doi.org/10.1109/JBHI.2016.2636441

    Article  Google Scholar 

  4. Emmanuel WRS, Minija SJ (2018) Fuzzy clustering and Whale-based neural network to food recognition and calorie estimation for daily dietary assessment. Sadhana 43(78):1–19. https://doi.org/10.1007/s12046-018-0865-3Sad

    Article  MathSciNet  Google Scholar 

  5. Graesser L (2016) Regularization for Neural Networks. Retrieved from https://learningmachinelearningdotorg.files.wordpress.com/2016/07/regularization.pdf

  6. Khaw HY, Soon FC, Chuah JH, Chow CO (2017) Image noise types recognition using convolutional neural network with principal components analysis. IET Image Process 11(12):1238–1245. https://doi.org/10.1049/iet-ipr.2017.0374

    Article  Google Scholar 

  7. Laarhoven TV (2017) L2 Regularization versus Batch and Weight Normalization. Retrieved from https://arxiv.org/pdf/1706.05350.pdf

  8. Lee MC, Chiu SY, Chang JW (2016) A deep convolutional neural network based Chinese menu recognition app. Inf Process Lett 128:14–20. https://doi.org/10.1016/j.ipl.2017.07.010

    Article  MathSciNet  Google Scholar 

  9. Liang H, Gao Y, Sun Y, Sun X (2018) CEP: calories estimation from food photos. Int J Comput Appl:1–9. https://doi.org/10.1080/1206212X.2018.1486558

  10. Liu C, Cao Y, Luo Y, Chen G, Vokkarane V, Yunsheng M, Chen S, Hou P (2018) A new deep learning-based food recognition system for dietary assessment on an edge computing service infrastructure. IEEE Trans Serv Comput 11(2):249–260 Retrieved from www.ieee.org/publications_standards/publications/rights/index.html

    Article  Google Scholar 

  11. Lu X, Wang W, Shen J, Crandall D, Luo J (2020) Zero-Shot Video Object Segmentation with Co-Attention Siamese Networks. IEEE Trans Pattern Anal Mach Intell. https://doi.org/10.1109/TPAMI.2020.3040258

  12. Lu X, Ma C, Shen J, Yang X, Reid I, Yang M Deep Object Tracking with Shrinkage Loss. IEEE Trans Pattern Anal Mach Intell. https://doi.org/10.1109/TPAMI.2020.3041332

  13. McAllister P, Zheng H, Bond R, Moorhead A (2018) Combining deep residual neural network features with supervised machine learning algorithms to classify diverse food image datasets. Comput Biol Med 95:217–233. https://doi.org/10.1016/j.compbiomed.2018.02.008

    Article  Google Scholar 

  14. Mezgec S, Seljak BK (2017) NutriNet: a deep learning food and drink image recognition system for dietary assessment. Nutrients 9(657):1–19. https://doi.org/10.3390/nu9070657

    Article  Google Scholar 

  15. Mezgec S, Eftimov T, Bucher T, Seljak BK (2018) Mixed deep learning and natural language processing method recognition recognition and standardization to help automated dietary assessment. Publ Health Nutr:1–10. https://doi.org/10.1017/S1368980018000708

  16. Minija SJ, Emmanuel WRS (2017) Neural network classifier and multiple hypothesis image segmentation for dietary assessment using calorie calculator. Imaging Sci J 65(7):379–392. https://doi.org/10.1080/13682199.2017.1356610

    Article  Google Scholar 

  17. Murphy J (2016). An overview of convolutional neural network architectures for deep learning. Semantic scholar. Retrieved from https://www.semanticscholar.org/paper/An-Overview-of-Convolutional-Neural-Network-for-Murphy/64db333bb1b830f937b47d786921af4a6c2b3233

  18. Nielsen MA (2015). Neural network and deep learning. Determination press. Retrieved from https://apps.csu.edu.au/reftool/apa-6/book#single-author.

  19. Ochiai T, Matsuda S, Watanabe H, Katagiri S (2016) Automatic node selection for Deep neural networks using group Lasso regularization. Retrieved from https://arxiv.org/pdf/1611.05527.pdf

  20. O'Shea K, Nash R (2015) An introduction to convolutional neural networks. ArXiv e-prints. Retrieved from https://www.researchgate.net/publication/285164623

  21. Pelt DM, Sethian JA (2017) A mixed-scale dense convolutional neural network for image analysis. Pnas 115(2):254–259 Retrieved from http://www.pnas.org/content/suppl/2017/12/21/1715832114.DCSupplemental

    Article  MathSciNet  Google Scholar 

  22. Podutwar AA, Pawar PD, Shinde AV (2017) A Food Recognition System for Calorie Measurement. Int J Adv Res Comput Commun Eng 6(1):243–248. https://doi.org/10.17148/IJARCCE.2017.6146

    Article  Google Scholar 

  23. Poernomo A, Kang DK (2018) Biased dropout and Crossmap dropout: learning towards effective dropout regularization in convolutional neural network. Neural Networks 104:60–67. https://doi.org/10.1016/j.neunet.2018.03.016

    Article  Google Scholar 

  24. Pouladzadeh P, Shirmohammadi S (2017) Mobile Multi-Food Recognition Using Deep Learning. ACM Trans. Multimedia Comput Commun Appl 13(3s):36:1–36:21. https://doi.org/10.1145/3063592

    Article  Google Scholar 

  25. Salvador A, Drozdzal M, Giro-i-Nieto X, Romero A (2019) "inverse cooking: recipe generation from food images," 2019 IEEE/CVF conference on computer vision and Pattern recognition (CVPR). Long Beach, CA, USA 2019:10445–10454. https://doi.org/10.1109/CVPR.2019.01070

    Article  Google Scholar 

  26. Sun X, Qian H (2016) Chinese herbal medicine image recognition and retrieval by convolutional neural network. PLoS One 11(6):1–19. https://doi.org/10.1371/journal.pone.0156327

    Article  Google Scholar 

  27. Zhang XJ, Lu YF, Zhang SH (2016) Multi-task learning for food identification and analysis with deep convolutional neural networks. J Comput Sci Technol 31(3):489–500. https://doi.org/10.1007/s11390-016-1642-

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abeer Alsadoon.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

Table 8 Abbreviation for the term used

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Lohala, S., Alsadoon, A., Prasad, P.W.C. et al. A novel deep learning neural network for fast-food image classification and prediction using modified loss function. Multimed Tools Appl 80, 25453–25476 (2021). https://doi.org/10.1007/s11042-021-10916-x

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-021-10916-x

Keywords