TEBP2-YOLOv8: A defect-sensitive convolutional neural network architecture featuring texture enrichment and P2 micro-scale detection for fine-grained eggplant quality assessment in precision agriculture
| bracu.degree.level | Undergraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Reza, Md. Tanzim | |
| dc.contributor.author | Islam, S. M. Ababil | |
| dc.contributor.author | Saha, Debashis | |
| dc.contributor.author | Alam, Md. Ridowanul | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2026-08-24T08:18:06Z | |
| dc.date.available | 2026-08-24T08:18:06Z | |
| dc.date.copyright | 2026 | |
| dc.date.issued | 2026-04 | |
| dc.description | This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2026. | |
| dc.description | Cataloged from PDF version of thesis. | |
| dc.description | Includes bibliographical references (page 77-79). | |
| dc.description.abstract | Bangladesh’s economy is mostly dependent on agriculture. Ensuring quality control of fruits plays a crucial role in the agricultural industries of countries like Bangladesh. Eggplant is one of the most popular vegetables in Bangladesh. Detecting and classifying eggplant fruit surface defects are important for maintaining the quality of the eggplant. However, the eggplant quality assessment still relies on traditional methods, which are less accurate, time-consuming, and leads to human error. To overcome these challenges, we propose a deep learning based approach using Convolutional Neural Networks (CNNs) for the classification of eggplant fruit quality based on the condition of defects. A total of 7,686 images of different varieties of eggplants with defects from local markets and agricultural fields of Dhaka, Bogura and Satkhira districts of Bangladesh have been collected to make the dataset. This dataset has been used to train our CNN models to classify the eggplants into three categories - rotten, insect damage, and physical damage. We have initially used YOLOv8x, YOLOv8s, Faster R-CNN for training the dataset. Later, we have proposed a custom YOLOv8x model named TEBP2-YOLOv8x having an additional P2 head for improved smaller defect detection and Texture Enhanced Blocks (TEB) for texture enhancement of subtle defects. We have also used Weighted Boxes Fusion (WBF) for combining our proposed TEBP2-YOLOv8x and YOLOv8s for improved precision. Various data augmentation techniques are also used for better accuracy. After evaluating the trained models on test set images, the results demonstrate that our proposed TEBP2-YOLOv8x model has the best performance (mAP@0.5=0.924) among the other models. An ablation study on TEBP2-YOLOv8x model shows that it enhances the detection accuracy of insect class with tiny and subtle defects (mAP@0.5 increases from 0.836 to 0.904). We believe that this study can contribute to automate the eggplant defect classification with enhanced accuracy and it will reduce the economic losses in the agricultural sector by ensuring consistent eggplant fruit quality. | |
| dc.description.degree | Bachelor of Science in Computer Science | |
| dc.description.statementofresponsibility | S. M. Ababil Islam | |
| dc.description.statementofresponsibility | Debashis Saha | |
| dc.description.statementofresponsibility | Md. Ridowanul Alam | |
| dc.format.extent | 79 pages | |
| dc.identifier | ID 22101597 | |
| dc.identifier | ID 24341198 | |
| dc.identifier.other | ID 22301182 | |
| dc.identifier.uri | https://hdl.handle.net/10361/29493 | |
| dc.language.iso | en_US | |
| dc.publisher | BRAC University | |
| dc.rights | Attribution-NonCommercial-NoDerivatives 4.0 International | en |
| dc.rights | BRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. | |
| dc.rights.uri | http://creativecommons.org/licenses/by-nc-nd/4.0/ | |
| dc.subject | TEBP2-YOLOv8 | |
| dc.subject | Deep learning | |
| dc.subject | Convolutional neural network | |
| dc.subject | Image classification | |
| dc.subject | Computer vision | |
| dc.subject | Object detection | |
| dc.subject | Data augmentation | |
| dc.subject | Texture enrichment | |
| dc.subject | Micro-scale detection | |
| dc.subject | Eggplant | |
| dc.subject | Precision agriculture | |
| dc.subject | YOLOv8 | |
| dc.subject | Faster R-CNN | |
| dc.subject.lcsh | Neural networks (Computer science). | |
| dc.subject.lcsh | Machine learning. | |
| dc.subject.lcsh | Computer vision. | |
| dc.subject.lcsh | Online data processing. | |
| dc.subject.lcsh | Precision agriculture. | |
| dc.subject.lcsh | Computer security. | |
| dc.subject.lcsh | Image processing. | |
| dc.title | TEBP2-YOLOv8: A defect-sensitive convolutional neural network architecture featuring texture enrichment and P2 micro-scale detection for fine-grained eggplant quality assessment in precision agriculture | |
| dc.type | Thesis |