UPT Perpustakaan Universitas Andalas
Repositori PerpustakaanUniversitas Andalas
 

Deteksi Kantuk Pengemudi Berbasis Visual Ekstraksi Fitur Eye Aspect Ratio, Mouth Aspect Ratio dan Blink Rate Menggunakan Metoda Random Forest

dc.contributor.authorElisya, Fiola Putri
dc.date.accessioned2026-09-24T21:28:33Z
dc.date.issued2025-08-26
dc.descriptionDr. Eng. Ir Rahmadi Kurnia, S.T.,M.T
dc.description.abstractKantuk saat mengemudi merupakan faktor risiko utama kecelakaan lalu lintas. Penelitian ini merancang sistem deteksi kantuk berbasis visual yang non-invasif menggunakan fitur Eye Aspect Ratio (EAR), Mouth Aspect Ratio (MAR), dan Blink Rate yang diekstraksi otomatis dari citra wajah pengemudi. Ekstraksi fitur memanfaatkan MediaPipe Face Mesh (468 landmark) secara real-time. Dataset diperoleh dari video wajah subjek dalam empat kondisi: normal, lelah, mengantuk, dan mengantuk ekstrem. Nilai EAR, MAR, dan Blink Rate dihitung dengan rumus geometris, kemudian dilabeli otomatis dan digunakan untuk melatih model klasifikasi Random Forest. Evaluasi mencakup akurasi, precision, recall, F1-score, serta waktu komputasi, dan membandingkan kinerja sebelum dan sesudah SMOTE. Hasil menunjukkan model tanpa SMOTE mencapai akurasi 98% (precision 0,97; recall 0,97; F1 0,97), sedangkan dengan SMOTE mencapai 99% (precision 0,99; recall 0,99; F1 0,99). Rata-rata waktu pemrosesan per frame adalah 46,7 ms (21 FPS), sehingga layak untuk real-time. Blink Rate menjadi fitur paling dominan (0,52), diikuti EAR (0,30) dan MAR (0,18). Sistem ini berpotensi meningkatkan keselamatan berkendara melalui deteksi dini kantuk hingga tingkat mengantuk ekstrem.
dc.identifier.urihttps://ailib.my.id/handle/123456789/50618
dc.language.isoid
dc.publisherUniversitas Andalas
dc.subjectDeteksi Kantuk
dc.subjectVisual
dc.subjectEye Aspect Ratio (EAR)
dc.subjectMouth Aspect Ratio (MAR)
dc.subjectBlink Rate
dc.subjectMediaPipe
dc.subjectRandom Forest
dc.subjectSMOTE
dc.subjectMengantuk Ekstrem
dc.subjectKeselamatan Berkendara
dc.subject.classificationTK Electrical engineering. Electronics Nuclear engineering
dc.titleDeteksi Kantuk Pengemudi Berbasis Visual Ekstraksi Fitur Eye Aspect Ratio, Mouth Aspect Ratio dan Blink Rate Menggunakan Metoda Random Forest
dc.typeThesis
dcterms.dateSubmitted2025-08-29
dcterms.references[1] NHTSA, Drowsy Driving and Automobile Crashes: Report and Recommendations. U.S. Department of Transportation, 2001. [2] Badan Pusat Statistik, “Jumlah Kecelakaan, Korban Mati, Luka Berat, Luka Ringan, dan Kerugian Materi (2014–2022),” 2023. [Online]. Available: https://www.bps.go.id [3] Komite Nasional Keselamatan Transportasi (KNKT), Laporan Akhir Kecelakaan Truk Tangki T-9472-DG di Tol Cikopo–Palimanan KM 79+900B, 28 September 2023, 2023. [Online]. Available: https://knkt.go.id/Repo/Files/Laporan/LLAJ/2023/KNKT.23.09.05.01-Final-Report.pdf [4] Shanmugam, A., & Srinivasan, S. (2019). Drowsiness detection using behavioral measures and Machine learning techniques: A review. Neural Computing and Applications, 31, 1501–1511. https://doi.org/10.1007/s00521-019-04506-0 [5] Zhang, L., Wang, X., & Wang, Y. (2023). Real-time Driver Drowsiness Detection Using Visual Cues and Machine learning. Sensors, 25(3), 812. https://www.mdpi.com/1424-8220/25/3/812 [6] T. Soukupová and J. Čech, “Real-time Eye Blink Detection using Facial landmarks,” Proc. of the Computer Vision Winter Workshop, 2016. [Online]. Available: https://vision.fe.uni-lj.si/cvww2016/proceedings/papers/05.pdf [7] Fagertun, J., Harder, S., Meincke, P., & Hansen, M. F. (2014). Variability and reliability of manually annotated 3D facial landmarks. BMC Medical Imaging, 14(35). https://doi.org/10.1186/1471-2342-14-35. [8] M. A. Garcia, S. Lopez, J. M. Hidalgo, E. Tomas, M. Q. Perez, G. Huertas, "A Survey on Drowsiness Detection – Modern Applications and Future Trends," arXiv preprint arXiv:2408.12990, 2024. [Online]. Available: https://arxiv.org/pdf/2408.12990 [9] M. Dreissig, M. H. Baccour, T. Schaeck, and E. Kasneci, “Driver Drowsiness Classification Based on Eye Blink and Head Movement Features Using the k-NN Algorithm,” arXiv preprint, arXiv:2009.13276, 2020. [10] V. S. K. Rupani, V. V. S. Thushar, dan K. Tejith, “Real-time Drowsiness Detection Using Eye Aspect Ratio and Facial Landmark Detection,” arXiv preprint arXiv:2408.05836, 2024.arXiv [11] D. Wu, “Improving Automatic Detection of Driver Fatigue and Distraction Using Machine learning,” arXiv preprint arXiv:2401.10213, 2024.arXiv [12] S. C. K. Yuen et al., “Real-time SMARt Driver Sleepiness Detection by Eye Aspect Ratio Using Computer Vision,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 31, no. 1, pp. 1–10, 2023. [13] J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques, 3rd ed., Elsevier, 2012. [14] S. Essahraui et al., “Real-time Driver Drowsiness Detection Using Facial Analysis and Machine learning Techniques,” Sensors, vol. 25, no. 3, p. 812, 2025 [15] World Health Organization (WHO), Global Status Report on Road Safety 2018, Geneva: WHO, 2018. [16] B. Fu, F. Boutros, C.-T. Lin, and N. Damer, “A Survey on Drowsiness Detection – Modern Applications and Methods,” arXiv preprint, arXiv:2408.12990, Aug. 2024. [17] A. Sahayadhas, K. Sundaraj, and M. Murugappan, “Detecting driver drowsiness based on sensors: A review,” Sensors, vol. 12, no. 12, pp. 16937–16953, 2012, doi: 10.3390/s121216937. [18] Q. Gao, H. Yin, and W. Zhang, “Lane departure warning mechanism of limited false alarm rate using extreme learning residual network and ϵ-greedy LSTM,” Sensors, vol. 20, no. 3, p. 644, Jan. 2020. [Online]. Available: https://doi.org/10.3390/s20030644. [19] W. W. Wierwille, L. A. Ellsworth, S. S. Wreggit, R. J. Fairbanks, and C. L. Kirn, “Research on vehicle-based driver status/performance monitoring: development, validation, and refinement of algorithms for detection of driver drowsiness,” National Highway Traffic Safety Administration, DOT HS 808 247, 1994. [20] U. M. Viswanadhula, R. Aluvalu, M. V. V. P. Kantipudi, J. R. Saini, et al., “Driver drowsiness prediction based on multiple aspects using image processing techniques,” IEEE Access, vol. 10, pp. 1–1, Jan. 2022, doi: 10.1109/ACCESS.2022.317645 [21] S. Abtahi et al., “Yawning detection using embedded sMARt cameras,” IEEE Trans. Instrum. Meas., vol. 65, no. 3, pp. 570–582, 2016, doi: 10.1109/TIM.2015.2507378. [22] Lugaresi, C., et al. "MediaPipe: A Framework for Building Perception Pipelines." arXiv preprint arXiv:1906.08172 (2019). [23] Google Developers. "Face Mesh - MediaPipe." https://google.github.io/MediaPipe/solutions/face_mesh.html [24] A. I. Siam, N. F. Soliman, A. D. Algarni, F. E. Abd El-Samie, and A. Sedik, “Deploying Machine learning Techniques for Human Emotion Detection,” Computational Intelligence and Neuroscience, vol. 2022, Article ID 2410383, pp. 1–20, Feb. 2022. [Online]. Available: https://doi.org/10.1155/2022/2410383 [25] C. Lugaresi, J. Tang, H. Nash, C. McClanahan, E. Uboweja, M. Hays, F. Zhang, C.-L. Chang, M. G. Yong, J. Lee, W.-T. Chang, W. Hua, M. Georg, and M. Grundmann, “MediaPipe: A Framework for Building Perception Pipelines,” arXiv preprint arXiv:1906.08172, 2019. [Online]. Available: https://arxiv.org/abs/1906.08172 [26] K. Kukil and P. Durai, “MediaPipe – The Ultimate Guide to Video Processing,” LEARnOpenCV, MAR. 1, 2022. [Online]. Available: https://lEARnopencv.com/MediaPipe-the-ultimate-guide-to-video-processing/ [27] Bazarevsky, V., et al. "BlazeFace : Sub-millisecond Neural Face Detection on Mobile GPUs." arXiv preprint arXiv:1907.05047 (2019). [28] V. Bazarevsky, Y. Kartynnik, A. Vakunov, K. Raveendran, and M. Grundmann, "BlazeFace: Sub-millisecond Neural Face Detection on Mobile GPUs," Google Research, Mountain View, CA, USA. [Online]. Available: https://arxiv.org/abs/1907.05047 [29] J. Deng, J. Guo, Y. Zhou, J. Yu, I. Kotsia, and S. Zafeiriou, “RetinaFace: Single-Stage Dense Face Localisation in the Wild,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2020, pp. 5203–5212. doi: 10.1109/CVPR42600.2020.00525. [30] “MediaPipe Face Mesh,” MediaPipe documentation. [Online]. Available: https://chuoling.github.io/MediaPipe/solutions/face_mesh.html. [Accessed: 16-Aug-2025]. [31] Y. Panagakis, J. Kossaifi, G. G. Chrysos, J. Oldfield, M. A. Nicolaou, A. Anandkumar, and S. Zafeiriou, “Tensor methods in computer vision and deep learning,” *Proceedings of the IEEE*, vol. 109, no. 5, pp. 863–890, May 2021, doi: 10.1109/JPROC.2021.3074329. [32] Y. Wang, Y. Yang, and S. Li, "Real-time driver drowsiness detection system using facial features," IEEE Proc. Intell. Transp. Syst., 2006, doi: 10.1109/ITSC.2006.1706801. [33] S. Alimoon, A. Kiran, B. Gopi Narayana, A. Sai Lekha, G. Venkata Narayana, and A. Professor, “Vision-Based Driver Fatigue Detection Using Eye and Mouth Aspect Ratios with Machine learning.” [34] G. Bradski, “The OpenCV Library,” Dr. Dobb’s Journal of Software Tools, 2000. [35] F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” J. Mach. LEARn. Res., vol. 12, pp. 2825–2830, 2011. [36] C. Huda, A. A. Tolle, and R. R. A. Nugroho, "Mobile-Based Driver Sleepiness Detection Using Facial Landmarks and Analysis of EAR Values," International Journal of Interactive Mobile Technologies (iJIM), vol. 14, no. 11, pp. 4–17, 2020. [Online]. Available: https://www.researchgate.net/publication/343944102_Mobile-Based_Driver_Sleepiness_Detection_Using_Facial_Landmarks_and_Analysis_of_EAR_Values [37] G. V. S. R. Giridhar, G. S. Gouthami, Y. S. S. Rana, and Bhulakshmi, "Real Time Fatigue Level Monitoring System of Driver Using Image Processing," in Proceedings of the 4th International Virtual Conference on Advances in Computing, Communication and Data Science (ICACCDS 2022), River Publishers, 2022, pp. 89–96. [Online]. Available: https://www.riverpublishers.com/downloadchapter.php?file=RP_9788770229005C7.pdf [38] M. Irsan, R. Hassan, A. H. Ibrahim, M. K. Hasan, M. C. Lam, and W. M. H. W. Hussain, “A Framework for Driver Drowsiness Monitoring Using a Convolutional Neural Network and the Internet of Things,” Intelligent Automation & Soft Computing, vol. 39, no. 2, pp. 157–174, 2024. [Online]. Available: https://www.techscience.com/iasc/v39n2/56489/html [39] A. Islam, N. Rahaman, and M. A. R. Ahad, “A study on tiredness assessment by using eye blink detection,” Jurnal Kejuruteraan, vol. 31, no. 2, pp. 209–214, 2019. [Online]. Available: https://doi.org/10.17576/jkukm-2019-31(2)-04 [40] T. Åkerstedt and M. Gillberg, “Subjective and Objective Sleepiness in the Active Individual,” International Journal of Neuroscience, vol. 52, no. 1–2, pp. 29–37, 1990 [41] M. El Habib Daho and M. Amine Chikh, “Combining Bootstrapping samples, random subspaces and Random Forests to build classifiers,” J Med Imaging Health Inform, vol. 5, no. 3, pp. 539–544, Jun. 2015, doi: 10.1166/jmihi.2015.1423. [42] N. Nuryani, K. Nisak, dan A. D. Sutomo, "Pengembangan Sistem Deteksi Kantuk Menggunakan Pengklasifikasi Random Forest pada Sinyal Elektrokardiogram," Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 10, no. 3, pp. 265–271, 2021. [43] P. Krassakis et al., “Geospatial Intelligence and Machine learning Technique for Urban Mapping in Coastal Regions of South Aegean Volcanic Arc Islands,” Geomatics, vol. 2, no. 3, hal. 297–322, 2022, doi: 10.3390/geomatics2030017. [44] Y. Albadawi, A. AlRedhaei, dan M. Takruri, "Real-time Machine learning-Based Driver Drowsiness Detection Using Visual Features," Journal of Imaging, vol. 9, no. 5, 2023. [Online]. Tersedia: https://doi.org/10.3390/jimaging9050091 [45] L. Breiman, “Random Forests,” Machine learning, vol. 45, no. 1, pp. 5–32, 2001. [46] Stack Overflow, “Plot Trees for a Random Forest in Python,” Stack Overflow, 2016. [Online]. Available: https://stackoverflow.com/questions/40155128/plot-Trees-for-a-random-forest-in-python-with-scikit-lEARn. [Accessed: 06-Aug-2025]. [47] H. A. Salman, A. Kalakech, dan A. Steiti, "Random Forest Algorithm Overview," Babylonian Journal of Machine learning, vol. 2, no. 1, pp. 1–10, 2024. [48] T. Bezdan and N. Bačanin Džakula, “Convolutional Neural Network Layers and Architectures,” Singidunum University, May 2019, pp. 445–451. doi: 10.15308/sinteza-2019-445-451. [49] Z. Li, F. Liu, W. Yang, S. Peng, and J. Zhou, “A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects,” IEEE Trans Neural Netw Learn Syst, vol. 33, no. 12, pp. 6999–7019, Dec. 2022, doi: 10.1109/TNNLS.2021.3084827. [50] X. Jiang, A. Hadid, Y. Pang, E. Granger, and X. Feng, “Deep learning in object detection and recognition.” Springer Singapore, 2019. doi: 10.1007/978-981-10-5152-4. [51] Purwono, A. Ma’arif, W. Rahmaniar, H. I. K. Fathurrahman, A. Z. K. Frisky, and Q. M. U. Haq, “Understanding of Convolutional Neural Network (CNN): A Review,” International Journal of Robotics and Control Systems, vol. 2, no. 4, pp. 739–748, 2022, doi: 10.31763/ijrcs.v2i4.888. [52] X. Zhao, L. Wang, Y. Zhang, X. Han, M. Deveci, and M. ParMAR, “A review of convolutional neural networks in computer vision,” Artif Intell Rev, vol. 57, no. 4, Apr. 2024, doi: 10.1007/s10462-024-10721-6. [53] L. Alzubaidi et al., “Review of deep learning: concepts, CNN architectures, challenges, applications, future directions,” J Big Data, vol. 8, no. 1, Dec. 2021, doi: 10.1186/s40537-021-00444-8. [54] N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic Minority Over-sampling Technique,” Journal of Artificial Intelligence Research, vol. 16, pp. 321–357, 2002. [55] K. E. Permana and K. Iramina, “Single Channel Sleep Stage Classification Using Random Forest and Feature Extraction with SMOTE Balancing on Fpz-Cz EEG Data,” Mathematical Modelling of Engineering Problems, vol. 11, no. 12, pp. 3243–3252, Dec. 2024, doi: 10.18280/mmep.111204.
local.eprints.dirdisk0/00/50/71/72
local.eprints.division07B
local.eprints.id507172
local.eprints.typethesis/2Sarjana
local.eprints.urihttp://scholar.unand.ac.id/507172/
local.fakultasFakultas Teknik
local.identifier.nim2110951014
local.prodiS1 Teknik Elektro
local.thesis.levelSkripsi

Files

Collections