YOLOv8-BASED SMART ALERT SYSTEM FOR DETECTING MAHRAM RESTRICTIONS IN CONFINED SPACES

  • Muhammad Riyu Saputra(1*)
    Universitas Pendidikan Indonesia
  • rafi ahmad habibi(2)
    Universitas Pendidikan Indonesia
  • Yasir Ahmadin Moersyid(3)
    Universitas Pendidikan Indonesia
  • Muhammad Ganesh Alifadito(4)
    Universitas Pendidikan Indonesia
  • Yahya Rafi Sya'bani(5)
    Universitas Pendidikan Indonesia,
  • (*) Corresponding Author
Keywords: Female Dormitory; Mahram Boundaries; Smart Alert; YOLOv8

Abstract

This study aims to develop a YOLOv8-based intelligent security system (Smart Alert) to detect mahram boundary violations in restricted spaces, such as female dormitories. Utilizing the Research and Development (R&D) method with a Prototyping approach, the model was trained for 100 epochs using a custom dataset consisting of Male and Female classes. The results show that the model achieved optimal performance at epoch 20 with a mAP@50 of 0.840, Precision of 0.828, and accuracy rates of 0.78 for the Female class and 0.87 for the Male class. Upon detecting a male in the restricted area, the system automatically triggers a danger status and sends real-time notifications via a Telegram Bot. This system is proven effective in maintaining the privacy and security of dormitory residents in accordance with Islamic principles.

Downloads

Download data is not yet available.

Author Biographies

Muhammad Riyu Saputra, Universitas Pendidikan Indonesia

Departemen Mekatronika dan Kecerdasan Buatan, Universitas Pendidikan Indonesia, Bandung

Yasir Ahmadin Moersyid, Universitas Pendidikan Indonesia

Departemen Mekatronika dan Kecerdasan Buatan, Universitas Pendidikan Indonesia, Bandung,

Muhammad Ganesh Alifadito, Universitas Pendidikan Indonesia

Departemen Mekatronika dan Kecerdasan Buatan, Universitas Pendidikan Indonesia, Bandung,

Yahya Rafi Sya'bani, Universitas Pendidikan Indonesia,

Departemen Mekatronika dan Kecerdasan Buatan, Universitas Pendidikan Indonesia, Bandung,

References

S. Razzaq and N. Razzaq, "Artificial Intelligence and Moral Responsibility: An Islamic Normative Approach," Journal of Science and Knowledge Horizons, vol. 6, no. 1, pp. 19–32, 2026. doi: 10.34118/jskp.v6i1.4545

R. Mustapha and S. N. A. Malkan, "AI Surveillance, Privacy (Ḥifẓ al-ʿIrḍ), and Human Dignity in Islamic Jurisprudence," International Journal of Islamic Theology & Civilization, 2026. doi: 10.5281/zenodo.18295050

M. Yaseen, "What is YOLOv8: An In-Depth Exploration of the Internal Features of the Next-Generation Object Detector,"

arXiv:2408.15857, 2024. [Online].

Available: http://arxiv.org/abs/2408.15857

N. M. Muriyah, J. H. Sim, and A. Yulianto, "Evaluating YOLOv5 and YOLOv8: Advancements in Human Detection," Journal of Information Systems and Informatics, vol. 6, no. 4, 2024. doi: 10.51519/journalisi.v6i4.944

N. D. Hendrawan, R. Kolandaisamy, et al., "A Comparative Study of YOLOv8 and YOLO-NAS

Performance in Human Detection Image," Jurnal Teknologi dan Manajemen Informatika, vol. 9, no. 2, pp. 191–201, 2023. [Online]. Available: http://jurnal.unmer.ac.id/index.php

/jtmi

XLi et al., "SGST-YOLOv8: An

Improved Lightweight YOLOv8 for Real-Time Target Detection for Campus Surveillance," Applied

Sciences, vol. 14, no. 12, 2024. doi: 10.3390/app14125341

D. Reis, J. Kupec, J. Hong, and A. Daoudi, "Real-Time Flying Object Detection with YOLOv8," arXiv:2305.09972, 2024. [Online].

Available: http://arxiv.org/abs/2305.09972

Afifah and Erniwati, "Attire-Based Anomaly Detection in Restricted Areas Using YOLOv8 for Enhanced CCTV Security," arXiv:2404.00645, 2026. [Online].

Available: http://arxiv.org/abs/2404.00645

Hidayatullah, Arsitektur dan Implementasi YOLO untuk Deteksi Objek, 2025.

ResearchGate, "Advanced Data Augmentation for Object Detection Using Mosaic and Mixup Techniques," 2026. [Online]. Available: https://www.researchgate.net

"Mixed Precision Training for Deep Learning Efficiency," HighTech and Innovation Journal, 2024.

J. Yi et al., "Distribution Focal Loss and CIoU Optimization for Bounding Box Regression," 2024.

Wang and Liao, "Anchor-Free Detection: Advances and Validation for Real-Time Object Detection," 2024.

H. Kim, J. Jeong, and H. Park, "Real-Time Object Detection and Interaction in a YOLOv8-Based VR Logistics Training Platform," International Journal of Internet, Broadcasting and Communication, vol. 17, no. 4, 2025. doi: 10.7236/IJIBC.2025.17.4.264

"Invasive AI-led mass surveillance in Africa violating freedoms, warn experts," The Guardian, Mar. 2026. [Online]. Available: https://www.theguardian.com/glob al-development/2026/mar/12/invasiv

e-ai-led-mass-surveillance-in-africa-violating-freedoms-warn-experts

G. Jocher, A. Chaurasia, and J. Qiu, "Ultralytics YOLOv8 (Version 8.0.0)," Ultralytics, 2023. [Online]. Available: https://github.com/ultralytics/ultral ytics

J. Terven, D. Cordova-Esparza, and J.

A.Romero-Gonzalez, "A comprehensive review of YOLO architectures in computer vision: From YOLOv1 to YOLOv8 and YOLO-NAS," Machine Learning and Knowledge Extraction, vol. 5, no. 4, pp. 1680–1716, 2023. doi: 10.3390/make5040083

T. Diwan, G. Anirudh, and J. V. Tembhurne, "Object detection using YOLO: Challenges, architectural successors, datasets and applications," Multimedia Tools and Applications, vol. 82, no. 6, pp. 9243–9275, 2023. doi: 10.1007/s11042-022-13644-y

R. Firmansyah, N. Shaari, S. Ismail,

N. Utaberta, and I. M. S. Usman, "Observation of Female Dorm Privacy in Islamic Boarding Schools in West Java, Indonesia," Journal of Islamic Architecture, vol. 6, no. 4, pp. 360–368, 2021.

doi: 10.18860/jia.v6i4.13091

Firdaus, T. Y. Andiyah, L. Andita, S. Ainurrochimah, F. Hakim, and W. Wismanto, "Mahram dan Pembatasan Pernikahan dalam Konteks Hukum Islam," Ikhlas: Jurnal Ilmiah Pendidikan Islam, vol. 2, no. 1, pp. 132–139, 2024.

doi: 10.61132/ikhlas.v2i1.291

M. I. Hasan et al., "The Establishment of Acoustical Privacy in Female Islamic Student Housing," Malaysia Architectural Journal, vol. 5, 2023. [Online]. Available: https://majournal.my/index.php/m aj/article/view/183

Z. Mahad Musa, M. Farid, R. Abdullah, A. H. Usman, and A. Iskandar, "Privacy in Islam as a Guide to Housing Development," vol. 11, no. 2, pp. 67–77, 2021.

doi: 10.15575/ijik.v11i2

PlumX Metrics

Published
2026-10-14
How to Cite
[1]
M. Saputra, rafi habibi, Y. Moersyid, M. Alifadito, and Y. Sya’bani, “YOLOv8-BASED SMART ALERT SYSTEM FOR DETECTING MAHRAM RESTRICTIONS IN CONFINED SPACES”, JME, pp. 68 - 76, Oct. 2026.
Section
Articles