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

ethereal elegant

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

ethereal elegant

A conceptual model inspired by Art Deco art, using the luxury, elegance, balance and the use of black and gold, which are the characteristics of Art Deco art, to create a conceptual model that is balanced, stable, elegant, sequential to look dynamic and uses black and gold to express Art Deco luxury.

Read more
A Human-engaging Robotic Interactive Assistant

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

A Human-engaging Robotic Interactive Assistant

The integration of intelligent robotic systems into human-centric environments, such as laboratories, hospitals, and educational institutions, has become increasingly important due to the growing demand for accessible and context-aware assistants. However, current solutions often lack scalability—for instance, relying on specialized personnel to repeatedly answer the same questions as administrators for specific departments—and adaptability to dynamic environments that require real-time situational responses. This study introduces a novel framework for an interactive robotic assistant (Beckerle et al. , 2017) designed to assist during laboratory tours and mitigate the challenges posed by limited human resources in providing comprehensive information to visitors. The proposed system operates through multiple modes, including standby mode and recognition mode, to ensure seamless interaction and adaptability in various contexts. In standby mode, the robot signals readiness with a smiling face animation while patrolling predefined paths or conserving energy when stationary. Advanced obstacle detection ensures safe navigation in dynamic environments. Recognition mode activates through gestures or wake words, using advanced computer vision and real-time speech recognition to identify users. Facial recognition further classifies individuals as known or unknown, providing personalized greetings or context-specific guidance to enhance user engagement. The proposed robot and its 3D design are shown in Figure 1. In interactive mode, the system integrates advanced technologies, including advanced speech recognition (ASR Whisper), natural language processing (NLP), and a large language model Ollama 3.2 (LLM Predictor, 2025), to provide a user-friendly, context-aware, and adaptable experience. Motivated by the need to engage students and promote interest in the RAI department, which receives over 1,000 visitors annually, it addresses accessibility gaps where human staff may be unavailable. With wake word detection, face and gesture recognition, and LiDAR-based obstacle detection, the robot ensures seamless communication in English, alongside safe and efficient navigation. The Retrieval-Augmented Generation (RAG) human interaction system communicates with the mobile robot, built on ROS1 Noetic, using the MQTT protocol over Ethernet. It publishes navigation goals to the move_base module in ROS, which autonomously handles navigation and obstacle avoidance. A diagram is explained in Figure 2. The framework includes a robust back-end architecture utilizing a combination of MongoDB for information storage and retrieval and a RAG mechanism (Thüs et al., 2024) to process program curriculum information in the form of PDFs. This ensures that the robot provides accurate and contextually relevant answers to user queries. Furthermore, the inclusion of smiling face animations and text-to-speech (TTS BotNoi) enhanced user engagement metrics were derived through a combination of observational studies and surveys, which highlighted significant improvements in user satisfaction and accessibility. This paper also discusses capability to operate in dynamic environments and human-centric spaces. For example, handling interruptions while navigating during a mission. The modular design allows for easy integration of additional features, such as gesture recognition and hardware upgrades, ensuring long-term scalability. However, limitations such as the need for high initial setup costs and dependency on specific hardware configurations are acknowledged. Future work will focus on enhancing the system’s adaptability to diverse languages, expanding its use cases, and exploring collaborative interactions between multiple robots. In conclusion, the proposed interactive robotic assistant represents a significant step forward in bridging the gap between human needs and technological advancements. By combining cutting-edge AI technologies with practical hardware solutions, this work offers a scalable, efficient, and user-friendly system that enhances accessibility and user engagement in human-centric spaces.

Read more
13th Celebration of Silk  Thai Silk Road to the World 2024

คณะครุศาสตร์อุตสาหกรรมและเทคโนโลยี

13th Celebration of Silk Thai Silk Road to the World 2024

Industrial Education and Technology, King Mongkut's Institute of Technology Ladkrabang has a vision for sustainable excellence. The mission is to develop learners to be ready for the digital world, develop educational innovations using research as a base, strategic management with good governance, and academic services that benefit society. In this activity, the group of students joined with the Embassy of the Russian Federation in the Kingdom of Thailand, the working group of the Thai Silk and Culture Promotion Association, and the working group of the National Research Office (NRCT) to integrate knowledge to design a silk outfit that combines Thai and Russian cultures, create a network of cooperation in arts, culture, technology, innovation, and dissemination of knowledge and the beauty of Thai silk. The objective is to develop the potential of teachers and students in creative design, listen to the work guidelines from the working group of the Thai Silk and Culture Promotion Association, the working group of the National Research Office (NRCT) via an online meeting. The team of teachers and students from King Mongkut's Institute of Technology Ladkrabang under the name of the "Love Silk" group designed a Thai silk outfit that combines cultures with the identity of Thai silk and studying traditions and cultures of the Russian Federation's clothing. They studied related literature and research documents and integrated knowledge into the design process, inspired by the concept of the Rajapataen outfit. Since the reign of King Chulalongkorn (Rama V) in 1872, together with the clothing culture of the Russian Federation, emphasizing Thai silk, this concept has gone through the process of creating and selecting the design concept (Concept Generation and Selection). The concept received from the embassy was first submitted for feedback on July 25, 2024. There was a suggestion to add more uniqueness to Thai silk through a fashion show presentation by the wife and grandson of the Ambassador of the Russian Federation. Therefore, the designed outfits are 1 set of women's clothes and 1 set of boys' clothes. The women's set has an inner shirt adapted from the royal outfit using silk fabric, Kon Ka-ed pattern, with two separate pieces: 1 shirt and 1 skirt. The jacket is a modified long suit style, plain silk, dark pink and red. The boys' set has a long-sleeved shirt adapted from the contemporary royal style, tailored with cream silk, long slacks tailored with raw betel silk, and a collarless coat with blue silk and lotus pattern. Adapted from the Rajapattan suit with a long collar in an international style. On August 2, 2024, the designed suit and the prototype of the raw fabric suit were brought to the ambassador's wife and nephew to try on. On August 30, 2024, the ambassador was met for the 4th time to bring the silk suit that was cut into a real silk suit. The shirt was given to the ambassador's wife and nephew to try on. It was worn to join the fashion show in the 13th "Thai Silk to the World" Silk Festival at the Naval Auditorium, where lecturers and students from the Faculty of Industrial Education and Technology, King Mongkut's Institute of Technology Ladkrabang, joined the fashion show in the finale round, which proceeded smoothly. After the event, the working group of the Thai Silk and Culture Promotion Association brought the clothes designed and tailored by the "Rak Prae Mai" team to exhibit Thai Silk to the World Exhibition from September 1-8, 2024 at the Emsphere Shopping Mall. The team summarized the report and compiled a complete report. In the implementation of this project, the Faculty of Industrial Education and Technology, King Mongkut's Institute of Technology Ladkrabang has received support and facilitation throughout the project. The budget support from the National Research Council of Thailand (NRCT), the support of fabrics for sewing from the Thai Silk and Culture Promotion Association, and the information for designing valuable silk dresses from the Embassy of the Russian Federation in the Kingdom of Thailand are very important factors that made this operation a success. It is a very important experience for the team of teachers and students of Industrial Education and Technology, King Mongkut's Institute of Technology Ladkrabang. We sincerely hope to receive good cooperation in the future.

Read more