The panoply of high risk activities in construction works necessitates close supervision and monitoring to ensure that the works are conducted in a safe manner. While most of the monitoring are currently done manually through standing or remote supervision, the increase in quantum of construction works coupled with the reduction in construction labour force calls for the need of a new approach of supervision. With computer vision techniques, close proximity of workers can be detected and highlighted to promote safety of the work place. This project explores the adoption of video analytic solutions including YOLO-based object detection, DeepSORT facial tracking as well distance approximation through stereo cameras.
- Open "yolov5_object_detector" folder
- Install requirement.txt file for object detector
- Open "distancing-monitoring-master" folder
- Install requirement.txt file for distance estimator
-
Training Yolov5
- Open "yolov5_object_detector" folder
- Input "train", "test", "val" data images & labels in "Train_Images_2" folder
- Run "lta_train.ipynb" notebook, and train on custom images
-
Object Detector
- Open "yolov5_object_detector" folder
- Run "distance_safety.py" file
- Input both expected average height of worker & threshold distance
-
Distance Estimator
- Open "Construction Site Distance Estimation_Homography" folder
- Run "detect.py" file
- Run "MergeFrames.py" file
- [Dr. Tian Jing](Senior Lecturer & Consultant, Artificial Intelligence Practice)