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}
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.