# PeterH0323/Smart_Construction

Base on YOLOv5 Head Person Helmet Detection on Construction Sites，基于目标检测工地安全帽和禁入危险区域识别系统，🚀😆附 YOLOv5 训练自己的数据集超详细教程🚀😆2021.3新增可视化界面❗❗

Repository: https://github.com/PeterH0323/Smart_Construction
Canonical: https://ross.abutalabs.com/products/smart_construction
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: yolov5, helmet, pytorch, python, detection, object-detection, yolo
Last push: 2024-04-11T21:56:54+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2233, "days_push": 874, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2619, forks 478 (observed 2026-08-28T04:07:04.922305+00:00)

## What it is
A YOLOv5-based object detection application for detecting people, heads, and safety helmets on construction sites, including pretrained weights and a PyQt5 visualization interface. It also ships a detailed tutorial for training YOLOv5 on custom datasets.

## Use cases
- detect whether workers are wearing safety helmets in site photos
- build a construction site safety monitoring system
- train YOLOv5 on my own custom dataset
- convert VOC annotations to YOLO format
- run object detection with a GUI visualization tool
- detect people and heads in images with pretrained weights

## When to choose
- you need helmet/person detection for construction safety with ready pretrained weights
- you want a step-by-step example of training YOLOv5 on custom data
- you want a simple desktop GUI to visualize detection results

## When to avoid
- you need real-time video stream detection at scale in production
- you need a maintained, up-to-date YOLOv5 codebase (it pins YOLOv5 v2.x)
- you need detection classes beyond person/head/helmet without retraining

## Facets
- artifact type: application
- maturity: maintenance
- function: computer-vision, image-processing, machine-learning, deep-learning
- domain: computer-vision, image-processing, deep-learning, developer-tools, tutorials
- platform: python, windows
- tags: yolov5, object-detection, helmet-detection, construction-safety, pytorch, safety-monitoring, visualization-tool, custom-dataset-training, linux, macos, desktop

## Member repositories
- PeterH0323/Smart_Construction (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:04.922305+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:20:11.751493+00:00, confidence not recorded.
  - readme: https://github.com/PeterH0323/Smart_Construction (fetched 2026-08-28T04:07:04.922305+00:00, sha bdc9bd0229ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
