Skip to main navigation Skip to search Skip to main content

Efficient Rice-Grain Segmentation, Alignment, and Classification Using YOLOv8 and Hybrid Attention Mechanisms

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

This study proposes an integrated and efficient framework for automated classification of rice grains, addressing key challenges in segmentation, orientation alignment, and category identification. The methodology incorporates a GraphCut-based segmentation strategy to isolate individual grains, followed by a dominant-axis rotation mechanism that standardizes their alignment. A lightweight yet powerful YOLOv8 model, finetuned for this task, is employed to categorize grains into five quality-based classes (T1-T5). To improve class distinction, both morphological and texture features are considered during training. Experimental results show strong performance, achieving a mean Average Precision (mAP) of 92.7%, an IoU of 88.4%, and an inference time of 15.2 ms per image. When benchmarked against conventional techniques such as SVM, KNN, Mask R-CNN, and Watershed-based segmentation, the proposed approach consistently outperforms them. The unified pipeline is not only accurate but also computationally efficient, making it well-suited for deployment in real-time grain quality monitoring systems within agricultural and industrial environments.

Original languageEnglish
Title of host publicationProceedings of 10th International Conference on Communication and Electronics Systems, ICCES 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1642-1648
Number of pages7
ISBN (Electronic)9798331597566
DOIs
Publication statusPublished - 2025
Event10th International Conference on Communication and Electronics Systems, ICCES 2025 - Coimbatore, India
Duration: 28-10-202530-10-2025

Publication series

NameProceedings of 10th International Conference on Communication and Electronics Systems, ICCES 2025

Conference

Conference10th International Conference on Communication and Electronics Systems, ICCES 2025
Country/TerritoryIndia
CityCoimbatore
Period28-10-2530-10-25

All Science Journal Classification (ASJC) codes

  • Information Systems and Management
  • Artificial Intelligence
  • Computer Networks and Communications
  • Safety, Risk, Reliability and Quality
  • Control and Optimization
  • Electrical and Electronic Engineering

Fingerprint

Dive into the research topics of 'Efficient Rice-Grain Segmentation, Alignment, and Classification Using YOLOv8 and Hybrid Attention Mechanisms'. Together they form a unique fingerprint.

Cite this