Classification of Rice Varieties Using Artificial Intelligence Methods

Keywords: Classification of rice, computer vision system, image processing, machine learning system


Rice being one of the most widely produced and consumed cereal crops in the world, is also the one of the main sustenance in our country because of its economical and nutritious nature. Rice, starting from farm to our table, goes through some manufacturing steps such as a cleaning process, color sorting and classification. If these stages are to be mentioned briefly, cleaning is the process of separating rice from foreign substances, classification is the process of separating broken ones with sturdy ones; color extraction is the process of separating the stained and striped ones except the whiteness on the rice surface. In this study, a computerized vision system was developed in order to distinguish between two proprietary rice species. A total of 3810 rice grain's images were taken for the two species, processed and feature inferences were made. 7 morphological features were obtained for each grain of rice. With these features, models were created using LR, MLP, SVM, DT, RF, NB and k-NN machine learning techniques and performance measurement values were obtained. Success rates in the classification were obtained 93.02% (LR), 92.86% (MLP), 92.83% (SVM), 92.49% (DT), 92.39% (RF), 91.71% (NB), 88.58% (k-NN). When we look at the results of the success rate of obtain, it is possible to say that the study achieved success.


Download data is not yet available.


Sapaloglu, A., The structure of marketing channels and rice marketing margins in the rice production-consumption chain: the example of the province of Edirne. 2015, Namik Kemal University.

Mutafcilar, Z.C., Molecular characterization of registered paddy varieties in Turkey. 2019, Trakya University Graduate School Of Science.

Yadav, B. and V. Jindal, Monitoring milling quality of rice by image analysis. Computers and Electronics in Agriculture, 2001. 33(1): p. 19-33.

Visen, N.S., et al. Image analysis of bulk grain samples using neural networks. in 2003 ASAE Annual Meeting. 2003. American Society of Agricultural and Biological Engineers.

Baykan, O., A. Babalik, and F. Botsalı, Recognition of wheat species using artificial neural network. 4. International Symposium On Advanced Technologies, Konya, September, 2005: p. 28-30.

Dubey, B., et al., Potential of artificial neural networks in varietal identification using morphometry of wheat grains. Biosystems Engineering, 2006. 95(1): p. 61-67.

Zapotoczny, P., M. Zielinska, and Z. Nita, Application of image analysis for the varietal classification of barley:: Morphological features. Journal of Cereal Science, 2008. 48(1): p. 104-110.

Chen, X., et al., Combining discriminant analysis and neural networks for corn variety identification. Computers and electronics in agriculture, 2010. 71: p. S48-S53.

Babalik, A., et al. Effects of Feature Selection Using Binary Particle Swarm Optimization on Wheat Variety Classification. in International Conference on Advances in Information Technology. 2010. Springer.

OuYang, A.-G., et al. An automatic method for identifying different variety of rice seeds using machine vision technology. in Natural Computation (ICNC), 2010 Sixth International Conference on. 2010. IEEE.

Farahani, L., Discrimination of some cultivars of durum wheat (Triticum durum Desf.) using image analysis. International Research Journal of Applied and Basic Sciences, 2012. 3(7): p. 1375-1380.

Silva, C.S. and U. Sonnadara, Classification of rice grains using neural networks. 2013.

Kaur, H. and B. Singh, Classification and grading rice using multi-class SVM. International Journal of Scientific and Research Publications, 2013. 3(4): p. 1-5.

Abirami, S., P. Neelamegam, and K.H. Thanjavur India, Analysis of rice granules using image processing and neural network pattern recognition tool. 2014.

Pazoki, A., F. Farokhi, and Z. Pazoki, Classification of rice grain varieties using two Artificial Neural Networks (MLP and Neuro-Fuzzy). The Journal of Animal & Plant Sciences, 2014. 24(1): p. 336-343.

Szczypiński, P.M., A. Klepaczko, and P. Zapotoczny, Identifying barley varieties by computer vision. Computers and Electronics in Agriculture, 2015. 110: p. 1-8.

MathWorks. Morphological Operations. 2019 [cited 2019 09 September 2019]; Available from:

PDD. Osmacik and Baldo Rice. 2019 08 September 2019]; Available from:

Cataloluk, H., Disease diagnosis using data mining methods on actual medical data. 2012, Bilecik University, Graduate School Of Science.

Ozkan, I. A., and Koklu, M. , Skin Lesion Classification using Machine Learning Algorithms. International Journal of Intelligent Systems and Applications in Engineering, 2017. 5(4): p. 285-289.

Gupta, P. Cross-Validation in Machine Learning. 2017 [cited 2019 10 September 2019]; Available from:

Wikipedia. Cross-validation (statistics). 2019 [cited 2019 12 September 2019]; Available from:

Ozkan, Y., Data Mining Methods, Papatya Publishing and Education Inc. Istanbul, Turkey, 2008.

Cruyff, M.J., et al., A review of regression procedures for randomized response data, including univariate and multivariate logistic regression, the proportional odds model and item response model, and self-protective responses, in Handbook of Statistics. 2016, Elsevier. p. 287-315.

Kalantar, B., et al., Assessment of the effects of training data selection on the landslide susceptibility mapping: a comparison between support vector machine (SVM), logistic regression (LR) and artificial neural networks (ANN). Geomatics, Natural Hazards and Risk, 2018. 9(1): p. 49-69.

Wikipedia. Logistic regression. 2019 [cited 2019 11 September 2019]; Available from:

Sabanci, K. and M.F. Unlersen, Classification of Apples of Different Sizes using KNN and MLP Algorithms. Proceedings Book, 2016: p. 781.

Abhang, P., B. Gawali, and S. Mehrotra, Technical aspects of brain rhythms and speech parameters. Introduction to EEG-and Speech-Based Emotion Recognition, 2016: p. 51-79.

Kaynar, O., et al. Emotion Analysis with machine learning methods. in International Artificial Intelligence and Data Processing Symposium (IDAP'16), September. 2016.

Mathworks. Support Vector Machines for Binary Classification. 2019 [cited 2019 12 September 2019]; Available from:

Miner, L., et al., Practical predictive analytics and decisioning systems for medicine: Informatics accuracy and cost-effectiveness for healthcare administration and delivery including medical research. 2014: Academic Press.

Soylu, E. Data Mining. 2019 [cited 2019 08 September 2019]; Available from:ği.pdf.

Ozkan, I. A., Koklu, M., and Sert, I. U., Diagnosis of urinary tract infection based on artificial intelligence methods. Computer methods and programs in biomedicine, 2018. 166, p. 51-59.

Sá, A., et al. Lightning Forecast Using Data Mining Techniques on Hourly Evolution of the Convective Available Potential Energy. in Brazilian Congress on Computational Intelligence, Fortaleza, November. 2011.

Amor, N.B., S. Benferhat, and Z. Elouedi, Qualitative classification with possibilistic decision trees, in Modern Information Processing. 2006, Elsevier. p. 159-169.

Mao, W. and F. Wang, New advances in intelligence and security informatics. 2012: Academic Press.

Dunham, K., Chapter 6-Phishing, SMishing, and Vishing. Mobile Malware Attacks and Defense, 2009: p. 125-196.

Chakure, A. Random Forest Regression. 2019 [cited 2019 12 September 2019]; Available from:

Panigrahi, R. and S. Borah, Classification and Analysis of Facebook Metrics Dataset Using Supervised Classifiers. Social Network Analytics: Computational Research Methods and Techniques, 2018: p. 1.

Nadkarni, P., Clinical Research Computing: A Practitioner's Handbook. 2016: Academic Press.

Richman, J.S., Multivariate neighborhood sample entropy: a method for data reduction and prediction of complex data, in Methods in enzymology. 2011, Elsevier. p. 397-408.

Sabanci, K., and Koklu, M., The classification of eye state by using kNN and MLP classification models according to the EEG signals. International Journal of Intelligent Systems and Applications in Engineering, 2015. 3(4), p. 127-130.

How to Cite
I. Cinar and M. Koklu, “Classification of Rice Varieties Using Artificial Intelligence Methods”, IJISAE, vol. 7, no. 3, pp. 188-194, Sep. 2019.
Research Article