Skip to content
Kadir Talha Uncu
ENTR
← Back to all projects

Zone Intrusion Detection

2026·Solo developer·AI & Computer Visionİmverge — Ege Career Fair 2026
Quick LookTechnologiesPython · YOLOv8 · Ultralytics · OpenCV · NumPy · Pillow · Telegram Bot API · Groq API · pygame

Problem

On-site PPE monitoring relies on the human eye. A worker entering a restricted zone without a helmet or vest goes unnoticed if the supervisor happens not to be watching; the violation often surfaces only after an accident.

Approach

I built a dual-model architecture that combines a custom-trained YOLOv8 model with the pre-trained YOLOv8n person-detection model. The custom model was trained for 50 epochs and reached 88% mAP50 accuracy. The user draws square, triangular, and rectangular restricted zones onto the camera view with the mouse; zones can be moved and resized via drag-and-drop. The system flags, in real time, anyone entering those zones without protective equipment.

Result

88%mAP50 accuracy
3alert channels: sound, screen, Telegram

On a violation, an audible alarm and an on-screen warning kick in, and a photo notification is sent through the Telegram Bot API. For every violation, the system generates an automatic Turkish incident report using the Groq API (LLaMA 3.1).

Zone Intrusion Detection interface: a rectangular restricted zone drawn over the camera view next to the live status panel
The application interface: camera selection, zone shape options, the drawn restricted zone, and live violation status.