A Deep Convolutional Neural Network Approach to Rice Grain Purity Analysis

  • Mushahidul Islam Shamim
  • Biprodip PalEmail author
  • Anhad Singh Arora
  • Mahbubul Amin Pial
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1119)


Traditional rice grain classification is costly, time-consuming and requires sophisticated human expertise. Besides, computer vision based methods are still based on predefined morphological features that are often not transferable across different types of grains. In this paper, the feasibility of automated feature extraction for rice grain purity analysis has been demonstrated using a Convolutional Neural Network (CNN) based deep learning approach. Due to the lack of benchmark datasets, the paper defines a dataset with technician-verified, labeled images of different types of rice grains with a background of uniform illumination. Moreover, the paper also proposes the architecture of a CNN for automated rice grain feature extraction. The performance of a classifier trained on these features is compared to classifiers trained on morphological features used by modern computer vision approaches. It is found that in this dataset, the proposed method can detect the presence of native and foreign grains in a given sample of rice grains with superior accuracy which is at least 25% better in case of a multiclass classification scenario.


Convolutional neural network Rice grain Morphological features Deep learning Computer vision 


  1. 1.
    Das, H., Naik, B., Behera, H.S.: Classification of diabetes mellitus disease (DMD): a data mining (DM) approach. In: Progress in Computing, Analytics and Networking, pp. 539–549. Springer, Singapore (2018)Google Scholar
  2. 2.
    Sahani, R., Rout, C., Badajena, J.C., Jena, A.K., Das, H.: Classification of intrusion detection using data mining techniques. In: Progress in Computing, Analytics and Networking, pp. 753–764. Springer, Singapore (2018)Google Scholar
  3. 3.
    Qing, Y., Jianhua, C., Zexin, G., Chengxiao, S., Zhiwei, Z.: Inspection of rice appearance quality using machine vision. In: 2010 Second WRI Global Congress on Intelligent Systems, vol. 4, pp. 274–279 (2009).
  4. 4.
    Gayathri Devi, T., Neelamegam, P., Sudha, S.: Machine vision based quality analysis of rice grains, pp. 1052–1055 (2017).
  5. 5.
    Mahale, B., Korde, S.: Rice quality analysis using image processing techniques. In: International Conference for Convergence for Technology, pp. 1–5. IEEE (2014).
  6. 6.
    Ali, S.F., Jamil, H., Jamil, R., Torij, I., Naz, S.: Low cost solution for rice quality analysis using morphological parameters and its comparison with standard measurements. In: 2017 International Multi-topic Conference (INMIC), pp. 1–6. IEEE, (2017).
  7. 7.
    Zareiforoush, H., Minaei, S., Alizadeh, M.R., Banakar, A.: Qualitative classification of milled rice grains using computer vision and metaheuristic techniques. J. Food Sci. Technol. 53(1), 118–131 (2016)CrossRefGoogle Scholar
  8. 8.
    Kolkure, V.S., Shaikh, B.N.: Identification and quality testing of rice grains using image processing and neural network. Int. J. Recent Trends Eng. Res. 3(01), 130–135 (2017)Google Scholar
  9. 9.
    Mousavirad, S.J., Tab, F.A., Mollazade, K.: Design of an expert system for rice kernel identification using optimal morphological features and back propagation neural network. Int. J. Appl. Inf. Syst. 3(2), 33–37 (2012)CrossRefGoogle Scholar
  10. 10.
    Canny, J.: A computational approach to edge detection. IEEE Trans. Pattern Anal. Mach. Intell. PAMI-8(6), 679–698 (1986).
  11. 11.
    Kirkos, E., Charalambos, S., Yannis, M.: Data mining techniques for the detection of fraudulent financial statements. Expert Syst. Appl. 32(4), 995–1003 (2007)CrossRefGoogle Scholar
  12. 12.
    Pal, B., Hasan, M.A.M.: Neural network & genetic algorithm based approach to network intrusion detection & comparative analysis of performance. In: 2012 15th International Conference on Computer and Information Technology (ICCIT), pp. 150–154. IEEE (2012)Google Scholar
  13. 13.
    Pal, B., Ahmed, B.: A deep domain adaption approach for object recognition using Multiple Model Consistency analysis. In : 2016 9th International Conference on Electrical and Computer Engineering (ICECE), pp. 562–565. IEEE (2016)Google Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  • Mushahidul Islam Shamim
    • 1
  • Biprodip Pal
    • 1
    Email author
  • Anhad Singh Arora
    • 2
  • Mahbubul Amin Pial
    • 3
  1. 1.Rajshahi University of Engineering & TechnologyRajshahiBangladesh
  2. 2.Foods OneLudhianaIndia
  3. 3.Bangladesh University of Engineering and TechnologyDhakaBangladesh

Personalised recommendations