Soft Computing

, Volume 23, Issue 9, pp 3129–3136 | Cite as

A vegetable category recognition system: a comparison study for caffe and Chainer DNN frameworks

  • Makoto IkedaEmail author
  • Tetsuya Oda
  • Leonard Barolli
Methodologies and Application


Deep neural network (DNN) has a deep hierarchy that connects multiple internal layers for feature detection and recognition. In our previous work, we proposed a vegetable recognition system which was based on Caffe framework. In this paper, we propose a vegetable category recognition system using DNN frameworks. We present a Vegeshop tool and website for users. Our system can be accessed ubiquitously from anywhere. We evaluate the performance of our vegetable category recognition using 15 kind of vegetables. Also, we evaluate the performance of learning accuracy and loss for vegetable recognition system which is based on Caffe and Chainer frameworks. In addition, we present the performance of recognition rate for different vegetables with different pixel sizes. The evaluation results show that the learning rate is more than 80%. We noticed that the performance of this recognition system is degraded when the color of the object is yellow. In this case, our system does not recognize the outline of the object by light intensity. From these studies, we found that the results of Caffe are higher than Chainer. For both frameworks, when pixel sizes is \(256\times 256\), the results of accuracy is increased rapidly with the increase in iterations.


Deep neural network Vegetable recognition Caffe Chainer 


Compliance with ethical standards

Conflict of interest

The authors declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.


  1. Aapo H (1999) Fast and robust fixed-point algorithms for independent component analysis. IEEE Trans Neural Netw 10(3):626–634CrossRefGoogle Scholar
  2. Abadi M, Barham P, Chen J, Chen Z, Davis A, Dean J, et al (2016) TensorFlow: a system for large-scale machine learning. In 12th USENIX symposium on operating systems design and implementation (OSDI-2016), pp 265–283Google Scholar
  3. Arridha R, Sukaridhoto S, Pramadihanto D, Funabiki N (2017) Classification extension based on iot-big data analytic for smart environment monitoring and analytic in real-time system. Int J Space Based Situat Comput 7(2):82–93CrossRefGoogle Scholar
  4. Bay H, Tuytelaars T, Gool LV (2006) SURF: speeded up robust features. Lect Notes Comput Sci 3951:404–417CrossRefGoogle Scholar
  5. Chainer (2015) A flexible framework of neural networks.
  6. Cun YL (1989) Generalization and network design strategies, Technical Report CRG-TR-89-4. University of Toronto, Department of Computer ScienceGoogle Scholar
  7. Faria FA, dos Santos JA, Rocha A, da S Torres R (2012) Automatic classifier fusion for produce recognition. In Proceedings of the 25th international conference on graphics, patterns and images (SIBGRAPI-2012), pp 252–259Google Scholar
  8. Gentile A, Santangelo A, Sorce S, Vitabile S (2011) Human-to-human interfaces: emerging trends and challenges. Int J Space Based Situat Comput 1(1):3–17CrossRefGoogle Scholar
  9. Hinton GE, Salakhutdinov R (2006) Reducing the dimensionality of data with neural networks. Sciense 313(5786):504–507MathSciNetCrossRefzbMATHGoogle Scholar
  10. Hinton GE, Osindero S, Teh Y-W (2006) A fast learning algorithm for deep belief nets. Neural Comput 18(7):1527–1554MathSciNetCrossRefzbMATHGoogle Scholar
  11. Jain AK, Mao J, Mohiuddin KM (1996) Artificial neural networks: a tutorial. Computer 29(3):31–44CrossRefGoogle Scholar
  12. Jia Y, Shelhamer E, Donahue J, Karayev S, Long J, Girshick R, Guadarrama S, Darrell T (2014) Caffe: convolutional architecture for fast feature embedding. arXiv preprint arXiv:1408.5093
  13. Kang L, Kumar J, Ye P, Li Y, Doermann D (2014) Convolutional neural networks for document image classification. In Proceedings of 22nd international conference on pattern recognition 2014 (ICPR-2014), pp 3168–3172Google Scholar
  14. Le QV (2013) Building high-level features using large scale unsupervised learning. In: Proceedings of IEEE international conference on acoustics, speech and signal processing 2013 (ICASSP-2013), pp 8595–8598Google Scholar
  15. Lee H, Grosse R, Ranganath R, Ng AY (2009) Convolutional deep belief networks for scalable unsupervised learning of hierarchical representations. In: Proceedings of the 26th annual international conference on machine learning, pp 609–616Google Scholar
  16. Lowe DG (2004) Distinctive image features from scale-invariant keypoints. Int J Comput Vis 60(2):91–110CrossRefGoogle Scholar
  17. Mahesha P, Vinod D (2015) Support vector machine-based stuttering dysfluency classification using gmm supervectors. Int J Grid Util Comput 6(3/4):143–149CrossRefGoogle Scholar
  18. Meulebroeck W, Thienpont H, Ottevaere H (2017) Photonics enhanced sensors for food monitoring: part 2. IEEE Instrum Meas Mag 20(1):31–37CrossRefGoogle Scholar
  19. Mnih V, Kavukcuoglu K, Silver D, Rusu AA, Veness J, Bellemare MG, Graves A, Riedmiller M, Fidjeland AK, Ostrovski G, Petersen S, Beattie C, Sadik A, Antonoglou I, King H, Kumaran D, Wierstra D, Legg S, Hassabis D (2015) Human-level control through deep reinforcement learning. Nature 518:529–533CrossRefGoogle Scholar
  20. Nakano T, Kida T (2008) Two dimensional pattern matching for jpeg images. Technical report, IEICEGoogle Scholar
  21. Okamoto K, Yanai K (2014) Real-time eating action recognition system on a smartphone. In: Proceedings of the IEEE international conference on multimedia and expo workshops (ICMEW-2014), pp 1–6Google Scholar
  22. Sakai Y, Oda T, Ikeda M, Barolli L (2015) An object tracking system based on sift and surf feature extraction methods. In: Proceedings of the 18th international conference on network-based information systems (NBiS-2015), pp 561–565Google Scholar
  23. Sakai Y, Oda T, Ikeda M, Barolli L (2016 a) Performance evaluation of an accessory category recognition system using deep neural network. In: Proceedings of 19th international conference on network-based information systems (NBiS-2016), pp 437–441Google Scholar
  24. Sakai Y, Oda T, Ikeda M, Barolli L (2016 b) VegeShop tool: a tool for vegetable recognition using DNN. In: Proceedings of the 11th international conference on broad-band wireless computing, communication and applications (BWCCA-2016), pp 683–691Google Scholar
  25. Sakai Y, Oda T, Ikeda M, Barolli L (2016 c) A vegetable category recognition system using deep neural network. In: Proceedings of the 10th international conference on innovative mobile and internet services in ubiquitous computing (IMIS-2016)Google Scholar
  26. Shoji S, Koyama A (2016) A fast search and classification method of isomorphic polygons in lsi design data using geometric invariant feature value. Int J Space Based Situat Comput 6(4):199–208CrossRefGoogle Scholar
  27. Silver D, Huang A, Maddison CJ, Guez A, Sifre L, van den Driessche G, Schrittwieser J, Antonoglou I, Panneershelvam V, Lanctot M, Dieleman S, Grewe D, Nham J, Kalchbrenner N, Sutskever I, Lillicrap T, Leach M, Kavukcuoglu K, Graepel T, Hassabis D (2016) Mastering the game of Go with deep neural networks and tree search. Nature 529:484–489CrossRefGoogle Scholar
  28. Silver D, Schrittwieser J, Simonyan K, Antonoglou I, Huang A, Guez A, Hubert T, Baker L, Lai M, Bolton A, Chen Y, Lillicrap T, Hui F, Sifre L, van den Driessche G, Graepel T, Hassabis D (2017) Mastering the game of Go without human knowledge. Nature 550:354–359CrossRefGoogle Scholar
  29. Tsugawa S, Ohsaki H (2015) Community structure and interaction locality in social networks. J Inf Process 23(4):402–410Google Scholar
  30. Ueda K, Tamai M, Yasumoto K (2014) A system for daily living activities recognition based on multiple sensing data in a smart home. In: Proceedings of the multimedia, distributed, cooperative, and mobile symposium (DICOMO-2014), pp 1884–1891Google Scholar
  31. Uhrig RE (1995) Introduction to artificial neural networks. In: Proceedings of the IEEE 21st international conference on industrial electronics, control, and instrumentation (IECON-1995), vol 1, pp 33–37Google Scholar

Copyright information

© Springer-Verlag GmbH Germany, part of Springer Nature 2017

Authors and Affiliations

  1. 1.Department of Information and Communication EngineeringFukuoka Institute of TechnologyHigashi-kuJapan
  2. 2.Department of Information and Computer EngineeringOkayama University of ScienceKita-kuJapan

Personalised recommendations