KMITL Expo 2026 LogoKMITL 66th Anniversary 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

Micro Car Design Project for Students by Nike.

คณะสถาปัตยกรรม ศิลปะและการออกแบบ

Micro Car Design Project for Students by Nike.

-

Read more
Effects of Different Salinity Levels on Survival Rate and Growth Performance of Golden Apple Snail (Pomacea canaliculata) for Brackish Water Aquaculture Development

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

Effects of Different Salinity Levels on Survival Rate and Growth Performance of Golden Apple Snail (Pomacea canaliculata) for Brackish Water Aquaculture Development

This study aimed to investigate the effects of different salinity levels on survival rate and growth performance of golden apple snail (Pomacea canaliculata). The experiment was conducted at salinity levels of 0, 5, 10, and 15 ppt, with four replicates each, over an 8-week period. The results showed that golden apple snails reared at 5-10 ppt exhibited survival rates and growth performance not significantly different (p>0.05) from those in the freshwater control group (0 ppt). These findings suggest the potential for developing golden apple snail culture in brackish water systems and the possibility of integration with other brackish water species in polyculture systems.

Read more
"Blood D": Application and Campaign for Physically and Mentally Preparation of Thai Red Cross’s Blood Doner

คณะสถาปัตยกรรม ศิลปะและการออกแบบ

"Blood D": Application and Campaign for Physically and Mentally Preparation of Thai Red Cross’s Blood Doner

In the world of blood donation, there are 2 types of people: those who donate blood and those who don't. Most campaigners emphasize how to persuade more people to donate blood and recruit more new blood donors. We believe that even though such focus is important, there're more critical aspects that might have been neglected, which is: for those who have already made up their minds to be blood doners, will they be successful in donating when the time comes? According to our studies, only 63 % of attempted doners are successful. Regrettably, 37 % has to go home disappointed as their bodies are not fit for the conditions required by Red Cross medical staff at blood donation centers (which include some most basic preparations such as low-fat food intake and 8-hours sleep on the night before). Our campaign, ‘Blood in Need, Buddy Indeed’, focuses on 2 aspects. Firstly, to persuade more people to donate blood. Secondly, for those who have made up their minds to donate blood, we will provide necessary support (both body and mind) so that they are fully prepared and successful in donating blood when the time comes via networks of systems, staffs and the newly designed and prototype of the application ‘Blood D’. Our campaign covers the whole ‘before/during/after’ experience of users (as blood doners). Support includes assessment of their current condition whether they are within the requirement of Red Cross Blood Bank. ‘Blood D’ will also provide relevant information on blood donating events, such as locations, and time booking. Once sign-up, the application “Blood D” will sent friendly reminder and clear infographic on how to prepare their bodies as daily notifications during the 7 days countdown. This is to ensure that the users’ blood will be ‘D’ (homophone of the Thai word ‘ดี’ which mean ‘good’ and at the same time playing on the word ‘ Buddy’) or be the ‘good blood’ that can save lives for those in need. After organizing 4 blood donation events both within and outside the KMITL. The numbers of successful blood doners have increased from 63 % to 78 % (this number is the average of 4 events, with the most successful event of 89%). The campaign has won the first runner up in national blood donation campaign competition. It is highly anticipated that once the application “Blood D” is fully launched, it will help increase the amount of blood collected up to 15% with the same numbers of existing doners.

Read more