Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Enhances construction site safety using YOLO for object detection, identifying hazards like workers without helmets or safety vests, and proximity to machinery or vehicles. HDBSCAN clusters safety cone coordinates to create monitored zones. Post-processing algorithms improve detection accuracy.
| Date | Stars |
|---|---|
| 2026-07-24 | 342 |
| 2026-07-25 | 342 |
| 2026-07-28 | 343 |
| 2026-07-30 | 343 |
| 2026-08-06 | 343 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
🇬🇧 [English](./README.md) | 🇹🇼 [繁體中文](./README-zh-tw.md)
# Construction Hazard Detection
<img width="100%" src="./assets/images/project_graphics/banner.gif" alt="AI-driven construction safety monitoring banner">
<div align="center">
<a href="examples/YOLO_server_api">Server API</a> |
<a href="examples/mcp_server">MCP Server</a> |
<a href="examples/local_notification_server">FCM Notification Server</a> |
<a href="examples/violation_records">Violation Records Server</a> |
<a href="examples/bff">Web BFF</a> |
<a href="examples/db_management">Data Management Server</a> |
<a href="examples/streaming_web">Streaming Web</a> |
<a href="examples/YOLO_data_augmentation">Data Augmentation</a> |
<a href="examples/YOLO_evaluation">Evaluation</a> |
<a href="examples/YOLO_train">Train</a>
</div>
<br>
<div align="center">
<a href="https://www.python.org/downloads/">
<img src="https://img.shields.io/badge/python-3.12-blue?logo=python" alt="Python 3.12">
</a>
<a href="https://github.com/ultralytics/ultralytics">
<img src="https://img.shields.io/badge/ultralytics-8.4.8-blue?logo=yolo" alt="Ultralytics 8.4.8">
</a>
<a href="https://scikit-learn.org/stable/modules/generated/sklearn.cluster.HDBSCAN.html">
<img src="https://img.shields.io/badge/HDBSCAN-sklearn-orange?logo=scikit-learn" alt="HDBSCAN sklearn">
</a>
<a href="https://fastapi.tiangolo.com/">
<img src="https://img.shields.io/badge/FastAPI-0.128.0-blue?logo=fastapi" alt="FastAPI 0.128.0">
</a>
<a href="https://pypi.org/project/mcp/1.25.0/">
<img src="https://img.shields.io/badge/MCP%20SDK-1.25.0-purple" alt="MCP Python SDK 1.25.0">
</a>
<a href="https://redis.io/">
<img src="https://img.shields.io/badge/redis--py-7.1.0-red?logo=redis" alt="redis-py 7.1.0">
</a>
<a href="https://www.docker.com/">
<img src="https://img.shields.io/badge/Docker-Container-blue?logo=docker" alt="Docker">
</a>
<a href="https://codecov.io/github/yihong1120/Construction-Hazard-Detection">
<img src="https://codecov.io/github/yihong1120/Construction-Hazard-Detection/graph/badge.svg?token=E0M66BUS8D" alt="Codecov">
</a>
<a href="https://universe.roboflow.com/object-detection-qn97p/construction-hazard-detection">
<img src="https://app.roboflow.com/images/download-dataset-badge.svg" alt="Download Dataset from Roboflow">
</a>
<a href="https://huggingface.co/yihong1120/Construction-Hazard-Detection">
<img src="https://img.shields.io/badge/HuggingFace-Model%20Repo-yellow?logo=huggingface" alt="Hugging Face Model Repo">
</a>
</div>
<br>
AI-assisted construction-site safety monitoring for live cameras. The current
runtime is centred on `main.py`, `src/stream_processor.py`, local YOLO worker
processes, MediaMTX live publishing, PostgreSQL records, Redis coordination,
and FastAPI services for management, notifications, streaming metadata, and
violation records.
## What It Detects
- Workers without hard hats.
- Workers without safety vests.
- Workers too close to machinery or vehicles.
- Workers inside cone-derived controlled areas.
- Machinery or vehicles too close to utility poles.
Supported label and notification languages include Traditional Chinese,
Simplified Chinese, English, French, Thai, Vietnamese, Indonesian, and
Japanese.
<img width="100%" src="./assets/images/hazard-detection.png" alt="Construction hazard detection examples">
## Hazard Detection Examples
Below are examples of real-time hazard detection by the system.
<div style="display: flex; justify-content: space-between; flex-wrap: wrap;">
<div style="text-align: center; flex-basis: 33%;">
<img src="./assets/images/demo/person_did_not_wear_safety_vest.png" alt="Workers without helmets or safety vests" style="width: 300px; height: 200px; object-fit: cover;">
<p>Workers without helmets or safety vests</p>
</div>
<div style="text-align: center; flex-basis: 33%;">
<img src="./assets/imaExcerpt of 14,226 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:893af8c7e9ae8d97, topic:computer-vision, topic:object-detection, desc:object detection
matched fp:893af8c7e9ae8d97, topic:mcp, readme:mcp server