Eye Aspect Ratio based on Histogram Oriented Gradient and Linear Support Vector Machine to Microsleep Detection

Mohammad Afinil Maula, Achmad Teguh Wibowo, Muhammad Andik Izzudin


Traffic accidents are caused by several factors, especially due to driver fatigue. To minimize accidents caused by human negligence, developing a prototype microsleep detection system to trigger an alarm is necessary. This research uses Histogram Oriented Gradient and Support Vector Machine methods to detect objects. The programming language used is Python, using the dataset from the Idlib face landmark as a marker in the face point area, which will then be calculated based on the eye aspect ratio. This system is implemented using video input captured using a webcam in real-time. The output of this system uses a buzzer to alert the driver. In this study, the test results were obtained well, carried out with 2 test scenarios with a distance of 40cm - 100cm and testing light levels of 33 lux to 226 lux. From these results, the accuracy results were obtained at 88% each.

Full Text:



L. R. Cerna, G. Cámara-Chávez, and D. Menotti, “Face detection: Histogram of oriented gradients and bag of feature method,” Proc. 2013 Int. Conf. Image Process. Comput. Vision, Pattern Recognition, IPCV 2013, vol. 2, no. July, pp. 657–661, 2013.

P. Chen, “Research on driver fatigue detection strategy based on human eye state,” Proc. - 2017 Chinese Autom. Congr. CAC 2017, vol. 2017-January, pp. 619–623, 2017, doi: 10.1109/CAC.2017.8242842.

P. Ii and C. F. Experiment, “Trial begins to investigate efficacy of monoclonal antibody against schizophrenia,” Pharm. J., no. April, 2017, doi: 10.1211/pj.2017.20203911.

C. Aj. Saputra, D. Erwanto, and P. N. Rahayu, “Deteksi Kantuk Pengendara Roda Empat Menggunakan Haar Cascade Classifier Dan Convolutional Neural Network,” JEECOM J. Electr. Eng. Comput., vol. 3, no. 1, pp. 1–7, 2021, doi: 10.33650/jeecom.v3i1.1510.

M. Abdul, R. Irham, and D. A. Prasetya, “Prototipe Pendeteksi Masker Pada Ruangan Wajib Masker Untuk Kendali Pintu Otomatis Berbasis Deep Learning Sebagai Pencegahan Penularan Covid-19,” Prototipe Pendeteksi Masker Pada Ruangan Wajib Masker Untuk Kendali Pintu Otomatis Berbas. Deep Learn. Sebagai Pencegah. Penularan Covid-19, pp. 47–55, 2020.

I. Imanuddin, F. Alhadi, R. Oktafian, and A. Ihsan, “Deteksi Mata Mengantuk pada Pengemudi Mobil Menggunakan Metode Viola Jones,” MATRIK J. Manajemen, Tek. Inform. dan Rekayasa Komput., vol. 18, no. 2, pp. 321–329, 2019, doi: 10.30812/matrik.v18i2.389.

M. B. Pranoto, K. N. Ramadhani, and A. Arifianto, “Face Detection System Menggunakan Metode Histogram of Oriented Gradients ( HOG ) dan Support Vector Machine ( SVM ) Face Dtection System using Histogram of Oriented Gradients ( HOG ) Method amd Support Vector Machine ( SVM ),” e-Proceeding Eng., vol. 4, no. 3, pp. 5038–5045, 2017.

M. R. Hidayat, C. Christiono, and B. S. Sapudin, “PERANCANGAN SISTEM KEAMANAN RUMAH BERBASIS IoT DENGAN NodeMCU ESP8266 MENGGUNAKAN SENSOR PIR HC-SR501 DAN SENSOR SMOKE DETECTOR,” Kilat, vol. 7, no. 2, pp. 139–148, 2018, doi: 10.33322/kilat.v7i2.357.

R. A. Putra and F. A. Hermawati, “Sistem Deteksi Kelelahan Pengemudi Berdasarkan Pengukuran Kedipan Mata,” Konvergensi, vol. 13, no. 2, 2019, doi: 10.30996/konv.v13i2.2755.

D. Artanto, M. P. Sulistyanto, I. D. Pranowo, and E. E. Pramesta, “Drowsiness detection system based on eye-closure using a low-cost EMG and ESP8266,” Proc. - 2017 2nd Int. Conf. Inf. Technol. Inf. Syst. Electr. Eng. ICITISEE 2017, vol. 2018-January, pp. 235–238, 2018, doi: 10.1109/ICITISEE.2017.8285502.

N. N. Pandey and N. B. Muppalaneni, “Real-Time Drowsiness Identification based on Eye State Analysis,” Proc. - Int. Conf. Artif. Intell. Smart Syst. ICAIS 2021, pp. 1182–1187, 2021, doi: 10.1109/ICAIS50930.2021.9395975.

S. Ghosh, A. Dasgupta, and A. Swetapadma, “A study on support vector machine based linear and non-linear pattern classification,” Proc. Int. Conf. Intell. Sustain. Syst. ICISS 2019, no. Iciss, pp. 24–28, 2019, doi: 10.1109/ISS1.2019.8908018.

A. Ahmad Hania, “Mengenal Artificial Intelligence, Machine Learning, & Deep Learning,” J. Teknol. Indones., vol. 1, no. June, pp. 1–6, 2017.

M. F. Wajdi and J. Sugiantara, “DOI : 10.29408/jit.v1i2.903,” Infotk J. Inform. dan Teknol., vol. 1, no. 2, pp. 96–106, 2018.

P. K. Intan, “Comparison of Kernel Function on Support Vector Machine in Classification of Childbirth,” J. Mat. “MANTIK,” vol. 5, no. 2, pp. 90–99, 2019, doi: 10.15642/mantik.2019.5.2.90-99.

A. Jindal and D. R. Priya, “Landmark Points Detection in Case of Human Facial Tracking and Detection,” Int. J. Eng. Adv. Technol., vol. 9, no. 2, pp. 3769–3776, 2019, doi: 10.35940/ijeat.b3367.129219.

R. Y. Endra, A. Cucus, F. N. Afandi, and M. B. Syahputra, “Deteksi Objek Menggunakan Histogram of Oriented Gradient (Hog) Untuk Model Smart Room,” Explor. J. Sist. Inf. dan Telemat., vol. 9, no. 2, 2018, doi: 10.36448/jsit.v9i2.1075.

R. T. Puteri and P. Utaminingrum, “Deteksi Kantuk Menggunakan Kombinasi Haar Cascade dan Convolutional Neural Network,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 4, no. 3, pp. 816–821, 2020.

J. P. Tanjung and M. Muhathir, “Classification of facial expressions using SVM and HOG,” J. Informatics Telecommun. Eng., vol. 3, no. 2, pp. 210–215, 2020, doi: 10.31289/jite.v3i2.3182.

A. Kumar, “ISCAIE 2014 - 2014 IEEE Symposium on Computer Applications and Industrial Electronics,” ISCAIE 2014 - 2014 IEEE Symp. Comput. Appl. Ind. Electron., p. 237, 2015.

N. Hidayat, S. Hidayat, N. A. Pramono, and U. Nadirah, “Sistem Deteksi Kebocoran Gas Sederhana Berbasis Arduino Uno,” Rekayasa, vol. 13, no. 2, pp. 181–186, 2020, doi: 10.21107/rekayasa.v13i2.6737.

R. Wijanarko and I. Afrianto, “Rancang Bangun Aplikasi Chatbot Media Informasi Parenting Pola Asuh Anak Menggunakan Line,” Matrix J. Manaj. Teknol. dan Inform., vol. 10, no. 1, pp. 1–10, 2020, doi: 10.31940/matrix.v10i1.1805.

G. I. C. G. Ector et al., “The development of a web-based, patient-centered intervention for patients with chronic myeloid leukemia (CMyLife): Design thinking development approach,” J. Med. Internet Res., vol. 22, no. 5, pp. 1–14, 2020, doi: 10.2196/15895.

DOI: https://doi.org/10.18860/mat.v15i1.20186


  • There are currently no refbacks.

Copyright (c) 2023 Mohammad Afinil Maula, Achmad Teguh Wibowo, Muhammad Andik Izzudin

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

The journal is indexed by :

Dimensions Sinta CrossRef GoogleScholar
Index Copernicus Moraref Portal Garuda



Editorial Office:
Informatics Engineering Department
Faculty of Science and Technology
Universitas Islam Negeri Maulana Malik Ibrahim Malang
Jalan Gajayana 50 Malang, Jawa Timur, Indonesia 65144
Email: matics@uin-malang.ac.id

Creative Commons License
This work is licensed under a CC-BY-NC-SA 4.0.
© All rights reserved 2015. MATICS , ISSN : 1978-161X | e-ISSN :  2477-2550