จัดทำโดย
จัดทำโดย
ธนาวัฒน์ กรองการุณย์
รัชต โสมเขียว
วรรณวิสา มุ่งเจริญกลาง
ศรัณย์ โตพิสิฐ
คณะอาจารย์
อาจารย์ที่ปรึกษา
ผศ.ดร.ณัฏฐ์ โอธนาทรัพย์
อาจารย์ที่ปรึกษาโครงการ
รศ. สิริวิช ทัดสวน
การวิจัยนี้มีวัตถุประสงค์เพื่อพัฒนาเครื่องคัดแยกเกรดหน่อไม้ฝรั่งโดยใช้เทคโนโลยีปัญญาประดิษฐ์ (Artificial Intelligence: AI) ร่วมกับการประมวลผลภาพ (Image Processing) และแขนหุ่นยนต์เพื่อเพิ่มความแม่นยำในการคัดแยกเกรดของหน่อไม้ฝรั่ง และลดการพึ่งพาแรงงานมนุษย์ในการคัดแยกแบบดั้งเดิมโดยระบบสามารถตรวจสอบคุณลักษณะของหน่อไม้ฝรั่ง เช่น ขนาดลำต้น และลักษณะของยอด เพื่อจำแนกเกรดได้อย่างแม่นยำ
งานวิจัยนี้ใช้ข้อมูลรูปภาพหน่อไม่ฝรั่งจำนวน 5,927 รูปเพื่อฝึกสอนโมเดล YOLOv8 (You Only Look Once Version 8) ซึ่งเป็นโมเดลตรวจจับวัตถุที่มีความเร็วและความแม่นยำสูง โดยเริ่มจากการรวบรวมและจัดเตรียมภาพหน่อไม้ฝรั่งในแต่ละเกรด จากนั้นทำป้ายกำกับ (Labeling) เพื่อฝึกสอนโมเดล AI โดยแบ่งข้อมูลออกเป็นข้อมูลฝึกสอน 70% และข้อมูลทดสอบประสิทธิภาพ 30% ฮาร์ดแวร์ที่ใช้ในระบบประกอบด้วย Raspberry Pi 5, กล้อง Raspberry Pi Camera Module 3, บอร์ด ESP32, Servo Motor และแขนหุ่นยนต์ นอกจากนี้ระบบยังถูกออกแบบให้เชื่อมต่อกับโมบายแอปพลิเคชันที่พัฒนาด้วย Flutter ผู้ใช้สามารถดูผลข้อมูลการคัดแยกได้แบบเรียลไทม์
จากผลการทดลองระบบแบบเรียลไทม์ด้วยหน่อไม้ฝรั่งจำนวน 60 ตัวอย่าง พบว่าระบบสามารถคัดแยกเกรดได้อย่างถูกต้องในอัตราร้อยละ 85.00 ซึ่งแสดงให้เห็นว่าระบบสามารถคัดแยกเกรดหน่อไม้ฝรั่งได้จริงตามวัตถุประสงค์
ABSTRACT
This research aims to develop an asparagus grader using Artificial Intelligence (AI) technology combined with image processing and a robotic arm to increase the accuracy of asparagus grade sorting and reduce the reliance on human labor in traditional sorting. The system can examine asparagus characteristics, such as stem size and shoot characteristics, to classify grades accurately.
This research uses 5,927 asparagus image data to train the YOLOv8 (You Only Look Once Version 8) model, which is a high-speed and high-accuracy object detection model. It starts by collecting and preparing images of asparagus of each grade, then labels them to train the AI model, dividing the data into 70% training data and 30% performance testing data. The system's hardware consists of a Raspberry Pi 5, a Raspberry Pi Camera Module 3, an ESP32 board, a Servo Motor, and a robotic arm. In addition, the system is designed to connect to a mobile application developed with Flutter. Users can view the sorting data results in real time.
The results of the real-time system experiment with 60 asparagus samples showed that the system can sort grades correctly at 85.00 percent, which shows that it can sort asparagus grades as intended.
Hardware
System Framework
Mobile Application
หน้าเริ่มต้น
หน้าล็อกอิน
หน้าลงทะเบียน
หน้าแสดงผลการคัดแยก
หน่อไม้ฝรั่งทั้งหมด
หน้าแสดงการแจ้งเตือนผลการคัดแยก
หน้าโปรไฟล์
หน้าแสดงผลการคัดแยกตามวันที่เลือก ในเกรด A, A-
หน้าแสดงผลการคัดแยกตามวันที่เลือก ในเกรด B, B-
หน้าแสดงผลการคัดแยกตามวันที่เลือก ในเกรด C, C-