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 impact of climate change on the yield of Bambara groundnut in Thailand using the DSSAT model

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

The impact of climate change on the yield of Bambara groundnut in Thailand using the DSSAT model

Climate change affects agricultural systems worldwide, including Thailand, and may lead to reduced crop yields, impacting food security. Bambara groundnut is a crop with the potential to adapt to changing environments and can thrive in areas with limited resources. This research aims to study the impact of climate change on Bambara groundnut yields in Thailand using the DSSAT (Decision Support System for Agrotechnology Transfer) model, an important tool for predicting plant growth under various environmental conditions. This study utilizes climate data, soil composition, and genetic information of Bambara groundnut to simulate and analyze yield trends under future climate scenarios. Four study areas in Thailand were selected: Songkhla, Lampang, Yasothon, and Saraburi. The CSM-CROPGRO-Bambara groundnut model was used to assess the impact of changing temperature and rainfall on the growth and yield of Bambara groundnut. The results of this study are expected to provide farmers and researchers with valuable information for planning cultivation and managing peanut production in response to climate change. Additionally, the findings can help formulate policy guidelines to promote the cultivation of climate-resilient crops and support the country's food security.

Read more
Design Electric Tuk-Tuk for the Development of New Automotive Technology

คณะวิศวกรรมศาสตร์

Design Electric Tuk-Tuk for the Development of New Automotive Technology

This project aims to design and develop an electric tuk-tuk by converting the traditional combustion engine system to an electric system, supporting the reduction of air pollution and promoting sustainable automotive technology. The electric tuk-tuk is designed using a BLDC electric motor and a control system specifically adapted for the unique driving style of three-wheeled vehicles in Thailand. The study considers suitable energy systems and includes interviews with traditional tuk-tuk drivers to ensure the vehicle meets everyday usability needs. The findings suggest that adopting electric tuk-tuks not only reduces emissions and PM2.5 particulate matter but also enhances an eco-friendly image for Thailand’s tourism sector while supporting domestic innovation and economic growth.

Read more
LOCATION SELECTION OF BEVERAGE DISTRIBUTION CENTER USING A MATHEMATICAL MODELING CONSIDERING TRANSPORTATION LOGISTIC COSTS

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

LOCATION SELECTION OF BEVERAGE DISTRIBUTION CENTER USING A MATHEMATICAL MODELING CONSIDERING TRANSPORTATION LOGISTIC COSTS

This research aims to select the location of the beverage distribution center of Thai Spirit Industry Co., Ltd. with the lowest total cost of transportation. using a mathematical model by considering the Muang districts of all 76 provinces, excluding Chachoengsao Province, where the factory is located. In the present study, four scenarios were divided: 1) when only one distribution center was required; 2) when more than one distribution center was established; 3) when it was divided into 4 regions. There can only be one distribution center in one region, and 4) when it is divided into four regions, where more than one distribution center can be established in one region. When processed with the program IBM ILOG CPLEX Optimization Studio, the results are summarized as follows: Scenario 1, when only one distribution center is assigned. The total transportation cost is 786,107.75 baht/month. Scenario 2, when more than one distribution center can be established. The total transportation cost is 252,338.98 baht/month. Scenario 3, when divided into 4 regions by requiring only one distribution center in one region. The total transportation cost is 401,499.61 baht/month. Scenario 4, when divided into 4 regions by requiring that there is more than one distribution center in each region. The total transportation cost is 258,666.22 baht/month.

Read more