sensors Article A Novel Model for Instance Segmentation and Quantification of Bridge Surface Cracks—The YOLOv8-AFPN-MPD-IoU Chenqin Xiong 1 , Tarek Zayed 1 , Xingyu Jiang 2 , Ghasan Alfalah 3 1 2 3 4 * Citation: Xiong, C.; Zayed, T.; Jiang, X.; Alfalah, G.; Abelkader, E.M. A Novel Model for Instance Segmentation and Quantification of Bridge Surface Cracks—The YOLOv8-AFPN-MPD-IoU. Sensors 2024, 24, 4288. https://doi.org/ 10.3390/s24134288 Academic Editors: Qiong Wang, Teng Huang and Yan Pang and Eslam Mohammed Abelkader 4, * Department of Building and Real Estate, Faculty of Construction and Environment, The Hong Kong Polytechnic University, Kowloon, Hong Kong 999077, China; chenqin.xiong@connect.polyu.hk (C.X.); tarek.zayed@polyu.edu.hk (T.Z.) College of Mechanical and Electrical Engineering, Northeast Forestry University, Harbin 150040, China; jiangxy@spacestar.com.cn Department of Architecture and Building Science, College of Architecture and Planning, King Saud University, Riyadh 145111, Saudi Arabia; galfalah@ksu.edu.sa Structural Engineering Department, Faculty of Engineering, Cairo University, Giza 12613, Egypt Correspondence: eslam_ahmed1990@cu.edu.eg Abstract: Surface cracks are alluded to as one of the early signs of potential damage to infrastructures. In the same vein, their detection is an imperative task to preserve the structural health and safety of bridges. Human-based visual inspection is acknowledged as the most prevalent means of assessing infrastructures’ performance conditions. Nonetheless, it is unreliable, tedious, hazardous, and laborintensive. This state of affairs calls for the development of a novel YOLOv8-AFPN-MPD-IoU model for instance segmentation and quantification of bridge surface cracks. Firstly, YOLOv8s-Seg is selected as the backbone network to carry out instance segmentation. In addition, an asymptotic feature pyramid network (AFPN) is incorporated to ameliorate feature fusion and overall performance. Thirdly, the minimum point distance (MPD) is introduced as a loss function as a way to better explore the geometric features of surface cracks. Finally, the middle aisle transformation is amalgamated with Euclidean distance to compute the length and width of segmented cracks. Analytical comparisons reveal that this developed deep learning network surpasses several contemporary models, including YOLOv8n, YOLOv8s, YOLOv8m, YOLOv8l, and Mask-RCNN. The YOLOv8s + AFPN + MPDIoU model attains a precision rate of 90.7%, a recall of 70.4%, an F1-score of 79.27%, mAP50 of 75.3%, and mAP75 of 74.80%. In contrast to alternative models, our proposed approach exhibits enhancements across performance metrics, with the F1-score, mAP50, and mAP75 increasing by a minimum of 0.46%, 1.3%, and 1.4%, respectively. The margin of error in the measurement model calculations is maintained at or below 5%. Therefore, the developed model can serve as a useful tool for the accurate characterization and quantification of different types of bridge surface cracks. Keywords: surface cracks; bridges; YOLOv8s-Seg; asymptotic feature pyramid network; minimum point distance; middle aisle transformation Received: 27 May 2024 Revised: 27 June 2024 Accepted: 28 June 2024 Published: 1 July 2024 Copyright: © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). 1. Introduction Hong Kong has emerged as one of the most economically advanced regions in the past five decades due to its unique cultural heritage and strategic location. This remarkable progress has been accompanied by significant improvements in urban infrastructure and facilities, including the construction of bridges and roads [1]. While urban development has undeniably brought convenience to the lives of citizens, it has also given rise to a pressing issue—the maintenance of bridges. In our daily lives, numerous factors, such as cyclic loading, fatigue stresses, and adverse long-term environmental conditions, have hastened the deterioration of bridge surfaces, resulting in problems like cracks, ruts, and potholes [2]. Among these concerns, cracks hold particular significance due to their direct impact on concrete structures’ safety, functionality, and durability [3]. Cracks provide an Sensors 2024, 24, 4288. https://doi.org/10.3390/s24134288 https://www.mdpi.com/journal/sensors Sensors 2024, 24, 4288 2 of 22 entry point for corrosive chemicals within the concrete, allowing water and de-icing salts to penetrate bridge decks, potentially causing damage to superstructures and aesthetic elements [4]. Since cracks are a critical indicator of a structure’s condition, they play a pivotal role in structural health monitoring [5]. Consequently, conducting a rigorous study to assess the extent and severity of cracks is essential for evaluating the condition of bridges and maintaining a comprehensive database for long-term bridge inspections and analysis. As a result, numerous countries have established comprehensive maintenance plans for their bridges. For example, the United States mandates biennial bridge inspections in compliance with American Association of State Highway and Transportation Officials (AASHTO) requirements [6]. In the United Kingdom, bridge inspections occur every one to three years in accordance with established standards [7]. In China, specific standards dictate the detection and quantification of bridge cracks wider than 0.2 mm [8]. In practical terms, due to its simplicity, human visual inspection remains the predominant method for monitoring bridge health [9]. However, this method heavily relies on expertise, experience, and subjectivity, which can result in imprecise and unreliable assessment outcomes [10,11]. Furthermore, visual inspection is often impractical for inaccessible areas of a bridge, such as columns and intersections [12]. In such cases, bridge inspectors resort to deploying inspection vehicles as manual operation platforms to measure the size of bridge cracks. Nevertheless, this approach has its own set of limitations, including traffic disruptions, time consumption, and high maintenance costs [13]. The advent of computer vision models has paved the way for automatic inspection technologies, offering enhanced efficiency and precision in contrast to manual measurements, which are susceptible to inaccuracies and subjectivity [14,15]. However, the application of these technologies presents various challenges and limitations. Firstly, many studies in this field focus on crack detection under ideal conditions, often on surfaces consisting entirely of concrete or asphalt. In real-world scenarios, crack detection tasks frequently entail complex backgrounds with diverse elements, such as tree leaves and varying lighting conditions, rendering the accurate distinction of cracks challenging [16]. Furthermore, traditional bridge distress inspection commonly involves image processing techniques employing edge detection and image thresholding. Cracks are identified based on changes in edge gradients derived from the intensity difference relative to the background and are extracted through threshold segmentation [17]. However, this method is significantly affected by environmental factors during image collection, including variations in lighting conditions and the presence of oil stains [3]. The current study introduces an integrated framework tailored explicitly for the segmentation of road cracks and the quantification of surface features, with a particular emphasis on addressing the challenges posed by complex backgrounds. In contrast to existing research in the same domain, our study presents several noteworthy contributions: (1) We provide a comprehensive literature review that delves into the realms of bridge crack detection and segmentation, offering a thorough understanding of the existing body of knowledge in this field. (2) To enrich the research landscape, we have meticulously curated a new bridge crack dataset customized to the distinctive context of Hong Kong. This dataset encompasses a diverse array of crack samples, faithfully representing the complexities encountered in real-world scenarios, including various crack sizes and intricate crack backgrounds. (3) Our study pioneers the development of a novel YOLOv8-AFPN-MPD-IoU, an advanced approach facilitating precise and timely detection and segmentation of cracks within Hong Kong’s bridges with complex backgrounds, thus enhancing process efficiency. The AFPN is incorporated into the YOLOv8 neck, effectively reducing information gaps between non-adjacent layers and facilitating improved feature fusion. The MPD-IoU (minimum point distance intersection over union) loss function is deployed to solve the problem that the predicted bounding box possesses the same aspect ratio as the ground-truth bounding. In terms of recognition precision, model size, and reference times, the proposed model emerges as the optimal choice for deploying portable devices in practical applications. Sensors 2024, 24, 4288 3 of 22 (4) Furthermore, we employ a distance transform method (DTM) to accurately measure the length and width of segmented road cracks at the pixel level. This approach enhances precision and minimizes the impact of varying lighting conditions, a crucial aspect of our methodology. 2. Literature Review Crack identification is mainly divided into traditional methods based on digital image processing and methods based on deep learning. Digital image processing methods based on edge detection and threshold segmentation are highly susceptible to ambient environmental conditions and image quality requirements. Additionally, these techniques may fail when encountered with real-world scenarios such as tree leaves and varying lighting conditions [18]. Likewise, they remain highly dependent on the design of feature descriptors, and therefore, they are difficult to be generalized [19–21]. In this respect, some previous research attempts relied on the use of threshold segmentation [22], Otsu [23], improved Otsu [24–26], edge detectors [27,28], improved watersheds [29], artificial neural networks [30,31], hybrid artificial neural networks [32], and support vector machines [33–35] for crack detection and assessment. Aside from data dependence, deep learning addresses the limitations inherent in the typical machine learning models mentioned above. The advancement of graphical processing units (GPUs) has significantly accelerated image processing on computers. Consequently, deep learning techniques can now be effectively employed for tasks such as image object detection and segmentation, including the management of building construction [36]. Convolutional neural networks (CNNs) are among the popular techniques used to extract category and location information from images in object detection tasks. However, the process of generating region proposals using selective search remains slow and exhibits limited accuracy for two-stage detectors [37]. Rosso et al. [38] presented a ResNet-50-based framework for defect classification in ground penetrating radar profiles. The authors implemented bi-dimensional Fourier transform as a preprocessing convolution operation, and vision transformer architecture was incorporated, resulting in better localization of defects. In another research effort, Park et al. [39] introduced a machine-learning-based model for predicting depths of concrete cracks in thermal images. The four machine learning models included AdaBoost, gradient boosting, random forest, and multilayer perceptron. The AdaBoost model demonstrated the highest prediction accuracy with a determination coefficient and mean absolute percentage error of 98.96% and 0.6%, respectively. They also showed that the combination of principal component analysis with AdaBoost or gradient could properly detect microcracks. Among the bounding box detection models, Zhang et al. [40] created a single-stage detector based on you only look once (YOLOv3) to locate bridge surface defects like cracks, spalling, pop-outs, and exposed rebar. In another study, Deng et al. [41] utilized YOLOv2 to locate cracks in real-world images contaminated with handwriting scripts. In a third study, Teng et al. [42] investigated the use of 11 pre-trained deep learning networks to be leveraged as feature extractors of YOLOv2. Among them, there were Alex Net, VGG16, VGG19, ResNet50, ResNet101, Google Net, etc. They deduced that the integration of ResNet18 and YOLOv2 was deemed appropriate in terms of computational accuracy and efficiency. Similarly, Qiu and Lau [43] elucidated that ResNet50-based YOLOv2 and YOLOv4-tiny demonstrate exceptional accuracy, fast processing speed, and notable proficiency in detecting small cracks in tiled sidewalks for crack detection. Xiang et al. [44] addressed various challenges encountered by UAV-based crack detection networks, including low efficiency and accuracy stemming from road noise such as shadows, occlusions, and low contrast. Consequently, the YOLO architecture is recognized for its capability to identify cracks amidst complex backgrounds. However, the bounding box outcomes provided by crack recognition lack the potential for further quantitative analysis, thereby rendering crack recognition less suitable as a crack measurement algorithm [11]. The task of object segmentation evolves from object detection, requiring a comprehensive understanding of the image scene at the pixel level. In crack segmentation tasks, the input image typically contains only cracks and background. The resulting output consists of binary values of 1 and 0, representing crack pixels and background pixels, Sensors 2024, 24, 4288 4 of 22 respectively [45]. As a result, the outcomes of crack segmentation can facilitate subsequent geometric calculations of crack length and width. The human brain rapidly processes distinct shapes and irregular contours present in objects, similar to an objective segmentation task. Consequently, creating a detection frame outside the target object is deemed unnecessary and incongruent with human visual interpretations [46]. Therefore, the utilization of the YOLOv8-seg model in bridge inspection endeavors represents a promising initiative. 3. Research Methodology This research study comprises three distinct phases within its framework: a systematic review, data collection, and crack measurement. Illustrated in Figure 1, this framework delineates a structured approach to bridge crack segmentation and measurement. The model developed is grounded in a conceptualization revolving around three essential modules. The initial module involves a comprehensive examination of existing models for detecting and quantifying surface cracks on bridge decks. This critical review not only identified research gaps, future research directions, and clear objectives but also prompted the utilization of a publicly available database to augment the diversity and complexity of image scenarios used in experimental settings. However, currently, the images provided lack sufficient power to fully capture the complex diversity of real-world scenes. Therefore, a set of supplementary images featuring various bridge defects was curated specifically for this purpose, utilizing data augmentation—an extensively employed method to mitigate overfitting in deep learning models while enhancing their diversity and generalizability [47]. The images were captured at various locations across Hong Kong, encompassing a diverse array of environmental factors. These include variations in sunlight conditions, diverse surface textures, different bridge locations, instances of graffiti, and occurrences of water damage. Various transformations, such as lighting adjustments, random element addition, noise introduction, flipping, and image bounding box manipulation, were applied to augment the Hong Kong dataset. At this juncture, the integrated dataset combines the publicly accessible benchmark dataset of bridge surface cracks (BSD) sourced from [48] alongside the Hong Kong bridge crack dataset (HKBCD). The third module of this study focuses on developing a novel YOLOv8-AFPN-MPDIoU model for surface crack segmentation, complemented by the utilization of the distance transform method (DTM) for precise calculation of bridge crack width Sensors 2024, 24, x FOR PEER REVIEW 5 of 24 and length. Figure 1. Framework of the developed YOLOv8-APF-MPDIOU model for crack instance segmentation. Figure 1. Framework of the developed YOLOv8-APF-MPDIOU model for crack instance segmentation. 4. Model Development This section delineates the basic components of the developed YOLOv8-AFPNMPDIoU model. 4.1. Basics of YOLOv8-Segmentation Architecture of the developed YOLOv8-AFPN-MPDIoU model is depicted in Figure 2. Its distinctive features lie in the following: 1. The YOLOv8 network offers support for object detection, tracking, and various additional tasks, including instance segmentation, image classification, and key-point de- Sensors 2024, 24, 4288 5 of 22 4. Model Development This section delineates the basic components of the developed YOLOv8-AFPN-MPDIoU model. 4.1. Basics of YOLOv8-Segmentation Architecture of the developed YOLOv8-AFPN-MPDIoU model is depicted in Figure 2. Its distinctive features lie in the following: 1. The YOLOv8 network offers support for object detection, tracking, and various additional tasks, including instance segmentation, image classification, and key-point detection. Similar to YOLOv5, YOLOv8 presents five distinct scales of models (n, s, m, l, x) with increasing depth and width from left to right [49]. In alignment with the efficient layer aggregation network (ELAN) design philosophy, 2. YOLOv8 replaces the C3 structure within the YOLOv5 backbone network with a C2f structure. This modification enables YOLOv8 to retain its lightweight characteristics while enhancing the flow of gradients [50]. In comparison to YOLOv5, YOLOv8 demonstrates more pronounced disparities in its head section due to the integration of the widely adopted decoupled head structure. 3. YOLOv8 adopts the Task-Aligned-Assigner strategy for positive sample assignment in loss function calculation [51]. Additionally, it introduces the distribution focal loss (DFL). During training, the strategy of disabling mosaic augmentation in the final ten epochs is incorporated, as inspired by YOLOX, to effectively enhance precision in the data augmentation process. 4. YOLOv8s-Seg is an extension of the YOLOv8 object detection specifically Sensors 2024, 24, x FOR PEER REVIEW 6 ofmodel 24 tailored for performing segmentation tasks. This network draws upon the principles of the YOLACT network to achieve real-time instance segmentation of objects while a high mean average precision [52]. The structural overview of the maintaining YOLACT network to segment achieve real-time instance segmentation of objects while maintaining a high network segment mean average precision [52].3.The structural overview of the YOLACT is presented in Figure YOLACT network is presented Figure 3.ultralytics 8.0.201, comprises three primary com5. the The YOLOv8-Seg network,inversion 5. The YOLOv8-Seg network, version ultralytics 8.0.201, comprises three primary components: the backbone, the neck, and the head. In the associated GitHub repository, ponents: the backbone, the neck, and the head. In the associated GitHub repository, five distinct scale models of the network are available, specifically YOLOv8n-Seg, five distinct scale models of the network are available, specifically YOLOv8n-Seg, YOLOv8s-Seg, YOLOv8m-Seg, YOLOv8l-Seg, and YOLOv8x-Seg. YOLOv8s-Seg, YOLOv8m-Seg, YOLOv8l-Seg, and YOLOv8x-Seg. In this study, exper-In this study, experiments were conducted using YOLOv8-Seg models atassess various scales to assess the iments were conducted using YOLOv8-Seg models at various scales to the segment mAP50 and modeland size.model Given the minimal of cracks in each image, the in each image, segment mAP50 size. Givenpresence the minimal presence of cracks firstthe fourfirst scales of models were utilized to identify the most suitable scale. four scales of models were utilized to identify the most suitable scale. Figure Architecture the developed YOLOv8-AFPN-MPDIoU model. Figure 2. 2. Architecture of theof developed YOLOv8-AFPN-MPDIoU model. Sensors 2024, 24, 4288 6 of 22 Figure 2. Architecture of the developed YOLOv8-AFPN-MPDIoU model. Figure3.3.Structure StructureofofYOLACT YOLACTnetwork. network. Figure 4.2. 4.2.Asymptotic AsymptoticFeature FeaturePyramid PyramidNetwork Network In tasks related to object detection and segmentation, thethe multi-scale feature extraction In tasks related to object detection and segmentation, multi-scale feature extracprocess playsplays a keya role in object encoding andand scale change processing. tion process key role in object encoding scale change processing.AAcommon common approach approachisisto toutilize utilizewell-established well-establishedtop-down top-downor orbottom-up bottom-up feature feature pyramid pyramid networks. networks. However, However,these thesemethods methodsare aresusceptible susceptibleto tothe theproblem problemofoffeature featureinformation informationloss lossand and deterioration, which in turn adversely affects the integration of information between two non-adjacent layers. Within the prevailing architectures of feature pyramids, the challenge lies in the necessity for high-level features located at the pinnacle of the pyramid to traverse multiple intermediate scales and engage with features at these intermediate levels before finally fusing with the low-level features at the base. Throughout this process of propagation and interaction, there is a risk of the semantic information contained within the high-level features being lost or compromised. In contrast, the bottom-up pathway of the PAFPN (pyramid attention feature pyramid network) introduces a converse challenge: the detailed information originating from the lower-level features could potentially suffer loss or deterioration during the process of propagation and interaction. 4.2.1. Asymptotic Architecture To address this challenge, the asymptotic feature pyramid network (AFPN) was developed by Yang et al. [53]. The issue stems from the substantial semantic gap between non-adjacent hierarchical features, which is especially pronounced between the lowest- and highest-level features. This gap hinders the effective fusion of non-adjacent hierarchical features. However, the AFPN architecture is designed to be asymptotic, resulting in a closer alignment of semantic information across different hierarchical feature levels during the asymptotic fusion process. This, in turn, mitigates the aforementioned issues. As illustrated in Figure 4, during the bottom-up feature extraction process of the backbone network, the AFPN gradually integrates low-level features, followed by intermediate-level features, before culminating in the fusion with the highest-level feature, which is the most abstract. Black arrows denote convolutions, while blue arrows indicate adaptive spatial fusion. In this proposed model, the AFPN is incorporated into the YOLOv8 neck, effectively reducing information gaps between non-adjacent layers and facilitating improved feature fusion. level features, before culminating in the fusion with the highest-level feature, which is the most abstract. Black arrows denote convolutions, while blue arrows indicate adaptive spatial fusion. In this proposed model, the AFPN is incorporated into the YOLOv8 neck, effectively reducing information gaps between non-adjacent layers and facilitating im7 of 22 proved feature fusion. Sensors 2024, 24, 4288 Figure 4. Architecture of the proposed asymptotic feature pyramid network. Figure 4. Architecture of the proposed asymptotic feature pyramid network. 4.2.2. Adaptive Spatial Fusion 8 of 24 4.2.2. The Adaptive Fusion ASFFSpatial technique is utilized to assign variable spatial weights to different feature The ASFFmulti-level technique is utilized to assign variable weights different feature levels during feature fusion, enhancing thespatial importance of to critical levels while levels during the multi-level fusion, information enhancing the importance of criticalIllustrated levels while minimizing impact feature of conflicting from diverse objects. in → adaptive spatial fusion, formally defined as the linear combination of feature vectors 𝑥 , minimizing the impact of three conflicting information diverse objects. Illustrated FigFigure 5, features from different levels arefrom combined. This Figure servesinas an , and 𝑥 → (refer tothree Equation (1)). 𝑥 →ure illustration of from feature fusion at three different levels, but can adapt method as 5, features different levels are combined. Thiswe Figure serves the as an illustraneeded for cases withatmore or fewer levels. Representing the vector transitioning → →we can adapt → feature tion of feature fusion three different levels, but the method as needed for +𝛽 ⋅𝑥 +𝛾 ⋅𝑥 𝑦 =𝛼 ⋅𝑥 (1) from with levelmore n to level l at position , thefeature resultant feature vector yijl from is attained (i, j) as xijn→l the cases or fewer levels. Representing vector transitioning level 𝛽 and 𝛾𝑖, 𝑗 fusion, represent weights of the features theofthrough three At level adaptive nthrough to level l𝛼at, position as 𝑥 →formally , the thespatial resultant feature vector 𝑦combination isacross attained spatial defined as the linear feature →l ,constraint l (refer 𝛽 + to 𝛾 Equation = 1. Due(1)). to variations in the number of fused levels, withxij1the vectors xij2→l , and x𝛼ij3→+ features at each stage of the AFPN, we introduce stage-specific adaptive spatial fusion l 1→ l l →l modules [54]. The adaptive spatial fusion operation 5. yijl = α + βlij · xij2is→shown + γijl ·in xij3Figure (1) ij · xij Sensors 2024, 24, x FOR PEER REVIEW Figure 5. Adaptive spatial fusion operation. Figure 5. Adaptive spatial fusion operation. At level αijl , βlij and γijl represent the spatial weights of the features across the three levels, 4.3. Minimum Point Distance-IoU Loss Function with the constraint αijl + βlij + γijl = 1. Due to variations in the number of fused features at The optimization process of the YOLOv8 model occurs across two dimensions: claseach stage of the AFPN, we introduce stage-specific adaptive spatial fusion modules [54]. sification and regression. While the classification loss continues to employ binary crossThe adaptive spatial fusion operation is shown in Figure 5. entropy loss (BCEL), the regression component integrates focal distribution loss (DFL) and bounding box regression loss (BBRL). Equation (2) comprehensively represents the loss function: 𝑓Loss = 𝜆 𝑓 +𝜆 𝑓 +𝜆 𝑓 (2) Here, 𝑓Loss denotes the total loss; 𝜆 , 𝜆 , and 𝜆 represent the weighting factors assigned to each loss term; and 𝑓 , 𝑓 , and 𝑓 are individual loss functions for binary cross-entropy, focal distribution loss, and bounding box regression loss, respectively. Sensors 2024, 24, 4288 8 of 22 4.3. Minimum Point Distance-IoU Loss Function The optimization process of the YOLOv8 model occurs across two dimensions: classification and regression. While the classification loss continues to employ binary cross-entropy loss (BCEL), the regression component integrates focal distribution loss (DFL) and bounding box regression loss (BBRL). Equation (2) comprehensively represents the loss function: f Loss = λ1 f BCEL + λ2 f DFL + λ3 f BBRL (2) Here, f Loss denotes the total loss; λ1 , λ2 , and λ3 represent the weighting factors assigned to each loss term; and f BCEL , f DFL , and f BBRL are individual loss functions for binary cross-entropy, focal distribution loss, and bounding box regression loss, respectively. BCEL loss is utilized for classification, assessing the dissimilarity between predicted class probabilities and ground-truth labels. DFL is applied for regression, considering the distribution of predicted bounding box values and focusing on challenging samples. Meanwhile, BBRL aims to minimize the difference between predicted and ground-truth bounding box coordinates. Bounding box regression (BBR) has established itself as a crucial component in object detection and instance segmentation, serving as a pivotal step in precise object localization. Nevertheless, a substantial limitation of most prevailing loss functions for bounding box regression lies in their inability to be effectively optimized when the predicted bounding box possesses the same aspect ratio as the ground-truth bounding box but exhibits distinct width and height values. To address these aforementioned challenges, we conducted a comprehensive exploration of the geometric attributes associated with horizontal rectangles. Consequently, we introduce a novel bounding box similarity comparison metric, denoted as MPD-IoU (minimum point distance intersection over union), which encapsulates all the relevant factors considered in existing loss functions. This includes considerations such as the overlapping or non-overlapping area, the distance between central points, and variations in width and height, while concurrently simplifying the computational process. In contrast to the complete intersection over union loss function (C-IoU loss function) employed in YOLOv8, the minimum point distance-IoU loss function (MPD-IoU loss function) is employed for comparison against other loss functions based on IoU [55]. Figure 6 demonstrates a visual presentation of the proposed MPD-IoU loss function. Figure 7 provides visual examples of predicted bounding boxes and ground-truth bounding boxes. They share the same aspect ratio but differ in width and height, where k > 1 and k ∈ R. In these visualizations, the yellow box signifies the ground-truth bounding box, while the red box and black box represent the predicted bounding boxes. Mathematically, the key components of the MPD-IoU metric are defined using Equations (3)–(8). gt gt prd gt 2 prd gt 2 d21 = x1 − x1 + y1 − y1 (3) prd gt 2 prd gt 2 d22 = x2 − x2 + y2 − y2 (4) gt gt prd w gt = x2 − x1 , h gt = y2 − y1 , w prd = x2 MPD − IoU = IoU − prd prd prd − x1 , h prd = y2 − y1 d21 d22 − 2 2 2 h gt + w gt h prd + w2prd (5) (6) L MPDIoU = 1 − MPD − IoU (7) f Loss = λ1 f BCEL + λ2 f DFL + λ3 f MPD− IoU (8) where, the overall loss function, denoted as f Loss , is assigned weights (λ1 , λ2 , λ3 ) to balance the contributions of binary cross-entropy loss f BCEL , distance-based focal loss ( f DFL ), and gt gt prd prd the proposed MPD-IoU-based loss ( f MPD− IoU ). Here, (xc , yc ) and (xc , yc ) denote the coordinates of the central points of the ground-truth bounding box and the predicted Sensors 2024, 24, 4288 9 of 22 Sensors 2024, 24, x FOR PEER REVIEW Sensors 2024, 24, x FOR PEER REVIEW bounding box, respectively. Similarly, w gt and h gt represent the width and height of the ground-truth bounding box, while w prd and h prd denote the width and height of the predicted bounding box. 10 Figure 6. Visual illustration of the proposed ℒ MPDIoU . Figure 6. 6. Visual illustration of the proposed LMPDIoU . ℒ Figure Visual illustration of the proposed MPDIoU . Figure 7. Visual presentation of predicted bounding boxes and ground-truth bounding boxes. Figure 7. Visual presentation of predicted bounding boxes and ground-truth bounding boxes The expressiveness of our MPD − IoU metric is underscored by the fact that all the factors considered in existing loss functions can be determined by the coordinates of the 4.4.top-left Crackand Skeleton Extraction and Measurement bottom-right points, encompassing the non-overlapping area, central point Figure 7. Visual presentation of predicted bounding boxes and ground-truth bounding distance, and deviations in width and height. As a result, proposed − IoU metric The extraction of crack skeletons serves as a our crucial stepMPD in deriving geometric not only offers a comprehensive consideration of these factors but also streamlines the erties from crack images, encompassing measurements such as length, w 4.4. Cracksegmented Skeleton and calculation process. It isExtraction worth noting thatMeasurement when the aspect ratio of the predicted bounding and In this webounding employ box, the medial axis transformation (MAT) m boxarea. matches that investigation, of the ground-truth theas MPD − IoU metric ensures that The extraction of crack skeletons serves a crucial step in deriving geom to delineate the outline of the target crack based on binary images [56]. This proce erties from segmented crack images, encompassing measurements such as len volves selecting a point 𝑃 within the interior region (A) of any crack and identifyin and area. In this investigation, we employ the medial axis transformation (MA point (𝑃 ) on the crack boundary (𝐴 ) that is closest to 𝑃 . If multiple 𝑃 points are fo to delineate the outline of the target crack based on binary images [56]. This 𝑃 is designated as the skeleton point of the crack. The search for 𝑃 is formaliz volves selecting a point 𝑃 within the interior region (A) of any crack and iden Sensors 2024, 24, 4288 10 of 22 the predicted bounding box’s value is lower when it is contained within the ground-truth bounding box, compared to cases where the predicted bounding box extends beyond the boundaries of the ground-truth bounding box. This unique characteristic enhances the precision of bounding box regression, ultimately reducing redundancy in the predicted bounding boxes. 4.4. Crack Skeleton Extraction and Measurement The extraction of crack skeletons serves as a crucial step in deriving geometric properties from segmented crack images, encompassing measurements such as length, width, and area. In this investigation, we employ the medial axis transformation (MAT) method to delineate the outline of the target crack based on binary images [56]. This process involves selecting a point Pt within the interior region (A) of any crack and identifying the point (Pt′ ) on the crack boundary (AC ) that is closest to Pt . If multiple Pt′ points are found, Pt is designated as the skeleton point of the crack. The search for Pt′ is formalized in Equation (9): n o dt Pt , AC = in f d( Pt , z) | z ∈ AC (9) Sensors 2024, 24, x FOR PEER REVIEWwhere in f denotes the lower bound, dt and d represent Euclidean distances, and z repre-11 of 24 sents any point on AC . Points with multiple neighbors are excluded from consideration. Subsequently, a distance transformation is executed from all foreground pixels to the background, with “1” representing the foreground and “0” denoting the background. This process illustratedininFigure Figure Finally, target is reduced to a skeleton based process is is illustrated 8. 8. Finally, the the target is reduced to a skeleton based on the on the outcomes of the thedistance distancetransformation. transformation. Essentially, this process mirrors the boundary outcomes of Essentially, this process mirrors the boundary erosion erosion process. process. Figure 8. Representation of the incorporated distance transform. (a) Before applying distance Figure 8. Representation of the incorporated distance transform. (a) Before applying distance transform and (b) After applying distance transform. transform and (b) After applying distance transform. To describe MAT clearly, a diagram is used to explain how the algorithm calculates describe MAT The clearly, a diagram to in explain how the algorithm calculates crackTo width and length. coordinate systemisisused shown Figure 9. Each pixel in the crack crack and length. The coordinate system is shown in isFigure 9. Each imagewidth is our coordinate [57]. Therefore, a pixel coordinate system established withpixel red in the and yellow line segments representing the boundaries of the crack. The black line segment crack image is our coordinate [57]. Therefore, a pixel coordinate system is established with in the middle is the skeleton, calculated based on the central algorithm, and red and yellow linecrack segments representing the boundaries of skeleton the crack. The black line segW(x) is the calculated average width of the crack. Part is dl. Within the scope of this study, ment in the middle is the crack skeleton, calculated based on the central skeleton algothe width eachiscrack in the workpiece is represented bycrack. pixel values. each the pixelscope of rithm, andofW(x) the calculated average width of the Part is Thus, dl. Within represents the width or length, making it easy to calculate the number of pixels contained this study, the width of each crack in the workpiece is represented by pixel values. Thus, each pixel represents the width or length, making it easy to calculate the number of pixels contained in the crack. The calculation formula for determining the crack length (L) is shown in formula (10). 𝐿= 𝑓 𝑥, 𝑦 𝑑𝑙 ≅ ∑𝑓 𝑥, 𝑦 𝑑𝑙 (10) Sensors 2024, 24, 4288 11 of 22 Sensors 2024, 24, x FOR PEER REVIEW in the crack. The calculation formula for determining the crack length (L) is shown in Formula (10). Z ∼ L= (10) c f ( x, y ) dl = ∑ f ( x, y ) dl Figure 9. Schematic diagram of calculation method of crack length, width. Figure 9. Schematic diagram of calculation method of crack length, width. The function f ( x, y) acts as a geometric calibration index, aligning the detected displacements of points within the image. Simultaneously, dl denotes the finite length of each 4.5. Performance Evaluation skeleton unit. c represents the path of the crack skeleton. The crack skeleton is a central Thetraces selection ofpath suitable evaluation metrics paramount line that the main of the crack through the image. holds This skeleton is derivedimportance from the central skeleton algorithm, which identifiesWhile the midline of the remains crack. Integration or sessing various segmentation models. accuracy a prominent be summation along the crack skeleton accumulates the lengths of small segments dl corrected for existing instance segmentation models, the advent of real-time and lightweig by f ( x, y). has introduced for practical deployment on equipmen The pixel-levelnew crack considerations width value is computed by the pixel distance calculation bequently, shall evaluation with atransform multifaceted a tween theour crackproposed pixel (1) andmodel the intact pixelundergo (0) using the Euclidean distance (EDT) algorithm. Euclidean distance (d) also of theits two pixels, Ptperformance and Pt′ , is expressed scrutinizing notThe only its accuracy but runtime and by model co Equation (11) [58]. to ascertain its suitability for practical applications. r ( Pt , Pt′ ) = 4.5.1. Accuracy x Pt − x P′ 2 t 2 Pt ∈ A, Pt′ ∈ AC + y Pt − y Pt′ (11) where is an study, indexingwe variable used to uniquely identify eachevaluation pixel within the Int this conducted a comprehensive of respective the enhanced Y C to calculate the Euclidean distance between a cracked pixel and an intact sets A and A Seg model, employing a range of performance metrics,Cincluding precision, r pixel. A is the set of green pixels represented by 1 in Figure 8, and A is the white pixel, score, and segment mAP at both 50% and 75% intersection over union (IoU) t complement of the green pixel set, A. [59–61]. Our assessment focused on two distinct aspects: the accuracy of crack 4.5. Performance Evaluationusing precision, recall, and F1-score, and the quality of the which was quantified selection of suitable metrics holds segment paramountmAP. importance when astationThe results, which wereevaluation appraised through sessing various segmentation models. While accuracy remains a prominent benchmark for existing instance segmentation models, the advent of real-time 𝑇𝑃 and lightweight models has precision = 100% introduced new considerations for practical deployment on equipment. Consequently, our 𝑇𝑃 + 𝐹𝑃 proposed model shall undergo evaluation with a multifaceted approach, scrutinizing not only its accuracy but also its runtime performance and model complexity to ascertain its 𝑇𝑃 suitability for practical applications. recall = 𝐹1 = 2 𝑇𝑃 + 𝐹𝑁 precision 100% recall precision + recall Sensors 2024, 24, 4288 12 of 22 4.5.1. Accuracy In this study, we conducted a comprehensive evaluation of the enhanced YOLOv8sSeg model, employing a range of performance metrics, including precision, recall, F1-score, and segment mAP at both 50% and 75% intersection over union (IoU) thresholds [59–61]. Our assessment focused on two distinct aspects: the accuracy of crack detection, which was quantified using precision, recall, and F1-score, and the quality of the segmentation results, which were appraised through segment mAP. precision = recall = TP × 100% ( TP + FP) TP × 100% ( TP + FN ) F1 = 2 × precision × recall precision + recall (12) (13) (14) AP(i ) (15) C Here, TP represents true positive samples, which are actual positive instances correctly predicted as such. FP indicates false positive samples, signifying actual negative instances erroneously identified as positive, while FN stands for false negatives, representing actual positive instances wrongly classified as negative. AP(i) corresponds to the average precision for each segmentation category, and C represents the total number of segmentation categories. Notably, the segmentation model’s performance is directly linked to the cumulative AP score, and a higher AP score is indicative of improved segmentation quality. c segmAP = ∑i=1 4.5.2. Computational Time In the realm of model evaluation, two critical indicators to gauge efficiency are training times and inference times. Training time denotes the duration required for a model to converge during the training process, while inference time signifies the time taken to process an image, thereby reflecting the model’s suitability for practical industrial applications. To streamline the assessment process, the use of FPS (frames per second) has become a prevalent metric for evaluating the efficiency of instance segmentation methods. This metric offers a straightforward means for researchers to identify and select faster inference models when operating under comparable conditions [62,63]. 4.5.3. Model Complexity Model complexity plays a crucial role in evaluating the practical usability of a model, as it directly influences storage requirements and computational demands. In our study, it specifically refers to the storage needs linked to model parameters, a factor closely tied to the implementation of algorithms on mobile devices. 5. Model Implementation This section addresses data collection and analysis of bridge surface cracks. 5.1. Data Collection The model training was conducted on a high-performance computing workstation equipped with specific hardware, including GPUs (GeForce RTX 3090, NVIDIA, Santa Clara, CA, USA), a CPU (Intel(R) Core (TM) i9-10900 CPU @ 2.80 GHz, Intel, Santa Clara, CA, USA), and 22.6 GB of RAM. The system operated on Windows 10 and utilized PyTorch 2.0.0 as the deep learning framework, with the software environment incorporating CUDA 11.7 and Python 3.8. Detailed specifications of the hardware and software setups are provided in the accompanying table. The data collection and processing methodologies for this study are detailed in Figure 10. The dataset comprises a total of 1600 cases, meticulously Sensors 2024, 24, 4288 bringing the total compiled dataset to 1600 images. This dataset was then divided into training, validation, and test sets in a 7:1:2 ratio, resulting in 1120 training images, 160 13 of 22 validation images, and 320 test images for the crack segmentation task. Further details on the dataset partitioning are provided in Table 1. Notably, the dataset encompasses various types of concrete cracks,Among categorized follows: 20%Hong of theKong images depict annotated for accuracy. these,as 240 imagesapproximately were sourced from bridges reticular cracks, 40% feature diagonal cracks, and the remaining 40% display and their associated data enhancements, with the remaining 1360 images obtained from linear the cracks. Reticular form a mesh-like often attributed to concrete publicly availablecracks database of BSD. The latter pattern subset ofand 1360are bridge crack images, each sized shrinkage restrained thermalselected movements. cracks appear diagonally across 224 × 224or pixels, was randomly from theDiagonal BSD dataset. It encompasses images with concrete caused by structural overloadingand or differential cracks ofsurfaces variableand size are andcommonly width, stains, shadows, complex backgrounds, non-uniformsetillumination. The selected contain instances transverse cracks, tlement. Transverse cracks images run perpendicular to theofdirection of cracks, tensile diagonal stress and are freand reticular cracks. quently associated with drying shrinkage, thermal contraction, or excessive applied loads. Figure 10. The procedures of crack image capture and preprocessing. Figure 10. The procedures of crack image capture and preprocessing. Additionally, 60 crack images were captured from bridges near the Hong Kong Polytechnic University. The images in the Hong Kong bridge crack dataset (HKBCD) were obtained using an iPhone 14 Pro and a FLIR thermal camera capable of producing RGB images. The Hong Kong subset used in this study was collected from two distinct locations: the footbridge surrounding the Hong Kong Polytechnic University campus and the K74 flyover bridge at Pik Wan road, depicted in Figure 11. To enrich the diversity of the dataset, images were captured under a variety of conditions, encompassing different crack shapes, backgrounds, brightness levels, and noise settings. As illustrated in Figure 12, (a) (b) images (a)–(d) showcase four types of cracks: transversal, longitudinal, diagonal, and reticular. Images (e)–(h) depict cracks on different bridge materials, including concrete Figure 11. Sources of the HKBCD dataset. (a) Footbridge across the Hong Kong Polytechnic Univerand asphalt. Images (i)–(l) display bridge cracks under varying light intensities. Images sity; (b) flyover bridge at Pik Wan road. (m)-(p) are influenced by different types of noise, such as graffiti, water stains, moss, and other obstructions. By incorporating these variations, the dataset ensures a comprehensive representation of real-world scenarios, enhancing the robustness and generalizability of the analysis. The augmentation of the HKBCD added an additional 240 crack images, bringing the total compiled dataset to 1600 images. This dataset was then divided into training, validation, and test sets in a 7:1:2 ratio, resulting in 1120 training images, 160 validation images, and 320 test images for the crack segmentation task. Further details on the dataset partitioning are provided in Table 1. Notably, the dataset encompasses various types of concrete cracks, categorized as follows: approximately 20% of the images depict reticular cracks, 40% feature diagonal cracks, and the remaining 40% display linear cracks. Reticular cracks form a mesh-like pattern and are often attributed to concrete shrinkage or restrained thermal movements. Diagonal cracks appear diagonally across concrete surfaces and are commonly caused by structural overloading or differential settlement. Transverse cracks run perpendicular to the direction of tensile stress and are frequently associated with drying shrinkage, thermal contraction, or excessive applied loads. Sensors 2024, 24, 4288 14 of 22 Figure 10. The procedures of crack image capture and preprocessing. (a) (b) Sensors 2024, 24, x FOR PEER REVIEW 15 of 24 Figure 11. Sources ofof the (a)Footbridge Footbridge across the Hong Polytechnic Figure 11. Sources theHKBCD HKBCD dataset. dataset. (a) across the Hong Kong Kong Polytechnic Univer- Univer sity; sity; (b) flyover bridge road. (b) flyover bridgeatatPik Pik Wan Wan road. Figure (a–d) Different Different Types Figure 12. 12. Sample Sample of of images images from from HKBCD HKBCD datasets. datasets. (a–d) Types of of cracks, cracks, (e–h) (e–h) Different Differtypes of bridge materials, (i–l) Different lighting conditions and (m–p) Different types of noises. ent types of bridge materials, (i–l) Different lighting conditions and (m–p) Different types of noises.1. Partitioning of bridge crack dataset. Table Dataset Training Table Task 1. Partitioning of bridge crack dataset. Segmentation Task BSD Dataset ours New dataset 952 Training 168 1120 Validation 136 Validation 24 160 Testing Total Number 272 Testing 48 320 1360 Total Number 240 1600 BSD 952 136 272 1360 Segmentation ours 168 24 48 240 Four data augmentation techniques were implemented to bolster the model’s generalNew dataset 1120 160 320 1600 ization capacity, encompassing adjustments in brightness, panning, mirroring, and rotation. It is worth noting that the level of added noise was meticulously regulated to prevent Four data augmentation techniques were implemented to bolster the model’s generalization capacity, encompassing adjustments in brightness, panning, mirroring, and rotation. It is worth noting that the level of added noise was meticulously regulated to prevent adverse effects on the model’s output. Consequently, a total of 240 crack images were generated for the dataset. The EIseg software 1.1.1 was employed to annotate this dataset. Sensors 2024, 24, 4288 15 of 22 adverse effects on the model’s output. Consequently, a total of 240 crack images were generated for the dataset. The EIseg software 1.1.1 was employed to annotate this dataset. The results of the data augmentation techniques are presented in Figure 13, illustrating four methods: brightness, panning, mirroring, and rotation. The developed YOLOv8-AFPNMPD-IoU model underwent training using the following hyperparameters: a learning rate of 0.01, momentum of 0.937, weight decay of 0.0005, and a batch size of 8. A stochastic gradient descent (SGD) optimizer was utilized for training the model over 300 epochs in total. Hardware and software requirements for this research study are detailed in Table 2. Table 2. Hardware and software specifications. Hardware Information GPUs GeForce RTX 3090 CPU Intel(R) Core (TM) i9-10900 CPU @ 2.80 GHz Sensors 2024, 24, x FOR PEER REVIEW 22.6 GB RAM Software Information Operating System Deep Learning Framework CUDA Version Python Version Windows 10 (Version 23H2) PyTorch 11.7 3.8 16 of 2 Figure13. 13. Samples data augmentation, adjustments in brightness, panning, mirroring, and rotation Figure Samplesofof data augmentation, adjustments in brightness, panning, mirroring, and rotation. Table 2. Hardware and software specifications. 5.2. Performance Comparison of YOLOv8 Architectures Hardware GPUs CPU RAM Information In this research study, we conducted Software a series of experiments employingInformation YOLOv8-Seg models at various of evaluating and 10 model size. 23H2) GeForce RTX 3090 scales with the objective Operating System segment mAP50 Windows (Version Given the limited occurrence of cracks within each image, the initial four scales of modIntel(R) Core (TM) i9-10900 CPU @ Deep Learning Framework PyTorch els were examined to determine the most suitable scale. Similar to YOLOv5, YOLOv8 2.80 GHz incorporates an early stopping mechanism to prevent model overfitting, whereby train22.6 GB CUDA Version 11.7 ing is terminated if no significant improvement is observed over a specified number of Version 3.8 no epochs. The “patience” parameter isPython indicative of the number of epochs for which discernible progress is tolerated before training halts. In our case, “patience” was set at 50 epochs, and theComparison “fitness” criterion was defined as a weighted combination of metrics, 5.2. Performance of YOLOv8 Architectures with (0.1 × mAP50 + 0.9 × mAP50-95) utilized to assess the performance of the CNNs In this research study, we conducted a series of experiments employing YOLOv8-Se model. Following 300 epochs of training, YOLOv8s exhibited its best performance when models at various scales with the objective of evaluating segment mAP50 and model size the model depth was a multiple of 0.33, width was a multiple of 0.5, and the maximum Given the limited occurrence of cracks withinof each image, the initial scalesinof model number of channels was set to 1024. The results these experiments are four presented were examined to determine the most suitable scale. Similar to YOLOv5, YOLOv8 incor Table 3, with YOLOv8s outperforming the other three models, achieving the highest mAP50 stopping mechanism toConsequently, prevent model overfitting, whereby training i atporates 74% andan theearly highest fitness score at 37.64%. YOLOv8s was selected as the baseline model analysis. terminated if for no further significant improvement is observed over a specified number of epochs The “patience” parameter is indicative of the number of epochs for which no discernibl progress is tolerated before training halts. In our case, “patience” was set at 50 epochs and the “fitness” criterion was defined as a weighted combination of metrics, with (0.1 mAP50 + 0.9 × mAP50-95) utilized to assess the performance of the CNNs model. Follow ing 300 epochs of training, YOLOv8s exhibited its best performance when the mode Sensors 2024, 24, 4288 16 of 22 Table 3. Performance comparison of YOLOv8 architectures based on test dataset. Model Epoch Size Running Time P R mAP50 mAP75 Map50-95 F1 Model Fitness YOLOv8n YOLOv8s YOLOv8m YOLOv8l 300 300 300 300 6.43 M 22.7 M 67.8 M 151 M 4.028 h 3.385 h 3.783 h 6.164 h 88.80% 92.60% 90.20% 88.90% 71.10% 68.60% 68.10% 70.20% 72.60% 74.00% 71.30% 73.70% 71.60% 73.40% 70.40% 73.20% 32.90% 33.60% 32.40% 33.50% 78.97% 78.81% 77.61% 78.45% 0.3687 0.3764 0.3629 0.3752 5.3. Performance Comparison of Different Loss Functions To assess the superiority of the MPD-IoU loss function in the recognition of the entire crack dataset, we conducted a comparative analysis involving three different loss functions: C-IoU, W-IoU, and MPD-IoU, all within the YOLOv8s framework. These experiments entailed an examination of three distinct bounding box regression loss functions, while maintaining identical network structures across all three schemes, with the sole variation being the choice of loss function. Furthermore, all three schemes were trained using the same parameters. In the context of image segmentation, “recall” signifies the model’s capability to accurately detect target objects, representing the proportion of pixels effectively identified by the model as true targets. Conversely, “precision” quantifies the proportion of pixels within the model’s segmentation output that are accurately classified as target objects. The relationship between recall and precision in image segmentation often involves a trade-off, necessitating the introduction of the F1-score to strike a balance between these two metrics. Enhancing the model’s sensitivity to target objects (improving recall) may lead to the inclusion of more target regions in the segmentation results but can also result in an increase in false positives. Hence, reducing false positives (enhancing precision) may lower recall as the model adopts a more conservative approach, becoming less inclined to classify boundary regions as target objects. Table 4 reports a performance comparative analysis based on the test dataset. Notably, in the specific context of bridge crack detection, the ramifications of false negatives can be exceedingly detrimental, potentially causing significant financial losses and even posing risks to human safety. Therefore, when their F1-scores are approximately equal, prioritizing recall over precision is advisable during bridge inspection. As a result, the “YOLOv8s + AFPN + MPDIoU” combination emerges as the preferred choice. Furthermore, it exhibits improvements of 1.3% in terms of mAP50 and mAP75 when compared to “YOLOv8s + AFPN + CIOU” on the test dataset, as well as enhancements of 0.3% and 0.8% in mAP50 and mAP75 compared to “YOLOv8s + AFPN + WIOU” on the same test dataset. Table 4. Performance comparison of loss functions based on testing dataset. Model Epoch Model Size Running Time P R mAP50 mAP75 F1 YOLOv8s + AFPN + CIoU YOLOv8s + AFPN + MPDIoU YOLOv8s + AFPN + WIoU 300 300 300 23.7 MB 22.7 MB 23.7 MB 3.596 h 3.661 h 3.575 h 0.935 0.907 0.936 0.694 0.704 0.677 0.74 0.753 0.75 0.735 0.748 0.74 79.69% 79.27% 78.57% 5.4. Performance Comparison of Instance Segmentation Models To assess the effectiveness of the proposed YOLOv8s + AFPN + MPDIoU model, we conducted a comprehensive comparative analysis alongside three established instance segmentation models, with a focus on key performance metrics including precision, recall, F1-score, mAP50, and mAP75. Results of the conducted performance comparative analysis are given in Table 5. They highlight the superiority of the YOLOv8s + AFPN + MPDIoU model, which achieved a precision rate of 90.7%, a recall of 70.4%, an F1-score of 79.27%, mAP50 of 75.3%, and mAP75 of 74.80%. In comparison to the YOLOv8s model, our proposed model exhibited a minor decrease in precision but demonstrated improvements in other performance indicators, with recall, F1-score, mAP50, and mAP75 increasing by 1.8%, 0.46%, 1.3%, and 1.4%, respectively. Regarding model complexity, the proposed model has a relatively compact size, requiring only 22.7 M of computer storage, making it larger only than the YOLOv5s-seg model. This compact size facilitates the installation Sensors 2024, 24, 4288 17 of 22 of the model on portable equipment for practical bridge inspections. Notably, MaskRCNN, being a two-stage instance segmentation model with the most parameters in comparison to other models in this study, consumes the highest amount of computer storage at 335 M. Additionally, for the YOLOv8-seg model, an increase in channel width and depth corresponds to an escalation in model size, with YOLOv8s-seg at 22.7 M, YOLOv8m-seg at 67.8 M, and YOLOv8l-seg at 151 M. Moreover, the model size also influences training and inference times. The most complex model, Mask-RCNN, requires the longest training time (approximately 11.5 h) and inference time (36 ms per image). In contrast, our model, YOLOv8s + AFPN + MPDIoU, takes the second place in terms of model complexity and requires 12.2 ms to recognize bridge cracks in an image. Consequently, YOLOv8s + AFPN + MPDIoU emerges as the optimal choice, effectively balancing precision, time efficiency, and ease of installation. Table 5. Performance comparison of instance segmentation models based on testing dataset. Model Size Inference Time Running Time 282 300 300 300 300 18.79 M 22.7 M 67.8 M 151 M 335 M 11.5 ms 8.9 ms 12.5 ms 12.5 ms 36 ms 300 22.7 MB 12.2 ms Model Epoch YOLOv5s-seg YOLOv8s-seg YOLOv8m-seg YOLOv8l-seg Mask-RCNN YOLOv8s + AFPN + MPDIoU (ours) MASK P R F1 mAP50 mAP75 2.397 h 3.385 h 3.783 h 6.164 h 11.5 h 90.50% 92.60% 90.20% 88.90% 49.82% 68.80% 68.60% 68.10% 70.20% 26.10% 78.17% 78.81% 77.61% 78.45% 34.25% 72.30% 74.00% 71.30% 73.70% 49.80% 70.60% 73.40% 70.40% 73.20% 7.60% 3.661 h 90.70% 70.40% 79.27% 75.30% 74.80% 5.5. Crack Measurement Performance In the final section, the proposed model effectively segmented various types of cracks in diverse structural and environmental contexts (see Figure 14). To further augment its functionality, we introduced a width measurement module designed to quantitatively assess the segmentation outcomes. While the geometric characteristics of cracks are typically described in pixel terms, determining the actual width of a crack necessitates the conversion of pixel measurements into internationally recognized standard units of measurement. Furthermore, potential correction factors, such as accounting for the angle between the camera and the photographed surface, must be taken into consideration to ensure precise width measurements. These considerations will be a focal point in our future research endeavors, aimed at refining and enhancing the model’s measurement capabilities. As observed in Table 6, it is clear that the discrepancy between the actual values and the segmentation results is quite minimal for the majority of diagonal and transverse cracks. However, owing to their intricate nature, the model frequently generates misidentifications and incorrect predictions when dealing with reticular bridges. This highlights the imperative need for further refinement in enhancing the model’s accuracy in the detection and prediction of reticular cracks within bridge structures. Tackling this specific challenge will be a primary focus of our forthcoming research and development endeavors, with the ultimate aim of bolstering the model’s capabilities and ensuring precise segmentation outcomes across all types of cracks, even within complex structures such as reticular bridges. Sensors 2024,24, 24,4288 x FOR PEER REVIEW Sensors 2024, 19 of 24 18 of 22 1 2 3 4 5 (a) (b) (c) (d) Figure 14. Samples of the of crack (a) Original(a) crack images;crack (b) manually Figure 14. Samples themeasurement. crack measurement. Original images;segmented (b) manually segmented crack images; (c) segmented crack images with original background; and (d) segmented crack imcrack images; (c) segmented crack images with original background; and (d) segmented crack images. ages. 1: Diagonal crack, 2–4: Linear cracks and 5: eticular crack 1: Diagonal crack, 2–4: Linear cracks and 5: eticular crack. Table 6. Comparison of manually measured and segmentation. Ground Truth Segmentation Error Image Number Type Max Length Max Width Max Length Max Width Max Length Max Width 1 2 3 4 5 Diagonal Diagonal Transverse Transverse Reticular 254.00 225.00 230.00 227.00 4568.00 23.75 7.64 21.08 19.93 40.11 259.00 229.00 225.00 228.00 4513.00 24.83 7.64 21.01 18.02 39.03 −1.97% −1.78% 2.17% −0.44% 1.20% −4.56% 0.00% 0.33% 5.31% 2.70% Figure 15 expounds another portion of segmented images by the developed YOLOv8AFPN-MPD-IoU model. Through comprehensive analysis of the results from the test dataset, the proposed model demonstrated robust generalization capabilities across various environmental conditions. Specifically, the model effectively identified cracks under different lighting scenarios (e.g., low light, direct sunlight) and weather conditions (e.g., cloudy day, clear skies), as illustrated in Figure 15a–c. Moreover, the model exhibited Sensors 2024, 24, 4288 YOLOv8-AFPN-MPD-IoU model. Through comprehensive analysis of the result the test dataset, the proposed model demonstrated robust generalization capa across various environmental conditions. Specifically, the model effectively ide cracks under different lighting scenarios (e.g., low light, direct sunlight) and weath 19 of 22 ditions (e.g., cloudy day, clear skies), as illustrated in Figure 15a–c. Moreover, the exhibited strong anti-interference capabilities, accurately distinguishing cracks fr ternal objects such ascapabilities, water stains, graffiti, and shadows, as shown Figure 15d strong anti-interference accurately distinguishing cracks from externalin objects model well inand detecting horizontal and vertical as well as such as performed water stains, graffiti, shadows,single as shown in Figure 15d–f. The modelcracks, performed well in detecting horizontal and vertical cracks, as well as simple branched branched crackssingle (Figure 15g–i). Overall, these results indicate that the cracks model can g (Figure Overall, these results indicate that the model enhancing can generalize across vari- in real ize well15g–i). across various environmental conditions, itswell applicability ous environmental conditions, enhancing its applicability in real-world scenarios, where scenarios, where such variability is common. such variability is common. (a) (b) (c) (d) (e) (f) (g) (h) (i) Figure 15. Samples of the segmented images with (a–c) different lighting conditions, (d–f) stains, and Figure 15. Samples (g–i) reticular cracks. of the segmented images with (a–c) different lighting conditions, (d–f and (g–i) reticular cracks. 6. Conclusions This study introduced a novel computer vision model aimed at effectively segmenting 6. Conclusions bridge cracks and deriving precise geographic information from the segmented crack This study introduced a novel computer vision aimed effectively se images at the pixel level. The traditional method of human visualmodel inspection is notat only timeconsuming and subjective but also poses risks such as falls and injuries. Although existing ing bridge cracks and deriving precise geographic information from the segmente object detection models have The mitigated these issues, they of primarily on qualitative images at the pixel level. traditional method humanrely visual inspection is n analyses for crack evaluation. In contrast, our proposed model offers a groundbreaking time-consuming and subjective but also poses risks such as falls and injuries. Al quantitative analysis, empowering bridge inspectors to make informed decisions. The existing object mitigated these issues, primarily rely o superiority of thedetection developed models YOLOv8shave + AFPN + MPDIoU model lies in they the following: itative analyses for crack evaluation. In contrast, our proposed offers ag 1. Balanced accuracy and speed: By employing a one-stage instance model,model we strike a breaking empowering bridge inspectors to make in crucialquantitative balance betweenanalysis, segmentation accuracy and processing speed. This approach 2. 3. avoids the limitations of two-stage methods that may not comprehensively capture the interplay between detection and segmentation. Multi-stage methods, often associated with extended processing times, are circumvented, enabling real-time segmentation. Innovative feature fusion: The incorporation of an asymptotic feature pyramid network in the YOLOv8-seg model replaces conventional top-down or bottom-up feature pyramid networks. This innovative choice addresses the loss and deterioration of feature information between non-adjacent layers, facilitating improved feature fusion and enhancing the overall model performance. Specialized loss function: The introduction of the minimum point distance-IoU loss function tackles issues arising when the predicted bounding box possesses the same Sensors 2024, 24, 4288 20 of 22 4. aspect ratio as the ground-truth bounding box but exhibits distinct width and height values. This tailored loss function ensures a more accurate and reliable model. Quantitative measurement method: The combination of the middle aisle transformation method and Euclidean distance method to calculate the length and width of bridge cracks in segmented images provides a quantitative basis for maintenance suggestions. This method enhances the precision of crack assessment. Furthermore, in terms of the loss function selection, the MPD-IoU loss function emerges as the optimal choice, achieving the highest recall score. Given that every crack poses a potential threat to bridge health, this selection is crucial. Comparative analysis with other instance models reveals that the YOLOv8s + AFPN + MPDIoU model outperforms others in terms of model size, inference time, and mAP50, making it the optimal choice for practical industry applications. Additionally, the evaluation of max width and length errors between manual inspection and segmented crack results indicates a minimal discrepancy of around 5%, significantly smaller than the errors associated with visual inspection. This underscores the reliability and precision of our proposed model in assessing bridge cracks. In summary, our computer vision model stands out as an innovative, efficient, and reliable solution for bridge inspection and maintenance in the industry. Author Contributions: Conceptualization, C.X., X.J., T.Z., G.A. and E.M.A.; methodology, C.X., X.J., T.Z., G.A. and E.M.A.; validation, C.X., X.J., T.Z. and E.M.A.; formal analysis, C.X., X.J., T.Z. and E.M.A.; investigation, C.X., X.J., T.Z., G.A. and E.M.A.; resources, C.X. and E.M.A.; data curation, C.X. and E.M.A.; writing—original draft preparation, C.X., X.J., T.Z., G.A. and E.M.A.; writing—review and editing C.X., X.J., T.Z., G.A. and E.M.A.; visualization, C.X., X.J., T.Z., G.A. and E.M.A. All authors have read and agreed to the published version of the manuscript. Funding: The authors gratefully acknowledge the support from the Smart Traffic Fund (STF) under grant number PSRI/14/2109/RA. Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: Some or all the data that support the findings of this research study are available upon request from the corresponding author. Acknowledgments: The authors express their appreciation to the Researchers Supporting Project number (RSPD2024R899), King Saud University, Riyadh, Saudi Arabia. Conflicts of Interest: The authors declare no conflicts of interest. References 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Leung, A.; Tanko, M.; Burke, M.; Shui, C.S. Bridges, tunnels, and ferries: Connectivity, transport, and the future of Hong Kong’s outlying islands. Isl. Stud. J. 2017, 12, 61–82. [CrossRef] Weng, X.; Huang, Y.; Wang, W. Segment-based pavement crack quantification. Autom. Constr. 2019, 105, 102819. [CrossRef] Song, L.; Sun, H.; Liu, J.; Yu, Z.; Cui, C. Automatic segmentation and quantification of global cracks in concrete structures based on deep learning. Measurement 2022, 199, 111550. [CrossRef] Adhikari, R.S.; Moselhi, O.; Bagchi, A. Image-based retrieval of concrete crack properties for bridge inspection. Autom. Constr. 2014, 39, 180–194. [CrossRef] Kim, B.; Cho, S. Automated vision-based detection of cracks on concrete surfaces using a deep learning technique. Sensors 2018, 18, 3452. [CrossRef] [PubMed] AASHTO. Manual for Maintenance Inspection of Bridges; AASHTO: Washington, DC, USA, 1983. Sterritt, G. Review of Bridge Inspection Competence and Training; Project Report; UK Bridges Board: London, UK, 2009. JTG/T H21-2011; Standards for Technical Condition Evaluation of Highway Bridges. China’s Ministry of Transportation: Beijing, China, 2011. Park, S.E.; Eem, S.H.; Jeon, H. Concrete crack detection and quantification using deep learning and structured light. Constr. Build. Mater. 2020, 252, 119096. [CrossRef] Ji, A.; Xue, X.; Wang, Y.; Luo, X.; Xue, W. An integrated approach to automatic pixel-level crack detection and quantification of asphalt pavement. Autom. Constr. 2020, 114, 103176. [CrossRef] Yu, L.; He, S.; Liu, X.; Jiang, S.; Xiang, S. Intelligent Crack Detection and Quantification in the Concrete Bridge: A Deep Learning-Assisted Image Processing Approach. Adv. Civ. Eng. 2022, 2022, 1813821. [CrossRef] Sensors 2024, 24, 4288 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 21 of 22 Jang, K.; An, Y.K.; Kim, B.; Cho, S. Automated crack evaluation of a high-rise bridge pier using a ring-type climbing robot. Comput.-Aided Civ. Infrastruct. Eng. 2021, 36, 14–29. [CrossRef] Peng, X.; Zhong, X.; Zhao, C.; Chen, A.; Zhang, T. A UAV-based machine vision method for bridge crack recognition and width quantification through hybrid feature learning. Constr. Build. Mater. 2021, 299, 123896. [CrossRef] Deng, J.; Singh, A.; Zhou, Y.; Lu, Y.; Lee VC, S. Review on computer vision-based crack detection and quantification methodologies for civil structures. Constr. Build. Mater. 2022, 356, 129238. [CrossRef] Hamishebahar, Y.; Guan, H.; So, S.; Jo, J. A Comprehensive Review of Deep Learning-Based Crack Detection Approaches. Appl. Sci. 2022, 12, 1374. [CrossRef] Deng, L.; Zhang, A.; Guo, J.; Liu, Y. An Integrated Method for Road Crack Segmentation and Surface Feature Quantification under Complex Backgrounds. Remote Sens. 2023, 15, 1530. [CrossRef] Zhu, J.; Zhong, J.; Ma, T.; Huang, X.; Zhang, W.; Zhou, Y. Pavement distress detection using convolutional neural networks with images captured via UAV. Autom. Constr. 2022, 133, 103991. [CrossRef] Guo, J.; Liu, P.; Xiao, B.; Deng, L.; Wang, Q. Surface defect detection of civil structures using images: Review from data perspective. Autom. Constr. 2024, 158, 105186. [CrossRef] Chen, K.; Fu, K.; Yan, M.; Gao, X.; Sun, X.; Wei, X. Semantic Segmentation of Aerial Images with Shuffling Convolutional Neural Networks. IEEE Geosci. Remote Sens. Lett. 2018, 15, 173–177. [CrossRef] Jiang, H.; Hu, X.; Li, K.; Zhang, J.; Gong, J.; Zhang, M. PGA-SiamNet: Pyramid feature-based attention-guided siamese network for remote sensing orthoimagery building change detection. Remote Sens. 2020, 12, 484. [CrossRef] Zhan, Y.; Fu, K.; Yan, M.; Sun, X.; Wang, H.; Qiu, X. Change Detection Based on Deep Siamese Convolutional Network for Optical Aerial Images. IEEE Geosci. Remote Sens. Lett. 2017, 14, 1845–1849. [CrossRef] Tong, X.; Guo, J.; Ling, Y.; Yin, Z. A New Image-Based Method for Concrete Bridge Bottom Crack Detection. In Proceedings of the 2011 International Conference on Image Analysis and Signal Processing, Wuhan, China, 21–23 October 2011; pp. 1–4. [CrossRef] Chen, B.; Zhang, X.; Wang, R.; Li, Z.; Deng, W. Detect concrete cracks based on OTSU algorithm with differential image. J. Eng. 2019, 2019, 9088–9091. [CrossRef] Hoang, N.D. Detection of Surface Crack in Building Structures Using Image Processing Technique with an Improved Otsu Method for Image Thresholding. Adv. Civ. Eng. 2018, 2018, 3924120. [CrossRef] Vivekananthan, V.; Vignesh, R.; Vasanthaseelan, S.; Joel, E.; Kumar, K.S. Concrete bridge crack detection by image processing technique by using the improved OTSU method. Mater. Today Proc. 2023, 74, 1002–1007. [CrossRef] Wang, Y.; Zhang, J.Y.; Liu, J.X.; Zhang, Y.; Chen, Z.P.; Li, C.G.; He, K.; Yan, R.B. Research on Crack Detection Algorithm of the Concrete Bridge Based on Image Processing. Procedia Comput. Sci. 2018, 154, 610–616. [CrossRef] Abdel-Qader, I.; Abudayyeh, O.; Kelly, M.E. Analysis of Edge-Detection Techniques for Crack Identification in Bridges. J. Comput. Civ. Eng. 2003, 17, 255–263. [CrossRef] Xu, X.J.; Zhang, X.N. Crack detection of reinforced concrete bridge using video image. J. Cent. South Univ. 2013, 20, 2605–2613. [CrossRef] Zhang, L.; Luo, W.; Xu, Y. Bridge Crack Image Segmentation Based on Improved Watershed Algorithm. In Proceedings of the 2018 Chinese Control and Decision Conference (CCDC), Shenyang, China, 9–11 June 2018; pp. 3537–3541. [CrossRef] Mirbod, M.; Shoar, M. Intelligent Concrete Surface Cracks Detection using Computer Vision, Pattern Recognition, and Artificial Neural Networks. Procedia Comput. Sci. 2022, 217, 52–61. [CrossRef] Moon, H.-G.; Kim, J.-H. Intelligent Crack Detecting Algorithm on The Concrete Crack Image Using Neural Network. In Proceedings of the 28th International Symposium on Automation and Robotics in Construction, Seoul, Republic of Korea, 29 June–2 July 2011; pp. 1–7. [CrossRef] Peng, J.; Zhang, S.; Peng, D.; Liang, K. Research on Bridge Crack Detection with Neural Network Based Image Processing Methods. In Proceedings of the 12th International Conference on Reliability, Maintainability, and Safety, ICRMS, Shanghai, China, 17–19 October 2018; pp. 419–428. [CrossRef] Liang, S.; Jianchun, X.; Xun, Z. An extraction and classification algorithm for concrete cracks based on machine vision. IEEE Access 2018, 6, 45051–45061. [CrossRef] Prasanna, P.; Dana, K.; Gucunski, N.; Basily, B. Computer Vision Based Crack Detection and Analysis. In Proceedings Volume 8345, Sensors and Smart Structures Technologies for Civil, Mechanical, and Aerospace Systems; SPIE: Bellingham, WC, USA, 2012; pp. 1–6. [CrossRef] Yao, C.; Tao, M.; Xiaojie, W.; Feng, L.I. A Bridge Crack Image Detection and Classification Method Based on Climbing Robot. In Proceedings of the 35th Chinese Control Conference, Chengdu, China, 27–29 July 2016; pp. 4037–4042. [CrossRef] Li, Z.; Huang, M.; Ji, P.; Zhu, H.; Zhang, Q. One-step deep learning-based method for pixel-level detection of fine cracks in steel girder images. Smart Struct. Syst. 2022, 29, 153–166. [CrossRef] Zhang, J.; Qian, S.; Tan, C. Automated bridge surface crack detection and segmentation using computer vision-based deep learning model. Eng. Appl. Artif. Intell. 2022, 115, 105225. [CrossRef] Rosso, M.M.; Marasco, G.; Aiello, S.; Aloisio, A.; Chiaia, B.; Marano, G.C. Convolutional networks and transformers for intelligent road tunnel investigations. Comput. Struct. 2023, 275, 106918. [CrossRef] Park, M.J.; Kim, J.; Jeong, S.; Jang, A.; Bae, J.; Ju, Y.K. Machine learning-based concrete crack depth prediction using thermal images taken under daylight conditions. Remote Sens. 2022, 14, 2151. [CrossRef] Sensors 2024, 24, 4288 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 22 of 22 Zhang, C.; Chang, C.-c.; Jamshidi, M. Concrete bridge surface damage detection using a single-stage detector. Comput.-Aided Civ. Infrastruct. Eng. 2020, 35, 389–409. [CrossRef] Deng, J.; Lu, Y.; Lee VC, S. Imaging-based crack detection on concrete surfaces using You Only Look Once network. Struct. Health Monit. 2021, 20, 484–499. [CrossRef] Teng, S.; Liu, Z.; Chen, G.; Cheng, L. Concrete crack detection based on well-known feature extractor model and the YOLO_v2 network. Appl. Sci. 2021, 11, 813. [CrossRef] Qiu, Q.; Lau, D. Real-time detection of cracks in tiled sidewalks using YOLO-based method applied to unmanned aerial vehicle (UAV) images. Autom. Constr. 2023, 147, 104745. [CrossRef] Xiang, X.; Hu, H.; Ding, Y.; Zheng, Y.; Wu, S. GC-YOLOv5s: A Lightweight Detector for UAV Road Crack Detection. Appl. Sci. 2023, 13, 11030. [CrossRef] Choi, W.; Cha, Y.J. SDDNet: Real-Time Crack Segmentation. IEEE Trans. Ind. Electron. 2020, 67, 8016–8025. [CrossRef] Zhang, X.; Rajan, D.; Story, B. Concrete crack detection using context-aware deep semantic segmentation network. Comput.-Aided Civ. Infrastruct. Eng. 2019, 34, 951–971. [CrossRef] Shorten, C.; Khoshgoftaar, T.M. A survey on Image Data Augmentation for Deep Learning. J. Big Data 2019, 6, 60. [CrossRef] Xu, H.; Su, X.; Wang, Y.; Cai, H.; Cui, K.; Chen, X. Automatic bridge crack detection using a convolutional neural network. Appl. Sci. 2019, 9, 2867. [CrossRef] Yue, X.; Qi, K.; Na, X.; Zhang, Y.; Liu, Y.; Liu, C. Improved YOLOv8-Seg Network for Instance Segmentation of Healthy and Diseased Tomato Plants in the Growth Stage. Agriculture 2023, 13, 1643. [CrossRef] Wu, Y.; Han, Q.; Jin, Q.; Li, J.; Zhang, Y. LCA-YOLOv8-Seg: An Improved Lightweight YOLOv8-Seg for Real-Time Pixel-Level Crack Detection of Dams and Bridges. Appl. Sci. 2023, 13, 10583. [CrossRef] Feng, C.; Zhong, Y.; Gao, Y.; Scott, M.R.; Huang, W. TOOD: Task-aligned One-stage Object Detection. In Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, BC, Canada, 10–17 October 2021; pp. 3490–3499. [CrossRef] Bolya, D.; Fanyi, C.Z.; Yong, X.; Lee, J. YOLACT Real-time Instance Segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 9157–9166. [CrossRef] Yang, G.; Lei, J.; Zhu, Z.; Cheng, S.; Feng, Z.; Liang, R. AFPN: Asymptotic Feature Pyramid Network for Object Detection. arXiv 2023, arXiv:2306.15988. Liu, S.; Huang, D.; Wang, Y. Learning Spatial Fusion for Single-Shot Object Detection. arXiv 2019, arXiv:1911.09516. Siliang, M.; Yong, X. MPDIoU: A Loss for Efficient and Accurate Bounding Box Regression. arXiv 2023, arXiv:2307.07662. Yu, Z.; Shen, Y.; Sun, Z.; Chen, J.; Gang, W. Cracklab: A high-precision and efficient concrete crack segmentation and quantification network. Dev. Built Environ. 2022, 12, 100088. [CrossRef] Zheng, X.; Zhang, S.; Li, X.; Li, G.; Li, X. Lightweight bridge crack detection method based on segnet and bottleneck depthseparable convolution with residuals. IEEE Access 2021, 9, 161649–161668. [CrossRef] Bae, H.; An, Y.-K. Computer vision-based statistical crack quantification for concrete structures. Measurement 2023, 211, 112632. [CrossRef] Nabizadeh, E.; Parghi, A. Automated corrosion detection using deep learning and computer vision. Asian J. Civ. Eng. 2023, 24, 2911–2923. [CrossRef] Zhou, Y.C.; Hu, Z.Z.; Yan, K.X.; Lin, J.R. Deep learning-based instance segmentation for indoor fire load recognition. IEEE Access 2021, 9, 148771–148782. [CrossRef] Bai, R.; Wang, M.; Zhang, Z.; Lu, J.; Shen, F. Automated construction site monitoring based on improved YOLOv8-seg instance segmentation algorithm. IEEE Access 2023, 11, 139082–139096. [CrossRef] Jung, S.; Heo, H.; Park, S.; Jung, S.U.; Lee, K. Benchmarking deep learning models for instance segmentation. Appl. Sci. 2022, 12, 8856. [CrossRef] Pena-Caballero, C.; Kim, D.; Gonzalez, A.; Castellanos, O.; Cantu, A.; Ho, J. Real-time road hazard information system. Infrastructures 2020, 5, 75. [CrossRef] Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
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 )