Exploring Convolutional Neural Networks for Rice Grain Classification: An Explainable AI Approach
- URL: http://arxiv.org/abs/2505.05513v2
- Date: Thu, 15 May 2025 06:56:31 GMT
- Title: Exploring Convolutional Neural Networks for Rice Grain Classification: An Explainable AI Approach
- Authors: Muhammad Junaid Asif, Hamza Khan, Rabia Tehseen, Syed Tahir Hussain Rizvi, Mujtaba Asad, Shazia Saqib, Rana Fayyaz Ahmad,
- Abstract summary: This research paper presents an automatic framework based on a convolutional neural network (CNN) for classifying different varieties of rice grains.<n>We evaluate the proposed model based on performance metrics such as accuracy, recall, precision, and F1-Score.
- Score: 1.0208529247755187
- License: http://creativecommons.org/licenses/by-nc-sa/4.0/
- Abstract: Rice is an essential staple food worldwide that is important in promoting international trade, economic growth, and nutrition. Asian countries such as China, India, Pakistan, Thailand, Vietnam, and Indonesia are notable for their significant contribution to the cultivation and utilization of rice. These nations are also known for cultivating different rice grains, including short and long grains. These sizes are further classified as basmati, jasmine, kainat saila, ipsala, arborio, etc., catering to diverse culinary preferences and cultural traditions. For both local and international trade, inspecting and maintaining the quality of rice grains to satisfy customers and preserve a country's reputation is necessary. Manual quality check and classification is quite a laborious and time-consuming process. It is also highly prone to mistakes. Therefore, an automatic solution must be proposed for the effective and efficient classification of different varieties of rice grains. This research paper presents an automatic framework based on a convolutional neural network (CNN) for classifying different varieties of rice grains. We evaluated the proposed model based on performance metrics such as accuracy, recall, precision, and F1-Score. The CNN model underwent rigorous training and validation, achieving a remarkable accuracy rate and a perfect area under each class's Receiver Operating Characteristic (ROC) curve. The confusion matrix analysis confirmed the model's effectiveness in distinguishing between the different rice varieties, indicating minimal misclassifications. Additionally, the integration of explainability techniques such as LIME (Local Interpretable Model-agnostic Explanations) and SHAP (SHapley Additive exPlanations) provided valuable insights into the model's decision-making process, revealing how specific features of the rice grains influenced classification outcomes.
Related papers
- An Improved Pure Fully Connected Neural Network for Rice Grain Classification [0.0]
Deep learning has enabled automated classification of rice, improving accuracy and efficiency.<n> classical models based on first-stage training may face difficulties in distinguishing between rice varieties with similar external characteristics.<n>We propose two subtle methods to enhance the classification ability of deep learning models in terms of the classification of rice grain.
arXiv Detail & Related papers (2025-03-05T02:10:14Z) - An Overall Real-Time Mechanism for Classification and Quality Evaluation of Rice [1.7034902216513157]
This study proposes a real-time evaluation mechanism for comprehensive rice grain assessment.<n>It integrates a one-stage object detection approach, a deep convolutional neural network, and traditional machine learning techniques.<n>The proposed framework enables rice variety identification, grain completeness grading, and grain chalkiness evaluation.
arXiv Detail & Related papers (2025-02-19T14:24:25Z) - Anticipatory Understanding of Resilient Agriculture to Climate [66.008020515555]
We present a framework to better identify food security hotspots using a combination of remote sensing, deep learning, crop yield modeling, and causal modeling of the food distribution system.
We focus our analysis on the wheat breadbasket of northern India, which supplies a large percentage of the world's population.
arXiv Detail & Related papers (2024-11-07T22:29:05Z) - RoDE: Linear Rectified Mixture of Diverse Experts for Food Large Multi-Modal Models [96.43285670458803]
Uni-Food is a unified food dataset that comprises over 100,000 images with various food labels.<n>Uni-Food is designed to provide a more holistic approach to food data analysis.<n>We introduce a novel Linear Rectification Mixture of Diverse Experts (RoDE) approach to address the inherent challenges of food-related multitasking.
arXiv Detail & Related papers (2024-07-17T16:49:34Z) - A novel method for identifying rice seed purity based on hybrid machine learning algorithms [0.0]
In the grain industry, the identification of seed purity is a crucial task as it is an important factor in evaluating the quality of seeds.
This study proposes a novel method for automatically identifying the rice seed purity of a certain rice variety based on hybrid machine learning algorithms.
arXiv Detail & Related papers (2024-06-09T17:13:25Z) - HarvestNet: A Dataset for Detecting Smallholder Farming Activity Using
Harvest Piles and Remote Sensing [50.4506590177605]
HarvestNet is a dataset for mapping the presence of farms in the Ethiopian regions of Tigray and Amhara during 2020-2023.
We introduce a new approach based on the detection of harvest piles characteristic of many smallholder systems.
We conclude that remote sensing of harvest piles can contribute to more timely and accurate cropland assessments in food insecure regions.
arXiv Detail & Related papers (2023-08-23T11:03:28Z) - Fruit Ripeness Classification: a Survey [59.11160990637616]
Many automatic methods have been proposed that employ a variety of feature descriptors for the food item to be graded.
Machine learning and deep learning techniques dominate the top-performing methods.
Deep learning can operate on raw data and thus relieve the users from having to compute complex engineered features.
arXiv Detail & Related papers (2022-12-29T19:32:20Z) - Vision-Based Defect Classification and Weight Estimation of Rice Kernels [12.747541089354538]
We present an automatic visual quality estimation system of rice kernels, to classify the sampled rice kernels according to their types of flaws, and evaluate their quality via the weight ratios of the perspective kernel types.
We define a novel metric to measure the relative weight of each kernel in the image from its area, such that the relative weight of each type of kernels with regard to the all samples can be computed and used as the basis for rice quality estimation.
arXiv Detail & Related papers (2022-10-06T03:58:05Z) - Facilitated machine learning for image-based fruit quality assessment in
developing countries [68.8204255655161]
Automated image classification is a common task for supervised machine learning in food science.
We propose an alternative method based on pre-trained vision transformers (ViTs)
It can be easily implemented with limited resources on a standard device.
arXiv Detail & Related papers (2022-07-10T19:52:20Z) - Automatic Detection of Rice Disease in Images of Various Leaf Sizes [0.5284812806199193]
We focused on the solution using computer vision technique to detect rice diseases from rice field photograph images.
To solve this problem, we presented a technique combining a CNN object detection with image tiling technique.
Our technique was evaluated on 4,960 images of eight different types of rice leaf diseases, including blast, blight, brown spot, narrow brown spot, orange, red stripe, rice grassy stunt virus, and streak disease.
arXiv Detail & Related papers (2022-06-15T07:56:41Z) - Cross-Modal Food Retrieval: Learning a Joint Embedding of Food Images
and Recipes with Semantic Consistency and Attention Mechanism [70.85894675131624]
We learn an embedding of images and recipes in a common feature space, such that the corresponding image-recipe embeddings lie close to one another.
We propose Semantic-Consistent and Attention-based Networks (SCAN), which regularize the embeddings of the two modalities through aligning output semantic probabilities.
We show that we can outperform several state-of-the-art cross-modal retrieval strategies for food images and cooking recipes by a significant margin.
arXiv Detail & Related papers (2020-03-09T07:41:17Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.