Development of Sweet Tamarind Sorting System by Image Processing Technique
Keywords:
Sweet Tamarind, Sorting, Image ProcessingAbstract
The sweet tamarind from Phetchabun province is classified as a Geographical Indication (GI) product and can earn billions of baht in annual revenue. It is imperative to categorise items based on their price, quality, and size. In the present day, the task of categorising sweet tamarinds needs individuals with expertise. When dealing with a substantial amount, it requires significant time and effort. The researcher proposes to create a sorting system for sweet tamarind using image processing techniques. The system will classify the sweet tamarind into categories such as sweet tamarind with flaws, normal tamarind size 1, normal tamarind size 2, and normal tamarind size 3. This will be achieved by employing YOLO version 8 with n, s, and m algorithms. The dataset consists of 3,000 photographs of sweet tamarind, specifically Srithong and Srichompoo varieties. These images were used to carry out a test with a ratio of 80:20, meaning that 80% of the images were used for training and 20% for testing. The dataset was separated into 5-Fold Cross Validation, which involves splitting the data into five subsets and doing the test several times, each time using a different subset as the test set. The results were then averaged. Following performance testing, the researcher opted for the n model, which has a maximum speed of 7.28 frame/s, a mAP value of 0.84, a precision value of 1.0, a recall value of 8.9, an F1-Score of 0.75, and the smallest size on disc, 7.52 Mb. This model was then utilised to create a web application for predicting the quality of sweet tamarinds. This technology helps farmers in efficiently and precisely categorising sweet tamarind, while also providing customers with tools to enhance their trust and confidence in the product.
References
กรมทรัพย์สินทางปัญญา. (2565, 14 มีนาคม). คนไทยเฮ! “มะขามหวานเพชรบูรณ์” สินค้า GI ไทย ได้รับ การคุ้มครองในประเทศเวียดนาม “สินิตย์” รมช.พาณิชย์ ชี้ช่วยขยายมูลค่าการส่งออกของไทยพร้อมลุย จด GI ในต่างประเทศเพิ่มเติม. https://www.ipthailand.go.th/th/dip-news/item/gi20220314.html
จันธิรัก น้ำใส, ศรศักดิ์ ทาวงษ์, ภาณุ ดงทอง, ธนะพัฒน์ เชี่ยวชาญวัฒนา และศรุติ อัศวเรืองสุข. (2565). ระบบตรวจจับงูด้วยวิธีการ YOLO ในกรณีตัวอย่างงูเข้าที่พักอาศัย. วารสารวิชาการวิศวกรรมศาสตร์ และเทคโนโลยี มหาวิทยาลัยราชภัฏอุดรธานี, 1(1), 59-72.
ชนาธิป จันทนะชาติ, สวรรคพธู ดาวรีรัมย์ และเก่ง จันทร์นวล. (2564). การตรวจหาช่องจอดรถแบบเรียลไทม์โดยใช้โครงข่ายประสาทเทียม YOLO. ใน การประชุมวิชาการระดับชาติการจัดการเทคโนโลยีและนวัตกรรม ครั้งที่ 7 (น.1679-1687). คณะเทคโนโลยีสารสนเทศ มหาวิทยาลัยราชภัฏมหาสารคาม.
ณัฐพล ชัยทวิชธานันท์. (2555). การตรวจสอบฝักมะขามหวานเสียโดยวิธีการประมวลผลภาพ. มหาวิทยาลัยราชภัฏเพชรบูรณ์.
พีรพล สุธงษา. (2563). สถานการณ์การผลิตพืชจังหวัดเพชรบูรณ์ ปี 2563. กลุ่มยุทธศาสตร์และสารสนเทศ สำนักงานเกษตรจังหวัดเพชรบูรณ์.
สำนักงานมาตรฐานสินค้าเกษตรและอาหารแห่งชาติ. (2557). มาตรฐานสินค้าเกษตร มกษ. 23-2557: มะขามหวาน. https://www.acfs.go.th/standard/download/SWEET_TAMARIND.pdf
Dennis, A., Wixom, B. H., & Roth, R. M. (2012). System analysis and design (5th ed.). John Wiley & Sons.
Extensions. (2010). Flask. https://flask.palletsprojects.com/en/3.0.x/extensions/
Gulshan, K. (2014). Evaluation metrics for intrusion detection systems-A study. International Journal of Computer Science and Mobile Applications, 2(11), 11-17.
Jarimopas, B., & Jaisin, N. (2008). An experimental machine vision system for sorting sweet tamarind. Journal of Food Engineering, 89(3), 291-297.
Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016). You only look once: Unified, real-time object detection, In Proceedings 29th IEEE Conference on Computer Vision and Pattern Recognition CVPR 2016 (pp. 779-788). IEEE X plore. https://doi.org/10.1109/CVPR.2016.91
Solawetz, J., & Francesco. (2023, January 11). What is YOLOv8? The ultimate guide. Roboflow. https://blog.roboflow.com/whats-new-in-yolov8/
Sonka, M., Hlavac, V., & Boyle, R. (2015). Image processing, analysis, and machine vision (4th ed.). Cengage Learning.