Quality Analysis and Classification of Rice Using Image Processing
Quality Analysis and Classification of Rice Using Image Processing
https://doi.org/10.22214/ijraset.2022.44227
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
Abstract: Grain quality analysis is a huge challenge in agricultural industries. Internal control is critical in the food industry
because food products are characterized and rated into various categories after quality data has been collected. Grain quality
assessment is performed by hand, but the results are subjective, lengthy, and pricey. To overcome the limitations and drawbacks
of image processing techniques, different resolutions are used for grain quality analysis. Using image processing techniques,
this paper proposes a method for grading and analyzing rice based on grain size and form. An edge detection algorithmic
software is used in particular to determine the area of each grain's borders. we discover the endpoints of each grain using this
technique, and we can then live the grain's endpoints using caliper.
Keywords: Grain quality, rice characteristics, image acquisition, image processing and analysis, grain evaluation, etc.
I. INTRODUCTION
Agricultural enterprise is the oldest and maximum huge enterprise withinside the world. Traditionally, the first-class of meals are
described via way of means of a human sensory panel primarily based totally on its bodily and chemical properties. Physical
parameters encompass grain length and form, moisture content material, chalk, whiteness, and freeness. For the top-of-line storage,
the moisture content material needed to be among 12-14%. Various techniques are used for moisture evaluation.
The primary goal of the proposed method is to provide an alternative approach to quality analysis that requires less time and money.
Image processing is an important and advanced technological subject that has seen significant progress. Attempts are being made to
replace human manual detection. The document suggests a solution to agribusiness problems.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 2002
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
III. METHODS
Fig. 2 depicts the flow of the image processing method, which consists of a few basic phases. For image acquisition, rice grains are
scattered at random on a black background. The image is saved to be analyzed later. The first phase is pre-processing, which
involves image registration and noise removal via a filter. The Shrinkage algorithm is used to segment the touching kernels in the
second stage. We have a tendency to use edge detection in the third stage to find the boundary region. The rice grain measurement,
as well as length, breadth, and length-breadth measurements, are completed in the fourth stage. Rice is categorized in the fifth stage
of the algorithm based on its size and form.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 2003
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
In the vision and motion toolbox, there are different types of morphological operations are available such as;
1) Auto M - Auto median,
2) Close - Dilation followed by an erosion,
3) Dilate - Dilation (opposite of erosion),
4) Erode - Erosion which removes isolated background pixels,
5) Open - Erosion followed by dilation,
6) P close - A succession of seven closings and openings,
7) P open - A succession of seven openings and closings.
C. Edge Detection
As illustrated in Fig.6, edge detection aids in locating the region of rice grain boundaries. Gaussian, Gradient, Prewitt, Canny,
Fuzzy, and Sobel are six edge detection algorithms offered in Vision and Motion Toolbox. In the proposed methodology, we use the
Sobel method to find edges.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 2004
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
D. Object Measurement
The number of grains of rice in the image represents the number of individual grains in the evaluation. After counting the number of
grains of rice, edge detection techniques are implemented to the image, and endpoint values for each grain are obtained as a result of
the algorithm's application. We use a caliper to connect the endpoints and evaluate the length and breadth of every grain. Once we
have the length and breadth values, we can calculate the length to breadth ratio.
E. Object Classification
All outcomes must be standard, measured, and calculated to be classified. The laboratory manual on rice grain quality, Board of
Rice analysis, Rajendranagar, Hyderabad, provides the standard information for measuring the size and form of rice.
The table below shows how rice grains are classified based on the length and length-to-breadth ratio:
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 2005
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
Images in which rice grains are randomly arranged and dispersed in a layer are subjected to image analysis techniques. When a fault
occurs, such as touching kernels, the shrinking process effectively separates the connecting section from the points where the
kernels are touching. Edge detection is used to determine the range of each grain's boundaries and endpoints, after which the length
and width can be measured with a caliper. The length-breadth ratio is calculated when the length and breadth values have been
determined. A dash app is created to see the results of the Average aspect Ratio Vs Classification chart and a pie chart for Quality
analysis of the input image.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 2006
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
V. CONCLUSION
In this project, we classify the taken rice grain sample into different categories and also analyze its quality based on the aspect ratio,
so comparison with other works is not possible. Existing work only detects the rice grains or calculates the number of rice grains in
the given sample, but our work helps analyze the quality of the rice sample and place it into a specific category. The quality of the
grains in the samples is nearly 100% accurate and capable of efficiently classifying high-value grains, which is otherwise very time-
consuming in manual analysis. This function can save a lot of time and manpower.
REFERENCES
[1] “Laboratory Manual on Rice Grain Quality”, Directorate of Rice Research, Rajendranagar, Hyderabad, September 2013.
[2] Mahale, Bhagyashree, and Sapana Korde. "Rice quality analysis using image processing techniques." International Conference for Convergence for
Technology-2014. IEEE, 2014.
[3] Ali, S.F., Jamil, H., Jamil, R., Torij, I. and Naz, S., 2017, November. “Lowcost 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.
[4] “Documentation Python”. Online: https://www.python.org/doc/
[5] “Documentation Open CV”. Online: https://opencv.org/about/
[6] IBPGR-IRRI Rice Advisory Committee, “Descriptors for Rice Oryza Sativa L”. International Rice Research Institute and International Board for Plant Genetic
Resources, 2020.
[7] Divya Mohan, M.Raj., Semanticscholar 2016, ”Quality Analysis of rice grain using ANN and SVM”.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 2007