Skip to main content

Recognition and Quantity Estimation of Pastry Images Using Pre-training Deep Convolutional Networks

  • Conference paper
  • First Online:
Future Data and Security Engineering. Big Data, Security and Privacy, Smart City and Industry 4.0 Applications (FDSE 2020)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1306))

Included in the following conference series:

Abstract

It has recently been demonstrated that food recognition systems opened to an exciting challenge for computer vision and machine learning. These systems’ actual benefit depends on the recognition capacity of models in unconstrained environments and application scenarios. In this paper, the authors collect a real-world dataset for the evaluation of object recognition algorithms. The images have been taken in a real bakery shop with cakes arranged in many different ways on a tray. Each tray can have zero or many cakes. The authors have collected a set of 1289 bakery trays for a total of 16 different categories. Then we evaluate several off-the-shelf deep architectures to recognize pastry tray and take into account the recognition accuracy and operation time. Excellent accuracy of 100% is achieved within 20 frames per second. Finally, we integrate the best approach into our self-developed website that (i) recognizes the cakes on the tray and (ii) makes the invoice. This work is the first regarding our collected dataset and the application scenario.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Notes

  1. 1.

    https://github.com/tzutalin/labelImg.

References

  1. Agarwal, S., Terrail, J.O.D., Jurie, F.: Recent advances in object detection in the age of deep convolutional neural networks. arXiv preprint arXiv:1809.03193 (2018)

  2. Anthimopoulos, M.M., Gianola, L., Scarnato, L., Diem, P., Mougiakakou, S.G.: A food recognition system for diabetic patients based on an optimized bag-of-features model. IEEE J. Biomed. Health Inform. 18(4), 1261–1271 (2014)

    Article  Google Scholar 

  3. Attokaren, D.J., Fernandes, I.G., Sriram, A., Murthy, Y.S., Koolagudi, S.G.: Food classification from images using convolutional neural networks. In: TENCON 2017–2017 IEEE Region 10 Conference, pp. 2801–2806. IEEE (2017)

    Google Scholar 

  4. Bossard, L., Guillaumin, M., Van Gool, L.: Food-101 – mining discriminative components with random forests. In: Fleet, D., Pajdla, T., Schiele, B., Tuytelaars, T. (eds.) ECCV 2014. LNCS, vol. 8694, pp. 446–461. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-10599-4_29

    Chapter  Google Scholar 

  5. Cai, Z., Fan, Q., Feris, R.S., Vasconcelos, N.: A unified multi-scale deep convolutional neural network for fast object detection. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, vol. 9908, pp. 354–370. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46493-0_22

    Chapter  Google Scholar 

  6. Chen, X., Zhu, Y., Zhou, H., Diao, L., Wang, D.: ChinesefoodNet: a large-scale image dataset for Chinese food recognition. arXiv preprint arXiv:1705.02743 (2017)

  7. Ciocca, G., Napoletano, P., Schettini, R.: Food recognition: a new dataset, experiments, and results. IEEE J. Biomed. Health Inform. 21(3), 588–598 (2016)

    Article  Google Scholar 

  8. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L.: ImageNet: a large-scale hierarchical image database (2009)

    Google Scholar 

  9. Duong-Trung, N., Quach, L.D., Nguyen, C.N.: Learning deep transferability for several agricultural classification problems. Int. J. Adv. Comput. Sci. Appl. 10(1), 58–67 (2019)

    Google Scholar 

  10. Duong-Trung, N., Quach, L.D., Nguyen, M.H., Nguyen, C.N.: Classification of grain discoloration via transfer learning and convolutional neural networks. In: Proceedings of the 3rd International Conference on Machine Learning and Soft Computing, pp. 27–32 (2019)

    Google Scholar 

  11. Duong-Trung, N., Quach, L.D., Nguyen, M.H., Nguyen, C.N.: A combination of transfer learning and deep learning for medicinal plant classification. In: Proceedings of the 2019 4th International Conference on Intelligent Information Technology, pp. 83–90 (2019)

    Google Scholar 

  12. Girshick, R.: Fast R-CNN. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448 (2015)

    Google Scholar 

  13. Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 580–587 (2014)

    Google Scholar 

  14. Griffin, G., Holub, A., Perona, P.: Caltech-256 object category dataset (2007)

    Google Scholar 

  15. He, Y., Xu, C., Khanna, N., Boushey, C.J., Delp, E.J.: Analysis of food images: features and classification. In: 2014 IEEE International Conference on Image Processing (ICIP), pp. 2744–2748. IEEE (2014)

    Google Scholar 

  16. Kagaya, H., Aizawa, K., Ogawa, M.: Food detection and recognition using convolutional neural network. In: Proceedings of the 22nd ACM International Conference on Multimedia, pp. 1085–1088 (2014)

    Google Scholar 

  17. Kawano, Y., Yanai, K.: FoodCam: a real-time food recognition system on a smartphone. Multimedia Tools Appl. 74(14), 5263–5287 (2015)

    Article  Google Scholar 

  18. Kitamura, K., Yamasaki, T., Aizawa, K.: FoodLog: capture, analysis and retrieval of personal food images via web. In: Proceedings of the ACM Multimedia 2009 Workshop on Multimedia for Cooking and Eating Activities, pp. 23–30 (2009)

    Google Scholar 

  19. Liu, W., et al.: SSD: single shot MultiBox detector. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, vol. 9905, pp. 21–37. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46448-0_2

    Chapter  Google Scholar 

  20. Pouladzadeh, P., Kuhad, P., Peddi, S.V.B., Yassine, A., Shirmohammadi, S.: Food calorie measurement using deep learning neural network. In: 2016 IEEE International Instrumentation and Measurement Technology Conference Proceedings, pp. 1–6. IEEE (2016)

    Google Scholar 

  21. Rawat, W., Wang, Z.: Deep convolutional neural networks for image classification: a comprehensive review. Neural Comput. 29(9), 2352–2449 (2017)

    Article  MathSciNet  Google Scholar 

  22. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: unified, real-time object detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 779–788 (2016)

    Google Scholar 

  23. Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems, pp. 91–99 (2015)

    Google Scholar 

  24. Russakovsky, O., et al.: ImageNet large scale visual recognition challenge. Int. J. Comput. Vision 115(3), 211–252 (2015)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to An C. Tran .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tran, A.C., Tran, N.C., Duong-Trung, N. (2020). Recognition and Quantity Estimation of Pastry Images Using Pre-training Deep Convolutional Networks. In: Dang, T.K., KĂĽng, J., Takizawa, M., Chung, T.M. (eds) Future Data and Security Engineering. Big Data, Security and Privacy, Smart City and Industry 4.0 Applications. FDSE 2020. Communications in Computer and Information Science, vol 1306. Springer, Singapore. https://doi.org/10.1007/978-981-33-4370-2_15

Download citation

  • DOI: https://doi.org/10.1007/978-981-33-4370-2_15

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-33-4369-6

  • Online ISBN: 978-981-33-4370-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics