Target-based image recognition method, laser radar and system

Through target-based image recognition methods and lidar systems, the in-depth design process in decoration construction is automated, solving the time-consuming and labor-intensive problems in traditional methods, improving data accuracy and construction efficiency, and reducing the need for materials to be returned to the factory. Condition.

CN117152734BActive Publication Date: 2024-09-17UNRE (SHANGHAI) INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311089331.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-27
Publication Date
2024-09-17
Estimated Expiration
2043-08-27

AI Technical Summary

Technical Problem

The deepening design process in traditional decoration construction is time-consuming, labor-intensive, and involves a large amount of repetitive work, which leads to inaccurate data and may cause problems such as materials being returned to the factory.

Method used

The target-based image recognition method and lidar system are used to obtain three-dimensional scanning data, find the target point cloud data, obtain the marking lines marked by the target, and use the marking lines to obtain the position of the target data point in the area to be measured. Achieve automated data fusion and calculation.

Benefits of technology

It improves data accuracy, reduces manual calculation errors, saves time and material loss, and achieves forward and reverse integration of design drawings and construction site data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117152734B
    Figure CN117152734B
Patent Text Reader

Abstract

The present invention discloses a target-based image recognition method, laser radar and system, the image recognition method comprising: obtaining three-dimensional scanning data of the area to be measured, the three-dimensional scanning data including point cloud data of the target; searching for the target point cloud data in the three-dimensional scanning data; obtaining the position of the target point cloud data in the three-dimensional scanning data; using the position of the target point cloud data in the three-dimensional scanning data to obtain the point cloud data of the marking line marked by the target. The present invention takes the on-site axis as a reference, associates the design drawings with the construction site data, realizes the fusion of forward and reverse data, and improves data consistency. Thus, the repetitive work of traditional manual on-site is replaced by an automated method, data accuracy is improved, and the problems of material return processing caused by on-site manual calculation errors are reduced, saving time and material loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a target-based image recognition method, a laser radar and a system. Background Art

[0002] With the rapid development of the real estate industry in recent years, the scale of new house decoration and renovation of old houses has increased day by day, which has directly accelerated the development of the decoration industry. As a result, market competition has become increasingly fierce, and people have higher and higher requirements for decoration design and construction quality. However, due to the size difference between the conceptual design and the construction site, the concept of the conceptual design cannot be well implemented on site.

[0003] In order to make up for this problem, the traditional decoration construction method introduces the in-depth design link. That is, after the conceptual design drawings are available, the in-depth design personnel understand the design focus and intention of the drawings, and then compare the on-site dimensions with the design dimensions in the drawings based on the axis left by the civil engineering. If the deviation is small, it is directly calculated and adjusted manually on the construction site according to the established rules; if the deviation is large, it is necessary to return to the design institute to modify the drawings.

[0004] The above process requires the cooperation of at least two staff members, who use leveling instruments, tape measures and other measuring tools on site according to the design drawings, and calculate the actual position after maximizing the square while measuring and recording. When encountering matters that cannot be decided on site, a detailed designer is also required for remote support. The entire detailed design process is time-consuming, labor-intensive, and repetitive. When it is found during subsequent construction that the dimensions calculated during the detailed design cannot be installed on site, problems such as material return to the factory may even occur. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the defects of the prior art that the entire in-depth design process is time-consuming, labor-intensive, and has a large amount of repetitive work, and to provide a target-based image recognition method, laser radar and system that can replace the traditional manual on-site repetitive work in an automated way, improve data accuracy, reduce the problem of material return to the factory for processing due to calculation errors caused by on-site manual labor, and save time and material loss.

[0006] The present invention solves the above technical problems through the following technical solutions:

[0007] A target-based image recognition method, the image recognition method comprising:

[0008] Acquire three-dimensional scanning data of the area to be measured, wherein the three-dimensional scanning data includes point cloud data of the target;

[0009] Find target point cloud data in 3D scanning data;

[0010] Obtain the position of the target point cloud data in the 3D scanning data;

[0011] The point cloud data of the marking line marked by the target is obtained by using the position of the target point cloud data in the three-dimensional scanning data.

[0012] Preferably, the image recognition method comprises:

[0013] Using a target to mark a marking line on the area to be measured, the marking line includes an elevation line and / or an axis line in a house;

[0014] Scanning the area to be measured by using a laser radar to obtain the three-dimensional scanning data;

[0015] For a target data point, the position of the target data point in the area to be measured is obtained by using the positional relationship between the target data point and the point cloud data of the marking line.

[0016] Preferably, the target is a spherical target or a hemispherical target, and the center of the target is aligned with the marking line to achieve marking on the area to be tested. The image recognition method includes:

[0017] Find target point cloud data in 3D scanning data;

[0018] Use target point cloud data to obtain target spherical surface data;

[0019] Obtain the point cloud coordinates of the target sphere center according to the target spherical surface data;

[0020] Get the point cloud data of the marking line marked by the target according to the point cloud coordinates of the target sphere center

[0021] or,

[0022] The target is a circular plane target, and the center of the target is aligned with the marking line to achieve marking on the area to be tested. The image recognition method includes:

[0023] Find target point cloud data in 3D scanning data;

[0024] Use the target point cloud data to obtain the target circular plane data;

[0025] Obtain the target center point cloud coordinates according to the target circular plane data;

[0026] The point cloud data of the marking line marked by the target is obtained according to the point cloud coordinates of the target center.

[0027] Preferably, the marking line includes an elevation line and an axis line in a house, and the image recognition method includes:

[0028] Use the target to mark the intersection of the marking lines in the area to be tested.

[0029] For the target on the elevation line, obtain the point cloud coordinates of the elevation line target sphere center, and obtain the point cloud data of the elevation line according to the Z-axis coordinates of the point cloud coordinates of the elevation line target sphere center;

[0030] For the target on the axis, the point cloud coordinates of the axis target sphere center are obtained, and the point cloud data of the axis is obtained according to the horizontal and vertical coordinates of the point cloud coordinates of the axis target sphere center.

[0031] The present invention also provides a method for maximizing square finding by using the above-mentioned image recognition method, wherein the area to be detected is a room, and the method for maximizing square finding comprises:

[0032] Using the point cloud data of the marking line to obtain the largest cuboid in the point cloud data of the room;

[0033] or,

[0034] Using the point cloud data of the marking line to obtain the largest rectangle in the point cloud data of the floor of the room;

[0035] Preferably, the method of obtaining the largest cuboid in the point cloud data of the room by using the point cloud data of the marking line comprises:

[0036] For a wall of the room, obtaining the coordinates of the most salient point along a target axis direction perpendicular to the wall;

[0037] Obtain the wall plane data perpendicular to the target axis according to the coordinates of the most convex point;

[0038] A plurality of cuboid spaces are obtained according to the wall plane data of each wall, and the cuboid space with the largest volume is selected from all the cuboid spaces as the largest cuboid.

[0039] Preferably, the method of obtaining the largest cuboid in the point cloud data of the room by using the point cloud data of the marking line comprises:

[0040] Projecting the wall point cloud data of the room onto a horizontal plane;

[0041] For a wall data on the horizontal plane, the minimum distance from the target axis is obtained as the most convex point coordinate;

[0042] Obtain the wall straight line data parallel to the target axis according to the coordinates of the most convex point;

[0043] Obtain a number of rectangles based on the wall straight line data of each wall, and select the rectangle with the largest area from all the rectangles;

[0044] The largest cuboid is obtained by using the rectangle with the largest area.

[0045] Preferably, the maximization square finding method comprises:

[0046] Using the point cloud data of the marking line to obtain the largest cuboid in the point cloud data of the room;

[0047] Get the four vertex data points of the bottom surface of the largest cuboid;

[0048] For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line;

[0049] The actual position of the largest cuboid in the area to be tested is obtained by using the position of the vertex data point in the area to be tested;

[0050] or,

[0051] The maximization square finding method comprises:

[0052] The maximum rectangle in the point cloud data of the floor of the room is obtained using the point cloud data of the marking line.

[0053] Get the four vertex data points of the largest rectangle;

[0054] For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line;

[0055] The actual position of the largest rectangle in the area to be measured is obtained by using the position of the vertex data point in the area to be measured.

[0056] The present invention also provides a laser radar, which includes a processing module, and the processing module is used to implement the image recognition method as described above; and / or, the processing module is used to implement the maximum square finding method as described above.

[0057] The present invention also provides a processing terminal, which is used to implement the image recognition method as described above; and / or, the processing terminal is used to implement the maximum square finding method as described above.

[0058] The present invention also provides a laser radar system, which includes a laser radar and a processing unit, wherein the processing unit is used to implement the image recognition method as described above; and / or, the processing unit is used to implement the maximum square finding method as described above.

[0059] Based on the common sense in the art, the above-mentioned preferred conditions can be combined arbitrarily to obtain the preferred embodiments of the present invention.

[0060] The positive and progressive effects of the present invention are:

[0061] The target-based image recognition method, laser radar and system provided by the present invention use the on-site axis as a reference, associate the design drawings with the construction site data, realize the fusion of forward and reverse data, and improve data consistency. This replaces the traditional manual on-site repetitive work in an automated way, improves data accuracy, reduces the problem of materials being returned to the factory for processing due to calculation errors, and saves time and material loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 This is a schematic diagram of the structure of the model presented by the three-dimensional scanning data of Example 1 of the present invention.

[0063] Figure 2 This is another structural schematic diagram of the model presented by the three-dimensional scanning data of Example 1 of the present invention.

[0064] Figure 3 This is another structural schematic diagram of the model presented by the three-dimensional scanning data of Example 1 of the present invention.

[0065] Figure 4 Flow chart of the image recognition method according to Embodiment 1 of the present invention.

[0066] Figure 5 FIG. 4 is another flow chart of the image recognition method according to the first embodiment of the present invention.

[0067] Figure 6 Flow chart of the maximization square-finding method of embodiment 1 of the present invention. DETAILED DESCRIPTION

[0068] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.

[0069] Example 1

[0070] This embodiment provides a laser radar system, which includes a laser radar and a processing unit.

[0071] The processing unit includes an acquisition module, a search module, a calculation module and a processing module:

[0072] The acquisition module is used to acquire three-dimensional scanning data of the area to be measured, and the three-dimensional scanning data includes point cloud data of the target. In this embodiment, the three-dimensional scanning data is acquired by laser radar scanning, and the laser radar acquires the three-dimensional scanning data and transmits it to the processing unit.

[0073] The processing unit in this embodiment can be a desktop computer, a tablet computer, a notebook computer, etc. with computing capabilities, or a server with computing capabilities.

[0074] The server may include an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0075] The search module is used to search for target point cloud data in the three-dimensional scanning data;

[0076] The calculation module is used to obtain the position of the target point cloud data in the three-dimensional scanning data;

[0077] The processing module is used to obtain the point cloud data of the marking line marked by the target by using the position of the target point cloud data in the three-dimensional scanning data.

[0078] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.

[0079] In the specification and claims of the present application, the terms "comprises" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, product or apparatus comprising a series of method steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0080] Furthermore, the laser radar system is used to: use a target to mark the marking line of the area to be measured, and the marking line includes the elevation line and the axis line in the house. This operation step can be completed manually.

[0081] A laser radar is used to scan the area to be measured to obtain the three-dimensional scanning data. After the laser radar obtains the three-dimensional scanning data, it transmits it to the processing unit.

[0082] For a target data point, the processing module is further used to obtain the position of the target data point in the area to be measured by using the positional relationship between the target data point and the point cloud data of the marking line.

[0083] The three-dimensional scanning data of the axis contour is matched with the position of the area to be measured (in reality), so as to locate the actual position of a certain image point in the three-dimensional scanning data.

[0084] For example, for a target marker point in the 3D scan data, calculating the distance between the marker point and each axis can easily find the corresponding actual position in the real room according to the actual axis position.

[0085] See also Figure 1 In the three-dimensional scanning data, the distance between point b and the first axis 11 is 65 mm, and the distance between point b and the second axis 12 is 50 mm. The actual position of point b can be obtained by measuring the axis on site.

[0086] The target is a spherical target or a hemispherical target, and the center of the target is aligned with the marking line to achieve marking on the area to be tested.

[0087] The search module is used to search for target point cloud data in the three-dimensional scanning data;

[0088] The calculation module is used to obtain target spherical surface data using target point cloud data, and obtain target spherical center point cloud coordinates according to the target spherical surface data;

[0089] The processing module is used to obtain the point cloud data of the marking line marked by the target according to the point cloud coordinates of the target sphere center.

[0090] The coordinates of the center of the sphere can be quickly obtained through the preset radius data, or can be obtained by calculation after fitting the sphere.

[0091] The purpose of the target is to provide labels so that the point cloud captured by the lidar scanner can be aligned with the actual scene.

[0092] One of the core practices is to place targets on the axis and the decorative 1-meter line (elevation line) to reconstruct the entire control network on our virtual model. These targets can be in different forms, and the principle is that they can be easily placed on the construction site and recognized by the LiDAR scanner.

[0093] The following are some examples of targets, but the actual placement of targets is not limited to the following methods:

[0094] Target example 1: 1. The overall outline is circular or cylindrical; 2. The center of the target has a center origin, which is convenient for users to align the intersection of the 1-meter line and the axis of the construction site decoration.

[0095] Target Example 2: 1. A 3D spherical target that can be placed on the ground; 2. A spherical target with a base, with its center placed at the intersection of the axes.

[0096] Target Example 3: Spraying on a wall.

[0097] Specifically, the marking lines include elevation lines and axis lines in the house.

[0098] The laser radar system is used to: mark the intersection of the marking lines in the area to be measured using a target. This step can be achieved manually.

[0099] For the target on the elevation line, the processing unit is used to obtain the point cloud coordinates of the center of the elevation line target, and obtain the point cloud data of the elevation line according to the Z-axis coordinates of the point cloud coordinates of the center of the elevation line target;

[0100] For the target on the axis, the processing unit is used to obtain the point cloud coordinates of the axis target sphere center, and obtain the point cloud data of the axis according to the horizontal and vertical coordinates of the point cloud coordinates of the axis target sphere center.

[0101] See also Figure 2 , based on the target (indicated by a numbered circle) at the intersection of the axis 21 and the 1-meter line 22 in the room, the positions of the axis and the decorative 1-meter line are identified.

[0102] At least 2 or more targets are placed at the above mentioned positions. The axis and the 1-meter decorative line can be identified from the point cloud by plane fitting. And these positions are very easy to locate at the construction site.

[0103] A spatial coordinate system is established on site for the collected data, the center positions of targets 1, 2, and 3 are identified and their coordinates are calculated.

[0104] 1-meter line: determined by the z-axis coordinates of targets 1, 2, and 3.

[0105] Axis 1 (reference numeral 23 ) is a line parallel to the x-axis (the y-axis coordinate is the y-axis coordinate of target No. 3).

[0106] Axis 2 (reference numeral 24 ): a line parallel to the y-axis (the x-axis coordinate is the x-axis coordinate of target No. 1 or 2).

[0107] By utilizing the attitude acquisition sensor of the laser radar, acquiring one axis can simultaneously acquire a vertical plane passing through the axis, thereby acquiring other axes.

[0108] This embodiment can realize forward and reverse fusion of data, which involves two main steps: forward: by placing targets on the axis and the 1-meter line of the decoration, the positioning information can be reflected in the point cloud;

[0109] Reverse: Automatically calculate more useful data based on the point cloud to assist on-site construction. This process allows any user / worker to map this digital data to the actual construction site.

[0110] Furthermore, the area to be tested is a room, and the processing module is further used for:

[0111] The largest cuboid in the point cloud data of the room is obtained using the point cloud data of the marking line.

[0112] The face of the largest cuboid is perpendicular or parallel to the marking line.

[0113] That is to say, one face of the largest cuboid is perpendicular or parallel to the marking line.

[0114] Furthermore, the processing module is also used for:

[0115] For a wall of the room, obtaining the coordinates of the most salient point along a target axis direction perpendicular to the wall;

[0116] Obtain the wall plane data perpendicular to the target axis according to the coordinates of the most convex point;

[0117] A plurality of cuboid spaces are obtained according to the wall plane data of each wall, and the cuboid space with the largest volume is selected from all the cuboid spaces as the largest cuboid.

[0118] In other embodiments, the processing module is further configured to:

[0119] Projecting the wall point cloud data of the room onto a horizontal plane;

[0120] For a wall data on the horizontal plane, the minimum distance from the target axis is obtained as the most convex point coordinate;

[0121] Obtain the wall straight line data parallel to the target axis according to the coordinates of the most convex point;

[0122] Obtain a number of rectangles based on the wall straight line data of each wall, and select the rectangle with the largest area from all the rectangles;

[0123] The largest cuboid is obtained by using the rectangle with the largest area.

[0124] The processing module is also used for:

[0125] Using the point cloud data of the marking line to obtain the largest cuboid in the point cloud data of the room;

[0126] Get the four vertex data points of the bottom surface of the largest cuboid;

[0127] For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line;

[0128] The actual position of the largest cuboid in the area to be tested is obtained by using the position of the vertex data point in the area to be tested;

[0129] See also Figure 3After the axis is identified in the point cloud model, many application scenarios can be derived. Among them, the most widely used is maximum square finding. Its purpose is to construct a room outline that is aligned with the axis and has the largest area.

[0130] The principle of maximizing the square based on the axis: along the axis, the closed space is formed based on the most convex point of the wall. As shown in the figure below,

[0131] The first line 31 is the actual line of the wall; the second line 32 is the line after the maximum square is found; and the third line is the axis.

[0132] See also Figure 4 Using the above laser radar system, this embodiment also provides a target-based image recognition method, including:

[0133] Step 100: Acquire three-dimensional scanning data of the area to be measured, wherein the three-dimensional scanning data includes point cloud data of the target;

[0134] Step 101, searching for target point cloud data in the three-dimensional scanning data;

[0135] Step 102, obtaining the position of the target point cloud data in the three-dimensional scanning data;

[0136] Step 103: using the position of the target point cloud data in the three-dimensional scanning data, obtain the point cloud data of the marking line marked by the target.

[0137] Wherein, before step 100, the steps include:

[0138] Using a target to mark a marking line on the area to be measured, the marking line includes an elevation line and / or an axis line in a house;

[0139] Scanning the area to be measured by using a laser radar to obtain the three-dimensional scanning data;

[0140] Step 103 and subsequent steps include:

[0141] For a target data point, the position of the target data point in the area to be measured is obtained by using the positional relationship between the target data point and the point cloud data of the marking line.

[0142] Furthermore, the target is a spherical target or a hemispherical target, and the center of the target is aligned with the marking line to achieve marking on the area to be tested. Step 102 specifically includes:

[0143] Use target point cloud data to obtain target spherical surface data;

[0144] Obtain the point cloud coordinates of the target sphere center according to the target spherical surface data;

[0145] Step 103 specifically involves acquiring the point cloud data of the marking line marked by the target according to the point cloud coordinates of the target sphere center.

[0146] Furthermore, the marking line includes an elevation line (one-meter line) and an axis line in the house. Step 100 includes:

[0147] Use the target to mark the intersection of the marking lines in the area to be tested.

[0148] See also Figure 5 , step 103 specifically includes:

[0149] Step 1031, for the target on the elevation line, obtain the point cloud coordinates of the elevation line target sphere center, and obtain the point cloud data of the elevation line according to the Z-axis coordinates of the elevation line target sphere center point cloud coordinates;

[0150] Step 1032: For the target on the axis, obtain the point cloud coordinates of the axis target sphere center, and obtain the point cloud data of the axis according to the horizontal and vertical coordinates of the point cloud coordinates of the axis target sphere center.

[0151] See also Figure 6 , using the above-mentioned image recognition method, this embodiment also provides a maximum square finding method, and the maximum square finding method includes:

[0152] Step 200: Acquire three-dimensional scanning data of the area to be tested, wherein the three-dimensional scanning data includes point cloud data of the target;

[0153] Step 201, searching for target point cloud data in the three-dimensional scanning data;

[0154] Step 202, obtaining the position of the target point cloud data in the three-dimensional scanning data;

[0155] Step 203: using the position of the target point cloud data in the three-dimensional scanning data, obtain the point cloud data of the marking line marked by the target.

[0156] Step 204 : using the point cloud data of the marking line to obtain the largest cuboid in the point cloud data of the room, wherein a face of the largest cuboid is perpendicular or parallel to the marking line.

[0157] Step 204 specifically includes:

[0158] For a wall of the room, obtaining the coordinates of the most convex point along a target axis direction perpendicular to the wall;

[0159] Obtain the wall plane data perpendicular to the target axis according to the coordinates of the most convex point;

[0160] A plurality of cuboid spaces are obtained according to the wall plane data of each wall, and the cuboid space with the largest volume is selected from all the cuboid spaces as the largest cuboid.

[0161] In other embodiments, step 204 includes:

[0162] Projecting the wall point cloud data of the room onto a horizontal plane;

[0163] For a wall data on the horizontal plane, the minimum distance from the target axis is obtained as the most convex point coordinate;

[0164] Obtain the wall straight line data parallel to the target axis according to the coordinates of the most convex point;

[0165] Obtain a number of rectangles based on the wall straight line data of each wall, and select the rectangle with the largest area from all the rectangles;

[0166] The largest cuboid is obtained by using the rectangle with the largest area.

[0167] The maximization square finding method comprises:

[0168] Using the point cloud data of the marking line to obtain the largest cuboid in the point cloud data of the room;

[0169] Get the four vertex data points of the bottom surface of the largest cuboid;

[0170] For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line;

[0171] The actual position of the largest cuboid in the area to be measured is obtained by using the position of the vertex data point in the area to be measured.

[0172] This embodiment uses the on-site axis as a reference to associate design drawings with construction site data, achieve the fusion of forward and reverse data, and improve data consistency. This replaces the traditional manual on-site repetitive work in an automated manner, improves data accuracy, reduces the problem of materials being sent back to the factory for processing due to calculation errors, and saves time and material loss.

[0173] Example 2

[0174] This embodiment is basically the same as Embodiment 1, except that:

[0175] This embodiment provides a laser radar, which includes a processing module, and the processing module is used to implement the function of the processing unit in Example 1.

[0176] The laser radar is used to implement the image recognition method and the maximization square finding method.

[0177] This embodiment uses the on-site axis as a reference to associate design drawings with construction site data, achieve the fusion of forward and reverse data, and improve data consistency. This replaces the traditional manual on-site repetitive work in an automated manner, improves data accuracy, reduces the problem of materials being sent back to the factory for processing due to calculation errors, and saves time and material loss.

[0178] Example 3

[0179] This embodiment is basically the same as Embodiment 1, except that:

[0180] This embodiment provides a processing terminal, which is used to implement the function of the processing unit in Embodiment 1.

[0181] The processing terminal is used to implement the image recognition method and the maximization square finding method.

[0182] Example 4

[0183] This embodiment is basically the same as Embodiment 1, except that:

[0184] The target is a circular plane target, and the center of the target is aligned with the marking line to achieve marking on the area to be tested. The processing module is also used for:

[0185] Find target point cloud data in 3D scanning data;

[0186] Use the target point cloud data to obtain the target circular plane data;

[0187] Obtain the target center point cloud coordinates according to the target circular plane data;

[0188] The point cloud data of the marking line marked by the target is obtained according to the point cloud coordinates of the target center.

[0189] Correspondingly, the image recognition method includes:

[0190] Find target point cloud data in 3D scanning data;

[0191] Use the target point cloud data to obtain the target circular plane data;

[0192] Obtain the target center point cloud coordinates according to the target circular plane data;

[0193] The point cloud data of the marking line marked by the target is obtained according to the point cloud coordinates of the target center.

[0194] The processing module is also used for:

[0195] Using the point cloud data of the marking line to obtain the largest rectangle in the point cloud data of the floor of the room;

[0196] Get the four vertex data points of the largest rectangle;

[0197] For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line;

[0198] The actual position of the largest rectangle in the area to be measured is obtained by using the position of the vertex data point in the area to be measured.

[0199] Correspondingly, the maximization square finding method includes:

[0200] Using the point cloud data of the marking line to obtain the largest rectangle in the point cloud data of the floor of the room;

[0201] Get the four vertex data points of the largest rectangle;

[0202] For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line;

[0203] The actual position of the largest rectangle in the area to be measured is obtained by using the position of the vertex data point in the area to be measured.

[0204] This embodiment uses the on-site axis as a reference to associate design drawings with construction site data, achieve the fusion of forward and reverse data, and improve data consistency. This replaces the traditional manual on-site repetitive work in an automated manner, improves data accuracy, reduces the problem of materials being sent back to the factory for processing due to calculation errors, and saves time and material loss.

[0205] Although the specific embodiments of the present invention are described above, those skilled in the art should understand that these are only examples, and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. A target-based image recognition method, characterized in that: The image recognition method comprises: Acquire three-dimensional scanning data of the area to be measured, wherein the three-dimensional scanning data includes point cloud data of the target; Find target point cloud data in 3D scanning data; Obtain the position of the target point cloud data in the 3D scanning data; The point cloud data of the marking line marked by the target is obtained by using the position of the target point cloud data in the three-dimensional scanning data; The image recognition method comprises: Using a target to mark a marking line on the area to be measured, the marking line includes an elevation line and / or an axis line in a house; Scanning the area to be measured by using a laser radar to obtain the three-dimensional scanning data; For a target data point, the position of the target data point in the area to be measured is obtained by using the positional relationship between the target data point and the point cloud data of the marking line; Wherein, the target is a spherical target or a hemispherical target, and the center of the target is aligned with the marking line to realize marking on the area to be tested. The image recognition method includes: Find target point cloud data in 3D scanning data; Use target point cloud data to obtain target spherical surface data; Obtain the point cloud coordinates of the target sphere center according to the target spherical surface data; Obtain the point cloud data of the marking line marked by the target according to the point cloud coordinates of the target sphere center; Wherein, the marking line includes an elevation line and an axis line in a house, and the image recognition method includes: Use the target to mark the intersection of the marking lines in the area to be tested; For the target on the elevation line, obtain the point cloud coordinates of the elevation line target sphere center, and obtain the point cloud data of the elevation line according to the Z-axis coordinates of the point cloud coordinates of the elevation line target sphere center; For the target on the axis, the point cloud coordinates of the axis target sphere center are obtained, and the point cloud data of the axis is obtained according to the horizontal and vertical coordinates of the point cloud coordinates of the axis target sphere center.

2. A method for maximizing square finding using the image recognition method according to claim 1, characterized in that: The area to be tested is a room, and the method for maximizing square finding includes: Using the point cloud data of the marking line to obtain the largest cuboid in the point cloud data of the room; or, The maximum rectangle in the point cloud data of the floor of the room is obtained using the point cloud data of the marking line.

3. The maximum square-finding method according to claim 2, characterized in that: The method of obtaining the largest cuboid in the point cloud data of the room by using the point cloud data of the marking line comprises: For a wall of the room, obtaining the coordinates of the most convex point along a target axis direction perpendicular to the wall; Obtain the wall plane data perpendicular to the target axis according to the coordinates of the most convex point; A plurality of cuboid spaces are obtained according to the wall plane data of each wall, and the cuboid space with the largest volume is selected from all the cuboid spaces as the largest cuboid.

4. The maximum square-finding method according to claim 2, characterized in that: The method of obtaining the largest cuboid in the point cloud data of the room by using the point cloud data of the marking line comprises: Projecting the wall point cloud data of the room onto a horizontal plane; For a wall data on the horizontal plane, the minimum distance from the target axis is obtained as the most convex point coordinate; Obtain the wall straight line data parallel to the target axis according to the coordinates of the most convex point; Obtain a number of rectangles based on the wall straight line data of each wall, and select the rectangle with the largest area from all the rectangles; The largest cuboid is obtained by using the rectangle with the largest area.

5. The maximum square-finding method according to claim 2, characterized in that: The maximization square finding method comprises: Using the point cloud data of the marking line to obtain the largest cuboid in the point cloud data of the room; Get the four vertex data points of the bottom surface of the largest cuboid; For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line; The actual position of the largest cuboid in the area to be tested is obtained by using the position of the vertex data point in the area to be tested; or, The maximization square finding method comprises: Using the point cloud data of the marking line to obtain the largest rectangle in the point cloud data of the floor of the room; Get the four vertex data points of the largest rectangle; For a vertex data point, the position of the vertex data point in the area to be measured is obtained by using the positional relationship between the vertex data point and the point cloud data of the marking line; The actual position of the largest rectangle in the area to be measured is obtained by using the position of the vertex data point in the area to be measured.

6. A laser radar, characterized in that: The laser radar includes a processing module, which is used to implement the image recognition method as described in claim 1; and / or, the processing module is used to implement the maximization square finding method as described in any one of claims 2 to 5.

7. A processing terminal, characterized in that: The processing terminal is used to implement the image recognition method as described in claim 1; and / or, the processing terminal is used to implement the maximization square finding method as described in any one of claims 2 to 5.

8. A laser radar system, characterized in that: The laser radar system includes a laser radar and a processing unit, and the processing unit is used to implement the image recognition method as described in claim 1; and / or, the processing unit is used to implement the maximization square finding method as described in any one of claims 2 to 5.