Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.
Digital Object Identifier 10.1109/ACCESS.2017.DOI
Real-Time Augmented Reality
Framework for Construction Safety
Training Using Object Detection and
Spatial Mapping
PAUL J. LACHCIK1 , SAMUEL S. CONLEY2 , JORDAN A. POWELL3 , RAMON A. BORDELIES4 ,
NISHITA R. SHERATHIYA5 , THEUS H. ASPIRAS6 , and VIJAYAN K. ASARI7
1
School of Engineering, The University of Dayton, Dayton, Ohio, 45409, USA (e-mail: pjlachcik@gmail.com)
School of Engineering, The University of Dayton, Dayton, Ohio, 45409, USA (e-mail: conleys8@udayton.edu)
School of Engineering, The University of Dayton, Dayton, Ohio, 45409, USA (e-mail: powellj17@udayton.edu)
4
School of Engineering, The University of Dayton, Dayton, Ohio, 45409, USA (e-mail: bordeliessanchezr1@udayton.edu)
5
School of Engineering, The University of Dayton, Dayton, Ohio, 45409, USA (e-mail: sherathiyan1@udayton.edu )
6
School of Engineering, The University of Dayton, Dayton, Ohio, 45409, USA (e-mail: aspirast1@udayton.edu)
7
School of Engineering, The University of Dayton, Dayton, Ohio, 45409, USA (e-mail: vasari1@udayton.edu)
2
3
Corresponding author: Vijayan K. Asari (e-mail: vasari1@udayton.edu).
This research work is supported by a National Science Foundation (NSF) grant, Division of Information & Intelligent Systems, NSF
Award # 2302819, "Collaborative Research: Worksite-specific Safety Training Environments with Augmented Reality".
ABSTRACT Construction sites remain among the most hazardous work environments, with a significant
portion of injuries caused by slips, trips, and falls. Traditional safety training methods often rely on passive
instruction, which may not effectively prepare workers to recognize hazards in dynamic environments.
This paper presents a mobile augmented reality (AR) system that integrates real-time object detection and
spatial mapping to create the framework for an interactive hazard identification training tool for construction
safety. The proposed system combines a You Only Look Once version 8 medium (YOLOv8m)-based object
detection model with ARCore spatial tracking within a Unity-based mobile application. The system detects
common construction tools from live camera input, performs spatial raycasting to determine their locations
in the physical environment, and anchors visual indicators directly to the detected objects using a densitybased clustering approach. A DBSCAN clustering algorithm is used to aggregate raycast hits and generate
stable AR anchors for persistent object visualization. Experimental evaluation was conducted in a controlled
10-ft-by-10-ft construction-like environment across 15 trials involving 105 object detection opportunities.
The system achieved an overall detection precision of 95.7% and a recall of 84.8%. Spatial localization
experiments demonstrated an average anchor placement error of 0.476 ft with a variance of 0.077 ft2 ,
indicating sub-foot positioning accuracy for detected objects. These results demonstrate the feasibility
of integrating lightweight computer vision with mobile augmented reality to provide an interactive and
spatially contextualized safety training. The proposed system offers a scalable and cost-effective framework
for experiential construction safety training that can improve hazard recognition and situational awareness
compared to traditional classroom-based methods.
INDEX TERMS Artificial Intelligence, Augmented Reality, Construction Site Safety, Object Detection,
Safety Training.
I. INTRODUCTION
FTENTIMES, construction workers neglect or forget
certain safety protocols that result in severe injury or
death. Workers can also misinterpret potentially dangerous
situations until it is too late. In 2022, more than 1,000 fatalities were recorded on construction sites, with 37% of these
O
VOLUME 4, 2016
being caused by slips, trips, and falls [1]. The most common
strategy in place to help protect these workers is adherence
to OSHA (Occupational Safety and Health Administration)
standards and the use of safety officers on construction sites,
who cannot adequately locate and prevent every potentially
hazardous scenario.
1
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
Current safety standards require construction managers
to undergo periodic safety trainings and obtain continuing
education documents, yet there are multiple studies that point
to this not being an effective training method [2] [3] [4].
Three main limitations were highlighted in instructor led
training: passive learning, limited interactions with physical
hazards, and non-work-related context [3]. This leads to
disengagement in training and an improper perception of
hazards on construction sites.
The use of experiential learning in safety training has
been suggested by many as an effective alternative to current
classroom-style techniques [5] [6] [7]. Experiential learning
allows individuals to learn through action as opposed to
learning through observation, which reinforces recall [8]. In
a study done by Eires et al [9], individuals who underwent
interactive, 360-degree panorama construction site training
were able to identify more potential hazards than those who
underwent traditional safety training.
An effective and cheap implementation option of experiential learning is through the use of an augmented reality (AR)
application. The development of AR systems has been widely
researched in various industries, including gaming [10], education [11], and entertainment [12]. Within the AR world,
developers are able to create computer-generated objects or
overlays and place them within a digital environment. This
opens up a world of possibilities at a much lower cost by
integrating this technology on top of current on-site training
methods.
A second technological advancement that has seen a large
uptick in use on construction sites is artificial intelligence
(AI), primarily in the realm of computer vision (CV). Computer vision aims to compile and infer information given
an image’s pixel data [13]. Convolutional neural networks
(CNNs) take images and break them down layer by layer,
extracting in depth features of the image as it is downsized
[14]. The use of CNNs has allowed for the creation of object
detection AI models that are able to locate and visualize
specific objects in a given image. Object detection techniques
are widely applied across diverse fields, including healthcare
and medical imaging, entertainment, and automated systems.
[15]. In this solution, a You Only Look Once v8 medium
(YOLOv8m) computer vision model is utilized.
Although some industries utilize training facilities to reinforce physical experiences [16], construction sites are often
difficult to predict due to constantly changing conditions
[11]. This creates the need for a robust training application
that can be used on all construction sites. Utilization of
AR allows individuals to experience training in a handson manner, but eliminates the need for the construction of
expensive training to cover the conditions of unique construction sites. As computer vision techniques continue to
improve, an AI-AR training application shows much promise
as a cost-friendly, effective alternative to current construction
site training methods.
Although prior research has explored augmented reality
for construction safety training and computer vision for
2
object detection independently, few systems investigate the
integration of real-time mobile object detection with spatially
persistent mapping of detected objects in dynamic construction environments. Existing AR safety training solutions
are frequently limited to simulated scenarios or prerecorded
environments, while computer vision approaches often focus
solely on detection performance without considering spatial contextualization within a user-driven mobile perception
pipeline.
To address this gap, this work presents a mobile augmented
reality framework that enables real-time detection and spatial
anchoring of commonly encountered construction tools using
a YOLOv8m object detection model. Rather than directly
implementing hazard classification or hazard response logic,
the proposed system focuses on establishing a reliable perception and spatial mapping pipeline capable of accurately
localizing detected objects within the physical environment.
This capability forms a critical foundation for future safety
training systems that aim to deliver contextualized hazard
visualization and experiential learning. The experimental
evaluation demonstrates the feasibility of performing realtime object detection and spatial persistence on mobile hardware, highlighting the potential of the system as an enabling
platform for next-generation AR-based construction safety
training applications.
II. STATE OF THE ART
There is a high interest in the construction industry to protect
its workers and equipment with the help of many unique
IoT solutions. Through the use of smart wearables, drones,
robots, smart devices, and software applications, companies
seek to improve construction site safety. In a comprehensive
review by Elrifaee et al, 147 publications through June 2024
were reviewed and compiled [17]. Of these 147 publications,
object detection and simulation technologies are prevalent
[18], [19], [20], [21]. However, these technologies are all
leveraged in isolation. Industry applications for construction
site safety that utilize AI and AR in tandem are limited in
2025 [22].
A. OBJECT DETECTION
YOLO models have become widely adopted in object detection due to their favorable balance between computational efficiency and detection accuracy. First introduced by
Redmon et al. [23], the YOLO framework performs object
localization and classification within a single end-to-end convolutional neural network, enabling real-time performance
by avoiding multi-stage region proposal pipelines used in
earlier detection methods. This unified architecture allows
all model parameters to be optimized jointly during training,
improving inference speed and simplifying deployment.
More recent developments, such as the YOLOv8 model
proposed by Varghese and Sambath [24], improve detection
performance through architectural refinements that enhance
feature extraction and localization accuracy while reducing
computational complexity. These improvements are particuVOLUME 4, 2016
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
larly beneficial for detecting small objects in cluttered environments due to its strong real-time performance and high
detection accuracy.
Object detection is widely used in construction safety
across the industry with implementations that focus on tracking employees or site features. Wearing personal protective
equipment (PPE) is paramount to employee safety, and object
detection can be leveraged to ensure employees are complying. For example, Han utilizes a YOLOv5 framework to
detect safety helmets and super-resolution reconstruction to
ensure the system can be implemented using CCTV cameras
[18], while Wu implements a similar one-stage neural network to complete the same task for safety harnesses [19].
Kulinan uses YOLOv8 on images collected from CCTV
cameras for ease of access, and tracks the risk level of
construction workers in the site based on their location [25].
As mentioned previously, most site fatalities are the result
of trips, slips, and falls. This creates interest in identifying
features of the site itself, such as terrain, machinery, scaffolding, and tools. Dangerous areas on a site can be notated,
and intrusion instances can be tracked using computer vision,
as demonstrated by Tran [26]. In a similar use case to the
subject of this paper, Li dives into the process of training the
YOLOv8 model to detect large construction machinery with
95% confidence [27].
To effectively scan worksites, it is necessary to train the
model to detect commonly found tools that can present
tripping, falling, or striking hazards. As mentioned, detection
of small objects presents a unique challenge since accuracy
of regression is directly correlated with the number of pixels associated with the target. Soleymani and Lee present
a methodology to properly train YOLO models to boost
performance in this area [28] [29]. A similar approach to
optimizing YOLOv8 for the detection of construction site
tools utilizing a dataset by Lee et al for small construction
tools [30].
B. AUGMENTED REALITY
AR applications allows for the combination of incorporating
virtual and real-world environments. According to Wang et
al., different applications of this technology in environments
such as construction sites improve assembly, communication and problem solving by accessing information virtually rather than physically [31]. The developed AR system
combines software and hardware by using camera input to
provide the user with information in real-time by identifying
planes and objects from the environment. The planes and objects are used to identify potential hazards in the environment
following a detection algorithm to define overlays to these
objects identified using a trained data model. This allows
for efficiency in the construction worker’s ability to identify
potential hazards in the environment, which aligns with the
goals of this work.
Chen et al. provides an application developed in Unity that
integrates IoT devices and AR/VR technologies to provide
users with efficiency in fire safety and rescue training [21].
VOLUME 4, 2016
The application was tested with an experimental group that
used HMD (head-mounted displays) running the developed
application that adopted digital path-finding, and a control
group provided only a paper-based floor plan that indicated
the location of the fire, both used for training of a simulated
emergency. The experimental group completed the training
in about half the average time of the control group, indicating
that the AR system in the developed application for detecting
hazards can improve safety in environments like construction
sites.
Existing AR/VR safety applications are studied by Li et
al. to evaluate their efficiency in hazard identification, safety
training and education, and safety inspection/instruction [32].
The article found that users who use immersive AR/VR
applications for hazard identification were able to evaluate
higher risk levels and identify a larger amount of hazards
than those who just studied photographs and documents.
The article also found that that higher frame rates, up to
95 frames per second, and low latency between the AR/VR
systems with the end-user are critical for efficiency in safety
applications.
Although previous research has explored object detection
for compliance and AR-based safety visualization independently, few systems integrate real-time object detection with
spatially anchored AR hazard visualization in mobile environments. Furthermore, many existing systems rely on fixed
cameras or simulated environments rather than dynamic userdriven perception. This work addresses these limitations by
integrating real-time object detection with spatially persistent
hazard visualization on mobile devices.
III. WORK SUMMARY
The proposed application is implemented in Unity for an
Android platform and integrates an extended reality (XR)
framework to create a framework for an interactive training
environment. Android was selected as the deployment platform primarily due to its extensive feature support, including
plane detection, ray casting, and anchor management [33].
This platform was selected secondarily due to its widespread
availability. The system captures live camera data, performs
real-time inference using an optimized neural network, and
overlays detection results within the physical environment
to enhance user situational awareness after scanning is complete, as outlined in Figure 1. An emphasis is placed on the
accuracy of the detected location of identified tools compared
to their real location. This section provides an overview of the
architecture of the system and introduces the primary components that enable real-time perception and visualization.
A. CONSTRUCTION SITE MODEL TRAINING AND
DATASET
The model architecture is YOLOv8m, which is trained on an
image dataset for object detection of small-sized construction tools. Training is done using a publicly available highresolution dataset consisting of twelve commonly used construction tools: bucket, cutter, drill, grinder, hammer, knife,
3
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
FIGURE 1. High-level overview of Unity pipeline.
saw, shovel, spanner, tacker, trowel, and wrench [30]. The
dataset is divided into training, validation, and testing subsets
using a 70%, 15%, and 15% split respectively to ensure
balanced representation across categories. The validation set
contains 2,916 images with 5,371 annotated objects.
All annotations followed the YOLOv8 bounding box format, where bounding box coordinates are normalized relative
to the image width and height. In this format, the bounding
box is represented by the center coordinates (x, y) and the
width and height (w, h) in pixel units. These values are normalized by the image dimensions (W, H) so that the resulting
parameters (x′ , y ′ , w′ , h′ ) fall within the range [0, 1]. The
normalization process is defined as:
x′ =
x
,
W
y′ =
y
,
H
w′ =
w
,
W
h′ =
h
H
(1)
where x and y represent the center of the bounding box
in pixels, w and h represent the bounding box width and
height in pixels, and W and H correspond to the width and
height of the input image. This normalization ensures that
the annotations remain consistent regardless of the image
resolution used during training.
Prior to training, images were resized to 640×640 pixels to
match the input resolution required by the YOLOv8m architecture. Pixel values were automatically normalized within
the Ultralytics training pipeline.
To improve the robustness of the model under real-world
conditions, several data augmentation techniques were applied during training. These included Hue, Saturation and
Brightness (HSV) color adjustments, random translation,
scaling, horizontal flipping, mosaic augmentation, and random erasing. These augmentations introduce both photometric and geometric variations, enabling the model to generalize
to different lighting conditions, object scales, and camera
viewpoints that may occur in construction environments.
4
The core detection network used during training was the
YOLOv8 medium (YOLOv8m) architecture, initialized with
weights pre-trained on the Common Objects in Context
(COCO) dataset to leverage transfer learning. The model
consists of 92 fused layers and approximately 25.8 million
parameters. Training was performed for up to 200 epochs
using early stopping, with a batch size of 16 and an initial
learning rate of 0.01.
The trained model achieved strong detection performance
across the dataset, reaching a mean Average Precision of
mAP @0.5 = 0.9703 and mAP @0.5 : 0.95 = 0.8502, with
precision and recall values of 0.9576 and 0.9352 respectively.
Figure 2 presents the confusion matrix for the trained
model across all tool classes. The strong diagonal dominance
indicates that the model correctly identifies most tool categories with high accuracy. Minor misclassifications occur
between visually similar tools, which is expected in object
detection tasks involving objects with similar shapes and
textures.
Figure 3 illustrates the precision–recall curves for each
tool category. These curves demonstrate strong detection
performance across classes, with most categories maintaining
high precision across a wide range of recall values. The large
area under the curves confirms the model’s high detection
accuracy and reliable object localization within the trained
model.
B. OBJECT DETECTION PIPELINE
The object detection system operates as a continuous pipeline
that processes camera frames captured by the augmented reality device and converts them into spatially aligned tool detections within the AR environment. The pipeline consists of
four primary stages: image acquisition, preprocessing, neural
network inference, and spatially aware post-processing. As
seen in Figure 1, this is completed by the YOLO worker
VOLUME 4, 2016
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
Algorithm 1 YOLO Worker
1: Initialize model, boundingBoxes[], rays[]
2: while Scanning == true do
3:
if FrameAvailable == true then
4:
tensor ←frame.Resize()
5:
model.RunInference(tensor)
6:
end if
7:
for i = detections do
8:
boundingBoxes[i] ← cx, cy, w, h, conf, class
9:
end for
10:
boundingBoxes.ToScreen()
11:
for i = detections do
12:
ray ← location, direction, conf, class
13:
rays[i].Enqueue(ray)
14:
end for
15: end while
FIGURE 2. Confusion matrix showing prediction performance across
construction tool classes.
FIGURE 3. Precision–recall curves for the YOLOv8m model across
construction tool classes.
described in Algorithm 1.
First, frames are captured from the device camera using
Unity’s AR camera subsystem. These frames represent the
real-world scene observed by the user and serve as the input
to the detection pipeline. To ensure compatibility with the
neural network model, the frames undergo preprocessing
prior to inference.
During preprocessing, each camera frame is resized to
640×640 pixels to match the input resolution expected by the
YOLOv8m model. To avoid geometric distortion that could
negatively affect detection accuracy, a letterboxing operation
is applied. Letterboxing preserves the original aspect ratio of
the camera image by adding padding where necessary rather
than stretching the image. Pixel values are then normalized
and converted into tensor format, enabling efficient GPU
processing by the inference engine.
Object detection is performed using YOLOv8m model
optimized for real-time inference. The trained model is exported in Open Neural Network Exchange (ONNX) format
VOLUME 4, 2016
and executed within Unity using the Unity Inference Engine
[34]. Performing inference locally on the device eliminates
network latency and allows detections to be generated in real
time.
Following inference, the model produces a set of predicted bounding boxes, class labels, and confidence scores
corresponding to detected objects within the scene. Since
multiple bounding boxes may overlap the same object, NonMaximum Suppression (NMS) is applied to remove redundant detections. This process retains only the highestconfidence bounding box while suppressing overlapping predictions below a specified threshold.
After filtering, the remaining detections are converted from
image-space coordinates from the pixel data to screen-space
coordinates in Unity and aligned with the AR camera view.
Using the updated 2D screen-space coordinates, ray objects
are generated using the pose, or location and rotation, of the
camera at the moment of detection and the center coordinates
of each bounding box. Rays are stored and exported for
processing further down the line in the process flow. Below is
a simplification of the components of location and direction
the generated rays:
pose.x
pose.y
pose.z
Ray =
pose.x̂ ∗ cx pose.ŷ ∗ cy pose.ẑ ∗ 1
Where the x, y, and z components of the pose provide the
origin of the ray, and the x̂, ŷ, and ẑ components of the pose
and provide the direction of the ray.
By combining efficient preprocessing, lightweight neural
network inference, and spatially aware post-processing, this
pipeline enables real-time object detection while maintaining
accurate alignment between detected objects and the physical
environment.
Overall, these evaluation results demonstrate that the
trained YOLOv8m model provides accurate and consistent
object detection performance, making it suitable for deployment in the augmented reality object detection system.
5
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
C. SPATIAL INTEGRATION
The augmented reality architecture is implemented using
Unity’s AR Foundation and ARCore framework, which enables XR development within the Android platform. Seven
important modules [35] are utilized to assimilate the real and
virtual environment:
1) ARSession: Instantiates the AR environment
2) XROrigin: Tracks the user’s location in the AR environment and provides a transform to Unity world
coordinates
3) ARPlaneManager: Detects and tracks planes using
boundary points, center, and normal vector
4) ARPointCloudManager: Detects and tracks feature
points in a point cloud
5) AROcclusionManager: Calculates depth image from
pixel data frame-by-frame
6) ARRaycastManager: Manages hits between the user
and components of the AR environment
7) ARAnchorManager: Tracks anchors in Unity world
coordinates
The virtual environment is made up of two components:
the AR session and Unity world coordinates. Using the
modules above, the location of objects can be identified
in the AR space, transformed and tracked in Unity world
coordinates, and related to real-world coordinates through a
manual calibration.
Operating in parallel with the YOLO worker as seen in
Algorithm 1, the Raycast Recorder described in Algorithm 2
utilizes these modules to accomplish the outlined goal.
Algorithm 2 Raycast Recorder
1: Initialize SoA
2: Get rays
3: while Scanning == true do
4:
Try parentAnchor
5:
if raysEnqueue == true and parentAnchor then
6:
hits ← rays.Cast(P lanes, F eatureP ts, Depth)
7:
end if
8:
if hits then
9:
SoA ← hits.worldP osition, hits.conf idence
10:
end if
11: end while
12: Expose SoA
Both the YOLO worker and Raycast Recorder operate
within the XR Origin component since this tracks the pose
of the user in real-time, which is needed to generate and
process rays, and provides a transformation between the AR
space and world coordinates. On top of this, the recorder
must initialize a parent anchor using the ARAnchorManager
to begin raycasting. The creation of an anchor relies on the
device location being known, a stable pose, and consistent
features across frames. Occasionally, the XR Origin can lose
its tracking and redefine its transformation to world coordinates. Therefore, tying hits to this parent anchor ensures that
6
there is no drift if tracking is redefined, ensuring stable longterm visualization.
The ARRaycastManager generates the hits using the rays
passed in. A successful hit is contingent on the existence
of a plane, feature point, or depth scalar. When a raycast
is performed, the ray with a known location and direction
is queried for collisions with planes. If there are no planes
along the path of the ray, the ray is queried for distance to a
feature point within some threshold. If there are no planes or
feature points available to cast on, the hit occurs at a depth
retrieved from the depth image generated every frame. These
operations are performed in order of accuracy. Planes are
the most stable and provide accurate location data, while the
depth image is noisy and introduces error. However, the depth
image is processed every frame, and serves as a dependable
crutch if planes and feature points have not yet been detected
in part of the scene.
Planes and feature points are considered trackables in the
AR space, and are generated by the ARPlaneManager and
ARPointCloudManager. Plane and feature point detection is
performed by the underlying ARCore visual-inertial simultaneous localization and mapping (SLAM) system, which
extracts high-contrast feature points from camera frames and
tracks them across multiple viewpoints [36]. Feature point
detection is performed by calculating the intensity gradient
of pixels on the screen, or how fast pixels change.
∂I
∂I
,
Iy =
(2)
∂x
∂y
These changes in pixel data are analyzed around the local
window ω of a pixel.
P 2 P
Ix
Ix Iy
w
w
P
P
M=
(3)
2
w Ix Iy
w Iy
Ix =
This matrix has two eigenvalues, λ1 , λ2 , where both being
small represent flat regions, one being large represents edges,
and both being large represents corners. Using multi-view
geometry, these features are triangulated to estimate their
center in world coordinates and normal vector to create the
planes [37]. ARPlaneManager supports detection of vertical,
horizontal, and non-axis-aligned planes, and provides visualization capabilities for debugging and spatial verification.
The depth image is generated by the AROcculusionManager and subsystem using changing camera views and estimations. The way the depth image is used to calculate a hit is
described in Figure 4. The most accurate results come when
the camera is between a half meter and five meters away, but
can achieve accurate depth mapping up to sixty five meters
away [38]. Furthermore, a visualization of the depth image is
provided in Figures 5 and 6.
In this work, plane detection, raycasting, and anchor tracking are integrated into a unified spatial mapping pipeline that
enables stable and context-aware detection of object location.
Manual scanning by the user integrates these modules to
create a map of raycast hits based on detected objects from
inference. Each time a new set of hits is stored, a DBSCAN
VOLUME 4, 2016
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
FIGURE 4. Depth calculation using depth image and target a and projection
⃗ onto principal axis (−Z in Unity space) [39].
of CA
FIGURE 6. Subject of depth image visualized in Figure 5
characterized by equations (4) and (5).
FIGURE 5. Depth image with float values mapped to RGB gradient.
algorithm is run on all hits to filter the data and retrieve an
accurate location value, continuously updating and refining
the map of unique objects in the scene. Since the number of
points in the set of hits is low (<1000) for any reasonably
long scanning period, this is not computationally heavy.
D. DBSCAN CLUSTERING
It is necessary to filter noise and identify unique instances of
detected objects before visualization. Error in hits arises from
three main sources:
1) False positives during inference
2) Inherent noise from depth image
3) Incorrect camera pose from IMU overcompensation
It is pertinent that the location of the visualization in Unity
world coordinates is as close as reasonably achievable to the
location of the detected object in real space. By clustering hits
by their class and spatial information, an accurate location for
each unique object instance can be found by taking the average position, or centroid, of all hits in the cluster. Therefore,
noise can be filtered out, and this goal can be pursued. For
this application, a DBSCAN algorithm was utilized due to
its ability to cluster based on spatial density. This algorithm
was proposed by Ester et al in 1996, and clusters points if the
number of points in some neighborhood of point q defined
by a radius Eps exceeds minP ts [40]. The algorithm can be
VOLUME 4, 2016
NEps = {q ∈ D/dist2 (p, q) < Eps2 }
(4)
NEps (P ) > M inP ts
(5)
Equation (4) has been altered for a spherical neighborhood.
After a new set of hits is detected, all hits are grouped by
class, and the clustering algorithm is then applied to each
group. The value of Eps differs between classes and is based
on the size of the average tool per class in the training data.
The value of minP ts is 5, optimized based on empirical
testing of centroid error. This ensures that all three sources
of error presented above are corrected. In the event of false
positives, they are not identified as unique object instances. In
the event of noise from the depth image or poor hit location
due to IMU overcompensation, taking the centroid rectifies
this. This process is outlined in algorithm 3.
Algorithm 3 DBSCAN and Visualization
1: Get SoA
2: for group in SoA.sortByClass() do
3:
Initialize cluster label C ← 0
4:
for each unvisited point p in dataset D do
5:
Mark p as visited
6:
N ← neighbors of p within radius ε2
7:
if |N | < MinPts then
8:
Mark p as noise
9:
else
10:
C ←C +1
11:
Expand cluster C using p and neighbors N
12:
end if
13:
end for
14: end for
E. VISUALIZATION
Once scanning is complete, as denoted by the user, anchors
are generated at the centroid of each cluster, and visualizations are instantiated as children of these anchors. Creating
7
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
anchors ensures that the centroid does not shift as the scene
is updated.
To distinguish between detected object classes, specific
Unity prefab objects are designed in Blender or other modeling software and are mapped to class output labels for
visualization. For testing, six computer-generated entities are
used: a hammer, a wrench, a drill, a bucket, a knife, and
a generic hazard animation. The generic hazard animation
serves as a default visual indicator for all detected objects
that do not correspond to the five primary tool categories.
This architecture ensures that object indicators remain spatially consistent and persist even when the anchored location
exits the camera’s field of view.
FIGURE 7. Model of testing environment
F. END-TO-END SYSTEM OPERATION
The final system operates as a real-time perception and visualization pipeline on a mobile device. Live camera frames
are captured and forwarded to the object detection module,
sending data downstream for processing. As the user scans
the environment, new objects will be detected, and clusters
will be refined. This occurs until the user manually visualizes
the anchors generated, at which point inference, mapping,
and clustering end. The result of this pipeline is a traversable
AR space in which the user can view visualizations of unique
object instances in the real world from all angles without drift
or location error.
In the next section, experimental setup and results are
provided to validate the system’s ability to accurately map
the location of unique object instances in 3D space.
FIGURE 8. Actual testing environment with colored boxes depicting objects to
detect
IV. RESULTS
This section evaluates the augmented reality system, particularly the object detection and plane detection capabilities, as
well as the object overlay feature.
A. ENVIRONMENTAL SETUP
For testing purposes, a controlled 10x10-foot construction
site environment is simulated to test the system’s performance. Each test consists of a calibration stage, detection
stage, and visualization stage. To properly compare tests, the
test is run for only 100 inferences, regardless of whether or
not detections result from each inference.
The locations of the seven objects previously mentioned
were identified within the testing environment, as seen in
Figure 7. The objects are placed at a variety of heights
ranging from ground level to approximately three feet. This is
done to emulate a real-world construction site where objects
may be found in a variety of different x, y, or z coordinates.
B. CALIBRATION AND ENVIRONMENT TRANSFORM
The boundary and planes of the environment were mapped
during the calibration stage of each test. The testing environment contained three primary planar surfaces: the floor at a
z-coordinate of 0 ft, a circular table at a height of 2.5 ft, and
a rectangular table at a height of 3.1 ft. Prior to the start of
8
FIGURE 9. Results with tools removed to highlight visualizations
object detection, the scene was scanned until all three planes
were detected.
Two issues inherent to the AR environment must be rectified for proper analysis of the data to be preformed. One,
the Unity environment measures distance using an abstract
unit referred to in this work as an Augmented Reality Unit
(ARU). A conversion factor between ARU and feet is needed
to map detections to real-world coordinates. Secondly, ARU
points are oriented based on the camera pose at startup, and
are therefore random. This necessitates a transform using
vector coordinate calculations to properly translate, rotate,
and mirror the results of each test.
These issues are solved by identifying the corners of the
boundary. Each corner’s location on the screen was tapped by
the user, generating a raycast, hit, and location. The first two
reference points, located at (0, 0, 0) and (10, 0, 0) in physical
space, were used to determine the conversion factor between
the ARUs and feet. A third point is needed to determine the
transform for locations resulting from detection.
The conversion factor operates under the assumption that
the first two points of the boundary that are identified are
exactly 10 feet apart. Due to this, user error is introduced into
VOLUME 4, 2016
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
(a)
(b)
(c)
(d)
(e)
FIGURE 10. Real-world location (□) and detected location (⃝) of tools in the testing environment. Results were recorded at (a). 50%, (b). 60%, (c). 70%, (d). 80%,
and (e). 90% inference confidence thresholds described as Set 1, 2, 3, 4, and 5 in figure titles, respectively. 3 tests were performed at each confidence level, and 1
of 3 was selected for visualization. Note that lower confidence thresholds can lead to false positives, while higher confidence thresholds can lead to missed
detections as described in Table 1.
VOLUME 4, 2016
9
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
the conversion factor. Across the fifteen tests conducted, the
average conversion factor was 3.45 ft/ARU with a standard
deviation of 0.035 ft/ARU, indicating a consistent spatial
transformation between the AR coordinate system and the
physical environment.
This calibration made it possible to present the results
as seen in Figure 10 with MATLAB plots generated using
Algorithm 4.
Algorithm 4 AR Coordinate System Projection
1: Initialize excelF ile and array corner3D
2: corner3D[0] ← AR measurement of the origin (0, 0, 0)
3: corner3D[1] ← AR measurement of X-axis (10, 0, 0)
4: origin ← corner3D[0]
5: vecx ← Vector representing the primary X-axis from
origin to corner3D[1]
6: xhat ← Normalized unit vector of vecx
7: nhat ← Normalized upward floor vector, calculated
using corner3D[2]
8: yhat ← Orthogonal unit vector for the Y-axis, computed
from nhat and xhat
9: for each point P in detectedP oints do
10:
plotX ← Project P along the primary vecx axis
11:
plotY ← Project P along the orthogonal yhat axis
12:
plotZ ← Project P against the floor normal nhat to
find height
13:
projectedP oints[P ] ← (plotX, plotY, plotZ)
14: end for
TABLE 1. Object Detection Performance Over Three Trials per Confidence
Level
Confidence (%)
50
60
70
80
90
Total
Correct
19
19
20
19
12
89
Misclassifications
2
1
1
0
0
4
Missed
0
1
0
2
9
12
70% confidence threshold, where 20 of the 21 objects present
across the three trials were successfully identified.
Missed detections occurred most frequently at the 90%
confidence level, where nine objects were not identified
across the three trials. At lower confidence thresholds
(50–70%), the number of missed detections remained low,
with zero or one missed object per threshold level. Misclassifications were distributed across the lower and mid-range
confidence levels, with no incorrect classifications occurring
during the 80% and 90% confidence tests.
As shown, missed detections increased with higher confidence thresholds, while misclassifications decreased, indicating a trade-off between detection sensitivity and classification certainty.
Although the detection counts summarize overall performance, metrics such as precision and recall provide a more
complete characterization of system accuracy. Precision measures the proportion of detected objects that are correctly
classified, while recall measures the proportion of objects
present in the environment that are successfully detected.
Precision and recall are defined as
C. OBJECT DETECTION PERFORMANCE
The object detection system was evaluated through a series
of controlled experiments conducted within the 10x10-foot
testing environment described previously. Each test consisted
of seven objects placed throughout the environment at varying heights and distances from the observer. Across the full
evaluation, a total of 15 tests were performed, resulting in
105 total object detection opportunities.
To evaluate the effect of model confidence on detection
performance, the object detection algorithm was tested using
confidence thresholds ranging from 50% to 90% in increments of 10%. Three tests were conducted at each confidence
level. To reduce user bias and ensure consistency in the
testing procedure, the tests were performed by two users,
alternating between tests.
Table 1 summarizes the detection results across all confidence thresholds. For each threshold, the table reports
the number of objects correctly detected, the number of
misclassifications (objects detected but labeled incorrectly),
and the number of missed detections (objects present in the
environment but not detected by the system).
Across all tests, the system correctly detected 89 of the 105
objects present in the environment. Four detections resulted
in misclassifications, while twelve objects were not detected.
The highest number of correct detections occurred at the
10
TP
TP + FP
(6)
TP
TP + FN
(7)
P recision =
Recall =
where T P represents true positives (correct detections),
F P represents false positives (misclassifications), and F N
represents false negatives (missed detections).
Using the totals summarized in Table 1, the system
achieved a precision of 95.7% and a recall of 84.8% across
all tests.
D. CLUSTERING AND TOOL OVERLAY
The clustering and object overlay components of the system
are evaluated by measuring the spatial relationship between
the clustered AR anchor positions and the corresponding
real-world object locations.
As mentioned, when new hits are detected, the clustering
algorithm is run on the whole dataset to refine each unique
object’s detected location. Again, each cluster has a minP ts
of 5 and an Eps that varies based on the average tool for that
class. After 100 inferences were completed, anchors were
placed at the centroid of each cluster, representing the estimated location of the detected object within the environment.
VOLUME 4, 2016
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
TABLE 2. Detection Error Per Object Across All Tests
TABLE 3. Detection Error Per Test Across All Objects
Object
Mean Error (ft) Variance (ft2 ) Valid Detections (15)
Hammer (2,2)
0.359
0.048
15
Knife (6,3)
0.322
0.028
13
Drill (4,5)
0.327
0.022
15
Bucket (5,4)
1.073
0.028
11
Wrench (1,9)
0.451
0.032
11
Hammer (8,8)
0.462
0.018
14
Drill (10,10)
0.478
0.009
14
Test Confidence (%) Mean Error (ft) Variance (ft2 ) Detections (7)
1.1
50
0.517
0.065
7
1.2
50
0.502
0.110
7
1.3
50
0.448
0.039
7
2.1
60
0.536
0.141
7
2.2
60
0.602
0.163
6
2.3
60
0.608
0.043
7
3.1
70
0.486
0.113
7
3.2
70
0.528
0.073
7
3.3
70
0.424
0.128
7
4.1
80
0.369
0.017
6
4.2
80
0.453
0.041
6
4.3
80
0.319
0.041
6
5.1
90
0.318
0.041
4
5.2
90
0.334
0.003
4
5.3
90
0.468
0.078
4
To evaluate the spatial accuracy of the generated anchors,
the radial error between the anchor position and the known
real-world object location is calculated. Additionally, the
individual x, y, and z variances are computed to evaluate the
directional spread of the detected points. Although these values are initially computed in ARU, they are converted to feet
using the previously determined conversion factor. Average
error and variance calculations are executed to observe the
performance of the system as follows:
Let i denote the object index (i = 1, . . . , N ) and j denote
the test index (j = 1, . . . , ni ), where ni represents the
number of valid detections for object i. Failed or incorrect detections are excluded from the spatial accuracy calculations.
The Euclidean localization error for object i during test j
is defined as
eij =
q
(x̂ij − xi )2 + (ŷij − yi )2 + (ẑij − zi )2
(8)
where (xi , yi , zi ) represent the known real-world coordinates of object i, and (x̂ij , ŷij , ẑij ) represent the detected
anchor coordinates. All coordinates are measured in feet.
The mean localization error for each object is then calculated as
n
i
1 X
ēi =
eij
ni j=1
(9)
To evaluate the consistency of the anchor placement, the
variance of the localization error for each object is computed
as
σi2 =
ni
1 X
(eij − ēi )2
ni − 1 j=1
(10)
Finally, the overall average variance across all detected
objects is calculated as
N
σ̄ 2 =
1 X 2
σ
N i=1 i
(11)
The resulting mean localization error and variance for each
individual object across all tests are summarized in Table 2.
The table also indicates the number of valid detections used
for each calculation.
Similarly, Table 3 presents the mean localization error and
variance calculated for each individual test across all objects
within the environment. In the table under the ’Test’ column,
VOLUME 4, 2016
FIGURE 11. Mean error of detected location compared to real location for all
15 tests. Note that the error is inversely proportional to the inference
confidence threshold.
the number before the decimal represents the confidence
level, with 1 depicting the lowest confidence (50%) all the
way up to 5, the highest confidence (90%). Three tests were
conducted for each confidence level, which is represented by
the digit following the decimal.
The total average error across all objects and all tests
is also calculated, once again omitting any false or misdetections. It is found that there was a total average error of
0.476 feet, and a variance of 0.077 feet2 . While the correlation coefficient (R2 = 0.436) is not high, there is an observed
inverse relationship between inference confidence threshold
and mean error between the real and detected location of
tools.
The centroid-based localization error presented in Tables 2
and 3 does not account for the physical dimensions of the
detected objects, which may lead to an overestimation of true
spatial error. To address this, Table 4 summarizes the size of
each object along with the maximum possible offset between
a valid detection point and the object centroid. This offset
is approximated as half of the object’s largest dimension,
representing the worst-case scenario in which a detection lies
on the boundary of the object.
When comparing these values to the observed localization
11
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
TABLE 4. Physical Dimensions of Detected Objects with Largest Dimension
and Maximum Centroid Offset.
Object
Dimensions (in) Max Dim (ft) Max Offset (ft)
Hammer
11 × 5 × 1
0.917
0.458
Drill
9×5×4
0.750
0.375
Wrench
10 × 1 × 0.5
0.833
0.417
Bucket
27 (H), 20.5 (D)
2.250
1.125
Box Cutter
7 × 1.5 × 1
0.583
0.292
∗ Bucket dimensions are modeled as a cylindrical object; the maxi-
mum offset is approximated using the largest dimension.
H = height, D = diameter.
errors, it is evident that many of the reported errors fall within
the physical bounds of the objects themselves. For smaller
tools such as the hammer, drill, and box cutter, the maximum
centroid offsets range from approximately 0.29 ft to 0.46 ft,
which is comparable to the average system error of 0.476 ft
reported across all tests. This suggests that a portion of the
measured error may be attributed to detections that correctly
identify the object but are spatially offset from the centroid.
This effect is even more pronounced for larger objects
such as the bucket, which has a maximum centroid offset of
1.125 ft. The observed mean error for the bucket (1.073 ft)
falls within this bound, indicating that many detections classified as having high localization error may still lie within
the object’s physical extent. Therefore, the centroid-based
error metric represents a conservative estimate of system
performance.
Overall, these results demonstrate that the system’s practical localization accuracy is higher than suggested by centroid
error alone, particularly for larger objects. Incorporating object geometry into future error metrics may provide a more
representative evaluation of detection performance.
V. DISCUSSION
A. SYSTEM PERFORMANCE
The experimental results illustrate the ability of the AR
system to provide a reliable object detection and spatial
visualization of a scripted environment within a specified
confidence level. The use of the YOLOv8m model allowed
for the system to run with almost zero latency while maintaining an accurate detection accuracy within a reasonable
threshold. The application is easily portable to any android
device that supports API level 29 or higher. In terms of
construction site safety training, this is an important feature,
as users have the ability to walk around with device instead
of staying stationary. This helps further engage the user and
reinforce their training.
Across the full evaluation, the system maintained a high
precision of 95.7%, indicating that the majority of detections
corresponded to the correct object class. However, the recall
was slightly lower at 84.8%, reflecting the presence of 12
missed detections during testing. These results suggest that
the model is highly reliable when it identifies an object
but may occasionally fail to detect objects under stricter
confidence thresholds.
12
At lower thresholds (50–70%), all objects were correctly
detected with minimal misclassifications. At higher thresholds (80–90%), the number of missed detections increased,
reflecting a trade-off between detection confidence and recall. Specifically, nine objects were not detected during the
90% confidence trials, highlighting a limitation of the current
model when using higher confidence thresholds. Overall, out
of 105 total objects across 15 tests, 89 were correctly detected, four were misclassified, and 12 were missed, demonstrating the robustness of the system while identifying areas
for dataset expansion or model refinement.
The highest detection performance occurred at the 70%
confidence threshold, where 20 out of 21 objects were successfully detected. At the highest threshold of 90%, the number of missed detections increased significantly, with nine
objects failing to be detected across three trials. This trend illustrates the common trade-off between detection sensitivity
and certainty in object detection systems. Lower confidence
thresholds allow the system to identify more objectss but
introduce a greater risk of misclassification, while higher
thresholds reduce false positives but increase the likelihood
of missed detections.
The application was able to detect all planes within the
environmental space and clearly visualize them. This is important in differentiation between objects that could pose
tripping risks versus those that may pose a falling risk,
and offers the ability to detect vertical and non-axis-aligned
planes. Through the use of the lightweight object detection
model and the spatial capabilities of the system, indicators of detected construction site objects were spawned and
anchored to real-world features. This anchoring showcases
the assimilation abilities between the real world and AR
environment. Through this synergistic system, the training
experience can be enhanced to further utilize the episodic
memory of the user.
B. HIT CLUSTERING AND ANCHOR PLACEMENT
A disruptive feature of the application was the repeated
process of generating rays based on inference, detected hits,
and density clustering. The main purpose of this pipeline is to
identify unique objects based on their 3D spatial information.
In the industry, this has not yet been attempted using only
pixel data. Furthermore, the DBSCAN algorithm adds density analysis to filter noise. This allowed for a margin of error
if the object detection model inaccurately detected an object,
an error was present in the hit, or a ray was inaccurately
generated. In summary, this framework solves the problem
of detecting the location of objects in 3D space using only
pixel data.
The detection period was limited to 100 inferences of the
object detection model. This value was selected to balance
detection opportunity and computational efficiency, allowing
sufficient time for each object to be identified while maintaining a manageable evaluation window.
In addition to detection accuracy, the spatial localization
performance of the system was evaluated by measuring the
VOLUME 4, 2016
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
distance between the generated AR anchors and the known
real-world object locations. Across all objects and tests, the
system achieved an average localization error of 0.476 feet
with a variance of 0.077 ft2 . This indicates that the clustering and raycasting pipeline is capable of estimating object
locations with sub-foot accuracy in most cases. Such spatial
precision is sufficient for augmented reality safety training
applications, where the goal is to visually highlight hazardous areas rather than provide millimeter-level positioning.
While most objects exhibited localization errors below 0.5
feet, one outlier was observed for the bucket object, which
produced a mean error of 1.073 feet. This increased error may
be attributed to the geometry and surface characteristics of
the object. Larger objects produce a wider spatial distribution
of raycast intersections, which increases centroid variance
and reduces localization accuracy.
While the centroid-based localization error provides a
consistent metric for evaluating spatial accuracy, the results
must be interpreted in the context of the physical dimensions
of the detected objects. As shown in Table 4, the maximum
possible offset between a valid detection and the object
centroid can be substantial, particularly for larger objects.
When compared with the mean localization error of 0.476 ft
observed across all tests (Table 3), it becomes evident that
many detections classified as having moderate error still fall
within the physical bounds of the object. This is especially
apparent for the bucket, where the observed mean error of
1.073 ft remains within the maximum centroid offset of
1.125 ft.
These results indicate that the centroid-based error metric
represents a conservative estimate of system performance,
as it penalizes detections that are spatially valid but not
centered on the object. In practical applications, particularly
in construction site environments, identifying the presence
and approximate location of an object is often more critical
than exact centroid alignment. Therefore, the system demonstrates a higher level of functional accuracy than suggested
by centroid error alone.
C. IMPLEMENTATION AS A TRAINING METHOD
The need for this work comes from the lack of efficient
construction site training techniques. Oftentimes, workers
disregard or fail to recall important safety measures, and
situations can arise in which a construction worker may fail to
recognize the severity of the risks present in their surroundings. Traditional safety training methods frequently rely on
classroom-style instruction or written documentation, which
primarily engage semantic memory through observation and
memorization. While these approaches provide foundational
knowledge, they do not always prepare workers to recognize
hazards within the dynamic and unpredictable environments
commonly found on construction sites.
The experimental results presented in this work demonstrate that common construction tools can be detected and
visualized in real time using a mobile augmented reality
system. By anchoring tool visualizations directly to detected
VOLUME 4, 2016
objects in the physical environment, the system introduces an
experiential training framework that allows users to observe
and interact with simulated potential hazards within their
surroundings. This interaction encourages active engagement
with the environment rather than passive observation of training material.
Through repeated exposure to spatially contextualized potential hazards, trainees may develop stronger situational
awareness and improved hazard recognition skills. The combination of real-time object detection and augmented reality
visualization allows potential risks to be communicated in a
manner that is intuitive and visually engaging. As a result, the
application provides a promising framework for experiential
safety training that can reinforce existing protocols while
offering a flexible and scalable training tool for construction
environments.
D. RESEARCH SIGNIFICANCE
Although individual components of the proposed system,
such as object detection or augmented reality visualization,
have been explored in prior research, the integration of realtime mobile perception with spatially persistent mapping
introduces a fundamentally new capability for construction
safety training systems. Existing solutions typically rely on
fixed cameras, simulated environments, or non-contextual
visualization approaches that do not maintain spatial consistency as the user navigates a physical environment.
The framework presented in this work establishes an endto-end perception and spatial reasoning pipeline capable
of detecting small construction tools, filtering noisy spatial
measurements, and generating stable anchored visualizations
within a real-world environment. The use of density-based
clustering to refine spatial estimates further enables reliable
localization despite depth noise, pose drift, and inference
uncertainty. This combination of lightweight neural inference, real-time spatial mapping, and noise-robust anchor
generation represents a novel architectural contribution that
extends beyond improvements in detection accuracy alone.
Rather than presenting a finalized hazard detection system,
this work introduces an enabling platform that allows future
safety training applications to reason about hazards within
their true physical context. By demonstrating that mobile
devices can support persistent spatial awareness of detected
objects with sub-foot localization accuracy, the proposed
system disrupts conventional safety training paradigms that
rely on static instruction or pre-scripted simulations. This
capability opens the door for adaptive, context-aware experiential training systems that can operate directly within active
construction environments.
E. APPLICATION LIMITATIONS
While the system provides a very promising framework for
AR training techniques, several obstacles remain. First, an
initial calibration is required in order for the system to
perform. This is done at the start of the procedure, when the
four corners of the active area are tapped. These first two hit
13
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
points are initially assumed to be exactly ten feet apart. All
other calculations are then performed using this conversion
factor of AR space to physical environment.
A second important performance limitation comes at the
hands of the different modules used to perform this work: AR
Foundations, the software within Unity that allows for cross
platform AR development, and the object detection model
itself. The AR Foundations package is responsible for the
plane detection and feature point extraction. The testing was
done on stationary objects in a fixed lighting environment.
Planes were accurately detected during testing, but the same
may not be true when there visual complexity is added to
the scene. Moving objects and variable lighting may have an
effect on the ability of AR Foundations to accurately detect
planes, as well as determine feature points within the scene.
In addition, the object detection model was trained on a
fixed dataset of construction tools. This limits the detection
capabilities of the system to only those objects recognized by
the model. At lower confidence levels, a significant amount
of mis-detections were recorded. This means the model was
incorrectly identifying an object, such as recognizing a hammer as being a shovel. At higher confidence levels, objects
were failing to be detected at all. This problem can be solved
by increasing the size of the training data that the model uses,
or by increasing the diversity of the dataset used.
Finally, the hardware used posed a limitation to the overall
computational efficiency of the application. The Google Pixel
6 that was used for the development of the system provided a
solid foundation, but left something to be desired in terms
of computation speed. There were a number of times that
the application crashed when being uploaded to the phone.
A stronger CPU and GPU would both aid in the abilities of
the system to run in real time with minimal latency.
F. FUTURE WORK
While the current system demonstrates the feasibility of
using augmented reality and real time object detection for
construction site hazard training, several avenues exist to
extend and improve the system.
First, the object detection model can be expanded to include a broader range of construction tools, machinery, and
environmental hazards. Incorporating additional classes and
increasing dataset diversity will improve generalization and
reduce incorrect detections, particularly in cluttered or dynamic worksite conditions. Future research may also explore
the integration of continual learning techniques, enabling the
model to update and adapt to new hazards without retraining
from scratch.
Second, improvements in AR spatial mapping and depth
perception are critical for robust deployment in complex
and changing environments. Future work could incorporate
multiple cameras or a variety of sensors to enhance plane and
feature point detection under challenging lighting conditions
or in large-scale outdoor construction sites.
Third, user interaction and experiential learning can be
further refined. For instance, adaptive training scenarios
14
could be generated based on real-time user behavior and
performance, offering targeted reinforcement of weak hazard
recognition areas. Features such as scoring or progress tracking could be integrated to motivate engagement and enhance
episodic memory.
Fourth, object detection for hazards within a construction
site environment can be improved by explicitly identifying
whether an object being detected is a hazard or not based
on placement, environmental factors, and others. This will
require a greater sophistication for algorithms that can leverage a dataset with a wide range of scenarios which hazards
are present in construction sites.
Finally, scalability and deployment across multiple devices
in real-world construction sites should be investigated. This
includes optimizing the application for a wider range of
mobile devices, minimizing latency, and exploring the use of
an AR headset to further reinforce learning through a more
engaging device.
By addressing these extensions, the application can evolve
into a comprehensive, adaptive, and widely deployable tool
for improving construction site safety training.
VI. CONCLUSION
This work presented an augmented reality system designed
to enhance construction site safety training through realtime object detection and spatial visualization. By integrating a YOLO-based object detection model with AR spatial
mapping, the system is capable of identifying construction
tools and anchoring object visualizations within the physical
environment, establishing a framework that can allow users
to interact with potential hazards in a contextualized training
scenario.
Experimental evaluation demonstrated the effectiveness of
the system in detecting and localizing objects across multiple
confidence thresholds. Across 15 tests involving 105 object
detection opportunities, the system correctly identified 89
objects, with four misclassifications and twelve missed detections. These results indicate that the proposed approach
is capable of reliably detecting common construction tools
while maintaining real-time performance suitable for mobile
augmented reality platforms.
In addition to detection accuracy, the system demonstrated
reliable spatial localization performance. Across all experiments, the average anchor placement error was 0.476 feet
with a variance of 0.077 ft2 , indicating that the clustering
and raycasting pipeline can estimate object positions within
approximately half a foot of their true location. This level
of spatial accuracy is sufficient for augmented reality object
visualization, where the objective is to clearly communicate
the presence and approximate location of potential risks.
The ability to visualize objects directly within the environment has the potential to improve hazard recognition
and situational awareness compared to traditional training
methods. By reinforcing experiential and episodic learning,
systems such as this may help construction workers better
recognize risks and adopt safer behaviors on job sites.
VOLUME 4, 2016
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
Overall, the results demonstrate the feasibility of combining object detection and augmented reality as a practical training tool for construction safety. Future work will
focus on expanding the detection dataset, improving localization accuracy, and conducting user studies to evaluate the
system’s effectiveness in improving hazard recognition and
training outcomes.
.
[13] Mohana and R. A. HV, “Object detection and tracking using
deep learning and artificial intelligence for video surveillance
applications,” International Journal of Advanced Computer Science
and Applications, vol. 10, no. 12, 2019, copyright - © 2019. This
work is licensed under https://creativecommons.org/licenses/by/4.0/
(the “License”). Notwithstanding the ProQuest Terms and
Conditions, you may use this content in accordance with the
terms of the License; Last updated - 2025-06-18. [Online]. Available:
http://libproxy.udayton.edu/login?url=https://www.proquest.com/scholarlyjournals/object-detection-tracking-using-deeplearning/docview/2655156070/se-2
[14] J. Wu, “Introduction to convolutional neural networks,” National Key Lab
for Novel Software Technology. Nanjing University. China, vol. 5, no. 23,
ACKNOWLEDGMENT
p. 495, 2017.
This research work is supported by a National Science Foun[15] A. Karn et al., “Artificial intelligence in computer vision,” International
Journal of Engineering Applied Sciences and Technology, vol. 6, no. 1,
dation (NSF) grant, Division of Information & Intelligent
pp. 2455–2143, 2021.
Systems, NSF Award # 2302819, "Collaborative Research:
[16] C. A. Cardno, “Training for disaster,” Civil Engineering Magazine
Worksite-specific Safety Training Environments with AugArchive, vol. 89, no. 4, pp. 62–69, 2019.
mented Reality".
[17] M. Elrifaee, T. Zayed, E. Ali, and A. H. Ali, “Iot contributions
to the safety of construction sites: A comprehensive review of
recent advances, limitations, and suggestions for future directions,”
REFERENCES
Internet of Things, vol. 31, p. 101387, 2025. [Online]. Available:
https://www.sciencedirect.com/science/article/pii/S2542660524003287
[1] U. D. o. L. Bureau of Labor Statistics, “A look at falls,
[18] J. Han, Y. Liu, Z. Li, Y. Liu, and B. Zhan, “Safety helmet detection
slips, and trips in the construction industry,” May 2024.
based on yolov5 driven by super-resolution reconstruction,” Sensors,
[Online]. Available: https://www.bls.gov/opub/ted/2024/a-look-at-fallsvol. 23, no. 4, 2023. [Online]. Available: https://www.mdpi.com/1424slips-and-trips-in-the-construction-industry.htm
8220/23/4/1822
[2] H. Liang, X. Shi, D. Yang, and K. Liu, “Impact of
[19] L. Wu, N. Cai, and Z. Liu, “A one-stage deep learning
mindfulness on construction workers’ safety performance: The
framework for automatic detection of safety harnesses in highmediating roles of psychological contract and coping behaviors,”
altitude operations.” SIViP, pp. 75–82, 2023. [Online]. Available:
Safety Science, vol. 146, p. 105534, 2022. [Online]. Available:
https://link.springer.com/article/10.1007/s11760-022-02205-3
https://www.sciencedirect.com/science/article/pii/S0925753521003775
[20] S. M. Hasan, K. Lee, D. Moon, S. Kwon, S. Jinwoo, and S. Lee,
[3] N. Kim, S. Park, M. Uhm, C. R. Ahn, and H. Kim, “Enhancing construc“Augmented reality and digital twin system for interaction with
tion managers’ risk perception and lowering risk tolerance toward unsafe
construction machinery,” Journal of Asian Architecture and Building
behaviors through experiential safety training,” Journal of Management
Engineering, vol. 21, no. 2, pp. 564–574, 2022. [Online]. Available:
in Engineering, vol. 41, no. 1, p. 04024067, 2025. [Online]. Available:
https://doi.org/10.1080/13467581.2020.1869557
https://ascelibrary.org/doi/abs/10.1061/JMENEA.MEENG-6283
[21] H. Chen, L. Hou, G. K. Zhang, and S. Moon, “Development of bim,
[4] A. D. Rafindadi, N. Shafiq, I. Othman, and M. Mikić, “Mechanism models
iot and ar/vr technologies for fire safety and upskilling,” Automation
of the conventional and advanced methods of construction safety training.
in Construction, vol. 125, p. 103631, 2021. [Online]. Available:
is the traditional method of safety training sufficient?” International jourhttps://www.sciencedirect.com/science/article/pii/S0926580521000820
nal of environmental research and public health, vol. 20, no. 2, p. 1466,
[22] A. Corneli, A. Carbonari, F. Spegni, T. Pieroni, and B. Naticchia, “On-site
2023.
safety inspections through marker-less augmented reality and blockchain
[5] S. Bhandari, M. R. Hallowell, and J. Correll, “Making construction safety
notarization of bim-based processes,” Buildings, vol. 15, no. 13, 2025.
training interesting: A field-based quasi-experiment to test the relationship
[Online]. Available: https://www.mdpi.com/2075-5309/15/13/2318
between emotional arousal and situational interest among adult learners,”
[23] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look
Safety science, vol. 117, pp. 58–70, 2019.
once: Unified, real-time object detection,” in Proceedings of the IEEE
[6] S. Hasanzadeh, B. Esmaeili, and M. D. Dodd, “Measuring the impacts
Conference on Computer Vision and Pattern Recognition (CVPR), June
of safety knowledge on construction workers’ attentional allocation and
2016.
hazard detection using remote eye-tracking technology,” Journal of management in engineering, vol. 33, no. 5, p. 04017024, 2017.
[24] R. Varghese and S. M., “Yolov8: A novel object detection algorithm with
enhanced performance and robustness,” in 2024 International Conference
[7] K. R. Molenaar, J.-I. Park, and S. Washington, “Framework for measuring
on Advances in Data Engineering and Intelligent Computing Systems
corporate safety culture and its impact on construction safety perfor(ADICS), 2024, pp. 1–6.
mance,” Journal of construction engineering and management, vol. 135,
no. 6, pp. 488–496, 2009.
[25] A. S. Kulinan, M. Park, P. P. W. Aung, G. Cha, and
S. Park, “Advancing construction site workforce safety monitoring
[8] M. C. Steffens, R. von Stülpnagel, and J. C. Schult, “Memory
through bim and computer vision integration,” Automation in
recall after “learning by doing” and “learning by viewing”:
Construction, vol. 158, p. 105227, 2024. [Online]. Available:
Boundary conditions of an enactment benefit,” Frontiers in
https://www.sciencedirect.com/science/article/pii/S0926580523004879
Psychology, vol. Volume 6 - 2015, 2015. [Online]. Available:
https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2015.01907
[26] S. V.-T. Tran, D. Lee, Q. L. Bao, T. Yoo, M. Khan, J. Jo, and C. Park,
“A human detection approach for intrusion in hazardous areas using
[9] R. Eiris, M. Gheisari, and B. Esmaeili, “Pars: Using augmented 360-degree
4d-bim-based spatial-temporal analysis and computer vision,” Buildings,
panoramas of reality for construction safety training,” International journal
vol. 13, no. 9, 2023. [Online]. Available: https://www.mdpi.com/2075of environmental research and public health, vol. 15, no. 11, p. 2452, 2018.
5309/13/9/2313
[10] A. Kumar, S. Singh Yadav, S. Kumar, and P. Johri, “Augmented reality
[27] L. Zeyang, “A yolov8-based intelligent detection system for construction
systems in gaming and multimedia,” in 2021 International Conference
site safety monitoring,” in 2025 IEEE 8th International Conference on
on Advance Computing and Innovative Technologies in Engineering
Information Systems and Computer Aided Education (ICISCAE), 2025,
(ICACITE), March 2021, pp. 333–338.
pp. 980–984.
[11] M. Ali, “Developing augmented reality based gaming model to teach
[28] M. Soleymani, M. Bonyani, and C. Wang, “Lightweight
ethical education in primary schools,” arXiv preprint arXiv:2010.15346,
detection of small tools for safer construction,” Automation in
2020.
Construction, vol. 167, p. 105701, 2024. [Online]. Available:
[12] Z. Mahmood, T. Ali, N. Muhammad, N. Bibi, I. Shahzad, and S. Azmat,
https://www.sciencedirect.com/science/article/pii/S0926580524004370
“Ear: Enhanced augmented reality system for sports entertainment appli[29] K. Lee, C. Jeon, and D. H. Shin, “Small tool image database and object
cations,” KSII Transactions on Internet and Information Systems (TIIS),
vol. 11, no. 12, pp. 6069–6091, 2017.
detection approach for indoor construction site safety,” KSCE Journal of
VOLUME 4, 2016
15
Author et al.: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS
Civil Engineering, vol. 27, no. 3, pp. 930–939, 2023. [Online]. Available:
https://www.sciencedirect.com/science/article/pii/S122679882401239X
[30] K. Lee, J. Hwang, C. Jeon, M. M. Eizan, A. J. Bitangjol, and D. H. Shin,
“Image dataset for object detection of small size construction tools,” Dec.
2022. [Online]. Available: https://doi.org/10.5281/zenodo.6530106
[31] X. Wang, M. Truijens, L. Hou, Y. Wang, and Y. Zhou, “Integrating
augmented reality with building information modeling: Onsite construction process controlling for liquefied natural gas industry,” Automation
in Construction, vol. 40, pp. 96–105, 2014. [Online]. Available:
https://www.sciencedirect.com/science/article/pii/S092658051300215X
[32] X. Li, W. Yi, H.-L. Chi, X. Wang, and A. P. Chan, “A critical review of virtual and augmented reality (vr/ar) applications in construction safety,” Automation in Construction, vol. 86, pp. 150–162, 2018. [Online]. Available:
https://www.sciencedirect.com/science/article/pii/S0926580517309962
[33] Unity Technologies, “Ar foundation | ar foundation | 6.4.1,”
https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@6.4/manual/index.html,
2025, accessed: 2026-02-09.
[34] ——.
(2025)
Unity
ai
inference
engine
documentation.
[Online].
Available:
https://docs.unity3d.com/Packages/com.unity.ai.inference@2.2/manual/
[35] Unity
Developers.
(2025)
Ar
foundations
6.1.1
features. Unity. Accessed 2026/03/03. [Online]. Available:
https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@6.1/manual/features/features.html
[36] C. Chang, H. Zhu, M. Li, and S. You, “A review of visual-inertial simultaneous localization and mapping from filtering-based and optimizationbased perspectives,” Robotics, vol. 7, p. 45, 08 2018.
[37] L. Liu, H. Li, and M. Gruteser, “Edge assisted real-time object
detection for mobile augmented reality,” in The 25th Annual International
Conference on Mobile Computing and Networking, ser. MobiCom ’19.
New York, NY, USA: Association for Computing Machinery, 2019.
[Online]. Available: https://doi.org/10.1145/3300061.3300116
[38] Google Developers, “Depth adds realism | arcore depth api,”
https://developers.google.com/ar/develop/depth, 2025, accessed: 202603-09.
[39] ——. (2025, Nov.) Perform raycasts in your unity (ar foundation)
app. Google. Last updated 2025-11-03, accessed 2026/ 02/
11. [Online]. Available: https://developers.google.com/ar/develop/unityarf/hit-test/developer-guide
[40] K. Khan, S. U. Rehman, K. Aziz, S. Fong, and S. Sarasvady, “Dbscan:
Past, present and future,” in The Fifth International Conference on the
Applications of Digital Information and Web Technologies (ICADIWT
2014), 2014, pp. 232–238.
16
VOLUME 4, 2016
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )