Development of a Digital Twin-Based Simulation System and A Novel Synthetic Video Dataset for Enhancing Computer Vision in Construction Site Safety

Zhengyu Wu, Yuxiang Feng, Yiannis Demiris, Panagiotis AngeloudisComputing 2024

Abstract

In this work, we introduce a novel construction simulation system and the first photo-realistic synthetic video dataset for the construction industry, named ConSynth. The system simulates vehicle dynamics, worker behaviours, and various environmental conditions, generating a dataset of 200 video sequences and 24,000 images with automated labels. Our experiments have shown that models trained on ConSynth achieve robust detection with less reliance on real-world data, indicating enhanced diversity, improved performance in underrepresented scenarios, and substantial generalisability. Our work promises significant advancements in construction safety monitoring through computer vision.

Introduction

Construction sites are high-risk environments where computer vision (CV) can save lives by monitoring safety protocols and equipment movement. However, training these AI models requires massive amounts of labeled data. Currently, the field faces three major hurdles: the annotation bottleneck (manual labeling is slow and error-prone), the domain gap (models fail in adverse weather like rain or fog), and static data (lack of temporal patterns for advanced tracking).

Researchers at Imperial College London have developed ConSynth, the first photo-realistic synthetic video dataset specifically designed for construction site safety. By leveraging a digital twin of a real-world site and Unreal Engine 5, the system generates high-fidelity training data that significantly improves object detection performance while reducing the need for tedious manual human labeling by up to 75%.

Methodology

The authors built a sophisticated simulation pipeline to generate "perfect" data automatically. Their approach involves:

  • Digital Twin Creation: Instead of hand-crafting a generic site, they used UAV (drone) photogrammetry to scan a real construction site in London. To solve the problem of "missing backgrounds" beyond the scan area, they integrated 3D data from Google Earth to provide a realistic distant horizon.
  • Logistics Simulation: They used Lanelet2 (a framework typically used for autonomous driving) to create vector maps. This allows simulated trucks and workers to follow realistic paths, navigate intersections, and obey "walkable" area rules.
  • Domain Randomization: To ensure the AI is "weather-proof," the system automatically varies the time of day and weather conditions (rain, fog, overcast) using Unreal Engine 5.
Figure 1: Examples of domain randomization in the ConSynth dataset, showing various lighting and weather conditions.
  • Automated Annotation: A custom C++ tool extracts 2D/3D bounding boxes, instance segmentation masks, depth maps, and normal maps directly from the engine. This provides "ground truth" labels that are 100% accurate and require zero human intervention.

Data and Evaluation

The study utilizes and compares several key datasets:

  • ConSynth (New): 200 video sequences (24,000 images total) featuring workers, dump trucks, and mixer trucks.
  • MOCS & ACID: The two largest existing public real-world construction datasets, used here as a baseline for "real-world" training.
  • Case Study Dataset: 100 unique, manually annotated images from the actual physical site that was used to create the digital twin, serving as the ultimate "real-world" test.

One of the key innovations was merging high-detail local photogrammetry with lower-detail Google Earth data. This prevents the "floating in a void" look of many synthetic datasets, which often confuses CV models. Furthermore, because ConSynth provides continuous video, it opens the door for tasks that static images can't handle, such as action recognition and behavioral analysis.

Key Results

The experiments, conducted using the YOLOv8 architecture, yielded impressive improvements:

  • Better Generalization: Models trained on a combination of real and ConSynth data outperformed those trained on real data alone when tested on the specific case study site.
  • Machine Detection Boost: The accuracy (mAP) for detecting dump trucks jumped from 6.4 to 9.0 (a 40% improvement) when synthetic data was added to the mix.
  • Robustness: The synthetic dataset successfully taught the model to handle "adverse" conditions (night, rain, fog) where real-world data is typically scarce. Mixing synthetic data with real data reduced the amount of real-world data needed by 75% while maintaining comparable performance.

Limitations and Future Work

Despite the high realism, a domain gap still exists; models trained only on synthetic data still struggle when moved to the real world. Additionally, small object detection remains a challenge due to the high resolution of site cameras and the distance of the targets.

Future directions include expanding the library of assets to include excavators, cranes, and loaders, and implementing advanced algorithms like SAHI (Slicing Aided Hyper Inference) to better detect tiny objects. The researchers also plan to explore more complex worker behaviors and potential hazard scenarios to train proactive safety systems.

The ConSynth dataset is available at https://github.com/tsl-imperial/ConSynth.

Summary updated

BibTeX
@inproceedings{wu2024development,
  author = {Zhengyu Wu and Yuxiang Feng and Yiannis Demiris and Panagiotis Angeloudis},
  title = {{Development of a Digital Twin-Based Simulation System and A Novel Synthetic Video Dataset for Enhancing Computer Vision in Construction Site Safety}},
  booktitle = {Computing},
  year = {2024},
  doi = {10.35490/ec3.2024.195},
}
Figure