إطار عمل خفيف الوزن YOLO11n للكشف عن الشقوق السطحية في الوقت الحقيقي مع التقسيم
A lightweight YOLO11n seg framework for real time surface crack detection with segmentation

شارك:
المجلة: Scientific Reports، المجلد: 16، العدد: 1
DOI: https://doi.org/10.1038/s41598-026-37073-1
PMID: https://pubmed.ncbi.nlm.nih.gov/41611793
تاريخ النشر: 2026-01-29
المؤلف: Shweta Tiwari وآخرون
الموضوع الرئيسي: صيانة البنية التحتية والمراقبة

نظرة عامة

تتناول الدراسة الحاجة الملحة للكشف الفعال عن الشقوق في البنية التحتية المدنية، مع تسليط الضوء على قيود الفحص اليدوي التقليدي وطرق معالجة الصور الكلاسيكية. مع التقدم في رؤية الكمبيوتر والتعلم العميق، يقترح المؤلفون إطار عمل جديد يستخدم بنية YOLO11n-seg للكشف عن الشقوق السطحية، تم التحقق منها على مجموعة بيانات Crack-Seg. يظهر النموذج مقاييس أداء مثيرة للإعجاب، حيث يحقق دقة تبلغ 78.8%، ومتوسط دقة صندوق (mAP) عند 50 يبلغ 76.2%، وmAP قناع عند 50 يبلغ 58.7%. من الجدير بالذكر أنه يعمل بمعدل استدلال يبلغ 3.6 مللي ثانية لكل صورة، مما يجعله مناسبًا للتطبيقات في الوقت الحقيقي في أنظمة الفحص الآلي.

في الختام، يؤكد المؤلفون على قدرة النموذج على تقديم تقسيم عالي الجودة مع الحفاظ على زمن استجابة منخفض، محققًا تسريعًا بمقدار 23 مرة مقارنةً بـ Mask R-CNN. تعزز المكونات الرئيسية، مثل كتلة تجميع الميزات C3k2 والانتباه المكاني C2PSA، الأداء بشكل كبير، مما يؤدي إلى تحسين بنسبة 15.5% مقارنة بالنماذج المدربة من الصفر. تجعل الحجم المدمج للنظام (حوالي 6.0 ميغابايت) والطلب الحسابي المنخفض (9.6 GFLOPs) قابلاً للتطبيق على الأجهزة المدمجة. ستركز الأعمال المستقبلية على تعزيز متانة النموذج في السيناريوهات الواقعية، واستكشاف تقنيات مثل تتبع التماسك الزمني لتقليل ضباب الحركة ودمج التصوير الحراري لتحسين دقة التقسيم في ظل ظروف صعبة.

مقدمة

تسلط المقدمة الضوء على الدور الحاسم للبنية التحتية المدنية في المجتمعات الحديثة وأهمية الكشف المبكر عن الشقوق السطحية، التي تشير إلى تدهور الهيكل. تعتبر طرق الفحص اليدوي التقليدية، رغم دقتها، مكلفة وغير عملية لشبكات البنية التحتية الواسعة، مما يؤدي إلى زيادة الطلب على تقنيات الكشف الآلي عن الشقوق. على مدى العقدين الماضيين، تم تطوير خوارزميات حاسوبية متنوعة لهذا الغرض، حيث انتقلت من تقنيات معالجة الصور التقليدية إلى أساليب التعلم الآلي والتعلم العميق المتقدمة.

أظهرت نماذج التعلم العميق، وخاصة الشبكات العصبية التلافيفية (CNNs)، وعدًا في الكشف عن الشقوق، حيث تمكنت هياكل مثل U-Net وMask R-CNN من تمكين تقسيم على مستوى البكسل. ومع ذلك، غالبًا ما تواجه هذه النماذج تحديات تتعلق بتكلفة الحساب وسرعة الاستدلال، مما يحد من تطبيقها في أنظمة المراقبة في الوقت الحقيقي. استهدفت التقدمات الأخيرة، وخاصة في سلسلة خوارزميات You Only Look Once (YOLO)، تحقيق توازن بين دقة الكشف والكفاءة، مما يجعلها مناسبة للتطبيقات الفورية في مراقبة صحة الهياكل. تبحث الأبحاث الحالية في أداء YOLOv11 في الكشف عن الشقوق السطحية وتقسيمها، مقارنةً بدقتها وكفاءتها ضد الأساليب التقليدية، وتقييم ملاءمتها لأنظمة المراقبة في الوقت الحقيقي. ستفصل الأقسام اللاحقة المنهجية التجريبية والنتائج.

طرق

تستعرض هذه القسم منهجيات متنوعة للتقسيم عالي الدقة والكشف في الوقت الحقيقي في مراقبة صحة الهياكل، مع التركيز بشكل خاص على التعرف على الشقوق في الهياكل الخرسانية. تعطي طرق التقسيم عالية الدقة، مثل CrackDiffNet، الأولوية لجودة التقسيم على السرعة، محققة درجات عالية من التقاطع على الاتحاد (IoU) لتحديد الكسور بشكل موثوق. ومع ذلك، فإن هذه الطرق تتطلب حسابات مكثفة، مما يجعلها غير مناسبة للتطبيقات في الوقت الحقيقي. وبالمثل، يعزز نهج الميزات متعددة المقاييس تحديد الحدود ولكنه يعاني من استهلاك ذاكرة مرتفع، مما يحد من استخدامه على الأجهزة الطرفية ذات الموارد المحدودة. في المقابل، تقدم طرق الكشف في الوقت الحقيقي مثل YOLOv5 استدلالًا فعالًا لفحص الطرق، محققة أداءً في الوقت الحقيقي ولكن تفتقر إلى تقسيم على مستوى البكسل، وهو أمر ضروري للتحليل الهيكلي التفصيلي.

تستخدم المنهجية المقترحة نموذج YOLO11 n-Seg، وهو إصدار خفيف الوزن من خوارزمية YOLO مصمم لمهام التقسيم. تم تصميم هذا النموذج لالتقاط تفاصيل الشقوق الدقيقة بفعالية مع الحفاظ على الكفاءة للنشر في الوقت الحقيقي. على عكس طرق التصنيف التقليدية أو طرق الصندوق المحيط، يسهل نهج YOLO الموجه نحو التقسيم كل من تحديد موقع العيوب وتحديد حدودها، وهو أمر حاسم لتقييم سلامة الهيكل. تدمج المنهجية جمع البيانات، وبناء النموذج، والتدريب، والتحقق في عملية متماسكة، مما يعزز التناسق والقدرة على التكيف مع سيناريوهات الفحص العملية.

نتائج

تشير النتائج التجريبية إلى تقييم شامل لأداء النموذج في الكشف عن الصناديق وتقسيم البكسل، كما هو موضح في الشكل 4 والجدول 5. في البداية، أظهر النموذج عدم استقرار خلال مرحلة التدريب المبكرة، حيث تميز بدقة عالية تبلغ 0.634 واسترجاع منخفض يبلغ 0.167. حدث انخفاض ملحوظ في الأداء حوالي العصر 3، والذي يُعزى إلى تسخين المحسن. ومع ذلك، بحلول العصر 9، أظهر النموذج تعافيًا كبيرًا، محققًا متوسط دقة صندوق متوازن (mAP) عند 50% يبلغ 0.762 وmAP قناع عند 50% يبلغ 0.587، مما يبرز فعاليته في الكشف عن الكسور وتحديدها مع تقليل الإيجابيات الكاذبة.

تقدم المزيد من الرؤى حول ديناميات تحسين نموذج YOLO11-seg في الجدول 6، الذي يوضح مدة التدريب وجداول معدل التعلم التكيفية عبر ثلاثة عصور. تشير عمود العصر إلى مرحلة التكرار، بينما تعكس عمود الوقت (ث) الوقت الحسابي لكل عصر. يتم الإشارة إلى معدلات التعلم لمجموعات المعلمات المختلفة—الرأس، والرقبة، وطبقات العمود الفقري—باعتبارها lr/pg0 وlr/pg1 وlr/pg2، على التوالي. يتضح التحكم التكيفي في المحسن من خلال التعديلات التدريجية لمعدلات التعلم، مما يسهل التقارب المستقر ويمنع تجاوز الهدف، وبالتالي يضمن تحسين الأداء الفعال طوال عملية التدريب.

مناقشة

تسلط قسم المناقشة في ورقة البحث الضوء على تطور خوارزميات التعلم العميق للكشف عن الشقوق السطحية في الهياكل المبنية، حيث انتقلت من تقنيات معالجة الصور التقليدية إلى نماذج متقدمة مثل YOLO (You Only Look Once). عانت الطرق المبكرة، مثل كشف الحواف وتحديد العتبات، من الضوضاء وأنماط الكسور غير المنتظمة، مما دفع إلى اعتماد الشبكات العصبية التلافيفية (CNNs) التي حسنت الدقة من خلال استخراج الميزات تلقائيًا. ومع ذلك، كانت الطرق الأولية لـ CNN تفتقر إلى تحديد المواقع بدقة وقدرات الوقت الحقيقي. مكنت نماذج التقسيم، وخاصة U-Net والشبكات التلافيفية الكاملة (FCN)، من التعرف على الشقوق على مستوى البكسل، مما عزز التفاصيل في شكل الشقوق. على الرغم من هذه التقدمات، فإن التكاليف الحسابية حدت من تطبيقها في الوقت الحقيقي.

ثورة إطار عمل YOLO في الكشف عن الشقوق من خلال تأطيره كوظيفة انحدار واحدة، مما حسّن بشكل كبير من سرعة ودقة الكشف. تضمنت الإصدارات اللاحقة، بما في ذلك YOLOv3 إلى YOLOv11، ميزات مثل آليات الانتباه والهياكل الخفيفة الوزن، مما يسهل النشر على الأجهزة المحمولة والطائرات بدون طيار. ركزت الأبحاث الأخيرة على التعديلات الخاصة بالمهام لـ YOLO، مما يعزز الأداء في سياقات متنوعة مثل فحص الطرق والجسور. تؤكد الورقة على أهمية التقسيم في تقييم شدة الشقوق بدقة، حيث تفشل طرق الصندوق المحيط التقليدية في التقاط تفاصيل أبعاد الشقوق. يظهر نموذج YOLOv11n-seg المقترح مقاييس أداء محسّنة، بما في ذلك الدقة والاسترجاع، مما يشير إلى فعاليته في الكشف عن الشقوق وتقسيمها في الوقت الحقيقي، وهو أمر ضروري لمراقبة صحة الهياكل.

القيود

تسلط قيود نموذج YOLO11 n-seg الضوء على عدة تحديات تؤثر على موثوقية الكشف في التطبيقات العملية. من الجدير بالذكر أن النموذج يظهر حساسية منخفضة في البيئات ذات التباين المنخفض، خاصةً في الظروف الرطبة حيث تتشابه كثافة بكسل الخلفية بشكل وثيق مع تلك الخاصة بالشقوق. تعتبر هذه الأداء المتدني أمرًا حاسمًا يجب مراعاته في السيناريوهات الواقعية حيث تكون هذه الظروف شائعة.

بالإضافة إلى ذلك، فإن النموذج عرضة للإيجابيات الكاذبة، خاصةً عندما تحاكي عناصر الخلفية، مثل الظلال القوية من الحواجز أو النباتات، مظهر الشقوق. قد يؤدي وحدة الانتباه المكاني (C2PSA) إلى تفاقم هذه المشكلة من خلال تصنيف الميزات السطحية ذات التباين العالي، مثل بقع الزيت وآثار الإطارات، كعيوب هيكلية. علاوة على ذلك، على الرغم من التحسينات التي قدمتها وحدة C3k2، لا يزال الكشف عن الشقوق الشعرية يمثل تحديًا كبيرًا، خاصةً عند التقاطها من ارتفاعات عالية للطائرات بدون طيار، مما يحد من فعالية النموذج مقارنةً بالبدائل الأكبر ذات الدقة العالية. سيكون من الضروري معالجة هذه القيود لتحسين قابلية تطبيق النموذج في ظروف بيئية متنوعة.

Journal: Scientific Reports, Volume: 16, Issue: 1
DOI: https://doi.org/10.1038/s41598-026-37073-1
PMID: https://pubmed.ncbi.nlm.nih.gov/41611793
Publication Date: 2026-01-29
Author(s): Shweta Tiwari et al.
Primary Topic: Infrastructure Maintenance and Monitoring

Overview

The study addresses the critical need for effective crack detection in civil infrastructure, highlighting the limitations of traditional manual inspection and classical image processing methods. With advancements in computer vision and deep learning, the authors propose a novel framework utilizing the YOLO11n-seg architecture for surface crack detection, validated on the Crack-Seg dataset. The model demonstrates impressive performance metrics, achieving a Precision of 78.8%, a Box mean Average Precision (mAP) at 50 of 76.2%, and a Mask mAP at 50 of 58.7%. Notably, it operates with an inference rate of 3.6 ms per image, making it suitable for real-time applications in automated inspection systems.

In the conclusion, the authors emphasize the model’s ability to deliver high-quality segmentation while maintaining low latency, achieving a 23-fold speedup compared to Mask R-CNN. Key components, such as the C3k2 feature aggregation block and C2PSA spatial attention, significantly enhance performance, yielding a 15.5% improvement over models trained from scratch. The system’s compact size (approximately 6.0 MB) and low computational demand (9.6 GFLOPs) make it viable for embedded hardware. Future work will focus on enhancing the model’s robustness in real-world scenarios, exploring techniques like temporal coherence tracking to reduce motion blur and integrating thermal imaging to improve segmentation accuracy under challenging conditions.

Introduction

The introduction highlights the critical role of civil infrastructure in modern societies and the importance of early detection of surface cracks, which are indicative of structural deterioration. Traditional manual inspection methods, while accurate, are costly and impractical for extensive infrastructure networks, leading to a growing demand for automated crack detection technologies. Over the past two decades, various computer algorithms have been developed for this purpose, transitioning from traditional image processing techniques to advanced machine learning and deep learning methods.

Deep learning models, particularly Convolutional Neural Networks (CNNs), have shown promise in crack detection, with architectures like U-Net and Mask R-CNN enabling pixel-level segmentation. However, these models often face challenges related to computational cost and inference speed, limiting their application in real-time monitoring systems. Recent advancements, particularly in the You Only Look Once (YOLO) series of algorithms, have aimed to balance detection accuracy with efficiency, making them suitable for immediate applications in structural health monitoring. The current research investigates the performance of YOLOv11 in detecting and segmenting surface cracks, comparing its accuracy and efficiency against conventional methods, and assessing its suitability for real-time monitoring systems. Subsequent sections will detail the experimental methodology and findings.

Methods

The section outlines various methodologies for high-fidelity segmentation and real-time detection in structural health monitoring, particularly focusing on crack recognition in concrete structures. High-fidelity segmentation methods, such as CrackDiffNet, prioritize segmentation quality over speed, achieving high Intersection over Union (IoU) scores for robust fracture identification. However, these methods are computationally intensive, making them unsuitable for real-time applications. Similarly, a multiscale feature approach enhances border delineation but suffers from high memory consumption, limiting its use on resource-constrained edge devices. In contrast, real-time detection methods like YOLOv5 offer efficient inference for road inspections, achieving real-time performance but lacking pixel-level segmentation, which is essential for detailed structural analysis.

The proposed methodology employs the YOLO11 n-Seg model, a lightweight variant of the YOLO algorithm tailored for segmentation tasks. This model is designed to effectively capture minute crack details while maintaining efficiency for real-time deployment. Unlike traditional classification or bounding box methods, the segmentation-oriented YOLO approach facilitates both the localization of defects and the delineation of their contours, which is crucial for assessing structural integrity. The methodology integrates dataset collection, model construction, training, and validation into a cohesive process, enhancing consistency and adaptability for practical inspection scenarios.

Results

The experimental results indicate a comprehensive evaluation of the model’s performance in bounding box detection and pixel-wise segmentation, as illustrated in Figure 4 and Table 5. Initially, the model displayed instability during the early training phase, characterized by a high Precision of 0.634 and a low Recall of 0.167. A notable performance drop occurred around Epoch 3, attributed to optimizer warmup. However, by Epoch 9, the model demonstrated significant recovery, achieving a balanced Box Mean Average Precision (mAP) at 50% of 0.762 and a Mask mAP at 50% of 0.587, highlighting its effectiveness in detecting and delineating fractures while minimizing false positives.

Further insights into the optimization dynamics of the YOLO11-seg model are provided in Table 6, which details the training duration and adaptive learning rate schedules across three epochs. The Epoch column indicates the iteration stage, while the Time (s) column reflects the computational time per epoch. The learning rates for different parameter groups—head, neck, and backbone layers—are denoted as lr/pg0, lr/pg1, and lr/pg2, respectively. The adaptive control of the optimizer is evident in the gradual adjustments of the learning rates, which facilitated stable convergence and prevented overshooting, thereby ensuring effective performance enhancement throughout the training process.

Discussion

The discussion section of the research paper highlights the evolution of deep learning algorithms for surface crack detection in building structures, transitioning from traditional image processing techniques to advanced models like YOLO (You Only Look Once). Early methods, such as edge detection and thresholding, struggled with noise and irregular fracture patterns, prompting the adoption of convolutional neural networks (CNNs) that improved accuracy through automatic feature extraction. However, initial CNN approaches lacked precise localization and real-time capabilities. The introduction of segmentation models, particularly U-Net and Fully Convolutional Networks (FCN), enabled pixel-level identification of cracks, enhancing detail in crack morphology. Despite these advancements, computational costs limited their real-time application.

The YOLO framework revolutionized crack detection by framing it as a single regression task, significantly improving detection speed and accuracy. Subsequent versions, including YOLOv3 to YOLOv11, incorporated features like attention mechanisms and lightweight architectures, facilitating deployment on mobile devices and drones. Recent research has focused on task-specific adaptations of YOLO, enhancing performance in various contexts such as pavement and bridge inspections. The paper emphasizes the importance of segmentation in accurately assessing crack severity, as traditional bounding box methods fail to capture the nuances of crack dimensions. The proposed YOLOv11n-seg model demonstrates improved performance metrics, including precision and recall, indicating its effectiveness in real-time crack detection and segmentation, essential for structural health monitoring.

Limitations

The limitations of the Y OLO11 n-seg model highlight several challenges that affect its detection reliability in practical applications. Notably, the model exhibits reduced sensitivity in low-contrast environments, particularly under wet conditions where the pixel intensity of the background closely resembles that of cracks. This diminished performance is critical to consider for real-world scenarios where such conditions are prevalent.

Additionally, the model is prone to false positives, particularly when background elements, such as strong shadows from guardrails or vegetation, mimic the appearance of cracks. The spatial attention module (C2PSA) may further exacerbate this issue by misclassifying high-contrast surface features, such as oil stains and tire marks, as structural defects. Furthermore, despite the enhancements provided by the C3k2 module, the detection of hairline fissures remains a significant challenge, especially when captured from high drone altitudes, limiting the model’s effectiveness compared to larger, high-resolution alternatives. Addressing these limitations will be essential for improving the model’s applicability in diverse environmental conditions.