基于Python的可可豆缺陷精细视觉几何分类

Aileen F. Villamonte, Patrick John S. Silva, D. G. D. Ronquillo, Marife A. Rosales, A. Bandala, E. Dadios
{"title":"基于Python的可可豆缺陷精细视觉几何分类","authors":"Aileen F. Villamonte, Patrick John S. Silva, D. G. D. Ronquillo, Marife A. Rosales, A. Bandala, E. Dadios","doi":"10.1109/HNICEM54116.2021.9731887","DOIUrl":null,"url":null,"abstract":"The study aims to classify cacao bean defects based on the captured image using vgg16. Seven classes of cacao beans were gathered including broken, cluster, flat, germinated, good, insect and moldy. One hundred images per class were captured using an enclosed capturing box with c920 Logitech camera inside and LED as light source. Image augmentation was done to increase dataset. Transfer learning technique was implemented by utilizing the pre-trained vgg16 model architecture adding 10% Dropout after FC2 layer and using default weights of several layers through fine-tuning. Three methods of fine-tuning were conducted by freezing the convolutional blocks. Performance of the trained model using several optimizers (such as Adam, RMSprop and SGD) and loss functions (such as categorical crossentropy and mean squared error) were analysed. The effect of the no. of epochs as well as different learning rates during training was considered and checked. The metrics used in choosing the model were based on the confusion matrix. The chosen model is using vgg16 architecture with 10% dropout + adam optimizer + 0.0001 learning rate + categorical crossentropy loss function run in 20 epochs. It has 95.33% average accuracy. The model was embedded in a processor for actual testing. It has an accuracy of 97.29% based on the actual testing on prototype with 37 testing samples.","PeriodicalId":129868,"journal":{"name":"2021 IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Python Based Defect Classification of Theobroma Cacao Bean using Fine-Tuned Visual Geometry Group16\",\"authors\":\"Aileen F. Villamonte, Patrick John S. Silva, D. G. D. Ronquillo, Marife A. Rosales, A. Bandala, E. Dadios\",\"doi\":\"10.1109/HNICEM54116.2021.9731887\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The study aims to classify cacao bean defects based on the captured image using vgg16. Seven classes of cacao beans were gathered including broken, cluster, flat, germinated, good, insect and moldy. One hundred images per class were captured using an enclosed capturing box with c920 Logitech camera inside and LED as light source. Image augmentation was done to increase dataset. Transfer learning technique was implemented by utilizing the pre-trained vgg16 model architecture adding 10% Dropout after FC2 layer and using default weights of several layers through fine-tuning. Three methods of fine-tuning were conducted by freezing the convolutional blocks. Performance of the trained model using several optimizers (such as Adam, RMSprop and SGD) and loss functions (such as categorical crossentropy and mean squared error) were analysed. The effect of the no. of epochs as well as different learning rates during training was considered and checked. The metrics used in choosing the model were based on the confusion matrix. The chosen model is using vgg16 architecture with 10% dropout + adam optimizer + 0.0001 learning rate + categorical crossentropy loss function run in 20 epochs. It has 95.33% average accuracy. The model was embedded in a processor for actual testing. It has an accuracy of 97.29% based on the actual testing on prototype with 37 testing samples.\",\"PeriodicalId\":129868,\"journal\":{\"name\":\"2021 IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-11-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/HNICEM54116.2021.9731887\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HNICEM54116.2021.9731887","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本研究旨在利用vgg16对捕获的可可豆缺陷图像进行分类。采集的可可豆分为碎豆、簇豆、扁豆、发芽豆、好豆、虫豆和发霉豆七个等级。每个班级使用封闭的捕获盒捕获100张图像,箱内装有c920罗技摄像机,LED为光源。通过图像增强来增加数据集。利用预先训练好的vgg16模型架构,在FC2层后添加10% Dropout,并通过微调使用几层的默认权值来实现迁移学习技术。通过冻结卷积块进行了三种微调方法。使用几个优化器(如Adam, RMSprop和SGD)和损失函数(如分类交叉熵和均方误差)分析了训练模型的性能。no的作用。在训练过程中考虑了不同的学习速率,并进行了检验。选择模型时使用的度量是基于混淆矩阵的。所选模型采用vgg16架构,drop - out为10% + adam优化器+ 0.0001学习率+分类交叉熵损失函数,运行时间为20个epoch。它的平均准确率为95.33%。该模型被嵌入到处理器中进行实际测试。通过对样机37个测试样本的实际测试,准确率达到97.29%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Python Based Defect Classification of Theobroma Cacao Bean using Fine-Tuned Visual Geometry Group16
The study aims to classify cacao bean defects based on the captured image using vgg16. Seven classes of cacao beans were gathered including broken, cluster, flat, germinated, good, insect and moldy. One hundred images per class were captured using an enclosed capturing box with c920 Logitech camera inside and LED as light source. Image augmentation was done to increase dataset. Transfer learning technique was implemented by utilizing the pre-trained vgg16 model architecture adding 10% Dropout after FC2 layer and using default weights of several layers through fine-tuning. Three methods of fine-tuning were conducted by freezing the convolutional blocks. Performance of the trained model using several optimizers (such as Adam, RMSprop and SGD) and loss functions (such as categorical crossentropy and mean squared error) were analysed. The effect of the no. of epochs as well as different learning rates during training was considered and checked. The metrics used in choosing the model were based on the confusion matrix. The chosen model is using vgg16 architecture with 10% dropout + adam optimizer + 0.0001 learning rate + categorical crossentropy loss function run in 20 epochs. It has 95.33% average accuracy. The model was embedded in a processor for actual testing. It has an accuracy of 97.29% based on the actual testing on prototype with 37 testing samples.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信