KMITL Innovation Expo 2025 Logo

Mango Fruit Detection and 3D Localization System

Mango Fruit Detection and 3D Localization System

Abstract

The evaluation of mango yield and consumer behavior reflects an increasing awareness of product origins, with a growing demand for traceability to understand how the produce has been cultivated and managed. This study explores the relationship between mango characteristics and cultivation practices before harvest, using location identification to provide insights into these processes. To achieve this, a model was developed to detect and locate mangoes using 2D images via a Deep Learning approach. The study also investigates techniques to determine the real-world coordinates of mangoes from 2D images. The YOLOv8 model was employed for object detection, integrated with camera calibration and triangulation techniques to estimate the 3D positions of detected mangoes. Experiments involved 125 trials with randomized mango positions and camera placements at varying yaw and pitch angles. Parameters extracted from sequential images were compared to derive the actual 3D positions of the mangoes. The YOLOv8 model demonstrated high performance with prediction metrics of Precision (0.928), Recall (0.901), mAP50 (0.965), mAP50-95 (0.785), and F1-Score (0.914). These results indicate sufficient accuracy for predicting mango positions, with an average positional error of approximately 38 centimeters.

Objective

ในปัจจุบัน เทคโนโลยีทางการเกษตรได้รับการพัฒนาอย่างต่อเนื่อง เพื่อเพิ่มประสิทธิภาพในการผลิตและการจัดการผลผลิตอย่างแม่นยำ การตรวจจับตำแหน่งของผลผลิตในพื้นที่เกษตรกรรมถือเป็นหนึ่งในความท้าทายสำคัญที่นักวิจัยและผู้ประกอบการในอุตสาหกรรมเกษตรกรรมต้องการหาทางออก โดยเฉพาะการตรวจจับและการประเมินผลผลิตของผลมะม่วง ที่เป็นผลไม้ที่มีความสำคัญทางเศรษฐกิจในหลายประเทศ ซึ่งประเทศไทยเป็นหนึ่งในผู้ผลิตมะม่วงรายใหญ่ของโลก รวมถึงพฤติกรรมของผู้บริโภคที่มีความตระหนักถึงที่มาของผลผลิตมากยิ่งขึ้น ต้องการตรวจสอบย้อนกลับถึงที่มาของผลผลิตว่าผลผลิตนั้นๆได้รับการดูแลมาอย่างไรผ่านการระบุตำแหน่งของผลนั้นๆ ทั้งเป็นแหล่งข้อมูลที่บ่งบอกถึงลักษะของผลผลิตที่ได้มาได้ผ่านการดูแลรูปแบบใดในขณะที่ยังไม่ถูกเก็บเกี่ยว การพัฒนาเทคนิคในการหาตำแหน่งบนโลกจริง 3 มิติ ของมะม่วงจากข้อมูลภาพ 2 มิติ จึงเป็นเรื่องที่มีความสำคัญอย่างยิ่งในด้านการเกษตร เนื่องจากการตรวจจับและการประเมินผลผลิตในพื้นที่เกษตรกรรมเป็นขั้นตอนสำคัญในการจัดการและการเก็บเกี่ยวผลผลิต เทคนิคที่ใช้ในงานวิจัยนี้คือการผสมผสานระหว่างการสอบเทียบกล้อง (Camera Calibration) การตรวจจับวัตถุจากภาพ 2 มิติเพื่อคำนวณตำแหน่งในมิติ 3 มิติ โดยเทคนิค Triangulation และเทคโนโลยีการตรวจจับภาพที่มีความแม่นยำสูงอย่าง YOLOv8 มาใช้ ซึ่งเป็นโมเดลที่พัฒนาโดยใช้การเรียนรู้เชิงลึก (deep learning) ที่มีประสิทธิภาพในการตรวจจับวัตถุในภาพได้อย่างรวดเร็วและแม่นยำ ทั้งนี้ผู้จัดทำจึงมีแนวคิดที่ต้องการพัฒนาวิธีการหาตำแหน่งของผลมะม่วง เพื่อเพิ่มความสามารถในการประเมินผลผลิตทางการเกษตร ซึ่งเป็นปัจจัยสำคัญในการทำการเกษตรแบบเกษตรแม่นยำ (Precision Agriculture) การใช้เทคโนโลยีที่มีความแม่นยำสูงในการตรวจจับและประมวลผลข้อมูลภาพสามารถช่วยให้การจัดการผลผลิตในภาคเกษตรกรรมมีประสิทธิภาพมากขึ้น การรับรู้ข้อมูลของผลผลิต ลดความผิดพลาดในการประเมิน และความรวดเร็วในการจัดการ นอกจากนี้ยังสามารถนำไปประยุกต์ใช้ในการพัฒนาเทคโนโลยีใหม่ๆ ที่สามารถช่วยเพิ่มผลผลิตในภาคเกษตรกรรมและเสริมสร้างความยั่งยืนในอุตสาหกรรมเกษตรกรรมในอนาคต

Other Innovations

Detection of Durian Leaf Diseases Using Image Analysis and Artificial Intelligence

คณะเทคโนโลยีการเกษตร

Detection of Durian Leaf Diseases Using Image Analysis and Artificial Intelligence

Durian is a crucial economic crop of Thailand and one of the most exported agricultural products in the world. However, producing high-quality durian requires maintaining the health of durian trees, ensuring they remain strong and disease-free to optimize productivity and minimize potential damage to both the tree and its fruit. Among the various diseases affecting durian, foliar diseases are among the most common and rapidly spreading, directly impacting tree growth and fruit quality. Therefore, monitoring and controlling leaf diseases is essential for preserving durian quality. This study aims to apply image analysis technology combined with artificial intelligence (AI) to classify diseases in durian leaves, enabling farmers to diagnose diseases independently without relying on experts. The classification includes three categories: healthy leaves (H), leaves infected with anthracnose (A), and leaves affected by algal spot (S). To develop the classification model, convolutional neural network (CNN) algorithms—ResNet-50, GoogleNet, and AlexNet—were employed. Experimental results indicate that the classification accuracy of ResNet-50, GoogleNet, and AlexNet is 93.57%, 93.95%, and 68.69%, respectively.

Read more
PROBIOGENOMIC ASESSMENT OF THE ABILITY OF THE POTENTAIL PROBIOTIC ENTEROCOCCUS LACTIS RRS4 ISOLATED FROM RAPHANUS SATIVUS LINN TO PROTECT VANCOMYCIN RESISTANT ENTEROCOCCUS

คณะวิทยาศาสตร์

PROBIOGENOMIC ASESSMENT OF THE ABILITY OF THE POTENTAIL PROBIOTIC ENTEROCOCCUS LACTIS RRS4 ISOLATED FROM RAPHANUS SATIVUS LINN TO PROTECT VANCOMYCIN RESISTANT ENTEROCOCCUS

The species Enterococcus lactis is closely related to E. faecium and is known for its beneficial and probiotic effects. In this study, strain RRS4 was isolated from Raphanus sativus Linn. and identified based on both phenotypic and genotypic characteristics. Strain RRS4 exhibited cell viability in environments with 2-8% NaCl, pH ranging from 4 to 9, and temperatures between 4°C and 45°C. Through comprehensive genomic analysis, strain RRS4 was confirmed to be E. lactis. E. lactis RRS4 demonstrated inhibitory effects against Vancomycin-resistant E. faecalis JCM 5803. Safety assessments via in silico methods, including KEGG annotation, indicated the absence of virulent and undesirable genes in E. lactis RRS4. VirulenceFinder analysis aligned virulence-related genes with those from three strains of E. lactis and four strains of E. faecium. While antibiotic resistance genes were found to be conserved, they did not correlate with key pathogenicity traits. Furthermore, safety evaluations highlighted that E. lactis RRS4 is generally safe, despite the presence of genes associated with antibiotic resistance. Lastly, we propose guidelines for assessing the safety of microbial strains using whole-genome analysis. These findings represent advancements in probiotic research.

Read more
OverSteer!

คณะวิทยาศาสตร์

OverSteer!

With the arrival of multimedia innovations such as games, access to media has changed, creating novelty in media consumption. Oversteer is a project that takes advantage of gaming media to allow users to experience driving similar to driving on a racetrack.

Read more