KMITL Expo 2026 LogoKMITL 66th Anniversary Logo

CLASSIFICATION OF OTITIS MEDIA TYPE USING OTOSCOPIC IMAGES

Abstract

Otitis Media is an infection of the middle ear that can occur in individuals of all ages. Diagnosis typically involves analyzing images taken with an otoscope by specialized physicians, which relies heavily on medical experience to expedite the process. This research introduces computer vision technology to assist in the preliminary diagnosis, aiding expert decision-making. By utilizing deep learning techniques and convolutional neural networks, specifically the YOLOv8 and Inception v3 architectures, the study aims to classify the disease and its five characteristics used by physicians: color, transparency, fluid, retraction, and perforation. Additionally, image segmentation and classification methods were employed to analyze and predict the types of Otitis Media, which are categorized into four types: Otitis Media with Effusion, Acute Otitis Media with Effusion, Perforation, and Normal. Experimental results indicate that the classification model performs moderately well in directly classifying Otitis Media, with an accuracy of 65.7%, a recall of 65.7%, and a precision of 67.6%. Moreover, the model provides the best results for classifying the perforation characteristic, with an accuracy of 91.8%, a recall of 91.8%, and a precision of 92.1%. In contrast, the classification model that incorporates image segmentation techniques achieved the best overall performance, with an mAP50-95 of 79.63%, a recall of 100%, and a precision of 99.8%. However, this model has not yet been tested for classifying the different types of Otitis Media.

Objective

โรคหูน้ำหนวกเป็นโรคที่เกิดจากการอักเสบของหูชั้นกลาง โดยมีอาการปวดหู หูอื้อ และมีน้ำไหลซึมออกมาจากหู ในบางกรณีที่ได้รับการรักษาไม่ถูกต้องหรือไม่ทันการ อาจพบว่ามีน้ำหนองซึมรวมอยู่ด้วย นอกจากนี้หากอาการอักเสบเกิดความรุนแรงเพิ่มมากขึ้น อาจส่งผลให้ผู้ป่วยสูญเสียการได้ยินและเกิดภาวะแทรกซ้อนซึ่งเป็นสาเหตุอันนำไปสู่การเกิดโรคอื่น ๆ ในกระบวนการรักษาโรคหูน้ำหนวกจำเป็นต้องมีแพทย์ผู้เชี่ยวชาญทำการวินิจฉัย โดยสอดกล้องออโตสโคปเข้าไปในรูหูเพื่อตรวจสอบ อย่างไรก็ตาม ในขั้นตอนนี้มักพบปัญหาและข้อจำกัดบางประการ เช่น ทักษะและประสบการณ์ของแพทย์ผู้ตรวจอาจไม่ชำนาญพอจะวินิจฉัยได้อย่างถูกต้องแม่นยำ ความพร้อมของเครื่องมือและอุปกรณ์ซึ่ง ในบางครั้งจำเป็นต้องมีการวินิจฉัยเพิ่มด้วยการวัดขนาดแก้วหูหรือการถ่ายภาพ ดังนั้นแล้วในขั้นตอนการรักษานี้สามารถพัฒนาเครื่องมือร่วมกับการประยุกต์ใช้ศาสตร์องค์-ความรู้ทางด้านคอมพิวเตอร์เข้ามาเพื่อแก้ปัญหา รวมทั้งช่วยลดภาระงานของบุคลากรทางการแพทย์ โดยเฉพาะอย่างยิ่งคือการขาดแคลนบุคลากรซึ่งมีไม่เพียงพอต่อปริมาณผู้ป่วย นอกจากนี้เพื่อให้การรักษามีประสิทธิภาพ ยังต้องคำนึงถึงความพร้อมของแพทย์ผู้รักษาซึ่งไม่ใช่เพียงทักษะหรือเครื่องมือ แต่รวมไปถึงสภาพร่างกายที่อาจเกิดจากความเหนื่อยล้าและโอกาสเกิดข้อผิดพลาดจากการวินิจฉัย หัวข้อปัญหาพิเศษนี้จึงได้นำเสนอแนวทางการแก้ไขปัญหาโดยการนำทฤษฎีการเรียนรู้เชิงลึก(Deep Learning) มาประยุกต์ใช้ เพื่อเป็นเครื่องมือช่วยในการจำแนกอาการผิดปกติของโรคหูน้ำหนวกจากภาพถ่ายและภาพเคลื่อนไหว ซึ่งเก็บรวบรวมจากแพทย์ผู้เชี่ยวชาญ ทั้งนี้ ปัจจัยสำคัญที่เป็นจุดสังเกตในการวินิจฉัยโรค ได้แก่ ปริมาณของเหลวในหูชั้นกลาง การหดตัวของเยื่อหูชั้นกลาง สีของของเหลวในหูชั้นกลาง ความโปร่งใสของเยื่อหูชั้นกลาง การทะลุของเยื่อหู และการขยับของเยื่อ-แก้วหูเมื่อเป่าลมทดสอบ ทั้งหมดนี้สามารถนำไปวิเคราะห์และจำแนกเป็นอาการได้ดังนี้ หูปกติ เยื่อ-แก้วหูยุบ เยื่อแก้วหูทะลุ มีของเหลวขังในเยื่อแก้วหู เยื่อแก้วหูอักเสบเฉียบพลัน และหูชั้นกลางทะลุ

Other Innovations

THE DEVELOPMENT OF PACKAGING FOR KLUMKAPIKLONGDANCHUMCHON 3  COMMUNITYENTERPRISE KLONG DAN SUBDISTRICT BANG BO DISTRICT SAMUT PRAKANPROVINCE

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

THE DEVELOPMENT OF PACKAGING FOR KLUMKAPIKLONGDANCHUMCHON 3 COMMUNITYENTERPRISE KLONG DAN SUBDISTRICT BANG BO DISTRICT SAMUT PRAKANPROVINCE

This research aimed 1) to study the problems and needs in the packaging design of the community enterprise group 2) to develop packaging for the community enterprise group 3) to study the satisfaction with the packaging design of the members of the Klong Dan Shrimp Paste Community Enterprise Group 3 Klong Dan Subdistrict, Bang Bo District, Samut Prakan Province, consisting of 9 members The study found that the community enterprise group faced the problem of lacking suitable packaging for souvenirs and had a need to develop packaging that is appropriate for this purpose. The packaging material selected was paper, with a rectangular shape including a handle for portability It can be folded for easy transportation and stacked for storage, while maintaining durability The packaging color used was light brown, and the label color was white The label included the following details: shrimp paste recipe, ingredients, manufacturing and expiration dates, the background of the community enterprise group, a QR code, phone number, a short story, group name, production site, as well as illustrations of the group’s location and red krill. The results of developing packaging for the community enterprise group indicated that the new packaging design increased the credibility of the product, building customer confidence in the product. Regarding the satisfaction with the packaging design among the group members, it was found that Packaging Design 1 had the highest level of satisfaction (x ̅ = 4.57, S.D. = 0.22). Among the aspects, color received the highest satisfaction score (x ̅ = 4.74, S.D. = 0.06), followed by the label (x ̅ = 4.69, S.D. = 0.10), while the lowest was the properties aspect, which was rated at a moderate level of satisfaction (x ̅ = 3.83, S.D. = 1.58), respectively.

Read more
Layla Hotel Robot

คณะศิลปศาสตร์

Layla Hotel Robot

Layla, the hotel robot, is responsible for carrying guests’ luggage and guiding them to their accommodations. It is equipped with an internal map of the hotel, allowing it to navigate various locations efficiently. Additionally, it features an AI-powered system that enables interactive conversations in three major languages: Thai, English, and Chinese.

Read more
Intraspecific variations of dwarf whipray Brevitrygon heterura (Chondrichthyes: Dasyatidae) in the Gulf of Thailand.

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

Intraspecific variations of dwarf whipray Brevitrygon heterura (Chondrichthyes: Dasyatidae) in the Gulf of Thailand.

Dwarf whipray (Brevitrygon heterura) is a common species found in a local market in the Gulf of Thailand. However, like many other species of stingrays, it is threatened by overfishing and habitat destruction. Therefore, an accurate species identification is crucial because conservation efforts may vary depending on the species. This study aims to understand morphological variation of B. heterura in the Gulf of Thailand by morphometric study and genetic analysis. During October 2022 and February 2023, we obtained 49 samples from research vessels fish landing ports and local fish markets. We observed two distinct groups based on 43 morphological variables/ratios. B. heterura samples from Chanthaburi, Rayong, Chonburi, Samut Sakhon, Nakhon Si Thammarat and Songkla provinces, called “group A," typically have longer snout length than those from Prachuap Khiri Khan provinces, called “group B" according to external morphological characters for species identification. Three morphological variables/ratios were significantly different between groups A and B. Main characters to explain intraspecific variations between group A and group B are further discussed. DNA barcoding based on a fragment of the cytochrome c oxidase subunit I (COI) gene were obtain from eight samples of group A and eight samples from group B. Pairwise percent sequence divergence (p-distance) for COI between group A and group B were 0.0-2.5. This study contributes to the understanding of variations of morphology and genetics of B. heterura in the Gulf of Thailand.

Read more