Computer Vision Technique for Quality Grading of Cardamom Spice

dc.contributor.authorAhnaf, M. R. A.
dc.contributor.authorNizzad, A. R. M.
dc.contributor.authorMafaza, N. F.
dc.date.accessioned2025-10-08T10:06:29Z
dc.date.issued2025
dc.description.abstractIn the agriculture industry, spices such as cardamom must be graded and their quality evaluated to maintain product standards and increase market value. Traditionally, cardamoms are graded manually, but this process is time-consuming, inconsistent, and prone to human error due to fatigue and subjectivity. This study proposes computer vision-based techniques to detect and categorize cardamom into four grades—premium, standard, substandard, and defective—based on size, shape, and texture. Researchers prepared 880 images representing these categories under uniform lighting conditions. Preprocessing techniques, including resizing, noise addition, and augmentation, were applied to enhance the dataset for robust model training. YOLOv8 was utilized for the detection and grading of cardamoms due to its capability for real-time object detection and classification. The proposed method effectively differentiated between quality grades with an accuracy of 92%, demonstrating reliability and efficiency. A user-friendly interface was developed using the Streamlit library, allowing users to upload images and obtain grading results instantly. This system offers a practical and scalable solution for improving quality control processes in the agricultural sector. Future work aims to incorporate larger datasets, texture analysis, and integration with automated machinery to further enhance its applicability in industrial settings. The proposed solution can also be generalized to other use cases in the agricultural industry.
dc.identifier.citationAhnaf, M. R. A., Nizzad, A. R. M., & Mafaza, N. F. (2025). Computer vision technique for quality grading of cardamom spice. In Proceedings of the International Research Conference on Smart Computing and Systems Engineering (SCSE 2025). Department of Industrial Management, Faculty of Science, University of Kelaniya.
dc.identifier.urihttp://repository.kln.ac.lk/handle/123456789/30064
dc.publisherDepartment of Industrial Management, Faculty of Science, University of Kelaniya.
dc.subjectComputer Vision
dc.subjectCardamom Quality Grading
dc.subjectImage Processing
dc.subjectYOLOv8
dc.subjectAgricultural Automation
dc.titleComputer Vision Technique for Quality Grading of Cardamom Spice
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
SCSE Abstract Proceedings 2025-48.pdf
Size:
9.97 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: