Contextual security system based on human detection, clothing attribute analysis, and temporal context using YOLOv8

Aris Budiyarto, Yuliadi Erdani, Mochammad Naufal

Abstract


Conventional surveillance systems primarily detect human presence and provide limited capability to interpret contextual security conditions. This study developed an automated contextual security system integrating YOLOv8n-based human detection, HSV-based clothing analysis, database-based identity verification, and temporal reasoning. A formalized rule-based mechanism mapped identity, clothing, and operational time into VALID, VIOLATION, GUEST, or INTRUDER categories, transmitted results to ThingsBoard via message queuing telemetry transport (MQTT), and selectively stored evidence for VIOLATION and INTRUDER events. The system was evaluated using 170 annotated samples from 27 controlled indoor simulation sessions involving three participants under normal and low-light conditions at distances of 1–3 m. Clothing classification achieved 27.06% accuracy and a 21.33% macro F1-score, identity verification achieved 100.00% across all metrics, temporal classification obtained 77.65% accuracy and a 77.58% macro F1-score, and contextual status achieved 55.29% accuracy and a 45.96% macro F1-score. The results identified HSV-based clothing analysis as the main performance bottleneck. The primary contribution was a traceable perception–context–decision–action mechanism that transforms heterogeneous observations into context-dependent security decisions, real-time monitoring, and automated evidence management rather than relying on a single visual attribute.

Keywords


Clothing attribute analysis; Context-aware security; Human detection; Temporal context; YOLOv8

Full Text:

PDF


DOI: http://doi.org/10.11591/ijra.v15i4.pp1085-1093

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Aris Budiyarto, Yuliadi Erdani, Mochammad Naufal

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

IAES International Journal of Robotics and Automation (IJRA)
ISSN 2089-4856, e-ISSN 2722-2586

This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

Web Analytics Made Easy - Statcounter IJRA Visitor Statistics