Skip to main content
Log in

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

  • Methodologies and Application
  • Published:
Soft Computing Aims and scope Submit manuscript


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.

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

Access this article

Subscribe and save

Springer+ Basic
EUR 32.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
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others


  • Aapo H (1999) Fast and robust fixed-point algorithms for independent component analysis. IEEE Trans Neural Netw 10(3):626–634

    Article  Google Scholar 

  • 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–283

  • 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–93

    Article  Google Scholar 

  • Bay H, Tuytelaars T, Gool LV (2006) SURF: speeded up robust features. Lect Notes Comput Sci 3951:404–417

    Article  Google Scholar 

  • Chainer (2015) A flexible framework of neural networks.

  • Cun YL (1989) Generalization and network design strategies, Technical Report CRG-TR-89-4. University of Toronto, Department of Computer Science

    Google Scholar 

  • 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–259

  • 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–17

    Article  Google Scholar 

  • Hinton GE, Salakhutdinov R (2006) Reducing the dimensionality of data with neural networks. Sciense 313(5786):504–507

    Article  MathSciNet  MATH  Google Scholar 

  • Hinton GE, Osindero S, Teh Y-W (2006) A fast learning algorithm for deep belief nets. Neural Comput 18(7):1527–1554

    Article  MathSciNet  MATH  Google Scholar 

  • Jain AK, Mao J, Mohiuddin KM (1996) Artificial neural networks: a tutorial. Computer 29(3):31–44

    Article  Google Scholar 

  • 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

  • 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–3172

  • 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–8598

  • 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–616

  • Lowe DG (2004) Distinctive image features from scale-invariant keypoints. Int J Comput Vis 60(2):91–110

    Article  Google Scholar 

  • Mahesha P, Vinod D (2015) Support vector machine-based stuttering dysfluency classification using gmm supervectors. Int J Grid Util Comput 6(3/4):143–149

    Article  Google Scholar 

  • Meulebroeck W, Thienpont H, Ottevaere H (2017) Photonics enhanced sensors for food monitoring: part 2. IEEE Instrum Meas Mag 20(1):31–37

    Article  Google Scholar 

  • 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–533

    Article  Google Scholar 

  • Nakano T, Kida T (2008) Two dimensional pattern matching for jpeg images. Technical report, IEICE

  • 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–6

  • 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–565

  • 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–441

  • 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–691

  • 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)

  • 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–208

    Article  Google Scholar 

  • 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–489

    Article  Google Scholar 

  • 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–359

    Article  Google Scholar 

  • Tsugawa S, Ohsaki H (2015) Community structure and interaction locality in social networks. J Inf Process 23(4):402–410

    Google Scholar 

  • 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–1891

  • 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–37

Download references

Author information

Authors and Affiliations


Corresponding author

Correspondence to Makoto Ikeda.

Ethics declarations

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.

Additional information

Communicated by V. Loia.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ikeda, M., Oda, T. & Barolli, L. A vegetable category recognition system: a comparison study for caffe and Chainer DNN frameworks. Soft Comput 23, 3129–3136 (2019).

Download citation

  • Published:

  • Issue Date:

  • DOI: