Point optimization method for crack detection based on greedy initialization combined with cma-es
By using greedy initialization and CMA-ES optimization methods, an occupancy grid map of the indoor scene is constructed, and scanning points are filtered and optimized. This solves the problem of inspection point planning in indoor occupancy environments, achieves full coverage and point optimization, reduces redundancy, and improves inspection efficiency.
Patent Information
- Application Number
- CN202611194080.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-07
- Publication Date
- 2026-11-27
AI Technical Summary
Existing inspection point planning technologies struggle to meet the triple requirements of full-area observation, minimal scanning points, and robot-operable deployment in indoor obstructed environments. This results in ineffective optimization of scanning points, leading to blind spots and redundant points.
A greedy initialization combined with a covariance matrix adaptive evolution strategy (CMA-ES) optimization method is adopted to construct an occupancy grid map of the indoor scene. By combining the field of view and visible range of the crack detection device, candidate scanning points are generated. Initial points are selected by comprehensive coverage contribution index and continuously optimized to quantify the importance of scanning points and iteratively delete redundant points.
Significantly improves the accuracy of scan point coverage assessment, reduces point overlap and redundancy, shortens inspection time and hardware consumption, achieves a 33.3% reduction in scan points, and ensures full coverage without omissions.
Smart Images

Figure CN123175266A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent crack detection technology in civil engineering structures, specifically to a point optimization method based on greedy initialization combined with CMA-ES crack detection. Background Technology
[0002] With the rapid development of digital building operation and maintenance and intelligent inspection robot technology, the detection of cracks in indoor walls, beams, columns, and floor slabs is gradually replacing manual visual inspection. Mobile robots equipped with visual sensors to complete the collection of defects across the entire area has become the mainstream solution in the industry. Indoor environments are often obstructed by walls, furniture, and columns, and the sensor's field of view is limited by the field of view and detection distance. If the robot's collection points are not arranged reasonably, problems such as blind spots, redundant points, and a surge in inspection time will occur. Therefore, optimizing scanning points has become a core research direction for indoor crack robot inspection. Currently, the industry is seeing the emergence of viewpoint planning technologies such as greedy sampling, metaheuristic optimization, and mesh decomposition, which are widely used in indoor scenarios such as factories, office buildings, and underground parking garages. At the same time, ROS robot navigation and lightweight image segmentation models are gradually being implemented, forming an integrated inspection technology route of point planning, autonomous walking, and image defect recognition.
[0003] Chinese patent (publication number CN117073688A) discloses a coverage path planning method based on a multi-layer cost map. This method uses grid cost layer modeling and combines terrain slope and roughness to construct a multi-objective function to output a continuous traversal path, thereby enabling the robot to walk in the whole area. However, this scheme only plans a continuous trajectories and does not perform special simplification and optimization for the discrete scanning points captured by the robot at fixed points. It cannot quantify the independent visual contribution of each point and is prone to generating a large number of duplicate observation points.
[0004] Chinese patent (publication number CN111351473B) discloses a viewpoint planning method, device and measurement system based on a robot. The method generates candidate observation points based on a three-dimensional mesh model and uses a single-stage greedy selection to achieve complete imaging of the workpiece surface. However, the method only performs a single greedy selection and lacks global optimization of continuous spatial coordinates and observation angles. The greedy discrete sampling results are prone to getting trapped in local optima and have a high point overlap rate.
[0005] Chinese patent (publication number CN117592633A) discloses a smart inspection path optimization method. This method constructs a fitness function based on inspection time and energy consumption to iteratively generate the optimal path cluster and reduce robot walking losses. However, this optimization only targets the walking route length and does not associate with the fan-shaped visual constraints of the visual sensor, so it cannot compress the total number of scanning points while ensuring coverage.
[0006] In summary, existing inspection point planning technologies cannot simultaneously meet the triple requirements of full-area observation in indoor obstructed environments, minimum number of scanning points, and robot-based execution. There is an urgent need for an integrated scanning point optimization solution that takes into account greedy initial screening, continuous evolutionary optimization, and quantitative reduction of redundant points. Summary of the Invention
[0007] To address the aforementioned technical problems, this application discloses a point optimization method based on greedy initialization combined with CMA-ES crack detection, specifically including:
[0008] Construct an occupied grid map of the scene to be detected, and combine the field of view, detection distance and orientation range of the crack detection device to generate candidate scanning points for different areas, thus obtaining a set of candidate scanning points covering the entire scene to be detected;
[0009] Establish corresponding visible coverage areas for each candidate scanning point, and construct a comprehensive coverage contribution index based on the newly added coverage area of the candidate scanning point, the degree of coverage overlap with the selected scanning points, and the degree of complementarity in the visible direction;
[0010] Based on the comprehensive coverage contribution index, a greedy initialization is performed, and scanning points are iteratively selected until the preset coverage requirements are met, thus obtaining an initial set of scanning points.
[0011] Based on the initial set of scan points, an initial population is constructed, and the position parameters and observation orientation parameters of each scan point are continuously optimized using the covariance matrix adaptive evolution strategy (CMA-ES) to obtain the optimized set of scan points.
[0012] Based on the optimized set of scan points, the coverage loss and coverage compensation capability of neighboring scan points after the removal of each scan point are calculated respectively. The importance of the scan points is determined according to the coverage loss and coverage compensation capability. The scan points with the lowest importance are iteratively deleted to obtain the target set of scan points.
[0013] Based on the target scan point set, robot crack detection scan points are generated, and crack detection tasks are performed according to the optimized scan point positions and observation orientations.
[0014] Preferably, the candidate scan point set is specifically as follows: the sampling area is divided based on the gradient of the grid visibility change in the neighborhood of the candidate scan point, high-density sampling is used for areas with drastic visibility changes, and low-density sampling is used for areas with gentle visibility changes; combined with the maximum detection distance, horizontal field of view, and observation orientation interval of the fan-shaped sensor of the crack detection equipment, all candidate scan points are generated in the feasible area to form a candidate scan point set.
[0015] Preferably, establishing a corresponding visual coverage area for each candidate scan point specifically involves defining a single scan point as... ,in For planar position coordinates, For camera orientation observation;
[0016] Grid is determined by the sector view area. Is it a scan point? The visible area, as defined in the formula:
[0017]
[0018] in, , The grid to be determined The horizontal and vertical coordinates of the plane; , Scan points The horizontal and vertical coordinates of the plane; The camera's orientation at the scan point; The horizontal field of view of the crack detection equipment; This refers to the maximum effective detection distance of the crack detection equipment;
[0019] Based on the region satisfying all constraints, a ray casting method is used to detect whether the line connecting the scan point to the target grid is occupied by obstacles. Grids that are not blocked by obstacle grids constitute the scan point. The set of visible overlays.
[0020] Preferably, the comprehensive coverage contribution index is specifically: a comprehensive index that quantifies the coverage value of candidate scan points is obtained through weighted calculation, combining the new coverage capability, coverage overlap suppression capability, and visual direction complementarity capability of candidate scan points. The formula is:
[0021]
[0022] in, Contributing indicators to comprehensive coverage; Candidate scan points The set of visible coverage areas; This is the cumulative set of coverage areas for the selected scan points. Candidate scan points The number of newly added coverage grids; This represents the total set of feasible regions. This represents the total number of grid cells in the feasible region. Candidate scan points The number of overlapping graticules with the selected scan points. This refers to the ability to suppress overlap of candidate scan points. Candidate scan points Complementarity with the visible direction of the selected scan points; These are the weights for new coverage capability, coverage overlap suppression capability, and visual direction complementarity capability, respectively.
[0023] Preferably, the greedy initialization specifically involves: setting the set of uncovered grid cells as... The selected scan point set is ; Traverse each scan point in the candidate scan point set and calculate its comprehensive coverage contribution index. ;
[0024] Select comprehensive coverage contribution indicators Largest scan point Add it to the set of selected scan points Update the set of uncovered grid cells;
[0025] The current coverage is calculated based on the set of uncovered rasters. The coverage formula is as follows: ,in, Foreground coverage;
[0026] A preset coverage threshold is set. If the current coverage does not reach the threshold, the iteration continues; if the current coverage reaches the preset coverage threshold, the iteration terminates and the initial set of scan points is output. .
[0027] Preferably, the continuous optimization of the position parameters and observation orientation parameters of each scanning point specifically involves: adjusting the initial scanning point... gather The position coordinates of each scan point in the data and observation orientation As optimization variables ,in The number of scan points in the initial scan point set;
[0028] With maximizing coverage as the optimization objective, construct the objective function.
[0029] The covariance matrix adaptive evolution strategy CMA-ES is adopted to rank individuals based on the objective function value and select the best individuals.
[0030] Update the population mean, covariance matrix, and step size based on the best individuals;
[0031] A new generation of population is generated by sampling from a multivariate normal distribution. Individuals that are outside the feasible region are projected into the nearest feasible region.
[0032] Determine if the termination condition is met. If the maximum number of iterations is reached or the objective function value no longer increases, terminate the optimization and output the optimized scan point set; otherwise, continue iterating.
[0033] Preferably, the calculation of the coverage loss after removing each scan point and the coverage compensation capability of neighboring scan points specifically involves: for the optimized set of scan points... Each scan point in Temporarily remove the scan point and calculate the coverage loss using the following formula:
[0034]
[0035] in, To remove the first scan points The resulting coverage loss; The union of the visible coverage areas of all scan points after optimization; To remove the first After scanning points, the union of the visible coverage areas of all remaining scanning points; The scene to be detected occupies a feasible area in the grid map;
[0036] Based on scan points neighborhood scan point set ,by Using the neighborhood center as the detection center, detect all scan points within the neighborhood and calculate the coverage compensation capability of the neighborhood scan points using the following formula:
[0037]
[0038] in, For the first The coverage compensation capability of neighboring scan points of each scan point; For the first scan points The set of neighboring scan points; The cumulative visible coverage area of the neighboring scan points and the first scan points The intersection of the visible coverage areas; This represents the total number of raster cells in the visible coverage area of the scan point.
[0039] Preferably, the target scan point set is specifically defined as follows: the importance of the scan points is calculated based on coverage loss and coverage compensation capability. The formula is:
[0040]
[0041] in, The importance of the scan points;
[0042] Selecting the level of importance Lowest scan point Remove it from the current set of scan points;
[0043] Calculate the removal of scan points The coverage rate is then iterated upon if it exceeds a preset coverage threshold; otherwise, the scan points are removed. Re-add to the current scan point set, terminate the iteration, and obtain the target scan point set.
[0044] Preferably, the generation of robot crack detection scanning points specifically involves: converting the grid map coordinates of each scanning point in the target scanning point set into global coordinate system coordinates recognizable by the robot navigation system, matching the corresponding observation orientation parameters for each converted global coordinate, obtaining robot crack detection scanning points containing position information and observation orientation information, and generating a navigation path based on the scanning points to achieve crack detection.
[0045] Preferably, the robot generates a navigation path based on the scanned points as follows: the robot uses the ROS2 navigation architecture to generate a collision-free path through global path planning, and combines local path planning to achieve real-time obstacle avoidance, and navigates to each scanned point in sequence.
[0046] After the robot reaches the scanning point, it adjusts its posture to orient the crack detection device toward the preset observation direction, collects image data and transmits it to the backend. The backend then uses the YOLOv8m-seg model to complete crack segmentation and geometric feature extraction, thereby realizing crack detection.
[0047] Compared with the prior art, the technical solution of this application has the following technical effects:
[0048] This invention constructs a fan-shaped field-of-view model adapted to indoor RGB-D cameras, and combines it with the light projection method to accurately determine the grid visibility state under the obstruction of obstacles. It can realistically restore the blind spots caused by indoor furniture and walls, greatly improve the authenticity of the scanning point coverage assessment, and ensure that no crack detection area is missed.
[0049] This invention designs a comprehensive coverage contribution index that integrates new coverage, overlap suppression, and complementary observation directions to guide greedy initialization. The initial scan point set can effectively reduce point overlap redundancy, provide a high-quality initial solution for subsequent global optimization, and reduce the computational load of evolutionary algorithm iterations.
[0050] This invention employs the CMA-ES evolutionary strategy to perform continuous spatial joint optimization of the scanning point coordinates and observation orientation, breaking through the local optima limitation of traditional discrete grid sampling. It can simultaneously fine-tune the point position and camera orientation, maximizing the effective observation range of a single point and further reducing the number of points.
[0051] This invention establishes a two-dimensional quantitative evaluation mechanism for coverage loss and neighborhood compensation capability, accurately determines the importance of each scanning point, iteratively eliminates redundant points, and can achieve a maximum reduction of 33.3% of scanning points under the premise of strictly meeting the preset coverage threshold, thereby shortening the robot's inspection travel distance and image acquisition time, and reducing hardware computing power consumption.
[0052] The scanning points of this invention can be directly converted into global navigation coordinates that can be recognized by ROS2 navigation, perfectly connecting with the robot's autonomous obstacle avoidance navigation process. After the robot arrives at the point, it automatically matches the observation angle to collect images, and uses YOLOv8m-seg to complete crack segmentation and recognition, forming a complete and feasible inspection link from point planning to disease quantitative detection.
[0053] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the preferred embodiments of this application are described in detail below with reference to the accompanying drawings.
[0054] The above and other objects, advantages and features of this application will become more apparent to those skilled in the art from the following detailed description of specific embodiments in conjunction with the accompanying drawings. Attached Figure Description
[0055] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to scale.
[0056] Based on the description of the figures and their corresponding technical content in the document, the titles of the figures are as follows:
[0057] Figure 1 The flowchart shows the overall process of the point optimization method based on greedy initialization combined with CMA-ES crack detection.
[0058] Figure 2 This is an architecture diagram of a point optimization method based on greedy initialization combined with CMA-ES crack detection;
[0059] Figure 3 This is a schematic diagram of the sector-shaped visible area of the scanning site in this application;
[0060] Figure 4 This is a diagram illustrating the overall framework of the two-stage joint optimization in this application.
[0061] Figure 5 This is a comparison chart of the optimization results for the first and second phases of scanning sites;
[0062] Figure 6 Snapshot of the robot's power-on initialization and straight-line navigation in the corridor;
[0063] Figure 7 Create a snapshot of a complex obstacle area with multiple tables, chairs, and pillars.
[0064] Figure 8 Snapshot of the work station located near the wall or building boundary;
[0065] Figure 9 Comparison of optimization results for group 1-1 of sensing distance grouping;
[0066] Figure 10 Comparison of optimization results for group 1-2 of the sensing distance grouping;
[0067] Figure 11 Comparison chart of optimization results for coverage threshold group 2-1;
[0068] Figure 12 Comparison chart of optimization results for group 2-2 of coverage threshold grouping;
[0069] Figure 13 Comparison of optimization results for raster resolution group 3-1;
[0070] Figure 14 Comparison of optimization results for group 3-2 of raster resolution grouping;
[0071] Figure 15 Comparison of optimization results for sampling density group 4-1;
[0072] Figure 16 Comparison of optimization results for group 4-2 of the sampling density grouping. Detailed Implementation
[0073] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. In the following description, specific details such as specific configurations and components are provided merely to help fully understand the embodiments of this application. Therefore, those skilled in the art should understand that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. In addition, for clarity and brevity, descriptions of known functions and structures are omitted in the embodiments.
[0074] It should be understood that the phrase "an embodiment" or "this embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "an embodiment" or "this embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0075] Furthermore, reference numerals and / or letters may be repeated in different examples within this application. Such repetition is for the purpose of simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or settings discussed.
[0076] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, B exists alone, and A and B exist simultaneously. The term " / and" in this article describes another type of relationship between related objects, indicating that two relationships can exist. For example, A / and B can mean: A exists alone, and A and B exist alone. In addition, the character " / " in this article generally indicates that the related objects before and after it are in an "or" relationship.
[0077] In this article, the term "at least one" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, "at least one of A and B" can mean: A exists alone, A and B exist simultaneously, or B exists alone.
[0078] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion.
[0079] Example 1 mainly describes a point optimization method based on greedy initialization combined with CMA-ES crack detection, such as... Figure 1 , Figure 2 As shown, it specifically includes:
[0080] Construct an occupied grid map of the scene to be detected, and combine the field of view, detection distance and orientation range of the crack detection device to generate candidate scanning points for different areas, thus obtaining a set of candidate scanning points covering the entire scene to be detected;
[0081] Establish corresponding visible coverage areas for each candidate scanning point, and construct a comprehensive coverage contribution index based on the newly added coverage area of the candidate scanning point, the degree of coverage overlap with the selected scanning points, and the degree of complementarity in the visible direction;
[0082] Based on the comprehensive coverage contribution index, a greedy initialization is performed, and scanning points are iteratively selected until the preset coverage requirements are met, thus obtaining an initial set of scanning points.
[0083] Based on the initial set of scan points, an initial population is constructed, and the position parameters and observation orientation parameters of each scan point are continuously optimized using the covariance matrix adaptive evolution strategy (CMA-ES) to obtain the optimized set of scan points.
[0084] Based on the optimized set of scan points, the coverage loss and coverage compensation capability of neighboring scan points after the removal of each scan point are calculated respectively. The importance of the scan points is determined according to the coverage loss and coverage compensation capability. The scan points with the lowest importance are iteratively deleted to obtain the target set of scan points.
[0085] Based on the target scan point set, robot crack detection scan points are generated, and crack detection tasks are performed according to the optimized scan point positions and observation orientations.
[0086] Furthermore, the occupancy grid map of the scene to be detected is specifically constructed by discretizing the scene to be detected into uniform grid units and building a two-dimensional occupancy grid map. The grid map is specifically a two-dimensional discretized model used to characterize the spatial distribution of the indoor scene to be detected. Each grid cell corresponds to a physical area of a fixed size in the scene to be detected. The size of the grid cell can be flexibly adjusted according to the actual size of the scene to be detected and the detection accuracy requirements, generally ranging from 0.08m to 0.15m; a feasible region is defined. The feasible area is the area in the grid map where the robot can move and deploy scanning equipment, corresponding to unobstructed passage spaces such as corridors and open areas in the scene to be detected.
[0087] Furthermore, such as Figure 3 The schematic diagram of the fan-shaped field of view of the scanning station shown is as follows: The candidate scanning point set is specifically divided into sampling areas based on the gradient of the raster visibility change in the neighborhood of the candidate scanning point. High-density sampling is used in areas with drastic visibility changes, and low-density sampling is used in areas with gentle visibility changes. Combined with the maximum detection distance, horizontal field of view, and observation orientation interval of the fan-shaped sensor of the crack detection equipment, all candidate scanning points are generated in the feasible area to form the candidate scanning point set.
[0088] Furthermore, establishing a corresponding visual coverage area for each candidate scan point specifically involves defining a single scan point as follows: ,in For planar position coordinates, For camera orientation observation;
[0089] Grid is determined by the sector view area. Is it a scan point? The visible area, as defined in the formula:
[0090]
[0091] in, , The grid to be determined The horizontal and vertical coordinates of the plane; , Scan points The horizontal and vertical coordinates of the plane; The camera's orientation at the scan point; The horizontal field of view of the crack detection equipment; This refers to the maximum effective detection distance of the crack detection equipment;
[0092] Based on the region satisfying all constraints, a ray casting method is used to detect whether the line connecting the scan point to the target grid is occupied by obstacles. Grids that are not blocked by obstacle grids constitute the scan point. The set of visible overlays.
[0093] Furthermore, the comprehensive coverage contribution index is specifically defined as follows: It combines the new coverage capability, coverage overlap suppression capability, and visual direction complementarity capability of candidate scan points, and calculates a comprehensive index that quantifies the coverage value of candidate scan points through weighted calculation. The formula is:
[0094]
[0095] in, Contributing indicators to comprehensive coverage; Candidate scan points The set of visible coverage areas; This is the cumulative set of coverage areas for the selected scan points. Candidate scan points The number of newly added coverage grids; This represents the total set of feasible regions. This represents the total number of grid cells in the feasible region. Candidate scan points The number of overlapping graticules with the selected scan points. This refers to the ability to suppress overlap of candidate scan points. Candidate scan points Complementarity with the visible direction of the selected scan points; These are the weights for new coverage capability, coverage overlap suppression capability, and visual direction complementarity capability, respectively.
[0096] Furthermore, such as Figure 4 The overall framework diagram of the two-stage joint optimization of the present invention shown below, specifically the greedy initialization, involves setting the set of uncovered grid cells as follows: The selected scan point set is ; Traverse each scan point in the candidate scan point set and calculate its comprehensive coverage contribution index. ;
[0097] Select comprehensive coverage contribution indicators Largest scan point Add it to the set of selected scan points Update the set of uncovered rasters using the following formula:
[0098]
[0099] in, This represents the cumulative coverage area of the currently selected scan points; This represents the cumulative coverage area of the selected scan points before the update. For the largest scan point The visible coverage area;
[0100] The current coverage is calculated based on the set of uncovered rasters. The coverage formula is as follows: ,in, Foreground coverage;
[0101] A preset coverage threshold is set. If the current coverage does not reach the threshold, the iteration continues; if the current coverage reaches the preset coverage threshold, the iteration terminates and the initial set of scan points is output. .
[0102] Furthermore, the position parameters and observation orientation parameters of each scanning point are continuously optimized, specifically by adjusting the initial scanning point... gather The position coordinates of each scan point in the data and observation orientation As optimization variables ,in The number of scan points in the initial scan point set;
[0103] With maximizing coverage as the optimization objective, the objective function is constructed as follows:
[0104]
[0105] in, The total number of raster cells covered by all optimized scan points; For the optimized first One scan point, for The set of visible coverage areas; The scene to be detected occupies a feasible area in the grid map;
[0106] The covariance matrix adaptive evolution strategy CMA-ES is adopted to rank individuals based on the objective function value and select the best individuals.
[0107] Update the population mean, covariance matrix, and step size based on the best individuals;
[0108] A new generation of population is generated by sampling from a multivariate normal distribution. Individuals that are outside the feasible region are projected into the nearest feasible region.
[0109] Determine if the termination condition is met. If the maximum number of iterations is reached or the objective function value no longer increases, terminate the optimization and output the optimized scan point set; otherwise, continue iterating.
[0110] Furthermore, the calculation of the coverage loss after removing each scan point and the coverage compensation capability of neighboring scan points is specifically as follows: For the optimized set of scan points... Each scan point in Temporarily remove the scan point and calculate the coverage loss using the following formula:
[0111]
[0112] in, To remove the first scan points The resulting coverage loss; The union of the visible coverage areas of all scan points after optimization; To remove the first After scanning points, the union of the visible coverage areas of all remaining scanning points; The scene to be detected occupies a feasible area in the grid map;
[0113] Based on scan points neighborhood scan point set ,by Using the neighborhood center as the detection center, detect all scan points within the neighborhood and calculate the coverage compensation capability of the neighborhood scan points using the following formula:
[0114]
[0115] in, For the first The coverage compensation capability of neighboring scan points of each scan point; For the first scan points The set of neighboring scan points; The cumulative visible coverage area of the neighboring scan points and the first scan points The intersection of the visible coverage areas; This represents the total number of raster cells in the visible coverage area of the scan point.
[0116] Furthermore, the target scan point set is specifically defined as follows: the importance of the scan points is calculated based on coverage loss and coverage compensation capability. The formula is:
[0117]
[0118] in, The importance of the scan points;
[0119] Selecting the level of importance Lowest scan point Remove it from the current set of scan points;
[0120] Calculate the removal of scan points The coverage rate is then iterated upon if it exceeds a preset coverage threshold; otherwise, the scan points are removed. Re-add to the current scan point set, terminate the iteration, and obtain the target scan point set.
[0121] Furthermore, the specific steps for generating robot crack detection scanning points are as follows: the grid map coordinates occupied by each scanning point in the target scanning point set are converted into global coordinate system coordinates that can be recognized by the robot navigation system, and the corresponding observation orientation parameters are matched for each converted global coordinate to obtain robot crack detection scanning points containing position information and observation orientation information. The robot generates a navigation path based on the scanning points to realize crack detection.
[0122] Furthermore, the crack detection device is an RGB-D camera with a horizontal field of view α of 91° and a maximum detection distance R of 4m-6m. During detection, the camera orientation is consistent with the observation orientation of the scanning point, and the acquired image data is segmented into cracks using the YOLOv8m-seg model.
[0123] Furthermore, the YOLOv8m-seg model consists of five parts: an input layer, a backbone network, a neck network, a head network, and an output layer. The input image size of the input layer is set to 640×640 pixels, and Mosaic data augmentation is used. The augmentation parameters include scaling factors of 0.5-1.5, rotation angle ±90°, and flip probability of 0.5. At the same time, the input image is normalized, with normalized mean values of [0.485, 0.456, 0.406] and standard deviation values of [0.229, 0.224, 0.225].
[0124] The backbone network adopts the CSPDarknet53 architecture, which includes 5 CSP modules. The first CSP module contains 2 convolutional layers with a kernel size of 3×3 and a stride of 2, with 64 and 128 output channels respectively. The second to fifth CSP modules contain 3, 6, 9 and 3 residual blocks respectively. Each residual block consists of 2 3×3 convolutional layers and 1 shortcut connection, with 256, 512, 1024 and 512 output channels respectively. An SPPF module with a pooling kernel size of 5×5 is also included for feature dimensionality reduction and fusion.
[0125] The neck network adopts the PAN-FPN architecture, which includes an upsampling layer, a downsampling layer and a feature fusion layer. The upsampling layer uses bilinear interpolation to enlarge the size of the high-level feature map by 2 times. The downsampling layer uses a 3×3 convolutional layer with a stride of 2. The feature fusion layer uses a stitching method to fuse features at different scales and outputs three feature maps at different scales with 128, 256 and 512 channels, respectively.
[0126] The head network consists of a detection head and a segmentation head. The detection head adopts a decoupled head structure, containing two 1×1 convolutional layers, which are used to predict the target bounding box and the category, respectively. The bounding box prediction has 4 channels, and the category prediction has 1 channel (only detecting the crack category). The segmentation head adopts a lightweight decoder structure, containing three 3×3 convolutional layers and one 1×1 convolutional layer. The number of output channels of the convolutional layers are 256, 128, 64, and 1, respectively. Finally, the crack segmentation mask is output through a sigmoid activation function.
[0127] Output layer: Outputs crack detection results (including bounding box coordinates and confidence score) and crack segmentation mask. The confidence score threshold is set to 0.5, the non-maximum suppression (NMS) intersection-over-union (IoU) threshold is set to 0.65, and the segmentation mask threshold is set to 0.5, which are used to filter valid crack regions.
[0128] Furthermore, the robot generates a navigation path based on the scanned points as follows: Based on the ROS2 navigation architecture, the robot generates a collision-free path through global path planning and achieves real-time obstacle avoidance by combining local path planning, and navigates to each scanned point in sequence.
[0129] After the robot reaches the scanning point, it adjusts its posture to orient the crack detection device toward the preset observation direction, collects image data and transmits it to the backend. The backend then uses the YOLOv8m-seg model to complete crack segmentation and geometric feature extraction, thereby realizing crack detection.
[0130] Furthermore, the ROS2 navigation architecture is specifically the ROS2Navigation2 (Nav2) navigation stack. This navigation stack uses the behavior tree (BT) as the top-level control center to realize hierarchical decision-making and scheduling of navigation tasks, including map server, positioning module, planner server, controller server, cost map server, recovery behavior module, and behavior tree navigator.
[0131] Among them, the MapServer is used to load and store the occupied grid map of the scene to be detected, publish the / map topic and coordinate transformation from map to odom, and provide a basic environmental map for navigation;
[0132] The localization module (AMCL) combines data from LiDAR, inertial measurement unit, and wheel odometry to achieve real-time localization of the robot on the map based on the adaptive Monte Carlo localization algorithm, and outputs the robot's pose information.
[0133] The PlannerServer consists of a global planner and a local planner. The global planner is based on the A* algorithm or Dijkstra's algorithm and generates a global collision-free path from the starting point to the ending point based on the robot's current pose and the target pose of the scanned point. The local planner is based on the Dynamic Window (DWB) method and combines real-time obstacle information to make local adjustments to the global path to achieve dynamic obstacle avoidance.
[0134] The Controller Server receives the path information output by the planner, generates speed control commands based on the robot's kinematic model, and drives the robot to move smoothly along the planned path.
[0135] The Costmap2D server converts obstacle information collected by LiDAR into a cost map, providing an environmental cost reference for path planning and obstacle avoidance.
[0136] The RecoveryNode module executes recovery behaviors such as rotation and backward movement when the robot encounters navigation failures or path blockages, and replans the path to ensure that the navigation task can continue.
[0137] The Behavior Tree Navigator (BTNavigator), as the core scheduling module of the navigation stack, coordinates the above modules to complete the complete navigation tasks such as path planning, obstacle avoidance, and navigation to the target point through behavior tree logic defined by XML.
[0138] This embodiment details a point optimization method based on greedy initialization combined with CMA-ES crack detection. It constructs an indoor scene occupancy grid map, determines the visible coverage of each candidate scan point using a fan-shaped field-of-view model and ray casting method, constructs a weighted contribution function, and generates an initial scan point set using a greedy set coverage algorithm. The CMA-ES evolutionary algorithm is then used for continuous spatial global optimization to maximize scene coverage efficiency. It iteratively evaluates the coverage loss and neighborhood compensation capability resulting from removing each scan point, quantifies point importance, and removes redundant points to obtain a simplified target scan point set. The grid points are converted into global navigation coordinates for the robot, enabling collision-free autonomous scanning via the ROS2 navigation stack. Upon reaching the point, crack segmentation and quantification analysis are performed.
[0139] Example 2, based on Example 1, details a point optimization experiment in a standard indoor office scenario using a differential-driven indoor inspection robot as the execution vehicle and the method described herein. The specific details are as follows:
[0140] The inspection robot's hardware includes an RDKX3 onboard processing unit, a 91° horizontal field-of-view RGB-D camera, a 2D LiDAR, an IMU and a wheeled odometer, and a rechargeable battery; the software runs on an Ubuntu 22.04 system, equipped with the ROS2Humble middleware, and uses the YOLOv8m-seg model for crack segmentation.
[0141] The grid resolution is set to 0.10m, the maximum detection distance of the RGB-D camera is 5m, the minimum coverage threshold for inspection is 95%, and the maximum number of CMA-ES iterations is 30. The scene to be inspected is a typical office space, which includes obstacles such as walls, columns, desks and chairs.
[0142] During the process, an indoor scene occupancy grid map is constructed, and feasible areas are formed by distinguishing between obstacle-occupied grids and robot-accessible grids. Candidate scanning points are generated based on the scene visibility gradient differences. High-density sampling is performed in areas with dense obstacles and drastic changes in line of sight, while low-density sampling is performed in open corridor areas to obtain a set of all candidate scanning points.
[0143] A sector-shaped visible field model is established, and the visible grid set Vis(s) corresponding to each candidate scan point is calculated one by one by combining distance constraints, angle constraints, and light projection occlusion judgment rules.
[0144] A comprehensive coverage contribution index is constructed, integrating new coverage, overlap suppression, and complementary visibility directions. A greedy set coverage algorithm is used to iteratively filter scan points. In each round, the optimal point of the index is selected and the set of uncovered grid cells is updated. This iteration continues until the current overall coverage rate reaches 99.4%, at which point the greedy filtering stops, resulting in an initial set of 66 scan points. Figure 5As shown in (a), the blue area in the figure represents the observable coverage area, which can be intuitively observed to show that the initial points are densely distributed and the observation overlap between points is large.
[0145] The planar coordinates and camera observation orientation of the 66 scanning points are set as continuous optimization variables. The objective function is to maximize the full coverage. The population is iteratively updated using the CMA-ES algorithm. Projection correction is performed on the coordinates of points outside the feasible area. After reaching the maximum number of iterations, the continuous optimization of point position and orientation is completed, and the first-stage optimized point set is obtained.
[0146] After iterating through all scan points optimized in the first stage, each point is temporarily removed sequentially. The coverage loss and coverage compensation capability of neighboring points resulting from the removal are calculated, and the importance of each scan point is determined by combining these two metrics. In each round, the point with the lowest importance is deleted. After deletion, the overall coverage is reassessed. If the coverage is not lower than a preset threshold of 95%, the iteration continues. If the coverage falls below 95% after deleting any point, the deletion process terminates, resulting in 44 target scan points. Figure 5 As shown in (b), compared with the greedy initial layout, redundant overlapping points are greatly reduced and the spatial distribution of points is more balanced.
[0147] The grid center coordinates are converted into ROS2 navigation global coordinates and bound to the corresponding camera observation orientation to generate robot-identifiable inspection waypoints. The robot performs global path planning and local dynamic obstacle avoidance based on the ROS2Nav2 navigation architecture, and travels to each scanning point in sequence. The camera is adjusted to the preset acquisition angle to complete RGB-D image acquisition. The acquired images are sent to the YOLOv8m-seg model to complete crack segmentation and quantitative extraction of geometric parameters.
[0148] The grid center coordinates are converted into ROS2 navigation global coordinates and bound to the corresponding camera observation orientation to generate robot-identifiable inspection waypoints. The robot completes global A* path planning and local DWB dynamic obstacle avoidance through the ROS2Nav2 navigation architecture. It drives to each scanning station in sequence according to the point order. After arriving at each point, it automatically adjusts the body posture and rotates the onboard RGB-D camera to the preset observation angle. Simultaneously, it completes the acquisition of indoor structure RGB images and depth images. After the acquisition is completed, the images are sent to the YOLOv8m-seg model to complete crack segmentation and quantitative extraction of geometric parameters.
[0149] The entire autonomous inspection process of the robot is visible. Figures 6-8 ,in, Figure 6 A snapshot of the robot's power-on initialization and straight-line navigation process in the corridor. In the picture, the robot starts from the starting point and moves smoothly along the planned path without any path deviation within the corridor.
[0150] Figure 7To create a snapshot map of a complex obstacle area with multiple tables, chairs, and pillars, the robot uses local dynamic planning to fine-tune its route in real time among dense obstacles, successfully navigating to each target scanning point.
[0151] Figure 8 To capture snapshots of workstations close to walls and building boundaries, the robot stops at a safe distance and the camera is precisely aimed at the wall structure to be tested.
[0152] Three sets of simulation images jointly verified that the robot completely traversed all optimized target scanning points without collisions, navigation pauses, or path oscillations. The parking and positioning accuracy at each point met the image acquisition requirements, and the robot was able to stably complete the crack image acquisition work at each workstation.
[0153] This embodiment details an experiment on point optimization in a standard indoor office scenario using a differentially driven indoor inspection robot as the execution vehicle and employing the proposed method. The process sequentially completes grid map construction, differential candidate point sampling, sector view calculation, greedy initial screening, CMA-ES continuous optimization, and point reduction based on coverage loss and compensation capabilities. Quantitative results are provided for 66 points in the greedy stage and 44 points after optimization, along with accompanying data. Figure 5 This paper compares the differences in point distribution and elaborates on the conversion method from point to robot navigation waypoint, as well as the entire execution process of ROS2 autonomous inspection. Figure 6 , Figure 7 , Figure 8 The robot's operation snapshots under three different working conditions provide a direct verification that the optimized scanning points can be stably executed by the robot, enabling it to successfully complete the acquisition and quantitative analysis of crack images across the entire scene.
[0154] Example 3, based on Example 1 or 2, describes in detail a comparative experiment conducted simultaneously using four existing classic point planning algorithms and the solution of this invention in an indoor office scenario exactly the same as in Example 2, as follows:
[0155] The optimization algorithms used in the comparative experiments include Boustrophedon unit decomposition method, HAR heuristic redundancy pruning algorithm, DAASO swarm intelligence optimization algorithm, 2D geometric visual sampling planning, and the greedy combination of CMA-ES two-stage optimization of this invention.
[0156] Among them, the Boustrophedon cell decomposition method divides the indoor occupied grid map into horizontal scan lines, dividing the complete feasible area into several independent continuous cells; the center of the cell is used as the preset observation candidate point; all cell points are connected in a serpentine traversal order to form a continuous inspection path; and a fixed point set and corresponding travel route are output to complete the scanning point planning.
[0157] The HAR heuristic redundancy pruning algorithm generates high-density initial observation candidate points in batches within the feasible region; it traverses all points and calculates the coverage overlap area between each pair of points; it iteratively removes points with high overlap coverage ratios, and recalculates the overall coverage area after each point is removed; pruning stops when the coverage area no longer decreases significantly, and outputs a simplified set of scan points.
[0158] The DAASO swarm intelligence optimization algorithm randomly generates multiple initial point populations within a feasible region; sets the coverage area as the fitness evaluation index; iteratively updates the coordinates of each group of points using a multi-body orientation search mechanism; and after iterating a set number of times, selects the population with the best fitness as the final set of scanned points.
[0159] The 2D geometric visual sampling planning is based on camera ranging and field of view geometric constraints to define the fan-shaped visible range of a single point; candidate observation points are generated in batches at the intersection of grids in feasible regions; the number of visible grids for each candidate point is calculated one by one, and points are selected in descending order of visible area; the selection stops when the cumulative coverage reaches the preset standard, and the set of scanned points is output.
[0160] The experimental performance metrics for each algorithm are shown in Table 1 below:
[0161] Table 1. Data from the control experiment
[0162] Optimization Algorithm Types Final number of scan points Overall coverage Offline planning time of the algorithm (s) Boustrophedon's unit decomposition method 59 95.14% 167.18 HAR Heuristic Redundancy Pruning Algorithm 46 95.02% 95.66 DAASO swarm intelligence optimization algorithm 86 96.36% 10.81 2D geometric visual sampling planning 49 95.01% 13.72 This method 37 96.40% 417.26
[0163] As shown in Table 1, under the same indoor occlusion environment, the present invention outputs the fewest number of scanning points among the five schemes, while having the highest full-area detection coverage. Although the algorithm takes longer to optimize offline, the robot's on-site inspection travel distance and total image acquisition time are significantly lower than the other comparison algorithms, resulting in better actual inspection efficiency.
[0164] Sensitivity tests were conducted in groups by changing four core parameters: sensing distance, coverage threshold, grid resolution, and candidate point sampling density. In the sensing distance group, group 1-1 had a detection distance of 4.0m. Figure 9 As shown, there were 91 initial locations, which were reduced to 63 after optimization, achieving a coverage rate of 95.4% and a location reduction rate of 30.8%.
[0165] The detection range of groups 1-2 is 6.0m, such as Figure 10 As shown, there were 52 initial locations, which were reduced to 40 after optimization, achieving a coverage rate of 99.0% and a location reduction rate of 23.1%.
[0166] The coverage threshold grouping for group 2-1 has a minimum coverage of 0.90, such as... Figure 11 As shown, there were 66 initial locations, which were reduced to 34 after optimization, achieving a coverage rate of 90.5% and a location reduction rate of 48.5%.
[0167] The minimum coverage rate for Group 2-2 is 0.98, such as... Figure 12 As shown, there were 66 initial locations, which were reduced to 50 after optimization, achieving a coverage rate of 98.4% and a location reduction rate of 24.2%.
[0168] The raster resolution group 3-1 has a grid size of 0.15m, such as... Figure 13 As shown, there were 64 initial locations, which were reduced to 49 after optimization, achieving a coverage rate of 97.4% and a location reduction rate of 23.4%.
[0169] The grid of group 3-2 is 0.08m, such as... Figure 14 As shown, there were 79 initial locations, which were reduced to 50 after optimization, achieving a coverage rate of 96.5% and a location reduction rate of 36.7%.
[0170] Group 4-1 of the sampling density grouping is a high-density candidate sample, such as... Figure 15 As shown, there were 65 initial locations, which were reduced to 39 after optimization, achieving a coverage rate of 95.1% and a location reduction rate of 40.0%.
[0171] Group 4-2 is a low-density candidate sampling, such as Figure 16 As shown, there were 65 initial locations, which were reduced to 50 after optimization, resulting in a coverage rate of 96.9% and a location reduction rate of 23.1%.
[0172] Based on the above data, it can be seen that in all parameter variation experimental groups, the two-stage optimization framework of this invention can stably reduce redundant points, with the point reduction range remaining stable at 23.1%~48.5%, and the overall coverage rate maintained above 90.5%. The sensor detection distance and coverage threshold have the greatest impact on the final number of points, while the optimization results caused by grid resolution and sampling density have small fluctuations, and the algorithm as a whole has strong robustness.
[0173] This embodiment details a comparative experiment conducted simultaneously using four existing classic point planning algorithms and the scheme of this invention. During the process, multiple sets of sensitivity control experiments were set up around four key parameters: sensing distance, coverage threshold, grid resolution, and candidate point sampling density. The data from all experimental groups confirmed that the optimization framework can stably reduce redundant points under various parameter conditions, the coverage index always meets the requirements, and it is less affected by fluctuations in grid and sampling parameters, thus exhibiting good overall robustness.
[0174] The above are merely preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. For those skilled in the art, the present invention can have various modifications and variations. Any changes, modifications, substitutions, integrations, and parameter changes made to these embodiments within the spirit and principles of the present invention, without departing from the principles and spirit of the present invention, through conventional substitutions or to achieve the same function, fall within the scope of protection of the present invention.
Claims
1. A point optimization method based on greedy initialization combined with CMA-ES crack detection, characterized in that, include: Construct an occupied grid map of the scene to be detected, and combine the field of view, detection distance and orientation range of the crack detection device to generate candidate scanning points for different areas, thus obtaining a set of candidate scanning points covering the entire scene to be detected; Establish corresponding visible coverage areas for each candidate scanning point, and construct a comprehensive coverage contribution index based on the newly added coverage area of the candidate scanning point, the degree of coverage overlap with the selected scanning points, and the degree of complementarity in the visible direction; Based on the comprehensive coverage contribution index, a greedy initialization is performed, and scanning points are iteratively selected until the preset coverage requirements are met, thus obtaining an initial set of scanning points. Based on the initial set of scan points, an initial population is constructed, and the position parameters and observation orientation parameters of each scan point are continuously optimized using the covariance matrix adaptive evolution strategy (CMA-ES) to obtain the optimized set of scan points. Based on the optimized set of scan points, the coverage loss and coverage compensation capability of neighboring scan points after the removal of each scan point are calculated respectively. The importance of the scan points is determined according to the coverage loss and coverage compensation capability. The scan points with the lowest importance are iteratively deleted to obtain the target set of scan points. Based on the target scan point set, robot crack detection scan points are generated, and crack detection tasks are performed according to the optimized scan point positions and observation orientations.
2. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 1, characterized in that, The candidate scan point set is specifically defined as follows: the sampling region is divided based on the gradient of the raster visibility change in the neighborhood of the candidate scan point, and high-density sampling is used for regions with drastic visibility changes, while low-density sampling is used for regions with gentle visibility changes. By combining the maximum detection distance, horizontal field of view, and observation orientation range of the fan-shaped sensor of the crack detection equipment, all candidate scanning points are generated within the feasible area, forming a candidate scanning point set.
3. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 1, characterized in that, The establishment of a corresponding visual coverage area for each candidate scan point specifically involves defining a single scan point as follows: ,in For planar position coordinates, For camera orientation observation; Grid is determined by the sector view area. Is it a scan point? The visible area, as defined in the formula: in, , The grid to be determined The horizontal and vertical coordinates of the plane; , Scan points The horizontal and vertical coordinates of the plane; The camera's orientation at the scan point; The horizontal field of view of the crack detection equipment; This refers to the maximum effective detection distance of the crack detection equipment; Based on the region satisfying all constraints, a ray casting method is used to detect whether the line connecting the scan point to the target grid is occupied by obstacles. Grids that are not blocked by obstacle grids constitute the scan point. The set of visible overlays.
4. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 3, characterized in that, The comprehensive coverage contribution index is specifically calculated by combining the new coverage capability, coverage overlap suppression capability, and visual direction complementarity capability of candidate scan points. The weighted calculation yields a comprehensive index that quantifies the coverage value of candidate scan points, and the formula is as follows: in, Contributing indicators to comprehensive coverage; Candidate scan points The set of visible coverage areas; This is the cumulative set of coverage areas for the selected scan points. Candidate scan points The number of newly added coverage grids; This represents the total set of feasible regions. This represents the total number of grid cells in the feasible region. Candidate scan points The number of overlapping graticules with the selected scan points. This refers to the ability to suppress overlap of candidate scan points. Candidate scan points Complementarity with the visible direction of the selected scan points; These are the weights for new coverage capability, coverage overlap suppression capability, and visual direction complementarity capability, respectively.
5. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 4, characterized in that, The greedy initialization specifically involves: setting the set of uncovered grid cells as... The set of selected scan points is ; Traverse each scan point in the candidate scan point set and calculate its comprehensive coverage contribution index. ; Select comprehensive coverage contribution indicators Largest scan point Add it to the set of selected scan points Update the set of uncovered grid cells; The current coverage is calculated based on the set of uncovered rasters. The coverage formula is as follows: ,in, Foreground coverage; A preset coverage threshold is set. If the current coverage does not reach the threshold, the iteration continues; if the current coverage reaches the preset coverage threshold, the iteration terminates and the initial set of scan points is output. .
6. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 1, characterized in that, The continuous optimization of the position parameters and observation orientation parameters of each scanning point specifically involves: adjusting the initial scanning point... gather The position coordinates of each scan point in the data and observation orientation As optimization variables ,in The number of scan points in the initial scan point set; With maximizing coverage as the optimization objective, construct the objective function. The covariance matrix adaptive evolution strategy CMA-ES is adopted to rank individuals based on the objective function value and select the best individuals. The population mean, covariance matrix, and step size are updated based on the best individuals. A new generation of population is generated by sampling from a multivariate normal distribution. Individuals that are outside the feasible region are projected into the nearest feasible region. Determine if the termination condition is met. If the maximum number of iterations is reached or the objective function value no longer increases, terminate the optimization and output the optimized scan point set; otherwise, continue iterating.
7. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 1, characterized in that, The calculation of the coverage loss after removing each scan point and the coverage compensation capability of neighboring scan points specifically involves: for the optimized set of scan points... Each scan point in Temporarily remove the scan point and calculate the coverage loss using the following formula: in, To remove the first scan points The resulting coverage loss; The union of the visible coverage areas of all scan points after optimization; To remove the first After scanning points, the union of the visible coverage areas of all remaining scanning points; The scene to be detected occupies a feasible area in the grid map; Based on scan points neighborhood scan point set ,by Using the neighborhood center as the reference point, detect all scan points within the neighborhood and calculate the coverage compensation capability of the neighboring scan points using the following formula: in, For the first The coverage compensation capability of neighboring scan points of each scan point; For the first scan points The set of neighboring scan points; The cumulative visible coverage area of the neighboring scan points and the first scan points The intersection of the visible coverage areas; This represents the total number of raster cells in the visible coverage area of the scan point.
8. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 7, characterized in that, The target scan point set is specifically defined as follows: the importance of the scan points is calculated based on coverage loss and coverage compensation capability. The formula is: in, The importance of the scan points; Selecting the level of importance Lowest scan point Remove it from the current set of scan points; Calculate the removal of scan points The coverage rate is then iterated upon if it exceeds a preset coverage threshold; otherwise, the scan points are removed. Re-add to the current scan point set, terminate the iteration, and obtain the target scan point set.
9. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 1, characterized in that, The process of generating robot crack detection scanning points involves converting the grid map coordinates of each scanning point in the target scanning point set into global coordinate system coordinates recognizable by the robot navigation system, matching the corresponding observation orientation parameters for each converted global coordinate, and obtaining robot crack detection scanning points containing position information and observation orientation information. The robot then generates a navigation path based on the scanning points to achieve crack detection.
10. The point optimization method based on greedy initialization combined with CMA-ES crack detection according to claim 9, characterized in that, The robot generates a navigation path based on the scanned points. Specifically, the robot uses the ROS2 navigation architecture to generate a collision-free path through global path planning and combines it with local path planning to achieve real-time obstacle avoidance, and navigates to each scanned point in sequence. After the robot reaches the scanning point, it adjusts its posture to orient the crack detection device toward the preset observation direction, collects image data and transmits it to the backend. The backend then uses the YOLOv8m-seg model to complete crack segmentation and geometric feature extraction, thereby realizing crack detection.
Citation Information
Patent Citations
A robot-based viewpoint planning method, apparatus, and measurement system
CN111351473B
Coverage path planning method based on multi-layer cost map
CN117073688A
Intelligent inspection optimization method
CN117592633A
