Skip to main content
Log in

Twelve-layer deep convolutional neural network with stochastic pooling for tea category classification on GPU platform

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

Abstract

Automatic tea-category identification is an important topic in factories and supermarkets. Traditional methods need to extract features from tea images manually, which may not be optimal for tea images classification. To avoid the time consuming efforts of handcrafted features extraction, this study proposed a new method combining convolutional neural network (CNN) with stochastic pooling. We collected 900 tea images of Oolong, green, and black teas, with 300 images for each category. The data augmentation method was used over the training set. We employed stochastic gradient descent with momentum (SGDM) to train the CNN. The experiments showed that a 12-layer CNN gives a good result. The sensitivities of Oolong, green, and black tea are 99.5%, 97.5%, and 98.0%, respectively. The overall accuracy of all three-tea categories is 98.33%. The stochastic pooling gives better results than maximum pooling and average pooling. The optimal number of convolutional layer for this task is 5. In addition, GPU has a 175× acceleration in training set and a 122× acceleration in test set, compared to CPU platform.

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

Access this article

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
Fig. 13
Fig. 14
Fig. 15
Fig. 16

Similar content being viewed by others

References

  1. Altun M, Pekcan O (2017) A modified approach to cross entropy method: Elitist stepped distribution algorithm. Appl Soft Comput 58:756–769

    Article  Google Scholar 

  2. Barushka A, Hajek P (2016) Spam Filtering Using Regularized Neural Networks with Rectified Linear Units. In: 15th International Conference of the Italian Association for Artificial Intelligence (AIIA). Springer Int Publishing Ag, Genova, p 65–75

  3. Chen Q (2008) Identification of tea varieties using computer vision. Trans ASABE 51(2):623–628

    Article  Google Scholar 

  4. Chen Y (2017) A Feature-Free 30-Disease Pathological Brain Detection System by Linear Regression Classifier. CNS Neurol Disord Drug Targets 16(1):5–10

    Article  Google Scholar 

  5. Chen QS et al (2013) Classification of tea category using a portable electronic nose based on an odor imaging sensor array. J Pharm Biomed Anal 84:77–89

    Article  Google Scholar 

  6. de Almeida CRF et al (2016) Satisficing Game Approach to Collaborative Decision Making Including Airport Management. IEEE Trans Intell Transp Syst 17(8):2262–2271

    Article  Google Scholar 

  7. Du S (2016) Multi-objective path finding in stochastic networks using a biogeography-based optimization method. Simulation 92(7):637–647

    Article  Google Scholar 

  8. Du S (2017) Alzheimer's Disease Detection by Pseudo Zernike Moment and Linear Regression Classification. CNS Neurol Disord Drug Targets 16(1):11–15

    Article  Google Scholar 

  9. Fernando B et al (2017) Rank Pooling for Action Recognition. IEEE Trans Pattern Anal Mach Intell 39(4):773–787

    Article  Google Scholar 

  10. Ferreira A, Giraldi G (2017) Convolutional Neural Network approaches to granite tiles classification. Expert Syst Appl 84:1–11

    Article  Google Scholar 

  11. Ferreira MD et al (2018) Designing architectures of convolutional neural networks to solve practical problems. Expert Syst Appl 94:205–217

    Article  Google Scholar 

  12. Gorriz JM, Ramírez J (2016) Wavelet entropy and directed acyclic graph support vector machine for detection of patients with unilateral hearing loss in MRI scanning. Front Comput Neurosci 10:160

    Google Scholar 

  13. Gummeson A et al (2017) Automatic Gleason grading of HE stained microscopic prostate images using deep convolutional neural networks. In: Medical Imaging 2017, Digital Pathology, 2017, 10140. https://doi.org/10.1117/12.2253620

  14. Ji G (2014) Fruit classification using computer vision and feedforward neural network. J Food Eng 143:167–177

    Article  Google Scholar 

  15. Jia W (2017) Three-Category Classification of Magnetic Resonance Hearing Loss Images Based on Deep Autoencoder. J Med Syst 41:165

    Article  Google Scholar 

  16. Jian W, Xianyin Z, ShiPing D (2010) Identification and grading of tea using computer vision. Appl Eng Agric 26(4):639–645

    Article  Google Scholar 

  17. Jiang Y et al (2017) Cerebral Micro-Bleed Detection Based on the Convolution Neural Network With Rank Based Average Pooling. IEEE Access 5:16576–16583

    Article  Google Scholar 

  18. Kabani A, El-Sakka MR (2016) Object Detection and Localization Using Deep Convolutional Networks with Softmax Activation and Multi-class Log Loss. In: 13th International Conference on Image Analysis and Recognition in Memory of Mohamed Kamel (ICIAR). Springer Int Publishing Ag, Povoa de Varzim, p 358–366

  19. Li XL, Zhang YY, He Y (2017) Study on Detection of Talcum Powder in Green Tea Based on Fourier Transform Infrared (FTIR) Transmission Spectroscopy. Spectrosc Spectr Anal 37(4):1081–1085

    Google Scholar 

  20. Liu A (2017) Tea Category Identification using Computer Vision and Generalized Eigenvalue Proximal SVM. Fundam Inform 151(1–4):325–339

    MathSciNet  Google Scholar 

  21. Lu S, Lu Z (2016) A pathological brain detection system based on kernel based ELM. Multimed Tools Appl. https://doi.org/10.1007/s11042-016-3559-z

  22. Martinez-Pabon F et al (2016) Recommending Ads from Trustworthy Relationships in Pervasive Environments. Mob Inf Syst 2016:8593173

    Google Scholar 

  23. Pan H, Zhang C, Tian Y (2014) RGB-D image-based detection of stairs, pedestrian crosswalks and traffic signs. J Vis Commun Image Represent 25(2):263–272

    Article  Google Scholar 

  24. Pezeshk A et al (2017) Seamless Lesion Insertion for Data Augmentation in CAD Training. IEEE Trans Med Imaging 36(4):1005–1015

    Article  Google Scholar 

  25. Saha P et al (2017) Feature Fusion for Prediction of Theaflavin and Thearubigin in Tea Using Electronic Tongue. IEEE Trans Instrum Meas 66(7):1703–1710

    Article  Google Scholar 

  26. Sun M et al (2016) Max-pooling loss training of long short-term memory networks for small-footprint keyword spotting. In: IEEE workshop on spoken language technology (SLT). IEEE, San Diego, p 474–480

  27. Tang Z et al (2015) A local binary pattern based texture descriptors for classification of tea leaves. Neurocomputing 168:1011–1023

    Article  Google Scholar 

  28. Wei L, Yang J (2016) Fitness-scaling adaptive genetic algorithm with local search for solving the Multiple Depot Vehicle Routing Problem. Simulation 92(7):601–616

    Article  Google Scholar 

  29. Wu X (2016) Tea category identification based on optimal wavelet entropy and weighted k-Nearest Neighbors algorithm. Multimed Tools Appl. https://doi.org/10.1007/s11042-016-3931-z

  30. Yang J (2015) Identification of green, Oolong and black teas in China via wavelet packet entropy and fuzzy support vector machine. Entropy 17(10):6663–6682

    Google Scholar 

  31. Yang J (2017) Pathological brain detection in MRI scanning via Hu moment invariants and machine learning. J Exp Theor Artif Intell 29(2):299–312

    Article  Google Scholar 

  32. Zeiler M, Fergus R (2013) Stochastic pooling for regularization of deep convolutional neural networks. In Proceedings of the International Conference on Learning Representation (ICLR)

  33. Zhan TM, Chen Y (2016) Multiple Sclerosis Detection Based on Biorthogonal Wavelet Transform, RBF Kernel Principal Component Analysis, and Logistic Regression. IEEE Access 4:7567–7576

    Article  MathSciNet  Google Scholar 

  34. Zhou X (2016) Tea Category Classification Based on Feed-Forward Neural Network and Two-Dimensional Wavelet Entropy. In: Xie J et al (eds) Third International Conference on High Performance Computing and Applications. Springer International Publishing, Cham, pp 48–54

    Chapter  Google Scholar 

  35. Zhu SG, Du JP (2014) Visual Tracking Using Max-Average Pooling and Weight-Selection Strategy. J Appl Math 2014:828907

    Google Scholar 

Download references

Acknowledgements

This paper is supported by Open fund of Key Laboratory of Guangxi High Schools Complex System and Computational Intelligence (2016CSCI01), Natural Science Foundation of China (61502254, 61602250), Program of Natural Science Research of Jiangsu Higher Education Institutions (15KJB470010, 16KJB520025), Natural Science Foundation of Jiangsu Province (BK20150983).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Yu-Dong Zhang, Khan Muhammad or Chaosheng Tang.

Ethics declarations

Conflict of interest

There is no conflict of interest regarding the submission of this paper.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, YD., Muhammad, K. & Tang, C. Twelve-layer deep convolutional neural network with stochastic pooling for tea category classification on GPU platform. Multimed Tools Appl 77, 22821–22839 (2018). https://doi.org/10.1007/s11042-018-5765-3

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-018-5765-3

Keywords

Navigation