Skip to main content
Log in

Detecting fraudulent labeling of rice samples using computer vision and fuzzy knowledge

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

An Erratum to this article was published on 13 April 2017

This article has been updated


Pakistan’s climate allows growing several types of crops, among them is rice. Basmati is one of the most harvested and most profitable varieties of rice because of its unique fragrance. Rice varieties are difficult to differentiate accurately by visual inspection. Therefore, dishonest dealers could easily mislabel or adulterate basmati rice with less valuable assortments that look similar. We need a way to guard the interests of our trade partners. Many different approaches have been proposed to detect adulteration or fraud labeling of rice, in particular, to detect mixtures of authentic basmati and non-basmati varieties. These techniques employ characteristics such as morphological parameters, physicochemical properties, DNA, protein, or metabolites and are expensive and time-consuming. In this paper, we propose a novel and inexpensive technique to detect fraudulent labeling. We use computer vision and a fuzzy classification database for detecting fault labels. For classification, we employ a neural network based approach, and for detecting fraudulent labels, we create a fuzzy classification knowledge database to label rice samples accurately. Our proposed approach is novel and achieves a precision of more than 90% (for 10 gram sample) in identifying fraudulent labels of rice. We conclude that our approach can help in identifying the rice varieties with a higher accuracy.

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

Similar content being viewed by others

Change history

  • 13 April 2017

    An erratum to this article has been published.


  1. Ahmad A, Paul A, Rathore M, Chang H (2016a) An efficient multidimensional big data fusion approach in machine-to-machine communication. ACM Transactions on Embedded Computing Systems (TECS) 15(2):39

    Article  Google Scholar 

  2. Ahmad A, Paul A, Mazhar Rathore M (2016b) An efficient divide-and-conquer approach for big data analytics in machine-to-machine communication. Neurocomputing 174:439–453

    Article  Google Scholar 

  3. Arvanitoyannis IS (2008) Trends in food authentication. Modern Techniques for Food Authentication, Elsevier Science Publication, Amsterdam, 617–643. Chicago

  4. Aulakh JS, Banga (2012) Percentage purity of rice sample by image processing. International conference on trends in electrical, electronics and power engineering, Singapore

  5. Ballard DH, Brown CM (1982) Computer vision, article. Prentice-Hall, Englewood Cliffs, p 4

  6. Beerh OP, Srinivas T (1991) Some histological factors associated with basmati rice. Oryza 28:399–401 Chicago

    Google Scholar 

  7. British Retail Consortium (2005)

  8. Brogan WL, Edison AR (1974a) Automatic classification of grains via pattern recognition techniques. Pattern Recogn 6(2):97–103

    Article  Google Scholar 

  9. Brogan WL, Edison AR (1974b) Automatic classification of grains via pattern recognition techniques. Pattern Recogn 6(2):97–103

    Article  Google Scholar 

  10. Carter RM, Yan Y (2005) Measurement of particle shape using digital imaging techniques. In Journal of Physics: Conference Series (Vol. 15, No. 1, p. 177). IOP Publishing

  11. Carter RM, Yan Y, Tomlins K (2005) Digital imaging-based classification and authentication of granular food products. Meas Sci Technol 17(2):235

    Article  Google Scholar 

  12. Casady WW, Paulsen MR (1989) An automated kernel positioning device for computer vision analysis of grain. Transactions of the ASAE 32(5):1821–1826

    Article  Google Scholar 

  13. Casady WW, Paulsen MR, Reid JF, Sinclair JB (1992) A trainable algorithm for inspection of soybean seed quality. Transactions of the ASAE 35(6):2027–2034

    Article  Google Scholar 

  14. Castleman KR (1979) Digital Image Processing. Pren tice-Hall Inc., Englewd Cliffs, p 429

    Google Scholar 

  15. Choi YW, Han DB, Nayga RM, Lee JY (2016) Consumers' valuation of rice grade labeling (No. 235845). Agricultural and Applied Economics Association

  16. EC 1549/2004 (2016) & from = EC 1234/2007:

  17. Findlay I, Taylor A, Quirke P, Frazier R, Urquhart A (1997) DNA fingerprinting from single cells. Nature, 389(6651), 555–556. Chicago

  18. Fridez F (2016) Basmati Rice fraud under the magnifying glass of DNA analysis. CHIMIA International Journal for Chemistry 70(5):354–356

    Article  Google Scholar 

  19. Gershon R, Jepson AD (1989) The computation of color constant descriptors in chromatic images. Color Research & Application 14(6):325–334

    Article  Google Scholar 

  20. Gonzalez RC, Safabakhsh R (1982a) Computer vision techniques for industrial applications and robot control. Computer 15(12):17–32

    Article  Google Scholar 

  21. Gonzalez RC, Safabakhsh R (1982b) Computer vision techniques for industrial applications and robot control. Computer 15(12):17–32

    Article  Google Scholar 

  22. Gonzalez RC, Woods RE (1992) Digital Image Processing. Addison-Wesley Pub. Co., Men10 Park, pp 716

  23. Guzman JD, Peralta EK (2008) Classification of Philippine rice grains using machine vision and artificial neural networks. World conference on agricultural information and IT, Tokyo

    Google Scholar 

  24. Haraiick RM, Shapiro L (1992) Computer and robot vision. Addision-Wesley Publishing Co., Reading, p 672

    Google Scholar 

  25. Hetzroni A, Miles GE (1994) Color calibration for RGB video images. In: American Society of Agricultural Engineers. Meeting (USA). no. 94–2186/94–3019

  26. Hobson DM, Carter RM, Yan Y (2007) Characterisation and identification of rice grain through digital image analysis. 2007 I.E. Instrumentation & Measurement Technology Conference IMTC 2007. IEEE

  27. Kim SS, Jo JS, Kim YJ, Sung NK (1997) Authentication of rice by three-sided image analysis of kernels using two mirrors. Cereal Chem 74(3):212–215 Chicago

    Article  Google Scholar 

  28. Kohonen T (1988) An introduction to neural computing. Neural Netw 1(1):3–16

    Article  Google Scholar 

  29. Kranzler GA (1985) Applying digital image processing in agriculture. Agricultural engineering (USA)

  30. Leaders in rice production (2016) URL:

  31. Li Z, Rutger JN (2000) Geographic distribution and multilocus organization of isozyme variation of rice (Oryza sativa L.). Theor Appl Genet 101(3):379–387 Chicago

    Article  Google Scholar 

  32. Lilhare SF, Bawane NG (2012) Drying Rate Analysis Of Different Size Paddy Processed Under Various Drying Conditions In Lsu Dryer.International Journal of Engineering Research and Technology. Vol. 1. No. 7 (September-2012). ESRSA Publications

  33. Metzier V, Bienert H, Lehmann T, Mottaghy K, Sphzer K (1999) A novel method for quantifying shape deformation applied to biocompatibility testing. ASAIO J 45(4):264–271

    Article  Google Scholar 

  34. Novini AR (1985) Fundamentals of machine vision component selection. Society of Manufacturing Engineers

  35. Paul A, Ahmad A, Mazhar Rathore M, Jabbar S (2016) Smartbuddy: defining human behaviors using big data analytics in social internet of things. IEEE Wirel Commun 23(5):68–74

    Article  Google Scholar 

  36. Primrose S, Woolfe M, Rollinson S (2010) Food forensics: methods for determining the authenticity of foodstuffs. Trends Food Sci Technol 21(12):582–590 Chicago

    Article  Google Scholar 

  37. Sapirstein HD et al (1987) An instrumental system for cereal grain classification using digital image analysis. J Cereal Sci 6(1):3–14

    Article  Google Scholar 

  38. Schäfer M (2002) Digital optics: some remarks on the accuracy of particle image analysis. Part Part Syst Charact 19(3):158–168

    Article  Google Scholar 

  39. Shapiro L, Haralick R (1992) Computer and robot vision. Addison-Wesley, Reading, p 8

    Google Scholar 

  40. Shaw WE (1990) Machine vision for detecting defects on fruits and vegetables."Food processing automation. Proceedings of the 1990 conference, Lexington, Kentucky, USA, 6–8 May 1990. American Society of Agricultural Engineers

  41. Silva CS, Upul S (2013) Classification of rice grains using neural networks. Proceedings of Technical Sessions, vol 29

  42. Sommer HJ, Kao CC, Turns SR (1990) Enhancement and morphometric analysis of digital images of turbulent flames. In Conference proceedings, 2nd Fuel Combustion Symposium

  43. Thind GK, Sogi DS (2005) Identification of coarse (IR-8), fine (PR-106) and superfine (basmati-386) rice cultivars. Food Chem 91(2):227–233 Chicago

    Article  Google Scholar 

  44. Wan Y-N, Lin C-M, Chiou J-F (2002) Rice quality classification using an automatic grain quality inspection system. Transactions of the ASAE 45(2):379

    Google Scholar 

  45. World rice production Figures October 2016 URL:

  46. Yao Q et al (2009) Inspection of rice appearance quality using machine vision. 2009 WRI Global Congress on Intelligent Systems. 4. IEEE

Download references


This research is supported by the Ministry of Trade, Industry & Energy (MOTIE, Korea) under the Industrial Technology Innovation Program, No. 10063130, by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (2016R1A2B4007498), and the MSIP (Ministry of Science, ICT and Future Planning), Korea, under the ITRC (Information Technology Research Center) support program (IITP-2016-R2718-16-0035) supervised by the IITP (Institute for Information & communications Technology Promotion).

Author information

Authors and Affiliations


Corresponding author

Correspondence to Gyu Sang Choi.

Additional information

An erratum to this article is available at

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ali, T., Jhandhir, Z., Ahmad, A. et al. Detecting fraudulent labeling of rice samples using computer vision and fuzzy knowledge. Multimed Tools Appl 76, 24675–24704 (2017).

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: