Chili Classification Using Shape and Color Features Based on Image Processing

Yobel Fernanda Sihombing, Anindita Septiarini, A. H. Kridalaksana, N. Puspitasari
{"title":"Chili Classification Using Shape and Color Features Based on Image Processing","authors":"Yobel Fernanda Sihombing, Anindita Septiarini, A. H. Kridalaksana, N. Puspitasari","doi":"10.15294/sji.v9i1.33658","DOIUrl":null,"url":null,"abstract":"Abstract. Purpose: Chili is an agricultural product that has several varieties and is in great demand. It can be consumed directly or processed first.  This study aims to classify the types of chili using color and shape features. The types of chili are divided into five classes: cayenne pepper, green chili, big green chili, big red chili, and curly chili. The chili classification method was evaluated using three parameters: precision, recall, and accuracy.Methods: This study applied the K-Nearest Neighbors (KNN) method with the Euclidean and Manhattan distance calculation algorithm and used two feature types: color and shape. The color features were extracted based on RGB color space by obtaining the mean and standard deviation values. Meanwhile, the shape features used aspect ratio, area, and boundary.Result: The evaluation results of the classification method were able to achieve the precision, recall, and accuracy values of 1.0, which means that all test data were classified correctly. The evaluation was applied with 210 training images and 90 test images based on the test results.Novelty: This study extracted two types of features: color and shape. Those features fed the KNN method by applying the Euclidean and Manhattan distance calculation algorithm; hence, the optimal results were achieved.","PeriodicalId":30781,"journal":{"name":"Scientific Journal of Informatics","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific Journal of Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.15294/sji.v9i1.33658","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Abstract. Purpose: Chili is an agricultural product that has several varieties and is in great demand. It can be consumed directly or processed first.  This study aims to classify the types of chili using color and shape features. The types of chili are divided into five classes: cayenne pepper, green chili, big green chili, big red chili, and curly chili. The chili classification method was evaluated using three parameters: precision, recall, and accuracy.Methods: This study applied the K-Nearest Neighbors (KNN) method with the Euclidean and Manhattan distance calculation algorithm and used two feature types: color and shape. The color features were extracted based on RGB color space by obtaining the mean and standard deviation values. Meanwhile, the shape features used aspect ratio, area, and boundary.Result: The evaluation results of the classification method were able to achieve the precision, recall, and accuracy values of 1.0, which means that all test data were classified correctly. The evaluation was applied with 210 training images and 90 test images based on the test results.Novelty: This study extracted two types of features: color and shape. Those features fed the KNN method by applying the Euclidean and Manhattan distance calculation algorithm; hence, the optimal results were achieved.
基于图像处理的辣椒形状和颜色特征分类
摘要用途:辣椒是一种有多种品种的农产品,需求量很大。它可以直接食用,也可以先加工。本研究旨在利用辣椒的颜色和形状特征对辣椒进行分类。辣椒的种类分为五类:红椒、绿椒、大绿椒、大红椒和卷椒。采用精密度、召回率和准确度三个参数对辣椒分类方法进行评价。方法:本研究采用k近邻(KNN)方法,结合欧几里得和曼哈顿距离计算算法,使用颜色和形状两种特征类型。基于RGB色彩空间提取颜色特征,获取平均值和标准差值。同时,形状特征采用宽高比、面积和边界。结果:该分类方法的评价结果能够达到精密度、召回率和准确率为1.0的值,即所有测试数据都被正确分类。根据测试结果对210张训练图像和90张测试图像进行评价。新颖性:本研究提取了两种特征:颜色和形状。这些特征通过欧几里得和曼哈顿距离计算算法馈送到KNN方法中;因此,获得了最优的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
13
审稿时长
24 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信