Scanning path adjustment method, device, automated scanning system and computer equipment

By presetting coding mark points and real-time path adjustment in the automated 3D scanning system, the problem of the scanning system being unable to avoid obstacles in dynamic scenarios is solved, precise adjustment of the scanning path and obstacle avoidance are achieved, and the dynamic adaptability of the system is improved.

CN114739405BActive Publication Date: 2024-10-18SCANTECH (HANGZHOU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210189018.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-10-18
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

The existing automated 3D scanning system cannot automatically respond when faced with dynamic scene changes, resulting in collisions between the robotic arm or 3D scanner and the scanning scene, and lacks effective and precise obstacle avoidance solutions.

Method used

By presetting coding mark points in the scanning area, the coding mark point data and the current scanning path in the scanning area are obtained in real time to determine whether obstacle avoidance is needed, and the scanning path is adjusted according to the preset path adjustment strategy to achieve real-time and accurate obstacle avoidance.

Benefits of technology

It effectively avoids the collision between the robot arm or the 3D scanner and obstacles, and improves the dynamic adaptability and accuracy of the automated scanning system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114739405B_ABST
    Figure CN114739405B_ABST
Patent Text Reader

Abstract

The present application relates to a scanning path adjustment method, device, automated scanning system and computer equipment, which determine whether the automated scanning system needs to avoid obstacles based on coded marker point data in the scanning area acquired in real time and the currently planned scanning path during the process of the automated scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path; wherein the coded marker point data is data obtained by scanning the coded marker points on preset obstacles; and when it is determined that obstacle avoidance is required, the next scanning path of the automated scanning system is adjusted according to the preset path adjustment strategy, thereby achieving real-time and accurate obstacle avoidance during the scanning process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of three-dimensional scanning technology, and in particular to a scanning path adjustment method, device, automated scanning system and computer equipment. Background Art

[0002] 3D scanning technology is a high-tech technology that integrates optical, mechanical, electrical and computer technologies. It is mainly used to scan the spatial shape, structure and color of an object to obtain the spatial coordinates of the object's surface. 3D scanning technology can be used to reconstruct the scanned object in three dimensions, thereby creating a 3D model of the actual object. The reconstructed 3D model can be widely used in industrial design, reverse engineering, medical materials, bioinformatics, digital cultural relics collection, game creation and other fields. With the development of robotics technology, the use of robotic arms to clamp 3D scanners automatically has become the key to improving the modeling speed and accuracy of 3D scanning technology. At the same time, during the scanning process of the robotic arm, preventing the robotic arm from colliding with the object being measured and the surrounding environment is an urgent problem to be solved in the automated scanning process.

[0003] For example, in the defect detection of workpieces in the industrial field, a three-dimensional scanner carried by a robotic arm is usually used to perform three-dimensional scanning of the workpiece, and defect detection is performed based on the three-dimensional model reconstructed by the scan. There are two main types of automated three-dimensional scanning and detection systems for defect detection in the related art: one is a solution using a robotic arm plus a photographic three-dimensional scanner. This solution requires that the surface of the workpiece or fixture is affixed with marking points for scanning and splicing positioning, and the position of the workpiece placement each time needs to be fixed, so as to plan the scanning path of the workpiece in advance. The other is a solution using a robotic arm plus a tracking three-dimensional scanner. The principle of this solution is basically the same as the first solution. The main difference is that a tracking three-dimensional scanner is used instead of a photographic three-dimensional scanner. The above-mentioned automated three-dimensional scanning system is mainly aimed at three-dimensional scanning in fixed scenes. The scanning path is usually planned in advance. Once the actual scanning scene changes, the system cannot respond automatically, which will cause the robotic arm or the three-dimensional scanner carried to collide with the scanning scene. For example, during the scanning process of the workpiece, the scanning path is usually set in advance according to the design model parameters of the workpiece. During actual scanning, the structure of the workpiece may be different from the model. At this time, it is necessary to temporarily place a pressure block on the workpiece to facilitate scanning. After the pressure block is introduced, if the scanner continues to scan according to the initial scanning path, collision is very likely to occur.

[0004] With regard to the problem in related technologies that accurate obstacle avoidance cannot be achieved during automated scanning, no effective solution has been proposed so far. Summary of the invention

[0005] Based on this, it is necessary to provide a scanning path adjustment method, device, automated scanning system and computer equipment to address the above technical problems, so as to enable the automated scanning system to achieve precise obstacle avoidance during the automated scanning process.

[0006] In a first aspect, an embodiment of the present application provides a scanning path adjustment method for an automated scanning system, the method comprising:

[0007] In the process of the automatic scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path, based on the coded mark point data in the scanning area acquired in real time and the currently planned scanning path, determining whether the automatic scanning system needs to avoid obstacles; wherein the coded mark point data is data obtained by scanning the coded mark points on the preset obstacles;

[0008] When it is determined that obstacle avoidance is required, the next scanning path of the automatic scanning system is adjusted according to a preset path adjustment strategy.

[0009] As an implementable method, in the process of the automatic scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path, determining whether the automatic scanning system needs to avoid obstacles based on the coded marker point data in the scanning area acquired in real time and the currently planned scanning path includes the following steps:

[0010] In the process of the automatic scanning system performing three-dimensional scanning on the scanning area according to the currently planned scanning path, real-time acquisition of the marking point data in the scanning area;

[0011] Detecting whether the coded marking point data exists in the marking point data; if so, determining that the obstacle exists in the current scanning area;

[0012] When it is detected that the obstacle exists in the current scanning area, it is determined whether the automated scanning system needs to avoid the obstacle based on the acquired coded marking point data of the coded marking points on the obstacle and the currently planned scanning path.

[0013] As an implementation method, when it is detected that the obstacle exists in the current scanning area, determining whether the automated scanning system needs to avoid the obstacle based on the acquired coded mark point data of the coded mark point on the obstacle and the currently planned scanning path includes the following steps:

[0014] Determine the identity information of the obstacle currently existing in the scanning area and the three-dimensional coordinates and normal direction of the coded marking point on the obstacle according to the acquired coded marking point data of the coded marking point on the obstacle;

[0015] Determine whether the automated scanning system needs to avoid obstacles based on the identity information of the obstacles currently existing in the scanning area, the preset relative position relationship between the obstacles and the coded marking points set on them, the three-dimensional coordinates and normal of the coded marking points on the obstacles, and the currently planned scanning path.

[0016] As an implementable method, the acquired coded marking point data of the coded marking point on the obstacle is three-dimensionally reconstructed to obtain the three-dimensional coordinates and normal of the coded marking point on the obstacle.

[0017] As an implementable embodiment, determining whether the automated scanning system needs to avoid obstacles is performed based on the identity information of the obstacles currently existing in the scanning area, the preset relative positional relationship between the obstacles and the coded marking points set thereon, the three-dimensional coordinates and the normal direction of the coded marking points on the obstacles, and the currently planned scanning path, including the following steps:

[0018] Based on the identity information of the obstacle, a preset geometric model is matched for the obstacle; the size of the geometric model corresponds to the size of the obstacle;

[0019] Determine the coordinates of the area where the obstacle is located according to the geometric model corresponding to the obstacle, the three-dimensional coordinates and the normal direction of the coded marking points on the obstacle, and the relative positional relationship between the obstacle and the coded marking points set on the obstacle;

[0020] According to the coordinates of the area where the obstacle is located, determining whether the area where the obstacle is located intersects with the currently planned scanning path in the same coordinate system;

[0021] If there is an intersection, it is determined that the automated scanning system needs to avoid obstacles.

[0022] As an implementable method, when it is determined that obstacle avoidance is required, adjusting the next scanning path of the automatic scanning system according to a preset path adjustment strategy includes the following steps:

[0023] In the case where it is determined that obstacle avoidance is required, determining whether the scanning head or the tracking head of the automated scanning system will collide with the nearest obstacle within a preset system response time range when running along the currently planned scanning path;

[0024] If there is a collision, the next scanning path of the automatic scanning system is adjusted; if there is no collision, the system runs according to the currently planned scanning path.

[0025] As an implementable method, before determining whether the automatic scanning system needs to avoid obstacles, the following steps are also included:

[0026] During the process of the automated scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path, the coded marking point data in the scanning area is acquired in real time from a scanning device independent of the automated scanning system.

[0027] As an implementable embodiment, the coded marking point is a digital coded marking point, a graphic coded marking point, or a digital and graphic combination coded marking point.

[0028] In a second aspect, an embodiment of the present application further provides a scanning path adjustment device for an automated scanning system, the device comprising an obstacle detection module and a path adjustment module;

[0029] The obstacle detection module is used to determine whether the automated scanning system needs to avoid obstacles based on the coded mark point data in the scanning area acquired in real time and the currently planned scanning path during the process of the automated scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path; wherein the coded mark point data is data obtained by scanning the coded mark points on the preset obstacles;

[0030] The path adjustment module is used to adjust the next scanning path of the automatic scanning system according to a preset path adjustment strategy when the obstacle detection module determines that obstacle avoidance is required.

[0031] In a third aspect, an embodiment of the present application further provides an automated scanning system, the system comprising a first scanning device, a second scanning device, and the above-mentioned scanning path adjustment device;

[0032] The scanning path adjustment device is communicatively connected with the first scanning device and the second scanning device respectively;

[0033] The first scanning device is used to perform three-dimensional scanning of the scanning area according to the currently planned scanning path;

[0034] The second scanning device is used to collect the coded marking point data in the scanning area;

[0035] The relative position relationship between the first scanning device and the second scanning device is determined.

[0036] As an implementable embodiment, the first scanning device is a tracking scanner;

[0037] The relative position relationship between the second scanning device and the tracking head and / or the scanning head in the tracking scanner is determined.

[0038] In a fourth aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the above-mentioned scan path adjustment method is implemented when the processor executes the computer program.

[0039] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned scanning path adjustment method is implemented.

[0040] The above-mentioned scanning path adjustment method, device, automated scanning system and computer equipment, by presetting coded marking points on obstacles, determine whether the automated scanning system needs to avoid obstacles based on the coded marking point data in the scanning area acquired in real time and the currently planned scanning path during the scanning process; further, when it is determined that obstacle avoidance is required, the next scanning path of the automated scanning system is adjusted according to the preset path adjustment strategy to achieve real-time and accurate obstacle avoidance. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0042] Figure 1 is an application scenario diagram of the scanning path adjustment method in an embodiment of the present application;

[0043] Figure 2 is a hardware structure block diagram of a scan path adjustment terminal according to an embodiment of the present application;

[0044] Figure 3 is a flow chart of a scanning path adjustment method according to an embodiment of the present application;

[0045] Figure 4 is a structural schematic diagram of a scanning path adjustment device according to an embodiment of the present application;

[0046] Figure 5 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0048] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.

[0049] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0050] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0051] In the field of three-dimensional scanning, in order to realize the automatic three-dimensional size detection of workpieces in a dynamic environment, the scanning can be completed with the help of three-dimensional scanners, robotic arms, automated scanning software and other components. In view of the possible changes in the actual scanning scene, the system cannot respond automatically, thereby causing the robotic arm or the carried three-dimensional scanner to collide with the objects in the scanning scene. The present application provides a scanning path adjustment method, device, automated scanning system and computer equipment. First, a scanning path is planned for a static scanning object (such as a workpiece), and coded marking points are preset on obstacles that may appear in the scanning area; during the scanning process, based on the real-time acquired coded marking point data in the scanning area and the currently planned scanning path, it is determined whether the automated scanning system needs to avoid obstacles; further, when it is determined that obstacle avoidance is required, the next scanning path of the automated scanning system is adjusted according to the preset path adjustment strategy to achieve real-time and accurate obstacle avoidance.

[0052] Figure 1 is an application scenario diagram of a scanning path adjustment method provided by an embodiment of the present application. The scanning path adjustment method provided by this embodiment can be applied in Figure 1 In the application scenario shown in Figure 1 As shown, the scanner 102 and the tracker 104 form a tracking scanning system. The scanner 102 is set at the end position of the robot 106, and the robot 106 can be an industrial robot or a collaborative robot, such as a six-axis robot arm. The scanner 102 is used to perform a three-dimensional scan of the scanning area according to the currently planned scanning path. The relative posture relationship between the camera 108 and the scanner 102 is determined, and the camera 108 is used to collect the coded mark point 01 in the scanning area. The relative posture relationship between the camera 108 and the tracker 104 can also be determined. The scanning path adjustment device 110 is connected to the scanner 102 and the camera 108 for communication. During the scanning process, the scanning path adjustment device 110 obtains the data of the coded mark point 01 in the scanning area photographed by the camera 108 in real time, as well as the currently planned scanning path of the scanner 102, to determine whether the tracking scanning system needs to avoid obstacles; further, when it is determined that obstacle avoidance is required, the next scanning path of the tracking scanning system is adjusted according to the preset path adjustment strategy to achieve real-time and accurate obstacle avoidance.

[0053] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing control device. Taking running on a terminal as an example, Figure 2 is a hardware structure block diagram of a scanning path adjustment terminal according to an embodiment of the present application. Figure 2 As shown, the terminal 20 may include one or more ( Figure 2The terminal includes a processor 202 (only one is shown) (the processor 202 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 204 for storing data. Optionally, the terminal may also include a transmission device 206 for communication functions and an input / output device 208. The input / output device may be a scanner, a camera, a robot, etc., and the above three may transmit relevant information to the processor 202 via wired or wireless means. It will be understood by those skilled in the art that Figure 2 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 2 More or fewer components as shown, or with Figure 2 Different configurations shown.

[0054] The memory 204 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the scanning path adjustment method in the embodiment of the present invention. The processor 202 executes various functional applications and data processing by running the computer program stored in the memory 204, that is, to implement the above method. The memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include a memory remotely arranged relative to the processor 202, and these remote memories may be connected to the terminal 20 via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0055] The transmission device 206 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by the communication provider of the terminal 20. In one embodiment, the transmission device 206 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 206 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0056] In one embodiment, Figure 3 is a flow chart of a scanning path adjustment method provided by an embodiment of the present application, wherein the method is applied to Figure 1 The application scenario in is used as an example to illustrate. Figure 3 As shown, the following steps are included:

[0057] S301. During the process of the automated scanning system performing a three-dimensional scan of the scanning area according to the currently planned scanning path, it is determined whether the automated scanning system needs to avoid obstacles based on the coded marker point data in the scanning area acquired in real time and the currently planned scanning path; wherein the coded marker point data is data obtained by scanning the coded marker points on the preset obstacles.

[0058] In this embodiment, before the automatic scanning system starts scanning, it needs to obtain the scanning path planned in advance as the initial scanning path, and start scanning according to the initial scanning path. On this basis, it is considered that obstacles may be introduced during the scanning process, such as a pressure block, or a local protrusion caused by temporary deformation of the scanned object, etc., forming an obstacle. In this embodiment, coded marking points are set on the obstacle in advance to mark the information of the obstacle, such as shape information and volume information. In this way, during the scanning process, the coded marking point data in the scanning area obtained in real time can be used to determine the information of the obstacle corresponding to the coded marking point and its position information; further, combined with the scanning path currently planned by the automatic scanning system, it can be determined whether there are obstacles on the currently planned scanning path, that is, whether the automatic scanning system needs to avoid obstacles. If there are obstacles on the currently planned scanning path, the automatic scanning system needs to avoid obstacles; conversely, if there are no obstacles on the currently planned scanning path, the automatic scanning system does not need to avoid obstacles.

[0059] Specifically, a dedicated scanner can be used to scan synchronously with the automated scanning system to obtain the coded mark point data in the scanning area in real time. The dedicated scanner can be a camera or other types of image sensors, and its field of view requirements include the scanning field of view of the automated scanning system, and the positional relationship with the scanner or tracker (for tracking scanning systems) in the automated scanning system. The dedicated scanner can be fixedly connected to the scanner or tracker (for tracking scanning systems) in the automated scanning system, or it can be not fixedly connected, as long as the relative positional relationship is determined. In this way, the coordinate system of the dedicated scanner and the automated scanning system can be unified, and the coded mark point data representing the obstacle obtained by the dedicated scanner can be converted to the coordinate system of the automated scanning system to obtain the obstacle information in the coordinate system of the automated scanning system.

[0060] S302: When it is determined that obstacle avoidance is required, the next scanning path of the automatic scanning system is adjusted according to a preset path adjustment strategy.

[0061] As mentioned above, the field of view of the dedicated scanner that collects the coded mark point data in the scanning area includes the scanning field of view of the automated scanning system, that is, the scanning field of view of the dedicated scanner is greater than or equal to the scanning field of view of the automated scanning system. During synchronous scanning, when it is determined that there is an obstacle on the currently planned scanning path, the next scanning path of the automated scanning system can be adjusted directly according to the information of the obstacle. It is also possible to further determine whether the scanning head or tracking head of the automated scanning system will collide with the nearest obstacle within the system response time range according to the currently planned scanning path. If it will not collide, it can temporarily run according to the original scanning path until it is closer to the obstacle, and then adjust the next path; if it will collide within the system response time range, the next scanning path will be adjusted immediately. Furthermore, if the obstacle is moving, the next scanning path of the automated scanning system can be adjusted in combination with the movement trajectory and speed of the obstacle and the currently planned scanning path.

[0062] In addition, in the field of three-dimensional scanning, marker points are usually pasted on the surface or around the object to obtain the three-dimensional data of the scanned object. This type of marker point is an ordinary marker point, and the ordinary marker point itself does not carry information. The coded marker point in this embodiment is different from the above-mentioned ordinary marker point. The coded marker point in this embodiment, based on the role of the ordinary marker point, is also used to mark the information of the obstacle, and the information of the obstacle includes at least the shape information and volume information of the obstacle. If the obstacle is moving, the coded marker point can also mark the movement trajectory and speed information of the obstacle. By pre-setting (such as pasting) coded marker points on the obstacle, marking the obstacle, on the one hand, it can be distinguished from the ordinary marker points originally pasted in the scanning area, and on the other hand, compared with two-dimensional image recognition, the information of the obstacle can be determined more quickly and accurately. The above-mentioned coded marker point can be a digital coded marker point, a graphic coded marker point, or a digital graphic combination coded marker point pasted on the obstacle. Specifically, the coded marker point is an Arabic numeral pasted on a known position of the obstacle, such as 1, 2, 3, 4, 5, 6, etc. Different numbers represent different geometric bodies, and the shape information and volume information of the geometric body are bound to the number. Similarly, coded markers can also be graphics pasted on known locations of obstacles, for example, coded marker patterns in photogrammetry, where a circle or cross mark in the center provides coordinates that can be precisely located, and annular bands, line segments or circles around it provide codes that can be decoded according to specific rules. Different patterns represent different geometric bodies, and the shape and volume information of the geometric bodies are bound to the patterns.

[0063] The scanning path adjustment method provided in this embodiment plans a scanning path for a static scanning area in advance before scanning, and sets special coded marking points for obstacles that may appear during the scanning process. During scanning, the coded marking points can be captured in real time by the camera, and based on the coded marking point data in the scanning area acquired in real time and the currently planned scanning path, it is determined whether the automated scanning system needs to avoid obstacles; if it is determined that obstacle avoidance is required, the next scanning path of the automated scanning system is adjusted according to the preset path adjustment strategy, thereby achieving real-time and accurate obstacle avoidance.

[0064] It should be noted that in this embodiment, a marking point (i.e., the above-mentioned ordinary marking point) may be attached to the scanning area (or scanning object), and the scanner in the automated scanning system acquires the marking point data in the scanning area to achieve 3D modeling. The scanning area (or scanning object) may also not have marking points attached to it, and a tracking scanning system may be used to acquire point cloud data in the scanning area to achieve 3D modeling.

[0065] For application scenarios where marker points are attached to the scanning area, in one embodiment, in the above step S301, during the process of the automated scanning system performing a three-dimensional scanning of the scanning area according to the currently planned scanning path, determining whether the automated scanning system needs to avoid obstacles based on the coded marker point data in the scanning area acquired in real time and the currently planned scanning path can be achieved by the following steps:

[0066] S401. When the automatic scanning system performs three-dimensional scanning on the scanning area according to the currently planned scanning path, the marking point data in the scanning area is acquired in real time.

[0067] S402, detecting whether there is coded marking point data in the marking point data; if so, determining whether there is an obstacle in the current scanning area.

[0068] S403: When an obstacle is detected in the current scanning area, determine whether the automated scanning system needs to avoid the obstacle based on the acquired coded marker point data of the coded marker points on the obstacle and the currently planned scanning path.

[0069] In the application scenario where there are marker points in the scanning area, since the camera shoots the marker points indiscriminately, it is necessary to filter the acquired marker point data to detect whether there is coded marker point data in the marker point data. If so, it is determined that there is an obstacle in the current scanning area. Furthermore, when it is detected that there is an obstacle in the current scanning area, based on the acquired coded marker point data and the currently planned scanning path, it is further determined whether there is an obstacle on the currently planned scanning path. If there is an obstacle, the automated scanning system needs to avoid the obstacle; conversely, if there is no obstacle on the currently planned scanning path, the automated scanning system does not need to avoid the obstacle.

[0070] For application scenarios where there are no marker points pasted in the scanning area, the marker point data captured by the camera can only be coded marker point data, so there is no need to filter the acquired marker point data. As long as the coded marker point data is acquired, it can be determined that there are obstacles in the current scanning area, and step S403 can be executed.

[0071] In one embodiment, in the above step S403, when an obstacle is detected in the current scanning area, determining whether the automated scanning system needs to avoid the obstacle based on the acquired coded mark point data of the coded mark point on the obstacle and the currently planned scanning path can be achieved by the following steps:

[0072] S501: Determine the identity information of the obstacles existing in the current scanning area and the three-dimensional coordinates and normal direction of the coded marking points on the obstacles according to the acquired coded marking point data of the coded marking points on the obstacles.

[0073] The identity information of the obstacle is bound to the coded marker points set on it, so the identity information of the obstacle can be determined based on the acquired coded marker point data. Furthermore, by performing three-dimensional reconstruction on the acquired coded marker point data of the obstacle, the three-dimensional coordinates and normal of the coded marker point on the obstacle can be obtained. The purpose of this step is to convert the acquired coded marker point data into a known geometric body. The geometric body can be customized by the user, and the shape and size of the geometric body represented by each coded marker point can be set in advance.

[0074] S502: Determine whether the automated scanning system needs to avoid obstacles based on the identity information of obstacles existing in the current scanning area, the relative position relationship between the preset obstacles and the coded marking points set on them, the three-dimensional coordinates and normal of the coded marking points on the obstacles, and the currently planned scanning path.

[0075] Since the shape and size of the geometric body represented by each coded marker point are set in advance, determining the identity information of the obstacle is equivalent to determining the size and shape of the obstacle. Further, based on the known setting position of the coded marker point on the obstacle, and the three-dimensional coordinates and normal of the coded marker point on the obstacle, the position and space occupied by the obstacle in the current camera coordinate system can be determined. Finally, based on the positional relationship determined between the current camera and the automated scanning system, a coordinate system conversion is performed to determine whether the position and space occupied by the obstacle overlap with the currently planned scanning path in the same coordinate system. If so, obstacle avoidance is required.

[0076] Furthermore, in one embodiment, the above step S502 determines whether the automated scanning system needs to avoid obstacles based on the identity information of obstacles existing in the current scanning area, the relative position relationship between the preset obstacles and the coded marking points set thereon, the three-dimensional coordinates and normal direction of the coded marking points on the obstacles, and the currently planned scanning path. Specifically, it can be implemented by the following steps:

[0077] S601: Match a preset geometric model to the obstacle based on the identity information of the obstacle; the size of the geometric model corresponds to the size of the obstacle.

[0078] The size of the geometric model corresponds to the size of the obstacle, which means that the size of the geometric model can be exactly the same as or different from the size of the actual corresponding obstacle. When they are different, as long as the corresponding relationship is determined, the size of the actual obstacle can be restored according to the corresponding relationship. For example, the size of the geometric model may be the size of the actual obstacle after being enlarged or reduced in proportion. The corresponding relationship between the size of the geometric model and the size of the obstacle can be set according to the actual application scenario.

[0079] S602: Determine the coordinates of the area where the obstacle is located according to the geometric model corresponding to the obstacle, the three-dimensional coordinates and normal direction of the coded marking points on the obstacle, and the relative position relationship between the obstacle and the coded marking points set on the obstacle.

[0080] The coordinates of the area where the above obstacles are located refer to the coordinates of the obstacles in the camera coordinate system that scans the coded marking points.

[0081] S603: According to the coordinates of the area where the obstacle is located, determine whether the area where the obstacle is located intersects with the currently planned scanning path in the same coordinate system.

[0082] The scanning path of the automated scanning system is usually in the scanner or tracker coordinate system, and the coordinates of the area where the obstacle is located obtained in the above steps are the coordinates of the obstacle in the camera coordinate system that scans the coded markers. Therefore, it is necessary to convert and unify the coordinate system according to the positional relationship between the camera that scans the coded markers and the automated scanning system, obtain the position of the obstacle, the spatial area and the currently planned scanning path in the same coordinate system, and then compare them.

[0083] S604: If there is an intersection, it is determined that the automated scanning system needs to avoid obstacles.

[0084] Through the geometric model matching method provided in the above embodiment, combined with the three-dimensional coordinates and normal of the coded marking points on the obstacle obtained by the three-dimensional reconstruction technology, as well as the relative position relationship between the obstacle and the coded marking points set on it, with the help of coordinate system conversion technology, the position, spatial area, and currently planned scanning path of the obstacle in the same coordinate system can be quickly and accurately located, laying the foundation for real-time and accurate obstacle avoidance during the scanning process, with less calculation amount.

[0085] In one embodiment, in the above step S302, when it is determined that obstacle avoidance is required, adjusting the next scanning path of the automatic scanning system according to a preset path adjustment strategy can be achieved by the following steps:

[0086] S701: When it is determined that obstacle avoidance is required, determine whether a scanning head or a tracking head of the automated scanning system will collide with the nearest obstacle within a preset system response time range when running along a currently planned scanning path.

[0087] S702: If there is a possibility of collision, adjust the next scanning path of the automatic scanning system; if there is no possibility of collision, run according to the currently planned scanning path.

[0088] In this embodiment, during synchronous scanning, when it is determined that there is an obstacle on the currently planned scanning path, if the obstacle is stationary, the next scanning path of the automated scanning system can be adjusted directly according to the information of the obstacle. If the obstacle is not stationary, the movement trajectory and speed of the obstacle can be combined to further determine whether the scanning head or tracking head of the automated scanning system will collide with the nearest obstacle within the system response time range according to the currently planned scanning path; if it will not collide, it can temporarily run according to the original scanning path until it gets closer to the obstacle, and then adjust the next path; if it will collide within the preset system response time range, the next scanning path will be adjusted immediately. Specifically, the path adjustment method can be implemented using RRT (Rapidly-Exploring Random Tree, a sampling-based path planning algorithm), which will not be described in detail here.

[0089] Preferably, in the above step S302, before determining whether the automated scanning system needs to avoid obstacles, the following steps are also included:

[0090] When the automated scanning system performs a three-dimensional scanning of the scanning area according to the currently planned scanning path, the coded mark point data in the scanning area is obtained in real time from a scanning device independent of the automated scanning system. For example, a dedicated camera is set up to synchronously collect the coded mark point data in the scanning area, which can further reduce the risk of collision between the automated scanning system and obstacles in the scanning area.

[0091] This embodiment also provides a scanning path adjustment device, which is used to implement the above embodiments and preferred implementations, and will not be repeated here. As used below, the terms "module", "unit", "subunit", etc. can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, it is also possible and conceivable to implement hardware, or a combination of software and hardware.

[0092] Based on the same inventive concept, Figure 4 As shown, the present embodiment also provides a scanning path adjustment device 40 for an automated scanning system. The scanning path adjustment device 40 provided in this embodiment includes an obstacle detection module 41 and a path adjustment module 42, wherein:

[0093] The obstacle detection module 41 is used to determine whether the automated scanning system needs to avoid obstacles based on the coded mark point data in the scanning area acquired in real time and the currently planned scanning path during the process of the automated scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path; wherein the coded mark point data is data obtained by scanning the coded mark points on the preset obstacles;

[0094] The path adjustment module 42 is used to adjust the next scanning path of the automatic scanning system according to a preset path adjustment strategy when the obstacle detection module determines that obstacle avoidance is required.

[0095] In one embodiment, the obstacle detection module 41 includes a marker data acquisition unit, an obstacle detection unit, and an obstacle avoidance detection unit; wherein:

[0096] The marking point data acquisition unit is used to acquire the marking point data in the scanning area in real time when the automatic scanning system performs three-dimensional scanning on the scanning area according to the currently planned scanning path;

[0097] The obstacle detection unit is used to detect whether there is coded mark point data in the mark point data; if so, it is determined that there is an obstacle in the current scanning area;

[0098] The obstacle avoidance detection unit is used to determine whether the automated scanning system needs to avoid the obstacle based on the acquired coded marker point data of the coded marker points on the obstacle and the currently planned scanning path when an obstacle is detected in the current scanning area.

[0099] In one embodiment, the obstacle avoidance detection unit is also used to determine the identity information of obstacles existing in the current scanning area and the three-dimensional coordinates and normal of the coded marking points on the obstacles based on the coded marking point data obtained from the coded marking points on the obstacles; and to determine whether the automated scanning system needs to avoid obstacles based on the identity information of obstacles existing in the current scanning area, the relative position relationship between the preset obstacles and the coded marking points set thereon, the three-dimensional coordinates and normal of the coded marking points on the obstacles, and the currently planned scanning path.

[0100] In one embodiment, the obstacle avoidance detection unit performs three-dimensional reconstruction on the acquired coded marker point data of the coded marker point on the obstacle to obtain the three-dimensional coordinates and normal direction of the coded marker point on the obstacle.

[0101] In one embodiment, the obstacle avoidance detection unit is further used to match a pre-set geometric model for the obstacle based on the identity information of the obstacle; the size of the geometric model corresponds to the size of the obstacle; further, the coordinates of the area where the obstacle is located are determined based on the geometric model corresponding to the obstacle, the three-dimensional coordinates and normal of the coded marking points on the obstacle, and the relative position relationship between the obstacle and the coded marking points set thereon; and based on the coordinates of the area where the obstacle is located, it is determined whether the area where the obstacle is located intersects with the currently planned scanning path in the same coordinate system; if there is an intersection, it is determined that the automated scanning system needs to avoid the obstacle.

[0102] In one embodiment, the path adjustment module 42 is used to determine whether the scanning head or tracking head of the automated scanning system will collide with the nearest obstacle within a preset system response time range when it is determined that obstacle avoidance is required; if so, the next scanning path of the automated scanning system is adjusted; if not, the system operates according to the currently planned scanning path.

[0103] In one embodiment, the obstacle detection module 41 is also used to obtain the coded marker point data in the scanning area in real time from a scanning device independent of the automated scanning system when the automated scanning system performs a three-dimensional scanning of the scanning area according to the currently planned scanning path.

[0104] In one embodiment, the coded marking point is a digital coded marking point, a graphic coded marking point, or a digital-graphic combination coded marking point.

[0105] The scanning path adjustment device provided in this embodiment plans a scanning path for a static scanning area before scanning, and sets special coded marking points for obstacles that may appear during the scanning process. During scanning, based on the coded marking point data in the scanning area acquired in real time and the currently planned scanning path, it is determined whether the automated scanning system needs to avoid obstacles; if it is determined that obstacle avoidance is required, the next scanning path of the automated scanning system is adjusted according to the preset path adjustment strategy, thereby achieving real-time and accurate obstacle avoidance.

[0106] On this basis, the embodiment of the present application also provides an automated scanning system, which includes a first scanning device, a second scanning device, and the above-mentioned scanning path adjustment device. Specifically, the scanning path adjustment device is respectively connected to the first scanning device and the second scanning device for communication; the first scanning device is used to perform a three-dimensional scan of the scanning area according to the currently planned scanning path; the second scanning device is used to collect the coded marking point data in the scanning area; and the relative posture relationship between the first scanning device and the second scanning device is determined.

[0107] In one embodiment, the first scanning device is a tracking scanner, and the relative position relationship between the second scanning device and a tracking head and / or a scanning head in the tracking scanner is determined.

[0108] The automated scanning system provided in this embodiment plans a scanning path for the static scanning area in advance before scanning, and sets special coded marking points for obstacles that may appear during the scanning process. During the automated scanning process, the first scanning device and the second scanning device maintain a relatively certain posture relationship, scan synchronously, and use the coded marking point data in the scanning area collected in real time by the second scanning device and the currently planned scanning path of the first scanning device to determine whether the first scanning device needs to avoid obstacles; if it is determined that obstacle avoidance is required, the next scanning path of the first scanning device is adjusted according to the preset path adjustment strategy, thereby achieving real-time and accurate obstacle avoidance.

[0109] In one embodiment, Figure 5As shown, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a scanning path adjustment method is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0110] Those skilled in the art will appreciate that the above structure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those described above, or combine certain components, or have a different arrangement of components.

[0111] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0112] In the process of the automatic scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path, based on the coded mark point data in the scanning area acquired in real time and the currently planned scanning path, determining whether the automatic scanning system needs to avoid obstacles; wherein the coded mark point data is data obtained by scanning the coded mark points on the preset obstacles;

[0113] When it is determined that obstacle avoidance is required, the next scanning path of the automatic scanning system is adjusted according to the preset path adjustment strategy.

[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0115] When the automatic scanning system performs three-dimensional scanning of the scanning area according to the currently planned scanning path, the data of the marking points in the scanning area are obtained in real time;

[0116] Check whether there is coded marker data in the marker data; if so, determine that there is an obstacle in the current scanning area;

[0117] When an obstacle is detected in the current scanning area, it is determined whether the automated scanning system needs to avoid the obstacle based on the acquired coded marker point data of the coded marker point on the obstacle and the currently planned scanning path.

[0118] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0119] According to the acquired coded mark point data of the coded mark point on the obstacle, the identity information of the obstacle existing in the current scanning area and the three-dimensional coordinates and normal direction of the coded mark point on the obstacle are determined;

[0120] Determine whether the automated scanning system needs to avoid obstacles based on the identity information of obstacles in the current scanning area, the relative position relationship between the preset obstacles and the coded marking points set on them, the three-dimensional coordinates and normal of the coded marking points on the obstacles, and the currently planned scanning path.

[0121] In one embodiment, when the processor executes the computer program, the following steps are also implemented: three-dimensional reconstruction is performed on the acquired coded marker point data of the coded marker point on the obstacle to obtain the three-dimensional coordinates and normal of the coded marker point on the obstacle.

[0122] In one embodiment, when the processor executes the computer program, the following steps are further implemented: matching a preset geometric model to the obstacle based on the identity information of the obstacle; the size of the geometric model corresponds to the size of the obstacle;

[0123] Determine the coordinates of the area where the obstacle is located based on the geometric model corresponding to the obstacle, the three-dimensional coordinates and normal direction of the coded marking points on the obstacle, and the relative position relationship between the obstacle and the coded marking points set on it;

[0124] According to the coordinates of the area where the obstacle is located, determine whether the area where the obstacle is located intersects with the currently planned scanning path in the same coordinate system;

[0125] If there is an intersection, it is determined that the automated scanning system needs to avoid obstacles.

[0126] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0127] When it is determined that obstacle avoidance is required, determine whether the scanning head or tracking head of the automated scanning system will collide with the nearest obstacle within the preset system response time range when running along the currently planned scanning path;

[0128] If there is a collision, the next scanning path of the automatic scanning system is adjusted; if there is no collision, it runs according to the currently planned scanning path.

[0129] In one embodiment, when the processor executes the computer program, it also implements the following steps: when the automated scanning system performs a three-dimensional scan of the scanning area according to the currently planned scanning path, the coded marker point data in the scanning area is acquired in real time from a scanning device independent of the automated scanning system.

[0130] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0131] In the process of the automatic scanning system performing three-dimensional scanning of the scanning area according to the currently planned scanning path, based on the coded mark point data in the scanning area acquired in real time and the currently planned scanning path, determining whether the automatic scanning system needs to avoid obstacles; wherein the coded mark point data is data obtained by scanning the coded mark points on the preset obstacles;

[0132] When it is determined that obstacle avoidance is required, the next scanning path of the automatic scanning system is adjusted according to the preset path adjustment strategy.

[0133] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0134] When the automatic scanning system performs three-dimensional scanning of the scanning area according to the currently planned scanning path, the data of the marking points in the scanning area are obtained in real time;

[0135] Check whether there is coded marker data in the marker data; if so, determine that there is an obstacle in the current scanning area;

[0136] When an obstacle is detected in the current scanning area, it is determined whether the automated scanning system needs to avoid the obstacle based on the acquired coded marker point data of the coded marker point on the obstacle and the currently planned scanning path.

[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0138] According to the acquired coded mark point data of the coded mark point on the obstacle, the identity information of the obstacle existing in the current scanning area and the three-dimensional coordinates and normal direction of the coded mark point on the obstacle are determined;

[0139] Determine whether the automated scanning system needs to avoid obstacles based on the identity information of obstacles in the current scanning area, the relative position relationship between the preset obstacles and the coded marking points set on them, the three-dimensional coordinates and normal of the coded marking points on the obstacles, and the currently planned scanning path.

[0140] In one embodiment, when the processor executes the computer program, the following steps are also implemented: three-dimensional reconstruction is performed on the acquired coded marker point data of the coded marker point on the obstacle to obtain the three-dimensional coordinates and normal of the coded marker point on the obstacle.

[0141] In one embodiment, when the processor executes the computer program, the following steps are further implemented: matching a preset geometric model to the obstacle based on the identity information of the obstacle; the size of the geometric model corresponds to the size of the obstacle;

[0142] Determine the coordinates of the area where the obstacle is located based on the geometric model corresponding to the obstacle, the three-dimensional coordinates and normal direction of the coded marking points on the obstacle, and the relative position relationship between the obstacle and the coded marking points set on it;

[0143] According to the coordinates of the area where the obstacle is located, determine whether the area where the obstacle is located intersects with the currently planned scanning path in the same coordinate system;

[0144] If there is an intersection, it is determined that the automated scanning system needs to avoid obstacles.

[0145] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0146] When it is determined that obstacle avoidance is required, determine whether the scanning head or tracking head of the automated scanning system will collide with the nearest obstacle within the preset system response time range when running along the currently planned scanning path;

[0147] If there is a collision, the next scanning path of the automatic scanning system is adjusted; if there is no collision, it runs according to the currently planned scanning path.

[0148] In one embodiment, when the processor executes the computer program, it also implements the following steps: when the automated scanning system performs a three-dimensional scan of the scanning area according to the currently planned scanning path, the coded marker point data in the scanning area is acquired in real time from a scanning device independent of the automated scanning system.

[0149] The above-mentioned computer device and storage medium determine whether the automated scanning system needs to avoid obstacles based on the coded marker point data in the scanning area acquired in real time and the currently planned scanning path during the scanning process; if it is determined that obstacle avoidance is required, the next scanning path of the automated scanning system is adjusted according to a preset path adjustment strategy, thereby achieving real-time and accurate obstacle avoidance.

[0150] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0151] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0152] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A scanning path adjustment method for an automated scanning system, characterized in that: The method comprises: In the process of the automated scanning system performing a three-dimensional scanning of the scanning area according to the currently planned scanning path, the marking point data in the scanning area is acquired in real time; whether the marking point data contains coded marking point data is detected; if so, it is determined that an obstacle exists in the current scanning area; when the obstacle is detected to exist in the current scanning area, based on the acquired coded marking point data of the coded marking point on the obstacle and the currently planned scanning path, it is determined whether the automated scanning system needs to avoid the obstacle; wherein the coded marking point data is data obtained by scanning the coded marking points on the preset obstacle, the coded marking points are used to mark the information of the obstacle, and the information of the obstacle includes the shape information and volume information of the obstacle; When it is determined that obstacle avoidance is required, the next scanning path of the automatic scanning system is adjusted according to a preset path adjustment strategy.

2. The scanning path adjustment method according to claim 1, characterized in that: In the case where the obstacle is detected to exist in the current scanning area, determining whether the automated scanning system needs to avoid the obstacle based on the acquired coded mark point data of the coded mark point on the obstacle and the currently planned scanning path includes the following steps: Determine the identity information of the obstacle currently existing in the scanning area and the three-dimensional coordinates and normal direction of the coded marking point on the obstacle according to the acquired coded marking point data of the coded marking point on the obstacle; Determine whether the automated scanning system needs to avoid obstacles based on the identity information of the obstacles currently existing in the scanning area, the preset relative position relationship between the obstacles and the coded marking points set on them, the three-dimensional coordinates and normal of the coded marking points on the obstacles, and the currently planned scanning path.

3. The scanning path adjustment method according to claim 2, characterized in that: The acquired coded marking point data of the coded marking point on the obstacle are three-dimensionally reconstructed to obtain the three-dimensional coordinates and normal direction of the coded marking point on the obstacle.

4. The scanning path adjustment method according to claim 2, characterized in that: Determining whether the automated scanning system needs to avoid obstacles according to the identity information of the obstacles currently existing in the scanning area, the preset relative positional relationship between the obstacles and the coded marking points set thereon, the three-dimensional coordinates and the normal direction of the coded marking points on the obstacles, and the currently planned scanning path, comprises the following steps: Based on the identity information of the obstacle, a preset geometric model is matched for the obstacle; the size of the geometric model corresponds to the size of the obstacle; Determine the coordinates of the area where the obstacle is located according to the geometric model corresponding to the obstacle, the three-dimensional coordinates and the normal direction of the coded marking points on the obstacle, and the relative positional relationship between the obstacle and the coded marking points set on the obstacle; According to the coordinates of the area where the obstacle is located, determining whether the area where the obstacle is located intersects with the currently planned scanning path in the same coordinate system; If there is an intersection, it is determined that the automated scanning system needs to avoid obstacles.

5. The scanning path adjustment method according to claim 1, characterized in that: When it is determined that obstacle avoidance is required, adjusting the next scanning path of the automatic scanning system according to a preset path adjustment strategy comprises the following steps: In the case where it is determined that obstacle avoidance is required, determining whether the scanning head or the tracking head of the automated scanning system will collide with the nearest obstacle within a preset system response time range when running along the currently planned scanning path; If there is a collision, the next scanning path of the automatic scanning system is adjusted; if there is no collision, the system runs according to the currently planned scanning path.

6. The scanning path adjustment method according to any one of claims 1 to 5, characterized in that: Before determining whether the automatic scanning system needs to avoid obstacles, the following steps are also included: During the process of the automated scanning system performing three-dimensional scanning on the scanning area according to the currently planned scanning path, the coded marking point data in the scanning area is acquired in real time from a scanning device independent of the automated scanning system.

7. The scanning path adjustment method according to any one of claims 1 to 5, characterized in that: The coding mark point is a digital coding mark point, a graphic coding mark point, or a digital and graphic combination coding mark point.

8. A scanning path adjustment device for an automated scanning system, characterized in that: The device includes an obstacle detection module and a path adjustment module; The obstacle detection module is used to obtain the marking point data in the scanning area in real time during the process of the automatic scanning system performing three-dimensional scanning on the scanning area according to the currently planned scanning path; Detecting whether there is coded marking point data in the marking point data; If so, it is determined that there is an obstacle in the current scanning area; In the case where the obstacle is detected to exist in the current scanning area, determining whether the automated scanning system needs to avoid the obstacle based on the acquired coded marking point data of the coded marking point on the obstacle and the currently planned scanning path; wherein the coded marking point data is data obtained by scanning the coded marking points on the preset obstacle, the coded marking points are used to mark the information of the obstacle, and the information of the obstacle includes the shape information and volume information of the obstacle; The path adjustment module is used to adjust the next scanning path of the automatic scanning system according to a preset path adjustment strategy when the obstacle detection module determines that obstacle avoidance is required.

9. An automated scanning system, characterized in that: The system comprises a first scanning device, a second scanning device, and a scanning path adjustment device as claimed in claim 8; The scanning path adjustment device is communicatively connected with the first scanning device and the second scanning device respectively; The first scanning device is used to perform three-dimensional scanning of the scanning area according to the currently planned scanning path; The second scanning device is used to collect the coded marking point data in the scanning area; The relative position relationship between the first scanning device and the second scanning device is determined.

10. The automated scanning system according to claim 9, characterized in that: The first scanning device is a tracking scanner; The relative position relationship between the second scanning device and the tracking head and / or the scanning head in the tracking scanner is determined.

11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Pose detection method, three-dimensional scanning path planning method and detection system

    CN112161619A

  • Obstacle avoidance method and device of mechanical arm, storage medium and ultrasonic equipment

    CN112914601A