Advertisement

Deep Learning Techniques for Visual Food Recognition on a Mobile App

  • Michele De BonisEmail author
  • Giuseppe Amato
  • Fabrizio Falchi
  • Claudio Gennaro
  • Paolo Manghi
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 833)

Abstract

The paper provides an efficient solution to implement a mobile application for food recognition using Convolutional Neural Networks (CNNs). Different CNNs architectures have been trained and tested on two datasets available in literature and the best one in terms of accuracy has been chosen. Since our CNN runs on a mobile phone, efficiency measurements have also taken into account both in terms of memory and computational requirements. The mobile application has been implemented relying on RenderScript and the weights of every layer have been serialized in different files stored in the mobile phone memory. Extensive experiments have been carried out to choose the optimal configuration and tuning parameters.

Keywords

Convolutional Neural Network Android App Food recognition 

References

  1. 1.
    Amato, G., Bolettieri, P., Monteiro de Lira, V., Muntean, C.I., Perego, R., Renso, C.: Social media image recognition for food trend analysis. In: Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2017, pp. 1333–1336. ACM, New York (2017).  https://doi.org/10.1145/3077136.3084142
  2. 2.
    Bossard, L., Guillaumin, M., Van Gool, L.: Food-101 – mining discriminative components with random forests, pp. 446–461. Springer International Publishing, Cham (2014). http://doi.org/10.1007/978-3-319-10599-4_29
  3. 3.
    Chen, J., Ngo, C.W.: Deep-based ingredient recognition for cooking recipe retrieval. In: Proceedings of the 2016 ACM on Multimedia Conference, MM 2016, pp. 32–41. ACM, New York (2016).  https://doi.org/10.1145/2964284.2964315
  4. 4.
    He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016Google Scholar
  5. 5.
    Iandola, F.N., Moskewicz, M.W., Ashraf, K., Han, S., Dally, W.J., Keutzer, K.: Squeezenet: Alexnet-level accuracy with 50x fewer parameters and \(<\)1mb model size. CoRR abs/1602.07360 (2016). http://arxiv.org/abs/1602.07360
  6. 6.
    Krizhevsky, A., Sutskever, I., Hinton, G.E.: Imagenet classification with deep convolutional neural networks. In: Pereira, F., Burges, C.J.C., Bottou, L., Weinberger, K.Q. (eds.) Advances in Neural Information Processing Systems, vol. 25, pp. 1097–1105. Curran Associates, Inc. (2012). http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf
  7. 7.
    Motamedi, M., Fong, D., Ghiasi, S.: Fast and energy-efficient CNN inference on IoT devices. CoRR abs/1611.07151 (2016). http://arxiv.org/abs/1611.07151
  8. 8.
    Rastegari, M., Ordonez, V., Redmon, J., Farhadi, A.: Xnor-net: Imagenet classification using binary convolutional neural networks. CoRR abs/1603.05279 (2016). http://arxiv.org/abs/1603.05279
  9. 9.
    Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bernstein, M.S., Berg, A.C., Li, F.: Imagenet large scale visual recognition challenge. CoRR abs/1409.0575 (2014). http://arxiv.org/abs/1409.0575
  10. 10.
    Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. CoRR abs/1409.1556 (2014). http://arxiv.org/abs/1409.1556
  11. 11.
    Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., Rabinovich, A.: Going deeper with convolutions. In: The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2015Google Scholar
  12. 12.
    Wang, X., Kumar, D., Thome, N., Cord, M., Precioso, F.: Recipe recognition with large multimodal food dataset. In: 2015 IEEE International Conference on Multimedia Expo Workshops (ICMEW), pp. 1–6, June 2015.  https://doi.org/10.1109/ICMEW.2015.7169757

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Michele De Bonis
    • 1
    Email author
  • Giuseppe Amato
    • 1
  • Fabrizio Falchi
    • 1
  • Claudio Gennaro
    • 1
  • Paolo Manghi
    • 1
  1. 1.Institute of Information Science and Technologies of the National Research Council of Italy (ISTI-CNR)PisaItaly

Personalised recommendations