WO2023006101A1 - Target detection method and apparatus based on laser scanning, and target detection terminal - Google Patents

Target detection method and apparatus based on laser scanning, and target detection terminal Download PDF

Info

Publication number
WO2023006101A1
WO2023006101A1 PCT/CN2022/109163 CN2022109163W WO2023006101A1 WO 2023006101 A1 WO2023006101 A1 WO 2023006101A1 CN 2022109163 W CN2022109163 W CN 2022109163W WO 2023006101 A1 WO2023006101 A1 WO 2023006101A1
Authority
WO
WIPO (PCT)
Prior art keywords
scanning
area
target
resolution
scanning area
Prior art date
Application number
PCT/CN2022/109163
Other languages
French (fr)
Chinese (zh)
Inventor
邓永强
徐洋
黄易
代西明
Original Assignee
北京万集科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京万集科技股份有限公司 filed Critical 北京万集科技股份有限公司
Publication of WO2023006101A1 publication Critical patent/WO2023006101A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/04Systems determining the presence of a target
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/66Tracking systems using electromagnetic waves other than radio waves
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/93Lidar systems specially adapted for specific applications for anti-collision purposes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00

Definitions

  • the present application relates to the technical field of laser scanning, in particular to a target detection method, device and target detection terminal based on laser scanning.
  • laser scanning technology has the characteristics of precise positioning and high efficiency, it is often used in fields such as target positioning and tracking.
  • the position and motion trajectory of the target are often determined through precise scanning.
  • the target may be damaged, disappear or other situations, which reduces the accuracy of location tracking.
  • One of the purposes of the embodiments of the present application is to provide a target detection method and device based on laser scanning, a target detection terminal, and a readable storage medium, aiming at solving the problem that the positioning and tracking accuracy of related target positioning and tracking methods is easily affected by other factors. problem of impact.
  • the first aspect of the embodiments of the present application provides a laser scanning-based target detection method, including:
  • next scan cycle scan the fine scan area with a second scan resolution, and scan the observation scan area with a third scan resolution to obtain a second point cloud; wherein, the second scan The resolution is greater than the first scan resolution, and the third scan resolution is less than or equal to the first scan resolution.
  • the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
  • the method also includes:
  • Target detection is performed on the second point cloud to obtain a fine detection result of the target to be measured.
  • the method includes:
  • the new target is used as the target to be measured, and the fine scanning area and the observation scanning area are updated based on the target to be measured.
  • the method also includes:
  • the preset scanning area is scanned with the first scanning resolution for at least one period until the target to be detected is detected.
  • the second scan resolution is used to scan the fine scan area
  • the third scan resolution is used to scan the observation scan area to obtain a second point cloud, including:
  • after performing target detection on the first point cloud of the current period further comprising:
  • the target to be measured is not detected in the detection result of the first point cloud, then in the next cycle, use the first scanning resolution to scan the preset scanning area to obtain the corresponding updated first point cloud until The target to be detected is detected in the detection result of the first point cloud.
  • the second aspect of the embodiment of the present application provides a target detection method based on laser scanning, including:
  • the fine scanning area and the target to be measured are in the corresponding to the position in the preset scanning area;
  • the observation scanning area is an area in the preset scanning area other than the fine scanning area;
  • the second scanning resolution is used to scan the fine scanning area
  • the third scanning resolution is used to scan the observation scanning area to obtain a second point cloud; wherein, when scanning with the second scanning resolution, the The number of point clouds per unit area in the fine scanning area is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
  • the fine scanning area is a corresponding area of each target to be measured in the preset scanning area.
  • the method also includes:
  • the fine scanning area and the observation scanning area are updated based on the target to be detected determined by using the second point cloud.
  • the method further includes:
  • the frame rate is increased, the scanning resolution of the fine scanning area is increased, and the observation rate is reduced.
  • the scan resolution for the scan area is less than the set safety distance, and the moving speed of the gradually approaching target to be detected is greater than the preset speed.
  • the third aspect of the embodiment of the present application provides a target detection device based on laser scanning, including:
  • the laser scanning module is used to scan the preset scanning area with the first scanning resolution to obtain the first point cloud of the current cycle
  • a detection module configured to perform target detection on the first point cloud of the current period, and if the target to be measured is detected, determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and The position of the target to be measured corresponds to the preset scanning area; the observation scanning area is an area in the preset scanning area except the fine scanning area;
  • the laser scanning module is further configured to scan the fine scanning area with a second scanning resolution and scan the observation scanning area with a third scanning resolution in the next scanning cycle to obtain a second point cloud; wherein, the second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is less than or equal to the first scanning resolution.
  • the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
  • the detection module is further configured to perform object detection on the second point cloud to obtain a fine detection result of the object to be detected.
  • the laser scanning module is further configured to use the newly added target as the target to be measured if a new target appears in the detection result of the second point cloud.
  • the fine scanning area and the observation scanning area are updated.
  • the laser scanning module is further configured to scan the preset scan with the first scan resolution in at least one cycle if no new target appears in the second point cloud detection result The area is scanned until the target to be detected is detected.
  • the laser scanning module includes:
  • the first scanning unit is configured to reduce the frame rate to obtain a second scanning resolution, and use the second scanning resolution to scan the fine scanning area;
  • the second scanning unit is configured to increase the frame rate to obtain a third scanning resolution, and use the third scanning resolution to scan the observation scanning area to obtain the second point cloud.
  • the laser scanning module is further configured to use the first scanning resolution to scan the preset scanning area in the next cycle if the target to be measured is not detected in the detection result of the first point cloud. Scanning is performed to obtain a correspondingly updated first point cloud until the target to be measured is detected in the detection result of the first point cloud.
  • the fourth aspect of the embodiment of the present application provides a target detection device based on laser scanning, including:
  • An area scanning module configured to scan a preset scanning area with a first scanning resolution to obtain a first point cloud
  • An area division module configured to perform target detection on the first point cloud, and if a target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the Corresponding to the position of the target to be measured in the preset scanning area; the observation scanning area is an area other than the fine scanning area in the preset scanning area;
  • the area scanning module is further configured to scan the fine scanning area with a second scanning resolution, and scan the observation scanning area with a third scanning resolution to obtain a second point cloud; wherein, using the The number of point clouds per unit area in the fine scanning area when scanning with the second scanning resolution is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area when scanning with the third scanning resolution is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
  • the fine scanning area is a corresponding area of each target to be measured in the preset scanning area.
  • the target detection device based on laser scanning further includes:
  • a third detection module configured to judge whether the state of the target to be detected has changed according to the second point cloud; wherein the state of the target to be detected includes the number, speed, angle and distance of the target to be detected at least one of
  • An updating module configured to update the fine scanning area and the observation scanning area based on the target to be detected determined by using the second point cloud when the state of the target to be detected changes.
  • the target detection device based on laser scanning further includes:
  • the first resolution adjustment module is used to reduce the frame rate, improve the scanning resolution of the fine scanning area, and reduce the scanning resolution of the observation scanning area when the distance of the target to be detected is greater than or equal to the set safety distance;
  • the second resolution adjustment module is used to increase the frame rate and improve fine scanning when the distance of the target to be detected is less than the set safety distance, and the moving speed of the target to be detected that is gradually approaching is greater than the preset speed Scan resolution of the region, and reduced scan resolution of the observed scan region.
  • a fifth aspect of the embodiments of the present application provides a target detection terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program Realize the target detection method based on laser scanning as described in any one of the first aspect or the second aspect above.
  • a sixth aspect of the embodiments of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above-mentioned first or second aspects can be implemented.
  • the seventh aspect of the embodiments of the present application provides a computer program product.
  • the terminal device executes the laser scanning-based target described in any one of the first aspect or the second aspect. detection method.
  • the first point cloud of the current period is obtained by scanning the preset scanning area with the first scanning resolution, and the first point cloud of the current period is obtained.
  • the point cloud performs target detection. If the target to be measured is detected, the fine scanning area and the observation scanning area are determined based on the target to be measured. In the next scanning cycle, the fine scanning area is scanned with the second scanning resolution, and the third scanning resolution is used.
  • the scanning resolution scans the observation scanning area to obtain the second point cloud, which can realize the detection of the target to be measured in the preset scanning area and determine the change of the surrounding environment of the target to be measured, thus ensuring the safety of the target to be measured. At the same time, the accuracy of target positioning is improved.
  • the target detection method based on laser scanning provided by the second aspect of the embodiment of the present application can detect the target to be measured while determining the change of the surrounding environment of the target to be measured in the preset scanning area, thereby ensuring the accuracy of the target to be measured. Safety, while improving the accuracy of target positioning.
  • the laser-scanning-based target detection device provided in the third aspect of the embodiment of the present application follows the laser-scanning-based target detection method provided in the first aspect of the embodiment of the application, and the laser-scanning-based target detection device provided in the fourth aspect
  • the target detection device provided by the fifth aspect, the computer-readable storage medium provided by the sixth aspect, the seventh aspect Provide a computer program product that, on the premise of following the laser scanning-based target detection method provided in the first aspect or the second aspect of the embodiment of the present application, can detect the target to be measured and determine the target to be measured at the same time in the preset scanning area Changes in the surrounding environment, thereby ensuring the safety of the target to be measured, while improving the accuracy of target positioning.
  • FIG. 1 is a schematic structural diagram of a target detection system based on laser scanning provided in Embodiment 1 of the present application;
  • FIG. 2 is a schematic flow chart of a target detection method based on laser scanning provided in Embodiment 1 of the present application;
  • FIG. 3 is an application scene diagram of scanning a preset scanning area with a first scanning resolution provided by Embodiment 1 of the present application;
  • Fig. 4 is a schematic diagram of the application scene of the fine scanning area and the observation scanning area provided by Embodiment 1 of the present application;
  • Fig. 5 is another schematic flowchart of the target detection method based on laser scanning provided in Embodiment 2 of the present application;
  • FIG. 6 is a schematic diagram of an application scenario for scanning based on newly added targets provided by Embodiment 2 of the present application;
  • Fig. 7 is another schematic flowchart of the target detection method based on laser scanning provided in Embodiment 3 of the present application;
  • FIG. 8 is a schematic structural diagram of a target detection device based on laser scanning provided in Embodiment 4 of the present application.
  • FIG. 9 is a schematic structural diagram of a target detection terminal provided in Embodiment 5 of the present application.
  • the term “if” may be construed, depending on the context, as “when” or “once” or “in response to determining” or “in response to detecting “.
  • the phrase “if determined” or “if [the described condition or event] is detected” may be construed, depending on the context, to mean “once determined” or “in response to the determination” or “once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
  • references to "one embodiment” or “some embodiments” or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
  • the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
  • the target detection method based on laser scanning can be executed by a target detection terminal, the target detection terminal is provided with a phased array LiDAR (Optical Phased Array LiDAR, OPA LiDAR), and is loaded with a The application software of the target detection method program based on laser scanning.
  • the target detection terminal can be a terminal device such as a mobile terminal, a vehicle-mounted device, or a computer.
  • the embodiment of the present application does not impose any restrictions on the specific type of the terminal device.
  • FIG. 1 shows a structural flow chart of a laser scanning-based target detection system 1 provided by the present application.
  • the target detection system 1 based on laser scanning is composed of a processing module 101 , a laser emitting module 102 and a signal receiving module 103 , and the processing module 101 is communicatively connected with the laser emitting module 102 and the signal receiving module 103 .
  • the laser emitting module 102 is used to emit corresponding laser signals in the scanning area according to the control instructions sent by the processing module 101, and the signal receiving module 103 is used to receive the point cloud data reflected by the target to be measured in the scanning area and return it to the processing module 101 , the processing module 101 is used to control the laser signal parameters of the laser emitting module 102 (including but not limited to the resolution, frame rate and scanning area of the laser signal) through control instructions, receive the point cloud data returned by the signal receiving module 102, and based on the above The point cloud data adjusts the parameters of the laser signal and updates the control instructions; wherein, the laser emitting module 102 is specifically composed of a phased array laser radar OPA LiDAR.
  • the processing module 101 sends a control signal to the laser emitting module 102, and controls the laser emitting module 102 to scan the preset scanning area with the first scanning resolution; In the predetermined scanning area, the first point cloud data reflected by the target to be measured; the processing module 101 performs target detection according to the first point cloud data, and when the target to be measured is detected, the control instruction is updated to control the laser emitting module 102 to perform target detection in the next cycle.
  • the second point cloud data It can be realized that in the preset scanning area, the change of the surrounding environment of the target to be measured can be determined while detecting the target to be measured, thereby ensuring the safety of the target to be measured and improving the accuracy of target positioning.
  • FIG. 2 shows a schematic flow chart of a laser scanning-based target detection method provided by the present application.
  • the method can be applied to the above-mentioned target detection terminal.
  • S101 Scan a preset scanning area with a first scanning resolution to obtain a first point cloud of a current period.
  • the preset scanning area After determining the range of the preset scanning area, emit a laser signal with the first scanning resolution in the preset scanning area, scan the preset scanning area, and collect the current scanning period (the setting will use the first Scanning resolution (scanning period for scanning the preset scanning area, referred to as the first scanning period) of the first point cloud data.
  • the preset scanning area may be specifically set according to actual conditions, which is not specifically limited in this embodiment.
  • the preset scanning area can be set as the maximum scanning area of the laser signal emitted by the current laser radar.
  • the unit of the scanning range corresponding to the laser signal is the azimuth; therefore, the preset scanning area is generally centered on the transmitter of the laser radar device, The area corresponding to the azimuth angle range of a certain value.
  • an application scene diagram of scanning a preset scanning area by using a first scanning resolution is provided.
  • the first scanning resolution is used to scan the fan-shaped area corresponding to the laser radar transmitter as the center, the scanning distance is 200M, and the angle is -45 to 45° as the preset scanning area, and the first scanning resolution is collected.
  • the first point cloud data of the preset scanning area in the scanning cycle is collected.
  • S102 Perform target detection on the first point cloud of the current period, and if the target to be measured is detected, determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the target to be measured are corresponding to the position of the measurement target in the preset scanning area; the observation scanning area is an area in the preset scanning area other than the fine scanning area.
  • the target detection is performed on the preset scanning area according to the first point cloud data in the first scanning cycle, if according to the first point If the cloud data detects that there is a target to be measured in the preset scanning area, the position information of the target to be measured in the preset scanning area is determined through the first point cloud data, and based on the position information of the target to be measured in the preset scanning area, it is determined
  • the fine scanning area is to determine the observation scanning area according to the preset scanning area and the fine scanning area.
  • point cloud data refers to a set of vectors in a three-dimensional coordinate system.
  • the area corresponding to the position of the target to be measured in the preset scanning area is the fine scanning area, and in the preset scanning area, the area other than the fine scanning area is the observation scanning area.
  • the position information of the target to be measured within the preset scanning area can be determined according to the distance and angle information between the target to be measured and the laser radar in the first point cloud data.
  • next scanning period scan the fine scanning area with a second scanning resolution, and scan the observation scanning area with a third scanning resolution to obtain a second point cloud; wherein, the first The second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is smaller than or equal to the first scanning resolution.
  • the second scanning cycle in which the target to be measured is detected, a laser signal with a second scanning resolution is emitted in the fine scanning area to scan the fine scanning area, and observe A laser signal with a third scanning resolution is emitted in the scanning area, the observation scanning area is scanned, and the second point cloud data of the second scanning period is collected.
  • the second scanning resolution is greater than the first scanning resolution
  • the third scanning resolution is smaller than or equal to the first scanning resolution.
  • the preset scan area is set to be roughly scanned with the first resolution, it can be detected whether there is a target to be measured in the preset scan area and the approximate position information of the target to be measured.
  • the second scanning resolution scans the fine observation area, which can accurately locate the position information of the target to be measured and improve the accuracy of target detection.
  • the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
  • the position information of each target to be measured in the preset scanning area is determined according to the first point cloud data, and all the targets to be detected are determined.
  • the area corresponding to all the position information in the preset scanning area is used as the fine scanning area.
  • FIG. 4 a schematic diagram of an application scenario of a fine scanning area and an observation scanning area is provided.
  • Fig. 4 it can be seen that 4 targets to be measured are detected according to the first point cloud data (shown as hollow circles in the figure), the position information of each target to be measured in the preset scanning area is determined, and the 4 targets to be measured are determined to be The area corresponding to the position information in the preset scanning area is used as the fine scanning area, so that the area other than the fine scanning area in the preset scanning area is determined as the observation scanning area.
  • Launch the laser signal of the second scanning resolution in the fine scanning area scan the fine scanning area, and emit the laser signal of the third scanning resolution in the observation scanning area, scan the observation scanning area, and acquire the second scan Periodic second point cloud data.
  • after performing target detection on the first point cloud of the current period further comprising:
  • the target to be measured is not detected in the detection result of the first point cloud, then in the next cycle, use the first scanning resolution to scan the preset scanning area to obtain the corresponding updated first point cloud until The target to be detected is detected in the detection result of the first point cloud.
  • the target detection is performed on the preset scanning area, and if the detection result of the first point cloud data shows that the target to be measured is not detected in the preset scanning area, then set the next In the scanning period (namely the new first scanning period), the laser signal of the first resolution is still emitted in the preset scanning area, the preset scanning area is scanned, and the preset scanning area in the new first scanning period is acquired
  • the point cloud data within is used as the updated first point cloud data.
  • the detection result of the updated first point cloud data shows that the target to be measured is not detected, then return to execute the above in the next cycle, using the first scan resolution
  • the first scanning resolution to scan the preset scanning area
  • the first point cloud of the current period is obtained, and the target detection is performed on the first point cloud of the current period.
  • the target determines the fine scanning area and the observation scanning area.
  • the second scanning resolution is used to scan the fine scanning area
  • the third scanning resolution is used to scan the observation scanning area to obtain the second point cloud, which can
  • changes in the surrounding environment of the target are detected while the target is detected, thereby ensuring the safety of the target and improving the accuracy of target positioning.
  • the target detection method based on laser scanning in this embodiment also includes:
  • the target detection is performed on the fine scanning area, and the fine detection result of the target to be measured is obtained ( That is, the location information of the target to be measured), and at the same time, according to the second point cloud data, target detection is performed on the fine scanning area and the observation scanning area to determine whether there is a new target.
  • the position information contained in the corresponding fine detection result is higher in accuracy.
  • the first number of objects to be measured can be determined according to the first point cloud data, the first shape and first position information of each object to be measured, based on each The first shape and the first position information of the target to be measured add a corresponding label to each target to be measured.
  • the second point cloud data After collecting the second point cloud data, determine the second quantity of the target to be measured according to the second point cloud data, if the second quantity is the same as the first quantity, then determine that the current detection result is no new target; if the second If the number is greater than the first number, then determine the second shape and second position information of each object to be measured according to the second point cloud data, and match the first shape and first position information based on the second shape and second position information , take the unmatched target to be tested as a new target, and add a new label.
  • the method further includes:
  • the new target is used as the target to be measured, and the fine scanning area and the observation scanning area are updated based on the target to be measured.
  • the new target is updated as the target to be measured, and the position information of the target to be measured in the preset scanning area is determined according to the second point cloud data.
  • the position information of the target in the preset scanning area is updated for the fine scanning area
  • the observation scanning area is updated according to the preset scanning area and the updated fine scanning area
  • the updated fine scanning area is updated with the second scanning resolution Scanning is performed, and the updated observation scanning area is scanned with a third scanning resolution to obtain new second point cloud data.
  • FIG. 6 a schematic diagram of an application scenario of scanning based on a newly added target is provided.
  • the second scan resolution is used to scan the fine scan area
  • the third scan resolution is used to scan the observation scan area to obtain a second point cloud, including:
  • the scan resolution specifically refers to the angular resolution.
  • the frame rate represents the number of revolutions of the lidar motor in one second. Since the resolution changes with the change of the frame frequency, the first scanning resolution can be adjusted to the second scanning resolution by reducing the frame rate, and the laser signal of the second scanning resolution can be emitted in the fine scanning area. Scan the fine scanning area; at the same time increase the frame rate to adjust the first scanning resolution to the third scanning resolution, emit the laser signal of the third scanning resolution in the observation scanning area, scan the observation scanning area, and acquire the second The second point cloud data of the scan cycle.
  • the fine scanning area by using a larger second resolution to scan the fine scanning area, collect the obtained second point cloud data for target detection, and obtain the corresponding fine detection results of the target to be measured, it is possible to accurately locate the target to be measured in the predicted state.
  • the location information of the scanning area is set to improve the accuracy of target detection; at the same time, through the second point cloud data to detect whether there is a new target to be measured, it is possible to observe the surrounding environment while locating the target to be measured, which further improves the efficiency of target detection.
  • the target detection method based on laser scanning in this embodiment also includes:
  • the detection result of the target detection on the fine scanning area and the observation scanning area shows that no new target appears, then it is set within at least one subsequent scanning cycle, within the preset scanning area A laser signal with the first scanning resolution is emitted, and the preset scanning area is scanned until the target to be measured is detected.
  • the target detection method based on laser scanning includes:
  • the fine scanning area and the target to be measured are in the corresponding to the position in the preset scanning area;
  • the observation scanning area is an area in the preset scanning area other than the fine scanning area;
  • the second scanning resolution is used to scan the fine scanning area
  • the third scanning resolution is used to scan the observation scanning area to obtain a second point cloud; wherein, when scanning with the second scanning resolution, the The number of point clouds per unit area in the fine scanning area is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
  • the fine scanning area and the observation scanning area are determined based on the target to be measured, and the second scanning resolution is used to scan the fine scanning area in the next scanning period, and the third scanning resolution is used to scan the fine scanning area. Scan the observation scanning area at a high rate.
  • M1 ⁇ N1 the first scanning resolution to scan to obtain the first point cloud
  • M2 ⁇ N2 wherein) scanning resolution
  • M3 ⁇ N3 third) scanning resolution
  • the fine scanning area is a corresponding area of each target to be measured in the preset scanning area. That is, there may be one or more fine scanning areas, and they may be independent of each other or continuous.
  • the target detection method based on laser scanning further includes:
  • the fine scanning area and the observation scanning area are updated based on the target to be detected determined by using the second point cloud.
  • the target detection method based on laser scanning further includes:
  • the frame rate is increased, the scanning resolution of the fine scanning area is increased, and the observation rate is reduced.
  • the scan resolution for the scan area is less than the set safety distance, and the moving speed of the gradually approaching target to be detected is greater than the preset speed.
  • the scanning resolution is changed, and the step of scanning the preset scanning area with the first scanning resolution is returned.
  • Fig. 8 shows a structural block diagram of a target detection device based on laser scanning provided in the embodiment of the present application. Example related part.
  • the target detection device 2 based on laser scanning includes:
  • the laser scanning module 201 is configured to scan the preset scanning area with the first scanning resolution to obtain the first point cloud of the current cycle;
  • the detection module 202 is configured to perform target detection on the first point cloud of the current period, and if the target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area Corresponding to the position of the target to be measured in the preset scanning area; the observation scanning area is an area in the preset scanning area other than the fine scanning area;
  • the laser scanning module 201 is further configured to scan the fine scanning area with a second scanning resolution and scan the observation scanning area with a third scanning resolution in the next scanning cycle to obtain a second point cloud ; Wherein, the second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is less than or equal to the first scanning resolution.
  • the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
  • the detection module is further configured to perform object detection on the second point cloud to obtain a fine detection result of the object to be detected.
  • the laser scanning module is further configured to use the newly added target as the target to be measured if a new target appears in the detection result of the second point cloud.
  • the fine scanning area and the observation scanning area are updated.
  • the laser scanning module is further configured to scan the preset scan with the first scan resolution in at least one cycle if no new target appears in the second point cloud detection result The area is scanned until the target to be detected is detected.
  • the laser scanning module includes:
  • the first scanning unit is configured to reduce the frame rate to obtain a second scanning resolution, and use the second scanning resolution to scan the fine scanning area;
  • the second scanning unit is configured to increase the frame rate to obtain a third scanning resolution, and use the third scanning resolution to scan the observation scanning area to obtain the second point cloud.
  • the laser scanning module is further configured to use the first scanning resolution to scan the preset scanning area in the next cycle if the target to be measured is not detected in the detection result of the first point cloud. Scanning is performed to obtain a correspondingly updated first point cloud until the target to be measured is detected in the detection result of the first point cloud.
  • the first scanning resolution to scan the preset scanning area
  • the first point cloud of the current period is obtained, and the target detection is performed on the first point cloud of the current period.
  • the target determines the fine scanning area and the observation scanning area.
  • the second scanning resolution is used to scan the fine scanning area
  • the third scanning resolution is used to scan the observation scanning area to obtain the second point cloud, which can
  • changes in the surrounding environment of the target are detected while the target is detected, thereby ensuring the safety of the target and improving the accuracy of target positioning.
  • the target detection device based on laser scanning includes:
  • An area scanning module configured to scan a preset scanning area with a first scanning resolution to obtain a first point cloud
  • An area division module configured to perform target detection on the first point cloud, and if a target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the Corresponding to the position of the target to be measured in the preset scanning area; the observation scanning area is an area other than the fine scanning area in the preset scanning area;
  • the area scanning module is also used to scan the fine scanning area with a second scanning resolution, and scan the observation scanning area with a third scanning resolution to obtain a second point cloud; wherein, using the first The number of point clouds per unit area in the fine scanning area when scanning with the second scanning resolution is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; using the second scanning resolution The number of point clouds per unit area in the observation scanning area when scanning with three scanning resolutions is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
  • the fine scanning area is a corresponding area of each target to be measured in the preset scanning area.
  • the target detection device based on laser scanning further includes:
  • a third detection module configured to judge whether the state of the target to be detected has changed according to the second point cloud; wherein the state of the target to be detected includes the number, speed, angle and distance of the target to be detected at least one of
  • An updating module configured to update the fine scanning area and the observation scanning area based on the target to be detected determined by using the second point cloud when the state of the target to be detected changes.
  • the target detection device based on laser scanning further includes:
  • the first resolution adjustment module is used to reduce the frame rate, improve the scanning resolution of the fine scanning area, and reduce the scanning resolution of the observation scanning area when the distance of the target to be detected is greater than or equal to the set safety distance;
  • the second resolution adjustment module is used to increase the frame rate and improve fine scanning when the distance of the target to be detected is less than the set safety distance, and the moving speed of the target to be detected that is gradually approaching is greater than the preset speed Scan resolution of the region, and reduced scan resolution of the observed scan region.
  • FIG. 9 is a schematic structural diagram of a target detection terminal provided by an embodiment of the present application.
  • the target detection terminal 9 of this embodiment includes: at least one processor 90 (only one is shown in Figure 9), a memory 91, and stored in the memory 91 and can be used in the at least one processor A computer program 92 running on 90, when the processor 90 executes the computer program 92, it realizes the steps in any of the above-mentioned embodiments of the target detection method based on laser scanning.
  • the target detection terminal 9 may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers.
  • the target detection terminal may include, but not limited to, a processor 90 and a memory 91 .
  • FIG. 9 is only an example of the target detection terminal 9, and does not constitute a limitation to the target detection terminal 9. It may include more or less components than those shown in the illustration, or combine certain components, or be different. Components, for example, may also include input and output devices, network access devices, and so on.
  • the so-called processor 90 can be a central processing unit (Central Processing Unit, CPU), and the processor 90 can also be other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit) , ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory 91 may be an internal storage unit of the target detection terminal 9 in some embodiments, such as a hard disk or a memory of the target detection terminal 9 .
  • the memory 91 may also be an external storage device of the target detection terminal 9 in other embodiments, such as a plug-in hard disk equipped on the target detection terminal 9, a smart memory card (Smart Media Card, SMC), Secure Digital (SD), Flash Card, etc. Further, the memory 91 may also include both an internal storage unit of the target detection terminal 9 and an external storage device.
  • the memory 91 is used to store operating system, application program, boot loader (BootLoader), data and other programs, such as the program code of the computer program.
  • the memory 91 can also be used to temporarily store data that has been output or will be output.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be realized.
  • An embodiment of the present application provides a computer program product.
  • the computer program product When the computer program product is run on a mobile terminal, the mobile terminal can implement the steps in the foregoing method embodiments when executed.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium.
  • the computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable medium may at least include: any entity or device capable of carrying computer program codes to the photographing device/terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signal telecommunication signal and software distribution medium.
  • U disk mobile hard disk
  • magnetic disk or optical disk etc.
  • computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
  • the disclosed device/network device and method may be implemented in other ways.
  • the device/network device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

A target detection method and apparatus (2) based on laser scanning, and a target detection terminal (9), which are used in the technical field of laser scanning. The target detection method mainly comprises the following steps: scanning a preset scanning area by using first scanning resolution to obtain a first point cloud in a current period (S101); performing target detection on the first point cloud in the current period, and if a target to be detected is detected, determining a fine scanning area and an observation scanning area on the basis of said target (S102); and in the next scanning period, scanning the fine scanning area by using second scanning resolution, and scanning the observation scanning area by using third scanning resolution to obtain a second point cloud (S103). The change of the environment around said target can be determined while detecting said target in the preset scanning area, so that the safety of said target is ensured, and the accuracy of target positioning is improved.

Description

基于激光扫描的目标探测方法、装置及目标探测终端Target detection method, device and target detection terminal based on laser scanning
本申请要求于2021年07月30日在中国国家专利局提交的、申请号为202110876227.2、发明名称为“基于激光扫描的目标探测方法、装置及目标探测终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110876227.2 and the title of the invention "Laser Scanning-Based Target Detection Method, Device and Target Detection Terminal" filed at the National Patent Office of China on July 30, 2021. The entire contents are incorporated by reference in this application.
技术领域technical field
本申请涉及激光扫描技术领域,具体涉及一种基于激光扫描的目标探测方法、装置及目标探测终端。The present application relates to the technical field of laser scanning, in particular to a target detection method, device and target detection terminal based on laser scanning.
背景技术Background technique
由于激光扫描技术具有定位精确、高效的特点,常被用于进行目标定位追踪等领域。Because laser scanning technology has the characteristics of precise positioning and high efficiency, it is often used in fields such as target positioning and tracking.
相关的基于激光扫描技术的目标定位追踪方法中,常常是在基于较大扫描范围内扫描到目标时,通过精确扫描确定目标的位置和运动轨迹。In the related target positioning and tracking method based on laser scanning technology, when the target is scanned based on a large scanning range, the position and motion trajectory of the target are often determined through precise scanning.
然而,在目标的环境发生变化时,目标可能出现损坏、消失或其他情况,使得定位追踪的精度降低。However, when the environment of the target changes, the target may be damaged, disappear or other situations, which reduces the accuracy of location tracking.
技术问题technical problem
本申请实施例的目的之一在于:提供一种基于激光扫描的目标探测方法、装置、目标探测终端及可读存储介质,旨在解决相关的目标定位追踪方法的定位追踪的精度易受其他因素影响的问题。One of the purposes of the embodiments of the present application is to provide a target detection method and device based on laser scanning, a target detection terminal, and a readable storage medium, aiming at solving the problem that the positioning and tracking accuracy of related target positioning and tracking methods is easily affected by other factors. problem of impact.
技术解决方案technical solution
为了解决上述技术问题,本申请实施例采用的技术方案是:In order to solve the above technical problems, the technical solution adopted in the embodiment of the present application is:
本申请实施例的第一方面提供一种基于激光扫描的目标探测方法,包括:The first aspect of the embodiments of the present application provides a laser scanning-based target detection method, including:
采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云;Scanning the preset scanning area with the first scanning resolution to obtain the first point cloud of the current period;
对所述当前周期的第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;Perform target detection on the first point cloud of the current period, and if the target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the target to be measured corresponding to the position in the preset scanning area; the observation scanning area is an area in the preset scanning area except the fine scanning area;
在下一扫描周期中,采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,所述第二扫描分辨率大于所述第一扫描分辨率,所述第三扫描分辨率小于或等于所述第一扫描分辨率。In the next scan cycle, scan the fine scan area with a second scan resolution, and scan the observation scan area with a third scan resolution to obtain a second point cloud; wherein, the second scan The resolution is greater than the first scan resolution, and the third scan resolution is less than or equal to the first scan resolution.
在一个实施例中,在所述待测目标为多个时,所述精细扫描区域为与所述多个待测目标在所述预设扫描区域中的多个位置对应的区域。In one embodiment, when there are multiple targets to be measured, the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
对所述第二点云进行目标检测,得到所述待测目标的精细检测结果。Target detection is performed on the second point cloud to obtain a fine detection result of the target to be measured.
在一个实施例中,所述方法包括:In one embodiment, the method includes:
若所述第二点云的检测结果中出现新增目标,则将所述新增目标作为待测目标,基于所述待测目标对所述精细扫描区域和观测扫描区域进行更新。If a new target appears in the detection result of the second point cloud, the new target is used as the target to be measured, and the fine scanning area and the observation scanning area are updated based on the target to be measured.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
若所述第二点云检测结果中未出现新增目标,则在至少一个周期采用所述第一扫描分辨率对所述预设扫描区域进行扫描,直至检测出待测目标。If no new target appears in the second point cloud detection result, the preset scanning area is scanned with the first scanning resolution for at least one period until the target to be detected is detected.
在一个实施例中,所述采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云,包括:In one embodiment, the second scan resolution is used to scan the fine scan area, and the third scan resolution is used to scan the observation scan area to obtain a second point cloud, including:
降低帧频得到第二扫描分辨率,采用所述第二扫描分辨率对所述精细扫描区域进行扫描;reducing the frame rate to obtain a second scanning resolution, and using the second scanning resolution to scan the fine scanning area;
提高帧频得到第三扫描分辨率,采用所述第三扫描分辨率对所述观测扫描区域进行扫描,得到所述第二点云。Increase the frame rate to obtain a third scanning resolution, and use the third scanning resolution to scan the observation scanning area to obtain the second point cloud.
在一个实施例中,所述对所述当前周期的第一点云进行目标检测之后,还包括:In one embodiment, after performing target detection on the first point cloud of the current period, further comprising:
若所述第一点云的检测结果中未检测出待测目标,则在下一周期中,采用第一扫描分 辨率对预设扫描区域进行扫描,得到对应更新后的第一点云,直至在所述第一点云的检测结果中检测出待测目标。If the target to be measured is not detected in the detection result of the first point cloud, then in the next cycle, use the first scanning resolution to scan the preset scanning area to obtain the corresponding updated first point cloud until The target to be detected is detected in the detection result of the first point cloud.
本申请实施例的第二方面提供一种基于激光扫描的目标探测方法,包括:The second aspect of the embodiment of the present application provides a target detection method based on laser scanning, including:
采用第一扫描分辨率对预设扫描区域进行扫描,得到第一点云;Scanning the preset scanning area with the first scanning resolution to obtain the first point cloud;
对所述第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;Perform target detection on the first point cloud, and if the target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the target to be measured are in the corresponding to the position in the preset scanning area; the observation scanning area is an area in the preset scanning area other than the fine scanning area;
采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,利用所述第二扫描分辨率扫描时所述精细扫描区域内的单位面积内的点云数量,大于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量;利用所述第三扫描分辨率扫描时所述观测扫描区域内的单位面积内的点云数量,小于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量。The second scanning resolution is used to scan the fine scanning area, and the third scanning resolution is used to scan the observation scanning area to obtain a second point cloud; wherein, when scanning with the second scanning resolution, the The number of point clouds per unit area in the fine scanning area is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
在一个实施例中,所述精细扫描区域为每一所述待测目标在所述预设扫描区域中的对应的区域。In one embodiment, the fine scanning area is a corresponding area of each target to be measured in the preset scanning area.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
根据所述第二点云判断所述待检测目标的状态是否发生变化;其中的所述待检测目标的状态包括所述待检测目标的数量、速度、角度和距离中的至少一个;Judging whether the state of the target to be detected has changed according to the second point cloud; wherein the state of the target to be detected includes at least one of the number, speed, angle and distance of the target to be detected;
当所述待检测目标的状态发生变化时,基于利用第二点云确定的待测目标更新精细扫描区域和观测扫描区域。When the state of the target to be detected changes, the fine scanning area and the observation scanning area are updated based on the target to be detected determined by using the second point cloud.
在一个实施例中,所述方法,还包括:In one embodiment, the method further includes:
当所述待检测目标的距离大于或等于设定安全距离时,降低帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率;When the distance of the target to be detected is greater than or equal to the set safety distance, reduce the frame rate, increase the scanning resolution of the fine scanning area, and reduce the scanning resolution of the observation scanning area;
当所述待检测目标的距离小于设定安全距离,且逐渐靠近的所述待测检测目标的运动速度大于预设速度时,则提高帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率。When the distance of the target to be detected is less than the set safety distance, and the moving speed of the gradually approaching target to be detected is greater than the preset speed, the frame rate is increased, the scanning resolution of the fine scanning area is increased, and the observation rate is reduced. The scan resolution for the scan area.
本申请实施例的第三方面提供一种基于激光扫描的目标探测装置,包括:The third aspect of the embodiment of the present application provides a target detection device based on laser scanning, including:
激光扫描模块,用于采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云;The laser scanning module is used to scan the preset scanning area with the first scanning resolution to obtain the first point cloud of the current cycle;
检测模块,用于对所述当前周期的第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;A detection module, configured to perform target detection on the first point cloud of the current period, and if the target to be measured is detected, determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and The position of the target to be measured corresponds to the preset scanning area; the observation scanning area is an area in the preset scanning area except the fine scanning area;
所述激光扫描模块,还用于在下一扫描周期中,采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,所述第二扫描分辨率大于所述第一扫描分辨率,所述第三扫描分辨率小于或等于所述第一扫描分辨率。The laser scanning module is further configured to scan the fine scanning area with a second scanning resolution and scan the observation scanning area with a third scanning resolution in the next scanning cycle to obtain a second point cloud; wherein, the second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is less than or equal to the first scanning resolution.
在一个实施例中,在所述待测目标为多个时,所述精细扫描区域为与所述多个待测目标在所述预设扫描区域中的多个位置对应的区域。In one embodiment, when there are multiple targets to be measured, the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
在一个实施例中,所述检测模块,还用于对所述第二点云进行目标检测,得到所述待测目标的精细检测结果。In one embodiment, the detection module is further configured to perform object detection on the second point cloud to obtain a fine detection result of the object to be detected.
在一个实施例中,所述激光扫描模块,还用于若所述第二点云的检测结果中出现新增目标,则将所述新增目标作为待测目标,基于所述待测目标对所述精细扫描区域和观测扫描区域进行更新。In one embodiment, the laser scanning module is further configured to use the newly added target as the target to be measured if a new target appears in the detection result of the second point cloud. The fine scanning area and the observation scanning area are updated.
在一个实施例中,所述激光扫描模块,还用于若所述第二点云检测结果中未出现新增目标,则在至少一个周期采用所述第一扫描分辨率对所述预设扫描区域进行扫描,直至检 测出待测目标。In one embodiment, the laser scanning module is further configured to scan the preset scan with the first scan resolution in at least one cycle if no new target appears in the second point cloud detection result The area is scanned until the target to be detected is detected.
在一个实施例中,所述激光扫描模块,包括:In one embodiment, the laser scanning module includes:
第一扫描单元,用于降低帧频得到第二扫描分辨率,采用所述第二扫描分辨率对所述精细扫描区域进行扫描;The first scanning unit is configured to reduce the frame rate to obtain a second scanning resolution, and use the second scanning resolution to scan the fine scanning area;
第二扫描单元,用于提高帧频得到第三扫描分辨率,采用所述第三扫描分辨率对所述观测扫描区域进行扫描,得到所述第二点云。The second scanning unit is configured to increase the frame rate to obtain a third scanning resolution, and use the third scanning resolution to scan the observation scanning area to obtain the second point cloud.
在一个实施例中,所述激光扫描模块,还用于若所述第一点云的检测结果中未检测出待测目标,则在下一周期中,采用第一扫描分辨率对预设扫描区域进行扫描,得到对应更新后的第一点云,直至在所述第一点云的检测结果中检测出待测目标。In one embodiment, the laser scanning module is further configured to use the first scanning resolution to scan the preset scanning area in the next cycle if the target to be measured is not detected in the detection result of the first point cloud. Scanning is performed to obtain a correspondingly updated first point cloud until the target to be measured is detected in the detection result of the first point cloud.
本申请实施例的第四方面提供一种基于激光扫描的目标探测装置,包括:The fourth aspect of the embodiment of the present application provides a target detection device based on laser scanning, including:
区域扫描模块,用于采用第一扫描分辨率对预设扫描区域进行扫描,得到第一点云;An area scanning module, configured to scan a preset scanning area with a first scanning resolution to obtain a first point cloud;
区域划分模块,用于对所述第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;An area division module, configured to perform target detection on the first point cloud, and if a target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the Corresponding to the position of the target to be measured in the preset scanning area; the observation scanning area is an area other than the fine scanning area in the preset scanning area;
所述区域扫描模块,还用于采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,利用所述第二扫描分辨率扫描时所述精细扫描区域内的单位面积内的点云数量,大于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量;利用所述第三扫描分辨率扫描时所述观测扫描区域内的单位面积内的点云数量,小于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量。The area scanning module is further configured to scan the fine scanning area with a second scanning resolution, and scan the observation scanning area with a third scanning resolution to obtain a second point cloud; wherein, using the The number of point clouds per unit area in the fine scanning area when scanning with the second scanning resolution is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area when scanning with the third scanning resolution is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
在一个实施例中,所述精细扫描区域为每一所述待测目标在所述预设扫描区域中的对应的区域。In one embodiment, the fine scanning area is a corresponding area of each target to be measured in the preset scanning area.
在一个实施例中,基于激光扫描的目标探测装置,还包括:In one embodiment, the target detection device based on laser scanning further includes:
第三检测模块,用于根据所述第二点云判断所述待检测目标的状态是否发生变化;其中的所述待检测目标的状态包括所述待检测目标的数量、速度、角度和距离中的至少一个;A third detection module, configured to judge whether the state of the target to be detected has changed according to the second point cloud; wherein the state of the target to be detected includes the number, speed, angle and distance of the target to be detected at least one of
更新模块,用于当所述待检测目标的状态发生变化时,基于利用第二点云确定的待测目标更新精细扫描区域和观测扫描区域。An updating module, configured to update the fine scanning area and the observation scanning area based on the target to be detected determined by using the second point cloud when the state of the target to be detected changes.
在一个实施例中,基于激光扫描的目标探测装置,还包括:In one embodiment, the target detection device based on laser scanning further includes:
第一分辨率调整模块,用于当所述待检测目标的距离大于或等于设定安全距离时,降低帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率;The first resolution adjustment module is used to reduce the frame rate, improve the scanning resolution of the fine scanning area, and reduce the scanning resolution of the observation scanning area when the distance of the target to be detected is greater than or equal to the set safety distance;
第二分辨率调整模块,用于当所述待检测目标的距离小于设定安全距离,且逐渐靠近的所述待测检测目标的运动速度大于预设速度时,则提高帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率。The second resolution adjustment module is used to increase the frame rate and improve fine scanning when the distance of the target to be detected is less than the set safety distance, and the moving speed of the target to be detected that is gradually approaching is greater than the preset speed Scan resolution of the region, and reduced scan resolution of the observed scan region.
本申请实施例的第五方面提供一种目标探测终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面或第二方面中任一项所述的基于激光扫描的目标探测方法。A fifth aspect of the embodiments of the present application provides a target detection terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program Realize the target detection method based on laser scanning as described in any one of the first aspect or the second aspect above.
本申请实施例的第六方面提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面或第二方面中任一项所述的基于激光扫描的目标探测方法。A sixth aspect of the embodiments of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the above-mentioned first or second aspects can be implemented. A laser scanning based object detection method described.
本申请实施例的第七方面提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面或第二方面中任一项所述的基于激光扫描的目标探测方法。The seventh aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the laser scanning-based target described in any one of the first aspect or the second aspect. detection method.
有益效果Beneficial effect
1.本申请实施例的第一方面提供的基于激光扫描的目标探测方法,通过采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云,对当前周期的第一点云进行 目标检测,若检测出待测目标,则基于待测目标确定精细扫描区域和观测扫描区域,在下一扫描周期中,采用第二扫描分辨率对精细扫描区域进行扫描,以及采用第三扫描分辨率对观测扫描区域进行扫描,得到第二点云,能够实现在预设扫描区域中,探测待测目标的同时确定待测目标周围环境的变化,进而保证了待测目标的安全性,同时提高了目标定位的精度。1. In the target detection method based on laser scanning provided in the first aspect of the embodiment of the present application, the first point cloud of the current period is obtained by scanning the preset scanning area with the first scanning resolution, and the first point cloud of the current period is obtained. The point cloud performs target detection. If the target to be measured is detected, the fine scanning area and the observation scanning area are determined based on the target to be measured. In the next scanning cycle, the fine scanning area is scanned with the second scanning resolution, and the third scanning resolution is used. The scanning resolution scans the observation scanning area to obtain the second point cloud, which can realize the detection of the target to be measured in the preset scanning area and determine the change of the surrounding environment of the target to be measured, thus ensuring the safety of the target to be measured. At the same time, the accuracy of target positioning is improved.
2.本申请实施例的第二方面提供的基于激光扫描的目标探测方法能够实现在预设扫描区域中,探测待测目标的同时确定待测目标周围环境的变化,进而保证了待测目标的安全性,同时提高了目标定位的精度。2. The target detection method based on laser scanning provided by the second aspect of the embodiment of the present application can detect the target to be measured while determining the change of the surrounding environment of the target to be measured in the preset scanning area, thereby ensuring the accuracy of the target to be measured. Safety, while improving the accuracy of target positioning.
3.本申请实施例的第三方面提供的基于激光扫描的目标探测装置在遵循本申请实施例的第一方面提供的基于激光扫描的目标探测方法的前提下、第四方面提供的基于激光扫描的目标探测装置在遵循本申请实施例的第二方面提供的基于激光扫描的目标探测方法的前提下,第五方面提供的目标探测终端、第六方面提供的计算机可读存储介质、第七方面提供计算机程序产品在遵循本申请实施例的第一方面或第二方面提供的基于激光扫描的目标探测方法的前提下,能够实现在预设扫描区域中,探测待测目标的同时确定待测目标周围环境的变化,进而保证了待测目标的安全性,同时提高了目标定位的精度。3. The laser-scanning-based target detection device provided in the third aspect of the embodiment of the present application follows the laser-scanning-based target detection method provided in the first aspect of the embodiment of the application, and the laser-scanning-based target detection device provided in the fourth aspect On the premise of following the laser scanning-based target detection method provided by the second aspect of the embodiment of the present application, the target detection device provided by the fifth aspect, the computer-readable storage medium provided by the sixth aspect, the seventh aspect Provide a computer program product that, on the premise of following the laser scanning-based target detection method provided in the first aspect or the second aspect of the embodiment of the present application, can detect the target to be measured and determine the target to be measured at the same time in the preset scanning area Changes in the surrounding environment, thereby ensuring the safety of the target to be measured, while improving the accuracy of target positioning.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are only for the present application For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本申请实施例一提供的基于激光扫描的目标探测系统的结构示意图;FIG. 1 is a schematic structural diagram of a target detection system based on laser scanning provided in Embodiment 1 of the present application;
图2是本申请实施例一提供的基于激光扫描的目标探测方法的流程示意图;FIG. 2 is a schematic flow chart of a target detection method based on laser scanning provided in Embodiment 1 of the present application;
图3是本申请实施例一提供的通过第一扫描分辨率对预设扫描区域进行扫描的应用场景图;FIG. 3 is an application scene diagram of scanning a preset scanning area with a first scanning resolution provided by Embodiment 1 of the present application;
图4是本申请实施例一提供的精细扫描区域和观测扫描区域的应用场景示意图;Fig. 4 is a schematic diagram of the application scene of the fine scanning area and the observation scanning area provided by Embodiment 1 of the present application;
图5是本申请实施例二提供的基于激光扫描的目标探测方法的另一流程示意图;Fig. 5 is another schematic flowchart of the target detection method based on laser scanning provided in Embodiment 2 of the present application;
图6是本申请实施例二提供的基于新增目标进行扫描的应用场景示意图;FIG. 6 is a schematic diagram of an application scenario for scanning based on newly added targets provided by Embodiment 2 of the present application;
图7是本申请实施例三提供的基于激光扫描的目标探测方法的又一流程示意图;Fig. 7 is another schematic flowchart of the target detection method based on laser scanning provided in Embodiment 3 of the present application;
图8是本申请实施例四提供的基于激光扫描的目标探测装置的结构示意图;FIG. 8 is a schematic structural diagram of a target detection device based on laser scanning provided in Embodiment 4 of the present application;
图9是本申请实施例五提供的目标探测终端的结构示意图。FIG. 9 is a schematic structural diagram of a target detection terminal provided in Embodiment 5 of the present application.
本发明的实施方式Embodiments of the present invention
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and/or collections thereof. It should also be understood that the term "and/or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed, depending on the context, as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第 三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification and appended claims of this application, the terms "first", "second", "third" and so on are only used to distinguish descriptions, and should not be understood as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.
本申请实施例提供的基于激光扫描的目标探测方法可以由目标探测终端执行,所述目标探测终端设置有相控阵激光雷达(Optical Phased Array LiDAR,OPA LiDAR),并装载了用于执行所述基于激光扫描的目标探测方法程序的应用软件,所述目标探测终端可以是移动终端,车载设备,计算机等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。The target detection method based on laser scanning provided in the embodiment of the present application can be executed by a target detection terminal, the target detection terminal is provided with a phased array LiDAR (Optical Phased Array LiDAR, OPA LiDAR), and is loaded with a The application software of the target detection method program based on laser scanning. The target detection terminal can be a terminal device such as a mobile terminal, a vehicle-mounted device, or a computer. The embodiment of the present application does not impose any restrictions on the specific type of the terminal device.
图1示出了本申请提供的基于激光扫描的目标探测系统1的结构流程图。上述基于激光扫描的目标探测系统1由处理模块101、激光发射模块102和信号接收模块103构成,处理模块101分别与激光发射模块102和信号接收模块103通信连接。其中,激光发射模块102用于根据处理模块101发送的控制指令在扫描区域内发射对应的激光信号,信号接收模块103用于接收扫描区域内待测目标反射的点云数据并返回至处理模块101,处理模块101用于通过控制指令控制激光发射模块102的激光信号参数(包括但不限于激光信号的分辨率、帧频和扫描区域),接收信号接收模块102返回的点云数据,以及基于上述点云数据对激光信号的参数进行调整,更新控制指令;其中,激光发射模块102具体由相控阵激光雷达OPA LiDAR构成。FIG. 1 shows a structural flow chart of a laser scanning-based target detection system 1 provided by the present application. The target detection system 1 based on laser scanning is composed of a processing module 101 , a laser emitting module 102 and a signal receiving module 103 , and the processing module 101 is communicatively connected with the laser emitting module 102 and the signal receiving module 103 . Among them, the laser emitting module 102 is used to emit corresponding laser signals in the scanning area according to the control instructions sent by the processing module 101, and the signal receiving module 103 is used to receive the point cloud data reflected by the target to be measured in the scanning area and return it to the processing module 101 , the processing module 101 is used to control the laser signal parameters of the laser emitting module 102 (including but not limited to the resolution, frame rate and scanning area of the laser signal) through control instructions, receive the point cloud data returned by the signal receiving module 102, and based on the above The point cloud data adjusts the parameters of the laser signal and updates the control instructions; wherein, the laser emitting module 102 is specifically composed of a phased array laser radar OPA LiDAR.
在实际应用时,处理模块101发送控制信号到激光发射模块102,控制激光发射模块102采用第一扫描分辨率对预先设定的扫描区域进行扫描;通过信号接收模块103采集当前扫描周期中预先设定的扫描区域内,待测目标反射的第一点云数据;处理模块101根据第一点云数据进行目标检测,在检测到待测目标时,更新控制指令,控制激光发射模块102在下一周期采用第二扫描分辨率对精细扫描区域进行扫描,采用第三扫描分辨率对观测扫描区域进行扫描;通过信号接收模块103采集下一周期中精细扫描区域和观测扫描区域内,待测目标反射的第二点云数据。能够实现在预设扫描区域中,探测待测目标的同时确定待测目标周围环境的变化,进而保证了待测目标的安全性,同时提高了目标定位的精度。In actual application, the processing module 101 sends a control signal to the laser emitting module 102, and controls the laser emitting module 102 to scan the preset scanning area with the first scanning resolution; In the predetermined scanning area, the first point cloud data reflected by the target to be measured; the processing module 101 performs target detection according to the first point cloud data, and when the target to be measured is detected, the control instruction is updated to control the laser emitting module 102 to perform target detection in the next cycle. Use the second scanning resolution to scan the fine scanning area, and use the third scanning resolution to scan the observation scanning area; use the signal receiving module 103 to collect the reflection of the target to be measured in the fine scanning area and the observation scanning area in the next cycle The second point cloud data. It can be realized that in the preset scanning area, the change of the surrounding environment of the target to be measured can be determined while detecting the target to be measured, thereby ensuring the safety of the target to be measured and improving the accuracy of target positioning.
图2示出了本申请提供的基于激光扫描的目标探测方法的示意性流程图,作为示例而非限定,该方法可以应用于上述目标探测终端中。FIG. 2 shows a schematic flow chart of a laser scanning-based target detection method provided by the present application. As an example but not a limitation, the method can be applied to the above-mentioned target detection terminal.
S101、采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云。S101. Scan a preset scanning area with a first scanning resolution to obtain a first point cloud of a current period.
具体地,在确定预设扫描区域的范围后,在预设扫描区域内发射第一扫描分辨率的激光信号,对预设扫描区域进行扫描,并采集得到当前扫描周期(设定将采用第一扫描分辨率对预设扫描区域进行扫描的扫描周期,简称为第一扫描周期)的第一点云数据。Specifically, after determining the range of the preset scanning area, emit a laser signal with the first scanning resolution in the preset scanning area, scan the preset scanning area, and collect the current scanning period (the setting will use the first Scanning resolution (scanning period for scanning the preset scanning area, referred to as the first scanning period) of the first point cloud data.
其中,预设扫描区域可根据实际情况进行具体设定,本实施例对此不做具体限定。Wherein, the preset scanning area may be specifically set according to actual conditions, which is not specifically limited in this embodiment.
可以理解的是,为提高目标探测的效率及精度,一般情况下,可设定预设扫描区域为当前激光雷达所发射的激光信号的最大扫描区域。It can be understood that, in order to improve the efficiency and accuracy of target detection, generally, the preset scanning area can be set as the maximum scanning area of the laser signal emitted by the current laser radar.
具体地,由于激光雷达设备的主体设备在工作时通过不断旋转发射激光信号,对应激光信号的扫描范围的单位为方位角;因此,预设扫描区域一般为以激光雷达设备的发射器为中心,一定数值的方位角度范围对应的区域。Specifically, since the main equipment of the laser radar device emits laser signals through continuous rotation during operation, the unit of the scanning range corresponding to the laser signal is the azimuth; therefore, the preset scanning area is generally centered on the transmitter of the laser radar device, The area corresponding to the azimuth angle range of a certain value.
如图3所示,提供了一种通过第一扫描分辨率对预设扫描区域进行扫描的应用场景图。As shown in FIG. 3 , an application scene diagram of scanning a preset scanning area by using a first scanning resolution is provided.
根据图3可知,具体采用第一扫描分辨率对以激光雷达的发射器为中心,扫描距离为200M,角度为-45到45°对应的扇形区域作为预设扫描区域进行扫描,并采集第一扫描周期中预设扫描区域的第一点云数据。According to Figure 3, it can be seen that the first scanning resolution is used to scan the fan-shaped area corresponding to the laser radar transmitter as the center, the scanning distance is 200M, and the angle is -45 to 45° as the preset scanning area, and the first scanning resolution is collected. The first point cloud data of the preset scanning area in the scanning cycle.
S102、对所述当前周期的第一点云进行目标检测,若检测出待测目标,则基于所述待 测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域。S102. Perform target detection on the first point cloud of the current period, and if the target to be measured is detected, determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the target to be measured are corresponding to the position of the measurement target in the preset scanning area; the observation scanning area is an area in the preset scanning area other than the fine scanning area.
具体地,在采集到第一扫描周期中预设扫描区域内的第一点云数据后,根据第一扫描周期的第一点云数据,对预设扫描区域进行目标检测,若根据第一点云数据检测出预设扫描区域内存在待测目标,则通过第一点云数据确定待测目标在预设扫描区域中的位置信息,并基于待测目标在预设扫描区域中的位置信息确定精细扫描区域,根据预设扫描区域和精细扫描区域确定观测扫描区域。其中,点云数据(point cloud data)是指在一个三维坐标系统中的一组向量的集合。与待测目标在预设扫描区域中的位置对应的区域即为精细扫描区域,预设扫描区域中,除精细扫描区域以外的区域即为观测扫描区域。Specifically, after collecting the first point cloud data in the preset scanning area in the first scanning cycle, the target detection is performed on the preset scanning area according to the first point cloud data in the first scanning cycle, if according to the first point If the cloud data detects that there is a target to be measured in the preset scanning area, the position information of the target to be measured in the preset scanning area is determined through the first point cloud data, and based on the position information of the target to be measured in the preset scanning area, it is determined The fine scanning area is to determine the observation scanning area according to the preset scanning area and the fine scanning area. Among them, point cloud data refers to a set of vectors in a three-dimensional coordinate system. The area corresponding to the position of the target to be measured in the preset scanning area is the fine scanning area, and in the preset scanning area, the area other than the fine scanning area is the observation scanning area.
需要说明的是,可根据第一点云数据中待测目标与激光雷达之间的距离、角度信息,确定待测目标在预设扫描区域内的位置信息。It should be noted that the position information of the target to be measured within the preset scanning area can be determined according to the distance and angle information between the target to be measured and the laser radar in the first point cloud data.
S103、在下一扫描周期中,采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,所述第二扫描分辨率大于所述第一扫描分辨率,所述第三扫描分辨率小于或等于所述第一扫描分辨率。S103. In the next scanning period, scan the fine scanning area with a second scanning resolution, and scan the observation scanning area with a third scanning resolution to obtain a second point cloud; wherein, the first The second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is smaller than or equal to the first scanning resolution.
具体地,在检测到待测目标的下一个扫描周期(以下简称为第二扫描周期)中,在精细扫描区域内发射第二扫描分辨率的激光信号,对精细扫描区域进行扫描,并在观测扫描区域内发射第三扫描分辨率的激光信号,对观测扫描区域进行扫描,采集得到第二扫描周期的第二点云数据。其中,第二扫描分辨率大于第一扫描分辨率,第三扫描分辨率小于或等于第一扫描分辨率。Specifically, in the next scanning cycle (hereinafter referred to as the second scanning cycle) in which the target to be measured is detected, a laser signal with a second scanning resolution is emitted in the fine scanning area to scan the fine scanning area, and observe A laser signal with a third scanning resolution is emitted in the scanning area, the observation scanning area is scanned, and the second point cloud data of the second scanning period is collected. Wherein, the second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is smaller than or equal to the first scanning resolution.
需要说明的是,设定通过第一分辨率对预设扫描区域进行粗扫描,可以检测到预设扫描区域是否存在待测目标以及待测目标的大概位置信息,通过大于第一扫描分辨率的第二扫描分辨率对精细观测区域进行扫描,可以准确定位待测目标的位置信息,提高目标探测的精度。It should be noted that, if the preset scan area is set to be roughly scanned with the first resolution, it can be detected whether there is a target to be measured in the preset scan area and the approximate position information of the target to be measured. The second scanning resolution scans the fine observation area, which can accurately locate the position information of the target to be measured and improve the accuracy of target detection.
在一个实施例中,在所述待测目标为多个时,所述精细扫描区域为与所述多个待测目标在所述预设扫描区域中的多个位置对应的区域。In one embodiment, when there are multiple targets to be measured, the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
具体地,在根据第一点云数据检测到预设扫描区域存在多个检测目标时,根据第一点云数据确定每个待测目标在预设扫描区域中的位置信息,确定所有待测目标在预设扫描区域中的所有位置信息对应的区域,作为精细扫描区域。Specifically, when it is detected that there are multiple detection targets in the preset scanning area according to the first point cloud data, the position information of each target to be measured in the preset scanning area is determined according to the first point cloud data, and all the targets to be detected are determined The area corresponding to all the position information in the preset scanning area is used as the fine scanning area.
如图4所示,提供了一种精细扫描区域和观测扫描区域的应用场景示意图。As shown in FIG. 4 , a schematic diagram of an application scenario of a fine scanning area and an observation scanning area is provided.
根据图4可知,根据第一点云数据检测出4个待测目标(图中以空心圆显示),确定每个待测目标在预设扫描区域中的位置信息,确定4个待测目标在预设扫描区域中的位置信息所对应的区域,作为精细扫描区域,从而确定预设扫描区域中,除精细扫描区域以外的区域作为观测扫描区域。在精细扫描区域内发射第二扫描分辨率的激光信号,对精细扫描区域进行扫描,并在观测扫描区域内发射第三扫描分辨率的激光信号,对观测扫描区域进行扫描,采集得到第二扫描周期的第二点云数据。According to Fig. 4, it can be seen that 4 targets to be measured are detected according to the first point cloud data (shown as hollow circles in the figure), the position information of each target to be measured in the preset scanning area is determined, and the 4 targets to be measured are determined to be The area corresponding to the position information in the preset scanning area is used as the fine scanning area, so that the area other than the fine scanning area in the preset scanning area is determined as the observation scanning area. Launch the laser signal of the second scanning resolution in the fine scanning area, scan the fine scanning area, and emit the laser signal of the third scanning resolution in the observation scanning area, scan the observation scanning area, and acquire the second scan Periodic second point cloud data.
在一个实施例中,所述对所述当前周期的第一点云进行目标检测之后,还包括:In one embodiment, after performing target detection on the first point cloud of the current period, further comprising:
若所述第一点云的检测结果中未检测出待测目标,则在下一周期中,采用第一扫描分辨率对预设扫描区域进行扫描,得到对应更新后的第一点云,直至在所述第一点云的检测结果中检测出待测目标。If the target to be measured is not detected in the detection result of the first point cloud, then in the next cycle, use the first scanning resolution to scan the preset scanning area to obtain the corresponding updated first point cloud until The target to be detected is detected in the detection result of the first point cloud.
具体地,根据第一扫描周期的第一点云数据,对预设扫描区域进行目标检测,若第一点云数据的检测结果显示预设扫描区域没有检测到待测目标,则设定在下一扫描周期(即新的第一扫描周期)中,仍在预设扫描区域内发射第一分辨率的激光信号,对预设扫描区域进行扫描,采集得到新的第一扫描周期中预设扫描区域内的点云数据作为更新后的第一点云数据,若在更新后的第一点云数据的检测结果显示未检测到待测目标,则返回执行上述在下一周期中,采用第一扫描分辨率对预设扫描区域进行扫描,得到对应更新后的第一 点云的步骤,直至根据更新后的第一点云数据在预设扫描区域检测到待测目标为止。Specifically, according to the first point cloud data in the first scanning cycle, the target detection is performed on the preset scanning area, and if the detection result of the first point cloud data shows that the target to be measured is not detected in the preset scanning area, then set the next In the scanning period (namely the new first scanning period), the laser signal of the first resolution is still emitted in the preset scanning area, the preset scanning area is scanned, and the preset scanning area in the new first scanning period is acquired The point cloud data within is used as the updated first point cloud data. If the detection result of the updated first point cloud data shows that the target to be measured is not detected, then return to execute the above in the next cycle, using the first scan resolution The step of scanning the preset scanning area at a high rate to obtain the corresponding updated first point cloud until the target to be measured is detected in the preset scanning area according to the updated first point cloud data.
本实施例通过采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云,对当前周期的第一点云进行目标检测,若检测出待测目标,则基于待测目标确定精细扫描区域和观测扫描区域,在下一扫描周期中,采用第二扫描分辨率对精细扫描区域进行扫描,以及采用第三扫描分辨率对观测扫描区域进行扫描,得到第二点云,能够实现在预设扫描区域中,探测待测目标的同时确定待测目标周围环境的变化,进而保证了待测目标的安全性,同时提高了目标定位的精度。In this embodiment, by using the first scanning resolution to scan the preset scanning area, the first point cloud of the current period is obtained, and the target detection is performed on the first point cloud of the current period. The target determines the fine scanning area and the observation scanning area. In the next scanning cycle, the second scanning resolution is used to scan the fine scanning area, and the third scanning resolution is used to scan the observation scanning area to obtain the second point cloud, which can In the preset scanning area, changes in the surrounding environment of the target are detected while the target is detected, thereby ensuring the safety of the target and improving the accuracy of target positioning.
实施例二Embodiment two
本实施例是对实施例一的进一步说明,与实施例一相同或相似的地方,具体可参见实施例一的相关描述,此处不再赘述。如图5所示,本实施例中的基于激光扫描的目标探测方法,还包括:This embodiment is a further description of Embodiment 1. For the same or similar parts as Embodiment 1, please refer to the relevant description of Embodiment 1 for details, and details will not be repeated here. As shown in Figure 5, the target detection method based on laser scanning in this embodiment also includes:
S104、对所述第二点云进行目标检测,得到所述待测目标的精细检测结果。S104. Perform object detection on the second point cloud to obtain a fine detection result of the object to be detected.
具体地,在采集到第二扫描周期中精细扫描区域和观测扫描区域的第二点云数据后,根据第二点云数据,对精细扫描区域进行目标检测,得到待测目标的精细检测结果(也即待测目标的位置信息),同时根据第二点云数据,对精细扫描区域和观测扫描区域进行目标检测,以确定是否存在新增目标。Specifically, after collecting the second point cloud data of the fine scanning area and the observation scanning area in the second scanning period, according to the second point cloud data, the target detection is performed on the fine scanning area, and the fine detection result of the target to be measured is obtained ( That is, the location information of the target to be measured), and at the same time, according to the second point cloud data, target detection is performed on the fine scanning area and the observation scanning area to determine whether there is a new target.
可以理解的是,采用大于第一扫描分辨率的第二分辨率对精细扫描区域进行精细扫描后,对应得到的精细检测结果包含的位置信息精度更高。It can be understood that, after fine-scanning the fine-scan area with the second resolution higher than the first scan resolution, the position information contained in the corresponding fine detection result is higher in accuracy.
作为示例而非限定,在采集到第一点云数据后,可根据第一点云数据确定待测目标的第一数量,每个待测目标的第一形状和第一位置信息,基于每个待测目标的第一形状和第一位置信息对每个待测目标添加对应的标注。在采集到第二点云数据后,根据第二点云数据确定待测目标的第二数量,若第二数量与第一数量相同,则判定当前检测结果为未出现新增目标;若第二数量大于第一数量,则根据第二点云数据确定每个待测目标的第二形状和第二位置信息,基于上述第二形状和第二位置信息与第一形状和第一位置信息进行匹配,将未匹配成功的待测目标作为新增目标,并添加新的标注。As an example and not a limitation, after the first point cloud data is collected, the first number of objects to be measured can be determined according to the first point cloud data, the first shape and first position information of each object to be measured, based on each The first shape and the first position information of the target to be measured add a corresponding label to each target to be measured. After collecting the second point cloud data, determine the second quantity of the target to be measured according to the second point cloud data, if the second quantity is the same as the first quantity, then determine that the current detection result is no new target; if the second If the number is greater than the first number, then determine the second shape and second position information of each object to be measured according to the second point cloud data, and match the first shape and first position information based on the second shape and second position information , take the unmatched target to be tested as a new target, and add a new label.
在一个实施例中,所述方法,还包括:In one embodiment, the method further includes:
若所述第二点云的检测结果中出现新增目标,则将所述新增目标作为待测目标,基于所述待测目标对所述精细扫描区域和观测扫描区域进行更新。If a new target appears in the detection result of the second point cloud, the new target is used as the target to be measured, and the fine scanning area and the observation scanning area are updated based on the target to be measured.
具体地,若观测扫描区域的检测结果显示存在新增目标,则将新增目标更新为待测目标,根据第二点云数据确定待测目标在预设扫描区域内的位置信息,根据待测目标在预设扫描区域内的位置信息对精细扫描区域行更新,根据预设扫描区域和更新后的精细扫描区域对观测扫描区域进行更新,并采用第二扫描分辨率对更新后的精细扫描区域进行扫描,以及采用第三扫描分辨率对更新后的观测扫描区域进行扫描,得到新第二点云数据。Specifically, if the detection result of the observation scanning area shows that there is a new target, the new target is updated as the target to be measured, and the position information of the target to be measured in the preset scanning area is determined according to the second point cloud data. The position information of the target in the preset scanning area is updated for the fine scanning area, the observation scanning area is updated according to the preset scanning area and the updated fine scanning area, and the updated fine scanning area is updated with the second scanning resolution Scanning is performed, and the updated observation scanning area is scanned with a third scanning resolution to obtain new second point cloud data.
如图6所示,提供了一种基于新增目标进行扫描的应用场景示意图。As shown in FIG. 6 , a schematic diagram of an application scenario of scanning based on a newly added target is provided.
根据图6可知,根据第二点云数据检测出3个新增的待测目标(图中以空心圆显示),确定上述3个新增目标在预设扫描区域内的位置信息为对应的区域,作为新的精细扫描区域,新的观测扫描区域为预设扫描区域中除新的精细扫描区域以外的区域;在新的观测扫描区域发射第二分辨率的激光信号,对新的观测扫描区域进行扫描,并在新的观测扫描区域内发射第三扫描分辨率的激光信号,对新的观测扫描区域进行扫描,采集得到新第二扫描周期的第二点云数据。According to Figure 6, it can be seen that three newly added targets to be measured are detected according to the second point cloud data (shown as hollow circles in the figure), and the position information of the above three newly added targets in the preset scanning area is determined as the corresponding area , as the new fine scanning area, the new observation scanning area is the area other than the new fine scanning area in the preset scanning area; the laser signal with the second resolution is emitted in the new observation scanning area, and the new observation scanning area Scanning is performed, and a laser signal with a third scanning resolution is emitted in the new observation scanning area, and the new observation scanning area is scanned to acquire second point cloud data of a new second scanning period.
在一个实施例中,所述采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云,包括:In one embodiment, the second scan resolution is used to scan the fine scan area, and the third scan resolution is used to scan the observation scan area to obtain a second point cloud, including:
降低帧频得到第二扫描分辨率,采用所述第二扫描分辨率对所述精细扫描区域进行扫描;reducing the frame rate to obtain a second scanning resolution, and using the second scanning resolution to scan the fine scanning area;
提高帧频得到第三扫描分辨率,采用所述第三扫描分辨率对所述观测扫描区域进行扫 描,得到所述第二点云。Increase the frame rate to obtain a third scanning resolution, and use the third scanning resolution to scan the observation scanning area to obtain the second point cloud.
具体地,扫描分辨率具体指角分辨率。帧频表示一秒钟内激光雷达电机旋转的圈数。由于分辨率是随着帧频的变化而变化,因此可通过降低帧频,将第一扫描分辨率调整至第二扫描分辨率,在精细扫描区域内发射第二扫描分辨率的激光信号,对精细扫描区域进行扫描;同时提高帧频将第一扫描分辨率调整至第三扫描分辨率,在观测扫描区域内发射第三扫描分辨率的激光信号,对观测扫描区域进行扫描,采集得到第二扫描周期的第二点云数据。Specifically, the scan resolution specifically refers to the angular resolution. The frame rate represents the number of revolutions of the lidar motor in one second. Since the resolution changes with the change of the frame frequency, the first scanning resolution can be adjusted to the second scanning resolution by reducing the frame rate, and the laser signal of the second scanning resolution can be emitted in the fine scanning area. Scan the fine scanning area; at the same time increase the frame rate to adjust the first scanning resolution to the third scanning resolution, emit the laser signal of the third scanning resolution in the observation scanning area, scan the observation scanning area, and acquire the second The second point cloud data of the scan cycle.
本实施例通过采用较大的第二分辨率对精细扫描区域进行扫描,采集获得的第二点云数据进行目标检测,获得对应的待测目标的精细检测结果,可以准确定位待测目标在预设扫描区域的位置信息,提高了目标探测的精度;同时通过第二点云数据检测是否存在新的待测目标,能够在定位待测目标的同时观测周围环境,进一步提高了目标探测的效率。In this embodiment, by using a larger second resolution to scan the fine scanning area, collect the obtained second point cloud data for target detection, and obtain the corresponding fine detection results of the target to be measured, it is possible to accurately locate the target to be measured in the predicted state. The location information of the scanning area is set to improve the accuracy of target detection; at the same time, through the second point cloud data to detect whether there is a new target to be measured, it is possible to observe the surrounding environment while locating the target to be measured, which further improves the efficiency of target detection.
实施例三Embodiment Three
本实施例是对实施例一的进一步说明,与实施例一相同或相似的地方,具体可参见实施例一的相关描述,此处不再赘述。如图7所示,本实施例中的基于激光扫描的目标探测方法,还包括:This embodiment is a further description of Embodiment 1. For the same or similar parts as Embodiment 1, please refer to the relevant description of Embodiment 1 for details, and details will not be repeated here. As shown in Figure 7, the target detection method based on laser scanning in this embodiment also includes:
S105、若所述第二点云检测结果中未出现新增目标,则在至少一个周期采用所述第一扫描分辨率对所述预设扫描区域进行扫描,直至检测出待测目标。S105. If no new target appears in the second point cloud detection result, scan the preset scanning area with the first scanning resolution for at least one period until the target to be detected is detected.
具体地,若根据第二点云数据,对精细扫描区域和观测扫描区域进行目标检测的检测结果显示未出现新增目标,则设定在之后的至少一个扫描周期内,在预设扫描区域内发射第一扫描分辨率的激光信号,对预设扫描区域进行扫描,直至检测出待测目标。Specifically, if according to the second point cloud data, the detection result of the target detection on the fine scanning area and the observation scanning area shows that no new target appears, then it is set within at least one subsequent scanning cycle, within the preset scanning area A laser signal with the first scanning resolution is emitted, and the preset scanning area is scanned until the target to be measured is detected.
本实施例通过在基于第二点云检测结果未检测出新增目标时,对预设扫描区域进行多个周期的扫描,实现对预设扫描区域的实时监测,避免由于环境变化出现新目标而产生的漏检现象,进一步提高了目标探测的准确率和可信度。In this embodiment, when no new target is detected based on the second point cloud detection result, multiple cycles of scanning are performed on the preset scanning area to realize real-time monitoring of the preset scanning area, so as to avoid the occurrence of new targets due to environmental changes. The resulting missing detection phenomenon further improves the accuracy and reliability of target detection.
在另一个实施例中,基于激光扫描的目标探测方法,包括:In another embodiment, the target detection method based on laser scanning includes:
采用第一扫描分辨率对预设扫描区域进行扫描,得到第一点云;Scanning the preset scanning area with the first scanning resolution to obtain the first point cloud;
对所述第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;Perform target detection on the first point cloud, and if the target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the target to be measured are in the corresponding to the position in the preset scanning area; the observation scanning area is an area in the preset scanning area other than the fine scanning area;
采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,利用所述第二扫描分辨率扫描时所述精细扫描区域内的单位面积内的点云数量,大于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量;利用所述第三扫描分辨率扫描时所述观测扫描区域内的单位面积内的点云数量,小于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量。The second scanning resolution is used to scan the fine scanning area, and the third scanning resolution is used to scan the observation scanning area to obtain a second point cloud; wherein, when scanning with the second scanning resolution, the The number of point clouds per unit area in the fine scanning area is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
具体的,本实施例中基于当前扫描周期内得到的第一点云,判断是否存在待测目标。当检测出待测目标后,则基于所述待测目标确定精细扫描区域和观测扫描区域,并在下一扫描周期采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描。例如,利用M1×N1(第一)扫描分辨率进行扫描,得到第一点云;在确定利用存在待测目标后,对精细扫描区域利用M2×N2(其中)扫描分辨率进行扫描,以及对观测扫描区域利用M3×N3(第三)扫描分辨率进行扫描,其中,(M1×N1)>(M1×N1)>(M3×N3)。Specifically, in this embodiment, based on the first point cloud obtained in the current scanning period, it is judged whether there is an object to be measured. When the target to be measured is detected, the fine scanning area and the observation scanning area are determined based on the target to be measured, and the second scanning resolution is used to scan the fine scanning area in the next scanning period, and the third scanning resolution is used to scan the fine scanning area. Scan the observation scanning area at a high rate. For example, use M1×N1 (the first) scanning resolution to scan to obtain the first point cloud; after determining that there is an object to be measured, scan the fine scanning area using M2×N2 (wherein) scanning resolution, and The observation scanning area is scanned with M3×N3 (third) scanning resolution, wherein (M1×N1)>(M1×N1)>(M3×N3).
在一个实施例中,所述精细扫描区域为每一所述待测目标在所述预设扫描区域中的对应的区域。即,所述精细扫描区域可以是一个,也可以是多个,既可以是相互独立的,还可以是连续的。In one embodiment, the fine scanning area is a corresponding area of each target to be measured in the preset scanning area. That is, there may be one or more fine scanning areas, and they may be independent of each other or continuous.
在一个实施例中,基于激光扫描的目标探测方法,还包括:In one embodiment, the target detection method based on laser scanning further includes:
根据所述第二点云判断所述待检测目标的状态是否发生变化;其中的所述待检测目标的状态包括所述待检测目标的数量、速度、角度和距离中的至少一个;Judging whether the state of the target to be detected has changed according to the second point cloud; wherein the state of the target to be detected includes at least one of the number, speed, angle and distance of the target to be detected;
当所述待检测目标的状态发生变化时,基于利用第二点云确定的待测目标更新精细扫描区域和观测扫描区域。When the state of the target to be detected changes, the fine scanning area and the observation scanning area are updated based on the target to be detected determined by using the second point cloud.
在一个实施例中,基于激光扫描的目标探测方法,还包括:In one embodiment, the target detection method based on laser scanning further includes:
当所述待检测目标的距离大于或等于设定安全距离时,降低帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率;When the distance of the target to be detected is greater than or equal to the set safety distance, reduce the frame rate, increase the scanning resolution of the fine scanning area, and reduce the scanning resolution of the observation scanning area;
当所述待检测目标的距离小于设定安全距离,且逐渐靠近的所述待测检测目标的运动速度大于预设速度时,则提高帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率。When the distance of the target to be detected is less than the set safety distance, and the moving speed of the gradually approaching target to be detected is greater than the preset speed, the frame rate is increased, the scanning resolution of the fine scanning area is increased, and the observation rate is reduced. The scan resolution for the scan area.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
此外,在其他一些实施例中,当基于第二点云检测结果未检测到待测目标时,改变扫描分辨率,返回采用第一扫描分辨率对预设扫描区域进行扫描的步骤。In addition, in some other embodiments, when the target to be measured is not detected based on the second point cloud detection result, the scanning resolution is changed, and the step of scanning the preset scanning area with the first scanning resolution is returned.
实施例四Embodiment Four
对应于上文实施例所述的基于激光扫描的目标探测方法,图8示出了本申请实施例提供的基于激光扫描的目标探测装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the target detection method based on laser scanning described in the above embodiments, Fig. 8 shows a structural block diagram of a target detection device based on laser scanning provided in the embodiment of the present application. Example related part.
参照图5,该基于激光扫描的目标探测装置2包括:Referring to Fig. 5, the target detection device 2 based on laser scanning includes:
激光扫描模块201,用于采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云;The laser scanning module 201 is configured to scan the preset scanning area with the first scanning resolution to obtain the first point cloud of the current cycle;
检测模块202,用于对所述当前周期的第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;The detection module 202 is configured to perform target detection on the first point cloud of the current period, and if the target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area Corresponding to the position of the target to be measured in the preset scanning area; the observation scanning area is an area in the preset scanning area other than the fine scanning area;
激光扫描模块201,还用于在下一扫描周期中,采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,所述第二扫描分辨率大于所述第一扫描分辨率,所述第三扫描分辨率小于或等于所述第一扫描分辨率。The laser scanning module 201 is further configured to scan the fine scanning area with a second scanning resolution and scan the observation scanning area with a third scanning resolution in the next scanning cycle to obtain a second point cloud ; Wherein, the second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is less than or equal to the first scanning resolution.
在一个实施例中,在所述待测目标为多个时,所述精细扫描区域为与所述多个待测目标在所述预设扫描区域中的多个位置对应的区域。In one embodiment, when there are multiple targets to be measured, the fine scanning area is an area corresponding to multiple positions of the multiple targets to be measured in the preset scanning area.
在一个实施例中,所述检测模块,还用于对所述第二点云进行目标检测,得到所述待测目标的精细检测结果。In one embodiment, the detection module is further configured to perform object detection on the second point cloud to obtain a fine detection result of the object to be detected.
在一个实施例中,所述激光扫描模块,还用于若所述第二点云的检测结果中出现新增目标,则将所述新增目标作为待测目标,基于所述待测目标对所述精细扫描区域和观测扫描区域进行更新。In one embodiment, the laser scanning module is further configured to use the newly added target as the target to be measured if a new target appears in the detection result of the second point cloud. The fine scanning area and the observation scanning area are updated.
在一个实施例中,所述激光扫描模块,还用于若所述第二点云检测结果中未出现新增目标,则在至少一个周期采用所述第一扫描分辨率对所述预设扫描区域进行扫描,直至检测出待测目标。In one embodiment, the laser scanning module is further configured to scan the preset scan with the first scan resolution in at least one cycle if no new target appears in the second point cloud detection result The area is scanned until the target to be detected is detected.
在一个实施例中,所述激光扫描模块,包括:In one embodiment, the laser scanning module includes:
第一扫描单元,用于降低帧频得到第二扫描分辨率,采用所述第二扫描分辨率对所述精细扫描区域进行扫描;The first scanning unit is configured to reduce the frame rate to obtain a second scanning resolution, and use the second scanning resolution to scan the fine scanning area;
第二扫描单元,用于提高帧频得到第三扫描分辨率,采用所述第三扫描分辨率对所述观测扫描区域进行扫描,得到所述第二点云。The second scanning unit is configured to increase the frame rate to obtain a third scanning resolution, and use the third scanning resolution to scan the observation scanning area to obtain the second point cloud.
在一个实施例中,所述激光扫描模块,还用于若所述第一点云的检测结果中未检测出 待测目标,则在下一周期中,采用第一扫描分辨率对预设扫描区域进行扫描,得到对应更新后的第一点云,直至在所述第一点云的检测结果中检测出待测目标。In one embodiment, the laser scanning module is further configured to use the first scanning resolution to scan the preset scanning area in the next cycle if the target to be measured is not detected in the detection result of the first point cloud. Scanning is performed to obtain a correspondingly updated first point cloud until the target to be measured is detected in the detection result of the first point cloud.
本实施例通过采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云,对当前周期的第一点云进行目标检测,若检测出待测目标,则基于待测目标确定精细扫描区域和观测扫描区域,在下一扫描周期中,采用第二扫描分辨率对精细扫描区域进行扫描,以及采用第三扫描分辨率对观测扫描区域进行扫描,得到第二点云,能够实现在预设扫描区域中,探测待测目标的同时确定待测目标周围环境的变化,进而保证了待测目标的安全性,同时提高了目标定位的精度。In this embodiment, by using the first scanning resolution to scan the preset scanning area, the first point cloud of the current period is obtained, and the target detection is performed on the first point cloud of the current period. The target determines the fine scanning area and the observation scanning area. In the next scanning cycle, the second scanning resolution is used to scan the fine scanning area, and the third scanning resolution is used to scan the observation scanning area to obtain the second point cloud, which can In the preset scanning area, changes in the surrounding environment of the target are detected while the target is detected, thereby ensuring the safety of the target and improving the accuracy of target positioning.
在另一个实施例中,基于激光扫描的目标探测装置,包括:In another embodiment, the target detection device based on laser scanning includes:
区域扫描模块,用于采用第一扫描分辨率对预设扫描区域进行扫描,得到第一点云;An area scanning module, configured to scan a preset scanning area with a first scanning resolution to obtain a first point cloud;
区域划分模块,用于对所述第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;An area division module, configured to perform target detection on the first point cloud, and if a target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the Corresponding to the position of the target to be measured in the preset scanning area; the observation scanning area is an area other than the fine scanning area in the preset scanning area;
区域扫描模块,还用于采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,利用所述第二扫描分辨率扫描时所述精细扫描区域内的单位面积内的点云数量,大于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量;利用所述第三扫描分辨率扫描时所述观测扫描区域内的单位面积内的点云数量,小于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量。The area scanning module is also used to scan the fine scanning area with a second scanning resolution, and scan the observation scanning area with a third scanning resolution to obtain a second point cloud; wherein, using the first The number of point clouds per unit area in the fine scanning area when scanning with the second scanning resolution is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; using the second scanning resolution The number of point clouds per unit area in the observation scanning area when scanning with three scanning resolutions is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
在一个实施例中,所述精细扫描区域为每一所述待测目标在所述预设扫描区域中的对应的区域。In one embodiment, the fine scanning area is a corresponding area of each target to be measured in the preset scanning area.
在一个实施例中,基于激光扫描的目标探测装置,还包括:In one embodiment, the target detection device based on laser scanning further includes:
第三检测模块,用于根据所述第二点云判断所述待检测目标的状态是否发生变化;其中的所述待检测目标的状态包括所述待检测目标的数量、速度、角度和距离中的至少一个;A third detection module, configured to judge whether the state of the target to be detected has changed according to the second point cloud; wherein the state of the target to be detected includes the number, speed, angle and distance of the target to be detected at least one of
更新模块,用于当所述待检测目标的状态发生变化时,基于利用第二点云确定的待测目标更新精细扫描区域和观测扫描区域。An updating module, configured to update the fine scanning area and the observation scanning area based on the target to be detected determined by using the second point cloud when the state of the target to be detected changes.
在一个实施例中,基于激光扫描的目标探测装置,还包括:In one embodiment, the target detection device based on laser scanning further includes:
第一分辨率调整模块,用于当所述待检测目标的距离大于或等于设定安全距离时,降低帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率;The first resolution adjustment module is used to reduce the frame rate, improve the scanning resolution of the fine scanning area, and reduce the scanning resolution of the observation scanning area when the distance of the target to be detected is greater than or equal to the set safety distance;
第二分辨率调整模块,用于当所述待检测目标的距离小于设定安全距离,且逐渐靠近的所述待测检测目标的运动速度大于预设速度时,则提高帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率。The second resolution adjustment module is used to increase the frame rate and improve fine scanning when the distance of the target to be detected is less than the set safety distance, and the moving speed of the target to be detected that is gradually approaching is greater than the preset speed Scan resolution of the region, and reduced scan resolution of the observed scan region.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment of the present application, and its specific functions and technical effects can be found in the method embodiment section. I won't repeat them here.
实施例五Embodiment five
图9为本申请一实施例提供的目标探测终端的结构示意图。如图9所示,该实施例的目标探测终端9包括:至少一个处理器90(图9中仅示出一个)、存储器91以及存储在所述存储器91中并可在所述至少一个处理器90上运行的计算机程序92,所述处理器90执行所述计算机程序92时实现上述任意各个基于激光扫描的目标探测方法实施例中的步骤。FIG. 9 is a schematic structural diagram of a target detection terminal provided by an embodiment of the present application. As shown in Figure 9, the target detection terminal 9 of this embodiment includes: at least one processor 90 (only one is shown in Figure 9), a memory 91, and stored in the memory 91 and can be used in the at least one processor A computer program 92 running on 90, when the processor 90 executes the computer program 92, it realizes the steps in any of the above-mentioned embodiments of the target detection method based on laser scanning.
所述目标探测终端9可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。该目标探测终端可包括,但不仅限于,处理器90、存储器91。本领域技术人员可以理解,图9仅仅是目标探测终端9的举例,并不构成对目标探测终端9的限定,可以包括比 图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。The target detection terminal 9 may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The target detection terminal may include, but not limited to, a processor 90 and a memory 91 . Those skilled in the art can understand that FIG. 9 is only an example of the target detection terminal 9, and does not constitute a limitation to the target detection terminal 9. It may include more or less components than those shown in the illustration, or combine certain components, or be different. Components, for example, may also include input and output devices, network access devices, and so on.
所称处理器90可以是中央处理单元(Central Processing Unit,CPU),该处理器90还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 90 can be a central processing unit (Central Processing Unit, CPU), and the processor 90 can also be other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit) , ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
所述存储器91在一些实施例中可以是所述目标探测终端9的内部存储单元,例如目标探测终端9的硬盘或内存。所述存储器91在另一些实施例中也可以是所述目标探测终端9的外部存储设备,例如所述目标探测终端9上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字卡(Secure Digital,SD),闪存卡(Flash Card)等。进一步地,所述存储器91还可以既包括所述目标探测终端9的内部存储单元也包括外部存储设备。所述存储器91用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器91还可以用于暂时地存储已经输出或者将要输出的数据。The memory 91 may be an internal storage unit of the target detection terminal 9 in some embodiments, such as a hard disk or a memory of the target detection terminal 9 . The memory 91 may also be an external storage device of the target detection terminal 9 in other embodiments, such as a plug-in hard disk equipped on the target detection terminal 9, a smart memory card (Smart Media Card, SMC), Secure Digital (SD), Flash Card, etc. Further, the memory 91 may also include both an internal storage unit of the target detection terminal 9 and an external storage device. The memory 91 is used to store operating system, application program, boot loader (BootLoader), data and other programs, such as the program code of the computer program. The memory 91 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be realized.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在移动终端上运行时,使得移动终端执行时实现可实现上述各个方法实施例中的步骤。An embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal, the mobile terminal can implement the steps in the foregoing method embodiments when executed.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program codes to the photographing device/terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. Such as U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/网络设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/网络设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/network device and method may be implemented in other ways. For example, the device/network device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still implement the foregoing embodiments Modifications to the technical solutions described in the examples, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application, and should be included in the Within the protection scope of this application.

Claims (15)

  1. 一种基于激光扫描的目标探测方法,其特征在于,包括:A target detection method based on laser scanning, characterized in that it comprises:
    采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云;Scanning the preset scanning area with the first scanning resolution to obtain the first point cloud of the current cycle;
    对所述当前周期的第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;Perform target detection on the first point cloud of the current period, and if the target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the target to be measured corresponding to the position in the preset scanning area; the observation scanning area is an area in the preset scanning area except the fine scanning area;
    在下一扫描周期中,采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,所述第二扫描分辨率大于所述第一扫描分辨率,所述第三扫描分辨率小于或等于所述第一扫描分辨率。In the next scan cycle, scan the fine scan area with a second scan resolution, and scan the observation scan area with a third scan resolution to obtain a second point cloud; wherein, the second scan The resolution is greater than the first scan resolution, and the third scan resolution is less than or equal to the first scan resolution.
  2. 根据权利要求1所述的方法,其特征在于,在所述待测目标为多个时,所述精细扫描区域为与所述多个待测目标在所述预设扫描区域中的多个位置对应的区域。The method according to claim 1, wherein when there are multiple targets to be measured, the fine scanning area is a plurality of positions in the preset scanning area corresponding to the multiple targets to be measured the corresponding area.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    对所述第二点云进行目标检测,得到所述待测目标的精细检测结果。Target detection is performed on the second point cloud to obtain a fine detection result of the target to be measured.
  4. 根据权利要求3所述的方法,其特征在于,所述方法包括:The method according to claim 3, characterized in that the method comprises:
    若所述第二点云的检测结果中出现新增目标,则将所述新增目标作为待测目标,基于所述待测目标对所述精细扫描区域和观测扫描区域进行更新。If a new target appears in the detection result of the second point cloud, the new target is used as the target to be measured, and the fine scanning area and the observation scanning area are updated based on the target to be measured.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises:
    若所述第二点云检测结果中未出现新增目标,则在至少一个周期采用所述第一扫描分辨率对所述预设扫描区域进行扫描,直至检测出待测目标。If no new target appears in the second point cloud detection result, the preset scanning area is scanned with the first scanning resolution for at least one period until the target to be detected is detected.
  6. 根据权利要求1所述的方法,其特征在于,所述采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云,包括:The method according to claim 1, characterized in that, the second scan resolution is used to scan the fine scan area, and the third scan resolution is used to scan the observation scan area to obtain the second point cloud, including:
    降低帧频得到第二扫描分辨率,采用所述第二扫描分辨率对所述精细扫描区域进行扫描;reducing the frame rate to obtain a second scanning resolution, and using the second scanning resolution to scan the fine scanning area;
    提高帧频得到第三扫描分辨率,采用所述第三扫描分辨率对所述观测扫描区域进行扫描,得到所述第二点云。Increase the frame rate to obtain a third scanning resolution, and use the third scanning resolution to scan the observation scanning area to obtain the second point cloud.
  7. 根据权利要求1所述的方法,其特征在于,所述对所述当前周期的第一点云进行目标检测之后,还包括:The method according to claim 1, wherein, after performing target detection on the first point cloud of the current cycle, further comprising:
    若所述第一点云的检测结果中未检测出待测目标,则在下一周期中,采用第一扫描分辨率对预设扫描区域进行扫描,得到对应更新后的第一点云,直至在所述第一点云的检测结果中检测出待测目标。If the target to be measured is not detected in the detection result of the first point cloud, then in the next cycle, use the first scanning resolution to scan the preset scanning area to obtain the corresponding updated first point cloud until The target to be detected is detected in the detection result of the first point cloud.
  8. 一种基于激光扫描的目标探测方法,其特征在于,包括:A target detection method based on laser scanning, characterized in that it comprises:
    采用第一扫描分辨率对预设扫描区域进行扫描,得到第一点云;Scanning the preset scanning area with the first scanning resolution to obtain the first point cloud;
    对所述第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;Perform target detection on the first point cloud, and if the target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the target to be measured are in the corresponding to the position in the preset scanning area; the observation scanning area is an area in the preset scanning area other than the fine scanning area;
    采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,利用所述第二扫描分辨率扫描时所述精细扫描区域内的单位面积内的点云数量,大于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量;利用所述第三扫描分辨率扫描时所述观测扫描区域内的单位面积内的点云数量,小于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量。The second scanning resolution is used to scan the fine scanning area, and the third scanning resolution is used to scan the observation scanning area to obtain a second point cloud; wherein, when scanning with the second scanning resolution, the The number of point clouds per unit area in the fine scanning area is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
  9. 如权利要求8所述的方法,其特征在于,所述精细扫描区域为每一所述待测目标在所述预设扫描区域中的对应的区域。The method according to claim 8, wherein the fine scanning area is a corresponding area of each target to be measured in the preset scanning area.
  10. 如权利要求8所述的方法,其特征在于,还包括:The method of claim 8, further comprising:
    根据所述第二点云判断所述待检测目标的状态是否发生变化;其中的所述待检测目标的状态包括所述待检测目标的数量、速度、角度和距离中的至少一个;Judging whether the state of the target to be detected has changed according to the second point cloud; wherein the state of the target to be detected includes at least one of the number, speed, angle and distance of the target to be detected;
    当所述待检测目标的状态发生变化时,基于利用第二点云确定的待测目标更新精细扫描区域和观测扫描区域。When the state of the target to be detected changes, the fine scanning area and the observation scanning area are updated based on the target to be detected determined by using the second point cloud.
  11. 如权利要求10所述的方法,其特征在于,包括:The method of claim 10, comprising:
    当所述待检测目标的距离大于或等于设定安全距离时,降低帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率;When the distance of the target to be detected is greater than or equal to the set safety distance, reduce the frame rate, increase the scanning resolution of the fine scanning area, and reduce the scanning resolution of the observation scanning area;
    当所述待检测目标的距离小于设定安全距离,且逐渐靠近的所述待测检测目标的运动速度大于预设速度时,则提高帧频,提高精细扫描区域的扫描分辨率,以及降低观测扫描区域的扫描分辨率。When the distance of the target to be detected is less than the set safety distance, and the moving speed of the gradually approaching target to be detected is greater than the preset speed, the frame rate is increased, the scanning resolution of the fine scanning area is increased, and the observation rate is reduced. The scan resolution for the scan area.
  12. 一种基于激光扫描的目标探测装置,其特征在于,包括:A target detection device based on laser scanning, characterized in that it comprises:
    激光扫描模块,用于采用第一扫描分辨率对预设扫描区域进行扫描,得到当前周期的第一点云;The laser scanning module is used to scan the preset scanning area with the first scanning resolution to obtain the first point cloud of the current cycle;
    检测模块,用于对所述当前周期的第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;A detection module, configured to perform target detection on the first point cloud of the current period, and if the target to be measured is detected, determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and The position of the target to be measured corresponds to the preset scanning area; the observation scanning area is an area in the preset scanning area except the fine scanning area;
    所述激光扫描模块,还用于在下一扫描周期中,采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,所述第二扫描分辨率大于所述第一扫描分辨率,所述第三扫描分辨率小于或等于所述第一扫描分辨率。The laser scanning module is further configured to scan the fine scanning area with a second scanning resolution and scan the observation scanning area with a third scanning resolution in the next scanning cycle to obtain a second point cloud; wherein, the second scanning resolution is greater than the first scanning resolution, and the third scanning resolution is less than or equal to the first scanning resolution.
  13. 一种基于激光扫描的目标探测装置,其特征在于,包括:A target detection device based on laser scanning, characterized in that it comprises:
    区域扫描模块,用于采用第一扫描分辨率对预设扫描区域进行扫描,得到第一点云;An area scanning module, configured to scan a preset scanning area with a first scanning resolution to obtain a first point cloud;
    区域划分模块,用于对所述第一点云进行目标检测,若检测出待测目标,则基于所述待测目标确定精细扫描区域和观测扫描区域;其中,所述精细扫描区域与所述待测目标在所述预设扫描区域中的位置对应;所述观测扫描区域为所述预设扫描区域中除所述精细扫描区域以外的区域;An area division module, configured to perform target detection on the first point cloud, and if a target to be measured is detected, then determine a fine scanning area and an observation scanning area based on the target to be measured; wherein, the fine scanning area and the Corresponding to the position of the target to be measured in the preset scanning area; the observation scanning area is an area other than the fine scanning area in the preset scanning area;
    所述区域扫描模块,还用于采用第二扫描分辨率对所述精细扫描区域进行扫描,以及采用第三扫描分辨率对所述观测扫描区域进行扫描,得到第二点云;其中,利用所述第二扫描分辨率扫描时所述精细扫描区域内的单位面积内的点云数量,大于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量;利用所述第三扫描分辨率扫描时所述观测扫描区域内的单位面积内的点云数量,小于用所述第一扫描分辨率扫描时实时预设扫描区域的单位面积内的点云数量。The area scanning module is further configured to scan the fine scanning area with a second scanning resolution, and scan the observation scanning area with a third scanning resolution to obtain a second point cloud; wherein, using the The number of point clouds per unit area in the fine scanning area when scanning with the second scanning resolution is greater than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution; The number of point clouds per unit area in the observation scanning area when scanning with the third scanning resolution is smaller than the number of point clouds per unit area in the real-time preset scanning area when scanning with the first scanning resolution.
  14. 一种目标探测终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7或8至11任一项所述的方法。A target detection terminal, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, characterized in that, when the processor executes the computer program, the computer program according to claim 1 is realized. to the method described in any one of 7 or 8 to 11.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7或8至11任一项所述的方法。A computer-readable storage medium, the computer-readable storage medium stores a computer program, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 7 or 8 to 11 is realized. method.
PCT/CN2022/109163 2021-07-30 2022-07-29 Target detection method and apparatus based on laser scanning, and target detection terminal WO2023006101A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110876227.2A CN115685219A (en) 2021-07-30 2021-07-30 Target detection method and device based on laser scanning and target detection terminal
CN202110876227.2 2021-07-30

Publications (1)

Publication Number Publication Date
WO2023006101A1 true WO2023006101A1 (en) 2023-02-02

Family

ID=85060143

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109163 WO2023006101A1 (en) 2021-07-30 2022-07-29 Target detection method and apparatus based on laser scanning, and target detection terminal

Country Status (2)

Country Link
CN (1) CN115685219A (en)
WO (1) WO2023006101A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116884250A (en) * 2023-07-12 2023-10-13 凉山州交通运输应急指挥中心 Early warning method based on laser radar and expressway early warning system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104160240A (en) * 2012-02-15 2014-11-19 普莱姆森斯有限公司 Scanning depth engine
CN109477893A (en) * 2016-08-15 2019-03-15 高通股份有限公司 The beam forming based on conspicuousness for object detection
US20190107606A1 (en) * 2017-10-09 2019-04-11 Luminar Technologies, Inc. Lidar system with adjustable pulse period
CN110462424A (en) * 2017-02-22 2019-11-15 埃尔瓦有限公司 LIDAR scanning system
CN110537108A (en) * 2017-04-20 2019-12-03 美国亚德诺半导体公司 The method for reducing interference and target dynamic region is provided in laser radar system
US20200096639A1 (en) * 2018-09-24 2020-03-26 Lawrence Livermore National Security, Llc System and method for adaptable lidar imaging

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104160240A (en) * 2012-02-15 2014-11-19 普莱姆森斯有限公司 Scanning depth engine
CN109477893A (en) * 2016-08-15 2019-03-15 高通股份有限公司 The beam forming based on conspicuousness for object detection
CN110462424A (en) * 2017-02-22 2019-11-15 埃尔瓦有限公司 LIDAR scanning system
CN110537108A (en) * 2017-04-20 2019-12-03 美国亚德诺半导体公司 The method for reducing interference and target dynamic region is provided in laser radar system
US20190107606A1 (en) * 2017-10-09 2019-04-11 Luminar Technologies, Inc. Lidar system with adjustable pulse period
US20200096639A1 (en) * 2018-09-24 2020-03-26 Lawrence Livermore National Security, Llc System and method for adaptable lidar imaging

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116884250A (en) * 2023-07-12 2023-10-13 凉山州交通运输应急指挥中心 Early warning method based on laser radar and expressway early warning system
CN116884250B (en) * 2023-07-12 2024-01-26 凉山州交通运输应急指挥中心 Early warning method based on laser radar and expressway early warning system

Also Published As

Publication number Publication date
CN115685219A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN112926218B (en) Method, device, equipment and storage medium for acquiring clearance distance
WO2023006101A1 (en) Target detection method and apparatus based on laser scanning, and target detection terminal
CN111427032B (en) Room wall contour recognition method based on millimeter wave radar and terminal equipment
CN111537967B (en) Radar deflection angle correction method and device and radar terminal
CN113391305B (en) False target suppression method and device for multi-radar fusion and terminal equipment
CN109558471B (en) Updating method, device, storage medium and system of grid map
CA3171089A1 (en) Method and apparatus for calibrating parameter of laser radar
CN113009441A (en) Method and device for identifying multipath target of radar moving reflecting surface
CN115755078A (en) Laser radar ranging method, laser radar and storage medium
CN114966591A (en) Large target detection method, large target detection device and electronic equipment
CN114690174A (en) Target tracking method and device based on millimeter wave radar and laser radar
CN116299401B (en) Constant false alarm method and device based on target scattering point position and storage medium thereof
EP4123337A1 (en) Target detection method and apparatus
CN109541541B (en) Indoor triangulation positioning precision correction method and device
CN115792953A (en) Positioning method and system based on laser radar and readable storage medium
CN113625234A (en) Installation angle correction method of vehicle radar and vehicle radar
CN111122128B (en) Calibration method and device of spherical camera
WO2023015407A1 (en) Method for identifying artifact point, terminal device, and computer-readable storage medium
CN114460571A (en) TWS radar target tracking method, device, server and readable storage medium
US20220351618A1 (en) Traffic Indication Information Determining Method and Apparatus
CN113030897B (en) Radar target clustering method, device, equipment and storage medium based on multipath
CN113391276B (en) Radar blocking detection method and device and terminal equipment
WO2023061355A1 (en) Velocity detection method and apparatus, device and readable storage medium
WO2023005986A1 (en) Sensing method of sensing system, and sensing system, device, and storage medium
CN117115262B (en) Positioning method, device, equipment and storage medium based on vision and TOF

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22848705

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE