WO2020215172A1 - Obstacle detection method and device, mobile platform, and storage medium - Google Patents

Obstacle detection method and device, mobile platform, and storage medium Download PDF

Info

Publication number
WO2020215172A1
WO2020215172A1 PCT/CN2019/083566 CN2019083566W WO2020215172A1 WO 2020215172 A1 WO2020215172 A1 WO 2020215172A1 CN 2019083566 W CN2019083566 W CN 2019083566W WO 2020215172 A1 WO2020215172 A1 WO 2020215172A1
Authority
WO
WIPO (PCT)
Prior art keywords
point cloud
movable platform
area
obstacle
grid
Prior art date
Application number
PCT/CN2019/083566
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 深圳市大疆创新科技有限公司
Priority to CN201980002940.5A priority Critical patent/CN110799989A/en
Priority to PCT/CN2019/083566 priority patent/WO2020215172A1/en
Publication of WO2020215172A1 publication Critical patent/WO2020215172A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes

Definitions

  • the invention relates to the field of control technology, in particular to an obstacle detection method, equipment, movable platform and storage medium.
  • the embodiments of the present invention provide an obstacle detection method, equipment, a movable platform, and a storage medium, which can improve obstacle detection efficiency and reduce complexity.
  • an embodiment of the present invention provides an obstacle detection method applied to a movable platform, and the method includes:
  • the obstacle information of the surrounding environment where the movable platform is located is determined.
  • an embodiment of the present invention provides an obstacle detection device, including a memory and a processor;
  • the memory is used to store program instructions
  • the processor is configured to call the program instructions, and when the program instructions are executed, to perform the following operations:
  • the obstacle information of the surrounding environment where the movable platform is located is determined.
  • an embodiment of the present invention provides a movable platform, and the movable platform includes:
  • the power system configured on the fuselage is used to provide mobile power for the movable platform
  • An obstacle detection device as described in the above second aspect.
  • an embodiment of the present invention provides an obstacle detection system, including: an obstacle detection device and a movable platform;
  • the obstacle detection device is used to obtain a first point cloud corresponding to the surrounding environment where the movable platform is located; filter the first point cloud to obtain a second point according to the size information of the movable platform Cloud; project the second point cloud onto a two-dimensional plane to obtain at least one projection image; determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image; and combine the obstacle The information is sent to the mobile platform;
  • the movable platform is used for moving around obstacles according to the received obstacle information.
  • an embodiment of the present invention provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
  • the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point Cloud, reducing the computational complexity; by projecting the second point cloud onto a two-dimensional plane, at least one projection image is obtained, and based on the at least one projection image, the obstacles in the surrounding environment where the movable platform is located are determined Information improves the efficiency and accuracy of obstacle detection.
  • FIG. 1 is a schematic diagram of a point cloud provided by an embodiment of the present invention
  • FIG. 2 is a schematic side view of a point cloud filter provided by an embodiment of the present invention.
  • Figure 3a is a schematic plan view of a point cloud provided by an embodiment of the present invention.
  • Figure 3b is a schematic plan view of a certain area provided by an embodiment of the present invention.
  • FIG. 3c is a schematic plan view of another determined area provided by an embodiment of the present invention.
  • Figure 4a is a schematic diagram of vote counting provided by an embodiment of the present invention.
  • Figure 4b is a schematic diagram of a region division provided by an embodiment of the present invention.
  • Figure 5 is a schematic structural diagram of an obstacle detection system provided by an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of an obstacle detection method provided by an embodiment of the present invention.
  • Fig. 7 is a schematic structural diagram of an obstacle detection device provided by an embodiment of the present invention.
  • the obstacle detection method provided in the embodiment of the present invention may be executed by an obstacle detection system, and specifically, may be executed by an obstacle detection device in the obstacle detection system.
  • the obstacle detection system includes an obstacle detection device and a movable platform.
  • the obstacle detection device may be installed on a movable platform; in some embodiments, the obstacle detection device may be spatially independent of the movable platform; in some embodiments The obstacle detection device may be a component of a movable platform, that is, the movable platform includes an obstacle detection device.
  • the obstacle detection method can also be applied to other mobile devices, such as mobile devices that can move autonomously, such as robots, unmanned vehicles, and unmanned ships.
  • the obstacle detection device in the obstacle detection system can obtain the first point cloud corresponding to the surrounding environment where the movable platform is located, as shown in FIG. 1, which is a schematic diagram of a point cloud provided by an embodiment of the present invention, wherein ,
  • the point cloud in FIG. 1 is the acquired first point cloud corresponding to the surrounding environment where the movable platform 11 is located.
  • the first point cloud may be obtained through lidar, or may be obtained through a camera on a movable platform, which is not specifically limited in the embodiment of the present invention.
  • the acquired point cloud contains a considerable amount of redundant information. Therefore, after acquiring the first point cloud, the obstacle detection device The first point cloud may be pre-processed. When the obstacle detection device preprocesses the first point cloud, it can obtain the size information of the movable platform, and filter the first point cloud according to the size information of the movable platform to obtain The second point cloud.
  • the size information of the movable platform includes the height of the movable platform
  • the obstacle detection device filters the first point cloud to obtain the first point cloud according to the size information of the movable platform.
  • the height of the movable platform can be obtained, and according to the height of the movable platform, the area above the height of the movable platform is determined as the deletion area, and the point cloud in the deletion area is deleted. Delete to obtain the second point cloud.
  • the size information of the movable platform includes the safe crossing height of the movable platform
  • the obstacle detection device is filtering the first point cloud according to the size information of the movable platform.
  • the safe crossing height of the movable platform can be obtained, and according to the safe crossing height of the movable platform, the area below the safe crossing height of the movable platform is determined as the deletion area, and Delete the point cloud in the deletion area to obtain the second point cloud.
  • the size information of the movable platform includes the height of the movable platform and the safe crossing height
  • the obstacle detection device performs the measurement on the first point cloud according to the size information of the movable platform.
  • the height of the movable platform and the safe crossing height can be obtained, and the area above the height of the movable platform is determined as the first deletion area, and the area below the safe crossing height It is the second deletion area, and the point clouds in the first deletion area and the second deletion area are deleted to obtain the second point cloud.
  • Figure 2 is used as an example to illustrate.
  • Figure 2 is a schematic side view of a point cloud filter provided by an embodiment of the present invention.
  • Figure 2 according to the safe crossing height position 22 and the height position 23 of the movable platform 20, Determine the first deletion area 24 and the second deletion area 25 outside the area between the safe crossing height position 22 and the height position 23 of the movable platform, and place the first deletion area 24 and the second deletion area 25 Delete the point cloud to obtain the second point cloud area 26 between the safe crossing height position 22 and the height position 23 of the movable platform, and determine that the point cloud in the second point cloud area 26 is The second point cloud.
  • the safe crossing height may be the chassis height of the unmanned vehicle, or a height determined based on the chassis height of the unmanned vehicle.
  • the point cloud corresponding to the obstacle is a redundant point cloud. Deleting this part of the point cloud can reduce the complexity of calculating the point cloud, thereby improving the efficiency of obstacle detection. It can be seen that by filtering the acquired first point cloud of the surrounding environment of the movable platform, redundant point clouds can be filtered out, so as to reduce the complexity of calculating point clouds during subsequent obstacle detection and improve obstacle detection. accuracy.
  • the obstacle detection device after the obstacle detection device obtains the second point cloud through filtering, it may project the second point cloud onto a two-dimensional plane to obtain at least one projection image. It can be specifically described with reference to Figure 2 and Figure 3a.
  • Figure 3a is a schematic plan view of a point cloud provided by an embodiment of the present invention.
  • the obstacle detection device obtains the information in the second point cloud area 26 of Figure 2 through filtering. After the second point cloud, the second point cloud in the second point cloud area 26 can be projected onto a two-dimensional plane as shown in FIG. 3a to obtain a projected image 31.
  • the obstacle detection device may determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image.
  • the obstacle detection device when the obstacle detection device determines the obstacle information of the surrounding environment in which the movable platform is located according to the projection image, it may obtain information from the projection image according to the type of the movable platform. Determine the appropriate area in the, and divide the area into multiple grid areas. The obstacle detection device may determine whether each grid area is an obstacle area according to the number of point clouds and/or depth information in each grid area. In some embodiments, the depth information is the distance from the second point cloud to the movable platform.
  • the types of the movable platform include, but are not limited to, omnidirectional motion robots, non-omnidirectional motion robots (such as three-wheel mobile robots), and the like. If the type of the movable platform is an omnidirectional motion robot, the obstacle detection device may use the position of the omnidirectional motion robot as the geometric center to determine the area. If the type of the movable platform is a non-omnidirectional motion robot, the obstacle detection device may determine the area using the position of the non-omnidirectional motion robot as a bottom boundary point.
  • Figure 3b is an example.
  • Figure 3b is a schematic plan view of a certain area provided by an embodiment of the present invention. Assuming that the type of the movable platform is an omnidirectional motion robot, if the obstacle detection device obtains the omnidirectional motion robot, If the current position 32 of the omnidirectional movement robot is the geometric center, the current position 32 of the omnidirectional movement robot can be used as the geometric center to determine the area 33 from the projection image 31 and divide the area 33 into multiple grid areas.
  • Figure 3c is another schematic plan view of a certain area provided by an embodiment of the present invention.
  • the type of the movable platform is a non-omnidirectional motion robot
  • the obstacle detection device acquires all According to the current position 34 of the non-omnidirectional motion robot
  • the current position 34 of the non-omnidirectional motion robot can be the bottom boundary point of the region, and the region 35 is determined from the projection image 31, and the region 35 is divided into multiple Grid areas.
  • the division may be performed according to the size information of the movable platform.
  • the grid area smaller than the size of the movable platform does not have much value, so the grid area can be divided according to the size information larger than the movable platform.
  • if there is a point cloud in the grid area it means that there is an obstacle, but actually due to noise and misdetection, a considerable part of the point cloud in the grid area does not represent the actual obstacle.
  • the number of point clouds corresponding to obstacle A in the distance is small
  • the nearby obstacle B corresponds to a large number of point clouds. If the number of point clouds is used as the obstacle judgment criterion, it may cause the distant obstacle A to be detected by mistake.
  • the obstacle detection device can determine the voting information of each point cloud in each grid area according to the depth information of the point cloud, and according to the number of the point clouds and the voting information Information, the evaluation parameter of each grid area is determined, and the evaluation parameter is compared with a preset parameter to determine that a grid area with the evaluation parameter greater than the preset parameter is the obstacle area.
  • the evaluation parameters may include, but are not limited to, numbers, percentages, etc. determined based on voting information.
  • the obstacle detection device may determine areas such as free areas and unknown areas in the grid area according to the evaluation parameters.
  • the embodiment of the present invention does not specifically limit the division of areas.
  • the unknown area may be a grid area without a second point cloud; in some embodiments, the free area may be a grid area where the evaluation parameter is smaller than the preset parameter .
  • FIG. 4a is a schematic diagram of a vote counting provided by an embodiment of the present invention
  • FIG. 4b is a schematic diagram of a region division provided by an embodiment of the present invention.
  • the voting information of the grid area 411, the grid area 412, the grid area 413, and the grid area 414 are all 6, that is, the number of votes for each point cloud in each grid is 6 votes.
  • the evaluation parameter of the grid area 411 is 30; there are 6 point clouds in the grid area 412, and the 6 point clouds total 36 votes were cast, and the evaluation parameter of the grid area 412 was 36; there were 8 point clouds in the grid area 413, and a total of 48 votes were cast for the 6 point clouds, and the evaluation parameter of the grid area 413 was 48; There are 9 point clouds in 414, 54 votes are cast for 9 point clouds, and the evaluation parameter of the grid area 414 is 54.
  • the voting information of the grid area 415 is 5, that is, the number of votes for each point cloud in the grid area 415 is 5 votes. There is 1 point cloud in the grid area 415, and a total of 5 votes are cast for 1 point cloud. ,
  • the evaluation parameter of the grid area 415 is 5.
  • the preset parameter is 25
  • the grid area 411, the grid area 412, the grid area 413, and the grid area 414 are all obstacle areas, and the grid area 415 is a free area.
  • the obstacle area 41 (black marked area), the free area 42 (light gray marked area), and the unknown area 43 (dark gray marked area) as shown in FIG. 4b can be determined.
  • redundant point clouds can be filtered out.
  • the distribution of the point cloud can be viewed from the two-dimensional plane more intuitively and conveniently;
  • the at least one projection image determines a plurality of grid areas, and further determines obstacle information according to the number of point clouds and/or depth information of each grid area, which can improve the efficiency and accuracy of obstacle detection.
  • the obstacle detection system provided by the embodiment of the present invention will be schematically described below with reference to FIG. 5.
  • FIG. 5 is a schematic structural diagram of an obstacle detection system provided by an embodiment of the present invention.
  • the obstacle detection system includes: an obstacle detection device 51 and a movable platform 52.
  • a communication connection between the movable platform 52 and the obstacle detection device 51 can be established through a wireless communication connection.
  • a communication connection between the movable platform 52 and the obstacle detection device 51 may also be established through a wired communication connection.
  • the movable platform 52 may be a movable device such as an unmanned vehicle, an unmanned ship, and a movable robot.
  • the movable platform 52 includes a power system 521, and the power system 521 is used to provide the movable platform 52 with moving power.
  • the movable platform 52 and the obstacle detection device 51 are independent of each other.
  • the obstacle detection device 51 is set in a cloud server and establishes a communication connection with the movable platform 52 through a wireless communication connection.
  • the obstacle detection device 51 can obtain the first point cloud corresponding to the surrounding environment where the movable platform 52 is located; according to the size information of the movable platform 52, the first point cloud Filtering to obtain a second point cloud; projecting the second point cloud onto a two-dimensional plane to obtain at least one projection image; according to the at least one projection image, determining obstacles in the surrounding environment where the movable platform 52 is located Information to improve the efficiency and accuracy of obstacle detection, and improve the safety of the movable platform 52 during the movement.
  • the obstacle detection method provided by the embodiment of the present invention will be schematically described below with reference to FIG. 6 and FIG. 7.
  • FIG. 6 is a schematic flowchart of an obstacle detection method according to an embodiment of the present invention.
  • the method may be executed by an obstacle detection device, and the specific explanation of the obstacle detection device is as described above.
  • the method of the embodiment of the present invention includes the following steps.
  • S601 Acquire a first point cloud corresponding to the surrounding environment where the movable platform is located.
  • the obstacle detection device can obtain the first point cloud corresponding to the surrounding environment where the movable platform is located.
  • the point cloud shown in FIG. 1 is the acquired first point cloud of the surrounding environment where the movable platform 11 is located.
  • the obstacle detection device when the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it may obtain the first point corresponding to the surrounding environment where the movable platform is located through lidar cloud.
  • the lidar is a perceptual sensor that can obtain three-dimensional information of the scene.
  • the basic principle is to actively emit laser pulse signals to the detected object and obtain the reflected pulse signals.
  • the depth information of the distance detector of the object to be measured is calculated; Know the launch direction, obtain the angle information of the measured object relative to the lidar; combine the aforementioned depth information and angle information to obtain a large number of detection points (called point clouds), based on the point cloud, the spatial three-dimensional information of the measured object relative to the lidar can be reconstructed .
  • the obstacle detection device when it obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it may obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera.
  • the camera may be mounted on the movable platform.
  • the camera may also be independent of the movable platform and installed in the environment where the movable platform is located.
  • the camera includes, but is not limited to, binocular cameras, monocular cameras, TOF cameras and other camera devices.
  • the obstacle detection device when it acquires the first point cloud corresponding to the surrounding environment where the movable platform is located through the camera, it may convert the point cloud acquired by the camera to the world based on a preset conversion matrix.
  • the preset conversion matrix includes an internal parameter matrix and an external parameter matrix
  • the external parameter matrix includes a rotation matrix and/or a translation vector .
  • the external parameter matrix when the origin of the world coordinate system is set on the movable platform, the external parameter matrix only includes a rotation matrix.
  • the internal parameter matrix is determined based on a plurality of internal parameters, and the internal parameters are parameters obtained by camera calibration, such as focal length and principal point coordinates.
  • the external parameter matrix may include a rotation matrix and/or a translation vector, wherein the rotation matrix may be determined by the posture of the camera, and the translation vector may be determined by the positioning information of the camera.
  • the embodiment of the present invention converts the point cloud collected by the camera to the world coordinate system to obtain the first point cloud.
  • the camera can collect The obtained point cloud undergoes processing such as distortion removal, thereby improving the accuracy of the first point cloud.
  • S602 Filter the first point cloud according to the size information of the movable platform to obtain a second point cloud.
  • the obstacle detection device may filter the first point cloud to obtain the second point cloud according to the size information of the movable platform.
  • the size information includes the height of the movable platform
  • the obstacle detection device filters the first point cloud to obtain the second point according to the size information of the movable platform.
  • the first point cloud may be filtered according to the height of the movable platform to obtain the second point cloud.
  • the size information of the movable platform includes the safe crossing height of the movable platform
  • the obstacle detection device is filtering the first point cloud according to the size information of the movable platform.
  • the first point cloud may be filtered according to the safe crossing height of the movable platform to obtain the second point cloud.
  • the size information of the movable platform includes the height of the movable platform and the height of safe crossing
  • the obstacle detection device performs the measurement on the first point cloud according to the size information of the movable platform.
  • the first point cloud may be filtered according to the height of the movable platform and the safe crossing height to obtain the second point cloud.
  • the first deletion outside the area between the safe crossing height position 22 and the height position 23 of the movable platform can be determined Area 24 and the second deletion area 25, and delete the point cloud in the first deletion area 24 and the second deletion area 25 to obtain the distance between the safe crossing height position 22 and the height position 23 of the movable platform And determine that the point cloud in the second point cloud area 26 is the second point cloud.
  • the first point cloud is filtered by the size information of the movable platform, redundant point clouds can be deleted, and the subsequent calculation of the number of point clouds and the complexity of depth information are reduced.
  • S603 Project the second point cloud onto a two-dimensional plane to obtain at least one projection image.
  • the obstacle detection device may project the second point cloud onto a two-dimensional plane to obtain at least one projection image.
  • the two-dimensional plane may include a horizontal plane
  • the obstacle detection device may project the second point cloud onto the horizontal plane to obtain at least one projection image.
  • the horizontal plane is a plane parallel to the position where the movable platform is located. Taking an unmanned vehicle as an example, assuming that the drone is currently climbing a slope, the horizontal plane is a plane parallel to the ramp where the unmanned vehicle is currently located.
  • the two-dimensional plane may include the ground, and the obstacle detection device may project the second point cloud onto the ground to obtain at least one projected image.
  • the ground is The ground parallel to the movable platform. Taking an unmanned vehicle as an example, when the unmanned vehicle is driving on a level ground, the two-dimensional plane may be the ground.
  • the embodiment of the present invention satisfies the plane mobility of the movable platform, and facilitates intuitive calculation of the point cloud on the plane.
  • S604 Determine obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image.
  • the obstacle detection device may determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image.
  • the projection image may be divided into multiple grid areas, and According to the point cloud in each grid area, it is determined whether each grid area is an obstacle area.
  • the specific implementation is as described above and will not be repeated here.
  • the type of the movable platform may be acquired, and the type of the movable platform may be determined according to the type of the movable platform.
  • the location of each grid area, the specific implementation is as described above, and will not be repeated here.
  • the type of the movable platform includes an omnidirectional motion robot
  • the obstacle detection device can obtain all the positions of the multiple grid areas according to the type of the movable platform.
  • the current position of the omnidirectional motion robot, and the current position of the omnidirectional motion robot is used as a geometric center to determine the positions of the multiple grid regions.
  • Figure 3b can be taken as an example. Assuming that the movable platform is an omnidirectional motion robot, if the current position 32 of the omnidirectional motion robot, the obstacle detection device can determine that the current position 32 of the omnidirectional motion robot is geometric In the center, an area 33 is determined from the projected image 31, and the area 33 is divided into multiple grid areas.
  • the type of the movable platform includes a non-omnidirectional motion robot
  • the obstacle detection device can obtain the position of the multiple grid areas according to the type of the movable platform.
  • the current position of the non-omnidirectional motion robot is determined by using the current position of the non-omnidirectional motion robot as a boundary point to determine the positions of the multiple grid regions.
  • the boundary point may be a boundary point of any side of the determined area, and the specific boundary point of which side is determined according to the type of the non-omnidirectional motion robot.
  • Figure 3c can be taken as an example.
  • the movable platform is a non-omnidirectional motion robot
  • the non-omnidirectional motion robot is a three-wheeled mobile robot
  • the current position of the three-wheeled mobile robot is 34
  • obstacle detection The device may determine that the current position 34 of the three-wheeled mobile robot is the boundary point in the bottom boundary line, and determine from the projection image 31 that the current position 34 of the three-wheeled mobile robot is the boundary in the bottom boundary line Point the area 33 and divide the area 33 into multiple grid areas.
  • the embodiment of the present invention determines the positions of the multiple grid areas according to the type of the movable platform, and can determine the grid area according to the motion characteristics of different types of movable platforms to ensure different types of movable platforms.
  • the main moving area of is within the multiple grid areas, so as to avoid that the moving area of the movable platform is outside the multiple grid areas and hits an undetected obstacle outside the multiple grid areas, thereby Improve the safety of different types of movable platforms during the movement.
  • the obstacle detection device when the obstacle detection device divides the projection image into multiple grid areas, it can obtain the size of the movable platform, and determine the size of the movable platform according to the size of the movable platform.
  • the division of the grid area smaller than the size of the movable platform does not have much practical value. Therefore, the embodiment of the present invention divides the multiple grids in such a way that the size of each grid area is larger than the size of the movable platform. Grid area.
  • the specific implementation is as described above and will not be repeated here.
  • the embodiment of the present invention divides multiple grid areas according to the size of each grid area larger than the size of the movable platform, which can further reduce the calculation amount required for obstacle detection and improve the efficiency of obstacle detection.
  • the obstacle detection device when the obstacle detection device determines whether each grid area is an obstacle area according to the point cloud in each grid area, it can acquire the midpoint of each grid area.
  • the number of clouds When the number of point clouds is greater than a preset number threshold, it can be determined that the grid area is an obstacle area.
  • the preset number threshold is 10
  • the number of point clouds in the grid area 411 is 15
  • the number of point clouds in the grid area 412 is 16
  • the number of point clouds in the grid area 413 is 18
  • the number of point clouds in the area 414 is 20
  • the area composed of the grid area 411, the grid area 412, the grid area 413, and the grid area 414 is an obstacle area.
  • the embodiment of the present invention determines whether the grid area is an obstacle area by judging whether the point cloud data in each grid area is greater than a preset number threshold, ensuring that the grid area is determined only when there are enough point clouds. It is an obstacle area, which improves the accuracy of obstacle detection.
  • the obstacle detection device determines whether each grid area is an obstacle area according to the point cloud in each grid area, it can acquire the midpoint of each grid area. According to the number and depth information of the cloud, it is determined whether the grid area is an obstacle area according to the number and depth information of the point cloud.
  • the obstacle detection device when the obstacle detection device determines whether the grid area is an obstacle area according to the number and depth information of the point cloud, it may determine the depth information of the point cloud.
  • the voting information of each point cloud in each grid area, and the evaluation parameters of each grid area are determined according to the number of the point clouds and the voting information, and the evaluation parameters are combined with preset parameters The comparison is performed to determine that the grid area with the evaluation parameter greater than the preset parameter is the obstacle area.
  • the obstacle may include, but is not limited to, any one or more objects that hinder the movement of the movable platform, such as fixed buildings, other movable equipment, and ground facilities.
  • the grid area may include, but is not limited to, any one or more of obstacle areas, free areas, and unknown areas.
  • the obstacle detection device can obtain the depth information of each point cloud in each grid area, and calculate the average depth of each point cloud in each grid area, and according to the preset depth According to the correspondence relationship with the number of votes, the number of votes corresponding to the depth average value is determined, so that the total number of votes obtained by all point clouds in each grid area is determined according to the number of votes corresponding to the depth average value.
  • the obstacle detection device may determine the evaluation parameter corresponding to the total number of votes according to the corresponding relationship between the preset total number of votes and the evaluation parameters, and compare the evaluation parameters with the preset parameters. By setting the parameters, the grid area can be determined as an obstacle area.
  • Figure 4a can be taken as an example. Assuming that there are some clouds A, B, and C in the grid area 411, and the depth is 1.5m, 1.6m, 1.7m, the obstacle detection device can detect the point clouds A, B in the grid area 411. , The depth of C is averaged, and the calculated depth average is 1.6m. If the average depth of 1.6m can correspond to a number of votes such as 2 votes, then the three point clouds A, B, and C in the grid area 411 total 6 votes are cast. If the evaluation parameter corresponding to the 6 votes is 6 and the preset parameter is 5, it can be determined that the grid area 411 is an obstacle area.
  • the obstacle detection device can obtain the depth information of each point cloud in each grid area, and determine the depth information of each point cloud according to the preset corresponding relationship between the depth and the number of votes. According to the corresponding number of votes, the total number of votes obtained by all point clouds in each grid area is determined according to the number of votes corresponding to the depth information of each point cloud.
  • the obstacle detection device may determine the evaluation parameter corresponding to the total number of votes according to the corresponding relationship between the preset total number of votes and the evaluation parameters, and compare the evaluation parameters with the preset parameters. Set the parameters, you can determine that the grid area is an obstacle area.
  • the evaluation parameters may include, but are not limited to, numbers, percentages, and other manifestations. For example, if the evaluation parameter is represented by a number, the larger the number, the greater the probability that the area is an obstacle. For another example, if the evaluation parameter is expressed as a percentage, the larger the percentage, the greater the probability that the area is an obstacle. In other embodiments, the evaluation parameter can also be determined by identifying the type of obstacle, which is not specifically limited here.
  • the embodiment of the present invention determines voting information according to the depth information of the point cloud, takes into account the distance between the point cloud and the movable platform, and improves the accuracy of obstacle detection; the evaluation parameters are determined by combining the number of point clouds, and the evaluation parameters are used to determine Whether the grid area is the obstacle area can improve the accuracy of obstacle detection.
  • the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point Cloud, reducing the computational complexity; by projecting the second point cloud onto a two-dimensional plane, at least one projection image is obtained, and based on the at least one projection image, the obstacles in the surrounding environment where the movable platform is located are determined Information improves the efficiency and accuracy of obstacle detection.
  • FIG. 7 is a schematic structural diagram of an obstacle detection device according to an embodiment of the present invention.
  • the obstacle detection device includes: a memory 701 and a processor 702.
  • the obstacle detection device further includes a data interface 703, and the data interface 703 is used to transfer data information between the obstacle detection device and other devices.
  • the memory 701 may include a volatile memory (volatile memory); the memory 701 may also include a non-volatile memory (non-volatile memory); the memory 701 may also include a combination of the foregoing types of memories.
  • the processor 702 may be a central processing unit (CPU).
  • the processor 702 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
  • the memory 701 is used to store program instructions, and the processor 702 can call the program instructions stored in the memory 701 to perform the following steps:
  • the obstacle information of the surrounding environment where the movable platform is located is determined.
  • the size information includes the height of the movable platform and/or the safe span height
  • the processor 702 filters the first point cloud to obtain the second point cloud according to the size information of the movable platform.
  • point cloud it is specifically used for:
  • the two-dimensional plane includes a horizontal plane, and when the processor 702 projects the second point cloud onto the two-dimensional plane to obtain at least one projection image, it is specifically used for:
  • the processor 702 determines the obstacle information of the surrounding environment where the movable platform is located according to the projection image, it is specifically configured to:
  • each grid area is an obstacle area.
  • processor 702 divides the projection image into multiple grid areas, it is specifically configured to:
  • the positions of the multiple grid regions are determined.
  • the type of the movable platform includes an omnidirectional motion robot; when the processor 702 determines the positions of the multiple grid areas according to the type of the movable platform, it is specifically used for:
  • the positions of the multiple grid regions are determined.
  • the type of the movable platform includes a non-omnidirectional motion robot; when the processor 702 determines the positions of the multiple grid areas according to the type of the movable platform, it is specifically used for:
  • the positions of the multiple grid regions are determined.
  • processor 702 divides the projection image into multiple grid areas, it is specifically configured to:
  • the size of each grid area of the plurality of grid areas is determined.
  • processor 702 determines whether each grid area is an obstacle area according to the point cloud in each grid area, it is specifically configured to:
  • processor 702 determines whether each grid area is an obstacle area according to the point cloud in each grid area, it is specifically configured to:
  • the grid area is an obstacle area.
  • processor 702 determines whether the grid area is an obstacle area according to the number and depth information of the point cloud, it is specifically configured to:
  • the evaluation parameter is compared with a preset parameter, and it is determined that a grid area where the evaluation parameter is greater than the preset parameter is the obstacle area.
  • the grid area includes any one or more of obstacle areas, free areas, and unknown areas.
  • the processor 702 obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it is specifically used to:
  • the processor 702 obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it is specifically configured to:
  • the processor 702 obtains the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera, it is specifically configured to:
  • the preset conversion matrix includes an internal parameter matrix and an external parameter matrix
  • the external parameter matrix includes a rotation matrix and/or a translation vector
  • the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point Cloud, reducing the computational complexity; by projecting the second point cloud onto a two-dimensional plane, at least one projection image is obtained, and based on the at least one projection image, the obstacles in the surrounding environment where the movable platform is located are determined Information improves the efficiency and accuracy of obstacle detection.
  • the embodiment of the present invention also provides a movable platform, the movable platform includes: a fuselage; a power system configured on the fuselage for providing moving power for the movable platform; and the obstacle detection device described above.
  • the movable platform obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point cloud.
  • Point cloud and project the second point cloud onto a two-dimensional plane to obtain at least one projection image, so as to determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image, which reduces the calculation Complexity improves the efficiency and accuracy of obstacle detection.
  • An embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method described in the embodiment of the present invention corresponding to FIG. ,
  • the device corresponding to the embodiment of the present invention described in FIG. 7 can also be implemented, which is not repeated here.
  • the computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device.
  • the computer-readable storage medium may also be an external storage device of the device, for example, a plug-in hard disk equipped on the device, a smart memory card (Smart Media Card, SMC), or a Secure Digital (SD) card. , Flash Card, etc.
  • the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the terminal.
  • the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

Provided in the embodiments of the present invention are an obstacle detection method and device, a mobile platform, and a storage medium, the method comprising: acquiring a first point cloud corresponding to the surrounding environment in which the mobile platform is located; on the basis of size information of the mobile platform, filtering the first point cloud to obtain a second point cloud; projecting the second point cloud onto a two-dimensional plane to obtain at least one projection image; and, on the basis of the at least one projection image, determining obstacle information of the surrounding environment in which the mobile platform is located. By means of the present method, the degree of calculation complexity can be reduced and the efficiency and accuracy of obstacle detection can be increased.

Description

一种障碍物检测方法、设备、可移动平台及存储介质Obstacle detection method, equipment, movable platform and storage medium 技术领域Technical field
本发明涉及控制技术领域,尤其涉及一种障碍物检测方法、设备、可移动平台及存储介质。The invention relates to the field of control technology, in particular to an obstacle detection method, equipment, movable platform and storage medium.
背景技术Background technique
目前,随着无人车、运动机器人等可移动平台的发展,可移动平台在移动过程中的安全性越来越受到关注,其中,对于障碍物的检测显得尤为重要。以运动机器人为例,对于运动机器人,目前通常可以采用射线查询的方式进行运动路径上的障碍检测。该方法在机器人和待查询位置之间建立一条射线,从运动机器人所在位置出发,通过在点云中检索并计数位于射线周围一定半径范围内的点数量,从而判断该通路上是否有障碍存在。At present, with the development of mobile platforms such as unmanned vehicles and sports robots, more and more attention has been paid to the safety of the mobile platforms during the movement. Among them, the detection of obstacles is particularly important. Taking a sports robot as an example, for a sports robot, currently, it is usually possible to detect obstacles on the motion path by means of ray query. This method establishes a ray between the robot and the position to be queried. Starting from the position of the moving robot, the number of points located in a certain radius around the ray is retrieved and counted in the point cloud to determine whether there are obstacles on the path.
然而,这类查询方法往往具有计算效率低、准确性较低的缺陷,从而导致可移动平台在移动过程中的安全性较低。因此,如何更有好地提高可移动平台的安全性具有十分重要的意义。However, this type of query method often has the disadvantages of low computational efficiency and low accuracy, resulting in low security of the movable platform during the movement. Therefore, how to better improve the security of the mobile platform is of great significance.
发明内容Summary of the invention
本发明实施例提供了一种障碍物检测方法、设备、可移动平台及存储介质,可以提高障碍物检测效率、降低复杂度。The embodiments of the present invention provide an obstacle detection method, equipment, a movable platform, and a storage medium, which can improve obstacle detection efficiency and reduce complexity.
第一方面,本发明实施例提供了一种障碍物检测方法,应用于可移动平台,所述方法包括:In the first aspect, an embodiment of the present invention provides an obstacle detection method applied to a movable platform, and the method includes:
获取所述可移动平台所处周围环境对应的第一点云;Acquiring the first point cloud corresponding to the surrounding environment where the movable platform is located;
根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云;Filtering the first point cloud to obtain a second point cloud according to the size information of the movable platform;
将所述第二点云投影至二维平面,得到至少一个投影图像;Project the second point cloud onto a two-dimensional plane to obtain at least one projection image;
根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。According to the at least one projection image, the obstacle information of the surrounding environment where the movable platform is located is determined.
第二方面,本发明实施例提供了一种障碍物检测设备,包括存储器和处理器;In the second aspect, an embodiment of the present invention provides an obstacle detection device, including a memory and a processor;
所述存储器,用于存储程序指令;The memory is used to store program instructions;
所述处理器,用于调用所述程序指令,当所述程序指令被执行时,用于执行以下操作:The processor is configured to call the program instructions, and when the program instructions are executed, to perform the following operations:
获取所述可移动平台所处周围环境对应的第一点云;Acquiring the first point cloud corresponding to the surrounding environment where the movable platform is located;
根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云;Filtering the first point cloud to obtain a second point cloud according to the size information of the movable platform;
将所述第二点云投影至二维平面,得到至少一个投影图像;Project the second point cloud onto a two-dimensional plane to obtain at least one projection image;
根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。According to the at least one projection image, the obstacle information of the surrounding environment where the movable platform is located is determined.
第三方面,本发明实施例提供了一种可移动平台,所述可移动平台包括:In a third aspect, an embodiment of the present invention provides a movable platform, and the movable platform includes:
机身;body;
配置在机身上的动力系统,用于为所述可移动平台提供移动的动力;The power system configured on the fuselage is used to provide mobile power for the movable platform;
如上述第二方面所述的障碍物检测设备。An obstacle detection device as described in the above second aspect.
第四方面,本发明实施例提供了一种障碍物检测系统,包括:障碍物检测设备和可移动平台;In a fourth aspect, an embodiment of the present invention provides an obstacle detection system, including: an obstacle detection device and a movable platform;
所述障碍物检测设备,用于获取所述可移动平台所处周围环境对应的第一点云;根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云;将所述第二点云投影至二维平面,得到至少一个投影图像;根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息;并将所述障碍物信息发送给可移动平台;The obstacle detection device is used to obtain a first point cloud corresponding to the surrounding environment where the movable platform is located; filter the first point cloud to obtain a second point according to the size information of the movable platform Cloud; project the second point cloud onto a two-dimensional plane to obtain at least one projection image; determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image; and combine the obstacle The information is sent to the mobile platform;
所述可移动平台,用于根据接收到的障碍物信息绕过障碍物进行移动。The movable platform is used for moving around obstacles according to the received obstacle information.
第五方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现如上述第一方面所述的方法。In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
本发明实施例中,障碍物检测设备通过获取可移动平台所处周围环境对应的第一点云,根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云,降低了计算复杂度;通过将所述第二点云投影至二维平面,得到至少一个投影图像,以及根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息,提高了障碍物检测的效率和准确性。In the embodiment of the present invention, the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point Cloud, reducing the computational complexity; by projecting the second point cloud onto a two-dimensional plane, at least one projection image is obtained, and based on the at least one projection image, the obstacles in the surrounding environment where the movable platform is located are determined Information improves the efficiency and accuracy of obstacle detection.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1是本发明实施例提供的一种点云的示意图;FIG. 1 is a schematic diagram of a point cloud provided by an embodiment of the present invention;
图2是本发明实施例提供的一种点云过滤的侧面示意图;2 is a schematic side view of a point cloud filter provided by an embodiment of the present invention;
图3a是本发明实施例提供的一种点云的平面示意图;Figure 3a is a schematic plan view of a point cloud provided by an embodiment of the present invention;
图3b是本发明实施例提供的一种确定区域的平面示意图;Figure 3b is a schematic plan view of a certain area provided by an embodiment of the present invention;
图3c是本发明实施例提供的另一种确定区域的平面示意图;FIG. 3c is a schematic plan view of another determined area provided by an embodiment of the present invention;
图4a是本发明实施例提供的一种投票计数的示意图;Figure 4a is a schematic diagram of vote counting provided by an embodiment of the present invention;
图4b是本发明实施例提供的一种区域划分的示意图;Figure 4b is a schematic diagram of a region division provided by an embodiment of the present invention;
图5是本发明实施例提供的一种障碍物检测系统的结构示意图;Figure 5 is a schematic structural diagram of an obstacle detection system provided by an embodiment of the present invention;
图6是本发明实施例提供的一种障碍物检测方法的流程示意图;6 is a schematic flowchart of an obstacle detection method provided by an embodiment of the present invention;
图7是本发明实施例提供的一种障碍物检测设备的结构示意图。Fig. 7 is a schematic structural diagram of an obstacle detection device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例中提供的障碍物检测方法可以由一种障碍物检测系统执行,具体的,可以由障碍物检测系统中的障碍物检测设备执行。其中,所述障碍物检测系统包括障碍物检测设备和可移动平台。在某些实施例中,所述障碍物检测设备可以安装在可移动平台上;在某些实施例中,所述障碍物检测设备可以在空间上独立于可移动平台;在某些实施例中,所述障碍物检测设备可以是可移动平台的部件,即所述可移动平台包括障碍物检测设备。The obstacle detection method provided in the embodiment of the present invention may be executed by an obstacle detection system, and specifically, may be executed by an obstacle detection device in the obstacle detection system. Wherein, the obstacle detection system includes an obstacle detection device and a movable platform. In some embodiments, the obstacle detection device may be installed on a movable platform; in some embodiments, the obstacle detection device may be spatially independent of the movable platform; in some embodiments The obstacle detection device may be a component of a movable platform, that is, the movable platform includes an obstacle detection device.
在其他实施例中,所述障碍物检测方法还可以应用于其他可移动设备上, 如能够自主移动的机器人、无人车、无人船等可移动设备。In other embodiments, the obstacle detection method can also be applied to other mobile devices, such as mobile devices that can move autonomously, such as robots, unmanned vehicles, and unmanned ships.
所述障碍物检测系统中障碍物检测设备可以获取可移动平台所处周围环境对应的第一点云,如图1所示,图1是本发明实施例提供的一种点云的示意图,其中,图1中的点云为获取到的所述可移动平台11所处周围环境对应的第一点云。在某些实施例中,所述第一点云可以是通过激光雷达获取得到,也可以是通过可移动平台上的摄像头获取得到,本发明实施例不做具体限定。The obstacle detection device in the obstacle detection system can obtain the first point cloud corresponding to the surrounding environment where the movable platform is located, as shown in FIG. 1, which is a schematic diagram of a point cloud provided by an embodiment of the present invention, wherein , The point cloud in FIG. 1 is the acquired first point cloud corresponding to the surrounding environment where the movable platform 11 is located. In some embodiments, the first point cloud may be obtained through lidar, or may be obtained through a camera on a movable platform, which is not specifically limited in the embodiment of the present invention.
本发明实施例考虑到平面上可移动平台的运动平面约束,获取到的点云中包含了相当部分的冗余信息,因此,在获取到所述第一点云之后,所述障碍物检测设备可以对所述第一点云进行预处理。障碍物检测设备在对所述第一点云进行预处理时,可以获取所述可移动平台的尺寸信息,并根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云。In the embodiment of the present invention, considering the plane constraint of the movable platform on the plane, the acquired point cloud contains a considerable amount of redundant information. Therefore, after acquiring the first point cloud, the obstacle detection device The first point cloud may be pre-processed. When the obstacle detection device preprocesses the first point cloud, it can obtain the size information of the movable platform, and filter the first point cloud according to the size information of the movable platform to obtain The second point cloud.
在一个实施例中,所述可移动平台的尺寸信息包括可移动平台的高度,所述障碍物检测设备在根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云时,可以获取所述可移动平台的高度,并根据所述可移动平台的高度,确定在所述可移动平台的高度以上的区域为删除区域,并将删除区域内的点云进行删除,以得到所述第二点云。In one embodiment, the size information of the movable platform includes the height of the movable platform, and the obstacle detection device filters the first point cloud to obtain the first point cloud according to the size information of the movable platform. In the case of two point clouds, the height of the movable platform can be obtained, and according to the height of the movable platform, the area above the height of the movable platform is determined as the deletion area, and the point cloud in the deletion area is deleted. Delete to obtain the second point cloud.
在一个实施例中,所述可移动平台的尺寸信息包括可移动平台的安全跨越高度,所述障碍物检测设备在根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云时,可以获取所述可移动平台的安全跨越高度,并根据所述可移动平台的安全跨越高度,确定在所述可移动平台的安全跨越高度以下的区域为删除区域,并将删除区域内的点云进行删除,以得到所述第二点云。In one embodiment, the size information of the movable platform includes the safe crossing height of the movable platform, and the obstacle detection device is filtering the first point cloud according to the size information of the movable platform. When the second point cloud is obtained, the safe crossing height of the movable platform can be obtained, and according to the safe crossing height of the movable platform, the area below the safe crossing height of the movable platform is determined as the deletion area, and Delete the point cloud in the deletion area to obtain the second point cloud.
在一个实施例中,所述可移动平台的尺寸信息包括可移动平台的高度和安全跨越高度,所述障碍物检测设备在根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云时,可以获取所述可移动平台的高度以及安全跨越高度,并确定在所述可移动平台的高度以上的区域为第一删除区域,所述安全跨越高度以下的区域为第二删除区域,并将第一删除区域和第二删除区域内的点云进行删除,以得到所述第二点云。In one embodiment, the size information of the movable platform includes the height of the movable platform and the safe crossing height, and the obstacle detection device performs the measurement on the first point cloud according to the size information of the movable platform. When filtering to obtain the second point cloud, the height of the movable platform and the safe crossing height can be obtained, and the area above the height of the movable platform is determined as the first deletion area, and the area below the safe crossing height It is the second deletion area, and the point clouds in the first deletion area and the second deletion area are deleted to obtain the second point cloud.
具体可以图2为例进行说明,图2是本发明实施例提供的一种点云过滤的侧面示意图,如图2所示,根据安全跨越高度位置22以及可移动平台20的高 度位置23,可以确定所述安全跨越高度位置22和所述可移动平台的高度位置23之间的区域以外的第一删除区域24和第二删除区域25,以及将第一删除区域24和第二删除区域25内的点云进行删除,以得到所述安全跨越高度位置22和所述可移动平台的高度位置23之间的第二点云区域26,并确定所述第二点云区域26内的点云为第二点云。Specifically, Figure 2 is used as an example to illustrate. Figure 2 is a schematic side view of a point cloud filter provided by an embodiment of the present invention. As shown in Figure 2, according to the safe crossing height position 22 and the height position 23 of the movable platform 20, Determine the first deletion area 24 and the second deletion area 25 outside the area between the safe crossing height position 22 and the height position 23 of the movable platform, and place the first deletion area 24 and the second deletion area 25 Delete the point cloud to obtain the second point cloud area 26 between the safe crossing height position 22 and the height position 23 of the movable platform, and determine that the point cloud in the second point cloud area 26 is The second point cloud.
可选的,以无人车为例,所述安全跨越高度可以是无人车的底盘高度,或基于无人车的底盘高度确定的高度。Optionally, taking an unmanned vehicle as an example, the safe crossing height may be the chassis height of the unmanned vehicle, or a height determined based on the chassis height of the unmanned vehicle.
对于平面运动机器人,可移动平台的高度位置23以上的障碍物不会对可移动平台的运动造成影响;地面位置21和安全跨越高度位置22之间的障碍物可被可移动平台顺利通过,这些障碍物对应的点云属于冗余点云,将这一部分点云进行删除可以降低计算点云的复杂度,从而提高障碍物检测的效率。可见,通过对获取到的所述可移动平台周围环境的第一点云进行过滤,可以过滤掉冗余点云,以降低后续检测障碍物时计算点云的复杂度,以及提高障碍物检测的准确性。For planar motion robots, obstacles above the height position 23 of the movable platform will not affect the movement of the movable platform; obstacles between the ground position 21 and the safe crossing height position 22 can be passed by the movable platform smoothly. The point cloud corresponding to the obstacle is a redundant point cloud. Deleting this part of the point cloud can reduce the complexity of calculating the point cloud, thereby improving the efficiency of obstacle detection. It can be seen that by filtering the acquired first point cloud of the surrounding environment of the movable platform, redundant point clouds can be filtered out, so as to reduce the complexity of calculating point clouds during subsequent obstacle detection and improve obstacle detection. accuracy.
本发明实施例中,所述障碍物检测设备在通过过滤得到第二点云后,可以将所述第二点云投影至二维平面,得到至少一个投影图像。具体可结合图2和图3a进行说明,图3a是本发明实施例提供的一种点云的平面示意图,所述障碍物检测设备在通过过滤得到如图2的第二点云区域26内的第二点云后,可以将所述第二点云区域26内的第二点云投影至如图3a所示二维平面,得到投影图像31。In the embodiment of the present invention, after the obstacle detection device obtains the second point cloud through filtering, it may project the second point cloud onto a two-dimensional plane to obtain at least one projection image. It can be specifically described with reference to Figure 2 and Figure 3a. Figure 3a is a schematic plan view of a point cloud provided by an embodiment of the present invention. The obstacle detection device obtains the information in the second point cloud area 26 of Figure 2 through filtering. After the second point cloud, the second point cloud in the second point cloud area 26 can be projected onto a two-dimensional plane as shown in FIG. 3a to obtain a projected image 31.
本发明实施例中,所述障碍物检测设备可以根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。In the embodiment of the present invention, the obstacle detection device may determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image.
在一个实施例中,所述障碍物检测设备在根据所述投影图像,确定所述可移动平台所处周围环境的障碍物信息时,可以根据所述可移动平台的类型,从所述投影图像中确定适当的区域,并将所述区域划分为多个栅格区域。所述障碍物检测设备可以根据每个栅格区域中的点云数量和/或深度信息,确定所述每个栅格区域是否为障碍物区域。在某些实施例中,所述深度信息为所述第二点云到可移动平台的距离。In one embodiment, when the obstacle detection device determines the obstacle information of the surrounding environment in which the movable platform is located according to the projection image, it may obtain information from the projection image according to the type of the movable platform. Determine the appropriate area in the, and divide the area into multiple grid areas. The obstacle detection device may determine whether each grid area is an obstacle area according to the number of point clouds and/or depth information in each grid area. In some embodiments, the depth information is the distance from the second point cloud to the movable platform.
在某些实施例中,所述可移动平台的类型包括但不限于全向运动机器人、非全向运动机器人(如三轮移动机器人)等类型。如果所述可移动平台的类型 为全向运动机器人,则所述障碍物检测设备可以所述全向运动机器人的位置为几何中心,确定出所述区域。如果所述可移动平台的类型为非全向运动机器人,则所述障碍物检测设备可以所述非全向运动机器人的位置为底部边界点,确定出所述区域。In some embodiments, the types of the movable platform include, but are not limited to, omnidirectional motion robots, non-omnidirectional motion robots (such as three-wheel mobile robots), and the like. If the type of the movable platform is an omnidirectional motion robot, the obstacle detection device may use the position of the omnidirectional motion robot as the geometric center to determine the area. If the type of the movable platform is a non-omnidirectional motion robot, the obstacle detection device may determine the area using the position of the non-omnidirectional motion robot as a bottom boundary point.
具体可以图3b为例,图3b是本发明实施例提供的一种确定区域的平面示意图,假设所述可移动平台的类型为全向运动机器人,如果所述障碍物检测设备获取到所述全向运动机器人的当前位置32,则可以所述全向运动机器人的当前位置32为几何中心,从所述投影图像31中确定出区域33,并将该区域33划分为多个栅格区域。Specifically, Figure 3b is an example. Figure 3b is a schematic plan view of a certain area provided by an embodiment of the present invention. Assuming that the type of the movable platform is an omnidirectional motion robot, if the obstacle detection device obtains the omnidirectional motion robot, If the current position 32 of the omnidirectional movement robot is the geometric center, the current position 32 of the omnidirectional movement robot can be used as the geometric center to determine the area 33 from the projection image 31 and divide the area 33 into multiple grid areas.
又以图3c为例,图3c是本发明实施例提供的另一种确定区域的平面示意图,假设所述可移动平台的类型为非全向运动机器人,如果所述障碍物检测设备获取到所述非全向运动机器人的当前位置34,则可以所述非全向运动机器人的当前位置34为区域底部边界点,从所述投影图像31中确定出区域35,并将该区域35划分为多个栅格区域。Taking Figure 3c as an example again, Figure 3c is another schematic plan view of a certain area provided by an embodiment of the present invention. Assuming that the type of the movable platform is a non-omnidirectional motion robot, if the obstacle detection device acquires all According to the current position 34 of the non-omnidirectional motion robot, the current position 34 of the non-omnidirectional motion robot can be the bottom boundary point of the region, and the region 35 is determined from the projection image 31, and the region 35 is divided into multiple Grid areas.
在一个实施例中,所述障碍物检测设备在将所述区域划分为多个栅格区域时,可以根据可移动平台的尺寸信息进行划分。栅格区域小于可移动平台的尺寸不具有太大价值,因此可以按照大于可移动平台的尺寸信息划分栅格区域。In an embodiment, when the obstacle detection device divides the area into a plurality of grid areas, the division may be performed according to the size information of the movable platform. The grid area smaller than the size of the movable platform does not have much value, so the grid area can be divided according to the size information larger than the movable platform.
在一个实施例中,如果栅格区域内存在点云,则代表存在障碍物,但实际因为有噪声和误检测,栅格区域中有相当一部分点云并没有表示实际的障碍物。In one embodiment, if there is a point cloud in the grid area, it means that there is an obstacle, but actually due to noise and misdetection, a considerable part of the point cloud in the grid area does not represent the actual obstacle.
在一个实施例中,在通过摄像头获取点云时,由于图像中的物体近大远小的特性,对于相同大小的障碍物A和障碍物B,远处的障碍物A对应的点云数量少,近处的障碍物B对应的点云数量多,若以点云数量为障碍物判断标准可能造成远处的障碍物A被误检测。因此,本发明实施例中,障碍物检测设备可以根据所述点云的深度信息,确定所述每个栅格区域中每个点云的投票信息,根据所述点云的数量和所述投票信息,确定所述每个栅格区域的评价参数,并将所述评价参数与预设参数进行比较,以确定所述评价参数大于所述预设参数的栅格区域为所述障碍物区域。在某些实施例中,所述评价参数可以包括但不限于根据投票信息确定的数字、百分比等。In one embodiment, when the point cloud is acquired through the camera, due to the characteristics of objects in the image that are close and far small, for obstacle A and obstacle B of the same size, the number of point clouds corresponding to obstacle A in the distance is small , The nearby obstacle B corresponds to a large number of point clouds. If the number of point clouds is used as the obstacle judgment criterion, it may cause the distant obstacle A to be detected by mistake. Therefore, in the embodiment of the present invention, the obstacle detection device can determine the voting information of each point cloud in each grid area according to the depth information of the point cloud, and according to the number of the point clouds and the voting information Information, the evaluation parameter of each grid area is determined, and the evaluation parameter is compared with a preset parameter to determine that a grid area with the evaluation parameter greater than the preset parameter is the obstacle area. In some embodiments, the evaluation parameters may include, but are not limited to, numbers, percentages, etc. determined based on voting information.
在某些实施例中,所述障碍物检测设备可以根据所述评价参数确定所述栅 格区域中空闲区域、未知区域等区域,本发明实施例对区域的划分不做具体限定。在某些实施例中,所述未知区域可以为没有第二点云的栅格区域;在某些实施例中,所述空闲区域可以为所述评价参数小于所述预设参数的栅格区域。In some embodiments, the obstacle detection device may determine areas such as free areas and unknown areas in the grid area according to the evaluation parameters. The embodiment of the present invention does not specifically limit the division of areas. In some embodiments, the unknown area may be a grid area without a second point cloud; in some embodiments, the free area may be a grid area where the evaluation parameter is smaller than the preset parameter .
具体可以结合图4a和图4b进行说明,图4a是本发明实施例提供的一种投票计数的示意图,图4b是本发明实施例提供的一种区域划分的示意图。如图4a所示,栅格区域411、栅格区域412、栅格区域413、栅格区域414的投票信息均为6,即每个栅格中的每个点云的投票数均为6票,栅格区域411中共有5个点云,则5个点云共投出30票,栅格区域411的评价参数为30;栅格区域412中共有6个点云,则6个点云共投出36票,栅格区域412的评价参数为36;栅格区域413中共有8个点云,则6个点云共投出48票,栅格区域413的评价参数为48;栅格区域414中共有9个点云,则9个点云共投出54票,栅格区域414的评价参数为54。栅格区域415的投票信息为5,即栅格区域415中的每个点云的投票数均为5票,栅格区域415中共有1个点云,则1个点云共投出5票,栅格区域415的评价参数为5。如果预设参数为25,则可以确定栅格区域411、栅格区域412、栅格区域413、栅格区域414均为障碍物区域,栅格区域415为空闲区域。由此可确定出如图4b所示的障碍物区域41(黑色标记区域)、空闲区域42(浅灰色标记区域)、未知区域43(深灰色标记区域)。It can be specifically described with reference to FIGS. 4a and 4b. FIG. 4a is a schematic diagram of a vote counting provided by an embodiment of the present invention, and FIG. 4b is a schematic diagram of a region division provided by an embodiment of the present invention. As shown in Figure 4a, the voting information of the grid area 411, the grid area 412, the grid area 413, and the grid area 414 are all 6, that is, the number of votes for each point cloud in each grid is 6 votes. , There are a total of 5 point clouds in the grid area 411, and a total of 30 votes will be cast for the 5 point clouds. The evaluation parameter of the grid area 411 is 30; there are 6 point clouds in the grid area 412, and the 6 point clouds total 36 votes were cast, and the evaluation parameter of the grid area 412 was 36; there were 8 point clouds in the grid area 413, and a total of 48 votes were cast for the 6 point clouds, and the evaluation parameter of the grid area 413 was 48; There are 9 point clouds in 414, 54 votes are cast for 9 point clouds, and the evaluation parameter of the grid area 414 is 54. The voting information of the grid area 415 is 5, that is, the number of votes for each point cloud in the grid area 415 is 5 votes. There is 1 point cloud in the grid area 415, and a total of 5 votes are cast for 1 point cloud. , The evaluation parameter of the grid area 415 is 5. If the preset parameter is 25, it can be determined that the grid area 411, the grid area 412, the grid area 413, and the grid area 414 are all obstacle areas, and the grid area 415 is a free area. Thus, the obstacle area 41 (black marked area), the free area 42 (light gray marked area), and the unknown area 43 (dark gray marked area) as shown in FIG. 4b can be determined.
本发明实施例,通过根据可移动平台的尺寸信息,对获取到的所述可移动平台所处周围环境对应的第一点云进行过滤以得到第二点云,可以过滤掉冗余点云,提高对点云处理的效率,降低了计算复杂度;通过将所述第二点云投影至二维平面,得到至少一个投影图像,可以更直观方便地从二维平面查看点云的分布;根据所述至少一个投影图像,确定出多个栅格区域,并进一步根据每个栅格区域的点云数量和/或深度信息,确定出障碍物信息,可以提高了障碍物检测效率和准确性。In the embodiment of the present invention, by filtering the acquired first point cloud corresponding to the surrounding environment where the movable platform is located according to the size information of the movable platform to obtain the second point cloud, redundant point clouds can be filtered out. Improve the efficiency of point cloud processing and reduce the computational complexity; by projecting the second point cloud onto a two-dimensional plane to obtain at least one projection image, the distribution of the point cloud can be viewed from the two-dimensional plane more intuitively and conveniently; The at least one projection image determines a plurality of grid areas, and further determines obstacle information according to the number of point clouds and/or depth information of each grid area, which can improve the efficiency and accuracy of obstacle detection.
下面结合附图5对本发明实施例提供的障碍物检测系统进行示意性说明。The obstacle detection system provided by the embodiment of the present invention will be schematically described below with reference to FIG. 5.
请参见图5,图5是本发明实施例提供的一种障碍物检测系统的结构示意图。所述障碍物检测系统包括:障碍物检测设备51、可移动平台52。其中,可移动平台52和障碍物检测设备51之间可以通过无线通信连接方式建立通信 连接。其中,在某些场景下,所述可移动平台52和障碍物检测设备51之间也可以通过有线通信连接方式建立通信连接。所述可移动平台52可以为无人车、无人船、可移动机器人等可移动设备。所述可移动平台52包括动力系统521,所述动力系统521用于为可移动平台52提供移动的动力。在其他实施例中,可移动平台52和障碍物检测设备51彼此独立,例如障碍物检测设备51设置在云端服务器中,通过无线通信连接方式与可移动平台52建立通信连接。Please refer to FIG. 5, which is a schematic structural diagram of an obstacle detection system provided by an embodiment of the present invention. The obstacle detection system includes: an obstacle detection device 51 and a movable platform 52. Wherein, a communication connection between the movable platform 52 and the obstacle detection device 51 can be established through a wireless communication connection. Wherein, in some scenarios, a communication connection between the movable platform 52 and the obstacle detection device 51 may also be established through a wired communication connection. The movable platform 52 may be a movable device such as an unmanned vehicle, an unmanned ship, and a movable robot. The movable platform 52 includes a power system 521, and the power system 521 is used to provide the movable platform 52 with moving power. In other embodiments, the movable platform 52 and the obstacle detection device 51 are independent of each other. For example, the obstacle detection device 51 is set in a cloud server and establishes a communication connection with the movable platform 52 through a wireless communication connection.
本发明实施例中,所述障碍物检测设备51可以获取所述可移动平台52所处周围环境对应的第一点云;根据所述可移动平台52的尺寸信息,对所述第一点云进行过滤以得到第二点云;将所述第二点云投影至二维平面,得到至少一个投影图像;根据所述至少一个投影图像,确定所述可移动平台52所处周围环境的障碍物信息,以提高障碍物检测的效率和准确性,提高所述可移动平台52移动过程中的安全性。In the embodiment of the present invention, the obstacle detection device 51 can obtain the first point cloud corresponding to the surrounding environment where the movable platform 52 is located; according to the size information of the movable platform 52, the first point cloud Filtering to obtain a second point cloud; projecting the second point cloud onto a two-dimensional plane to obtain at least one projection image; according to the at least one projection image, determining obstacles in the surrounding environment where the movable platform 52 is located Information to improve the efficiency and accuracy of obstacle detection, and improve the safety of the movable platform 52 during the movement.
下面结合附图6和附图7对本发明实施例提供的障碍物检测方法进行示意性说明。The obstacle detection method provided by the embodiment of the present invention will be schematically described below with reference to FIG. 6 and FIG. 7.
具体请参见图6,图6是本发明实施例提供的一种障碍物检测方法的流程示意图,所述方法可以由障碍物检测设备执行,其中,障碍物检测设备的具体解释如前所述。具体地,本发明实施例的所述方法包括如下步骤。Please refer to FIG. 6 for details. FIG. 6 is a schematic flowchart of an obstacle detection method according to an embodiment of the present invention. The method may be executed by an obstacle detection device, and the specific explanation of the obstacle detection device is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S601:获取可移动平台所处周围环境对应的第一点云。S601: Acquire a first point cloud corresponding to the surrounding environment where the movable platform is located.
本发明实施例中,障碍物检测设备可以获取可移动平台所处周围环境对应的第一点云。以图1为例,图1所示的点云为获取到的所述可移动平台11所处周围环境的第一点云。In the embodiment of the present invention, the obstacle detection device can obtain the first point cloud corresponding to the surrounding environment where the movable platform is located. Taking FIG. 1 as an example, the point cloud shown in FIG. 1 is the acquired first point cloud of the surrounding environment where the movable platform 11 is located.
在一个实施例中,所述障碍物检测设备在获取所述可移动平台所处周围环境对应的第一点云时,可以通过激光雷达获取所述可移动平台所处周围环境对应的第一点云。In one embodiment, when the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it may obtain the first point corresponding to the surrounding environment where the movable platform is located through lidar cloud.
在某些实施例中,所述激光雷达是一种感知传感器,可以获得场景的三维信息。其基本原理为主动对被探测对象发射激光脉冲信号,并获得其反射回来的脉冲信号,根据发射信号和接收信号之间的时间差计算被测对象的距离探测器的深度信息;基于激光雷达的已知发射方向,获得被测对象相对激光雷达的角度信息;结合前述深度信息和角度信息得到海量的探测点(称为点云),基 于点云即可以重建被测对象相对激光雷达的空间三维信息。In some embodiments, the lidar is a perceptual sensor that can obtain three-dimensional information of the scene. The basic principle is to actively emit laser pulse signals to the detected object and obtain the reflected pulse signals. According to the time difference between the transmitted signal and the received signal, the depth information of the distance detector of the object to be measured is calculated; Know the launch direction, obtain the angle information of the measured object relative to the lidar; combine the aforementioned depth information and angle information to obtain a large number of detection points (called point clouds), based on the point cloud, the spatial three-dimensional information of the measured object relative to the lidar can be reconstructed .
在一个实施例中,所述障碍物检测设备在获取所述可移动平台所处周围环境对应的第一点云时,可以通过摄像头获取所述可移动平台所处周围环境对应的第一点云。在某些实施例中,所述摄像头可以挂载在所述可移动平台上。在某些实施例中,所述摄像头还可以独立于可移动平台,安装于所述可移动平台所处环境当中。在某些实施例中,所述摄像头包括但不限于双目摄像头、单目摄像头,TOF摄像头等摄像装置。In one embodiment, when the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it may obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera. . In some embodiments, the camera may be mounted on the movable platform. In some embodiments, the camera may also be independent of the movable platform and installed in the environment where the movable platform is located. In some embodiments, the camera includes, but is not limited to, binocular cameras, monocular cameras, TOF cameras and other camera devices.
在一些实施例中,所述障碍物检测设备在通过摄像头获取所述可移动平台所处周围环境对应的第一点云时,可以基于预设转换矩阵将所述摄像头获取的点云转换到世界坐标系中,得到所述可移动平台所处周围环境对应的第一点云;其中,所述预设转换矩阵包括内参矩阵和外参矩阵,所述外参矩阵包括旋转矩阵和/或平移向量。在某些实施例中,当所述世界坐标系的原点设定在所述可移动平台上时,所述外参矩阵只包括旋转矩阵。In some embodiments, when the obstacle detection device acquires the first point cloud corresponding to the surrounding environment where the movable platform is located through the camera, it may convert the point cloud acquired by the camera to the world based on a preset conversion matrix. In the coordinate system, the first point cloud corresponding to the surrounding environment of the movable platform is obtained; wherein, the preset conversion matrix includes an internal parameter matrix and an external parameter matrix, and the external parameter matrix includes a rotation matrix and/or a translation vector . In some embodiments, when the origin of the world coordinate system is set on the movable platform, the external parameter matrix only includes a rotation matrix.
在某些实施例中,所述内参矩阵是根据多个内参数确定得到,所述内参数是摄像头标定得到的参数,如焦距、像主点坐标等。在某些实施例中,所述外参矩阵可以包括旋转矩阵和/或平移向量,其中,所述旋转矩阵可以通过摄像头的姿态确定得到的,所述平移向量可以通过摄像头的定位信息确定得到。In some embodiments, the internal parameter matrix is determined based on a plurality of internal parameters, and the internal parameters are parameters obtained by camera calibration, such as focal length and principal point coordinates. In some embodiments, the external parameter matrix may include a rotation matrix and/or a translation vector, wherein the rotation matrix may be determined by the posture of the camera, and the translation vector may be determined by the positioning information of the camera.
可见,本发明实施例通过将摄像头采集到的点云转换到世界坐标系,以得到所述第一点云,在将摄像头采集到的点云转换到世界坐标系的过程中,可以对摄像头采集到的点云进行去畸变等处理,从而提升所述第一点云的准确性。It can be seen that the embodiment of the present invention converts the point cloud collected by the camera to the world coordinate system to obtain the first point cloud. In the process of converting the point cloud collected by the camera to the world coordinate system, the camera can collect The obtained point cloud undergoes processing such as distortion removal, thereby improving the accuracy of the first point cloud.
S602:根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云。S602: Filter the first point cloud according to the size information of the movable platform to obtain a second point cloud.
本发明实施例中,障碍物检测设备可以根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云。In the embodiment of the present invention, the obstacle detection device may filter the first point cloud to obtain the second point cloud according to the size information of the movable platform.
在一个实施例中,所述尺寸信息包括所述可移动平台的高度,所述障碍物检测设备在根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云时,可以根据所述可移动平台的高度,对所述第一点云进行过滤以得到第二点云。In one embodiment, the size information includes the height of the movable platform, and the obstacle detection device filters the first point cloud to obtain the second point according to the size information of the movable platform. In case of cloud, the first point cloud may be filtered according to the height of the movable platform to obtain the second point cloud.
在一个实施例中,所述可移动平台的尺寸信息包括可移动平台的安全跨越高度,所述障碍物检测设备在根据所述可移动平台的尺寸信息,对所述第一点 云进行过滤以得到第二点云时,可以根据所述可移动平台的安全跨越高度,对所述第一点云进行过滤以得到第二点云。In one embodiment, the size information of the movable platform includes the safe crossing height of the movable platform, and the obstacle detection device is filtering the first point cloud according to the size information of the movable platform. When the second point cloud is obtained, the first point cloud may be filtered according to the safe crossing height of the movable platform to obtain the second point cloud.
在一个实施例中,所述可移动平台的尺寸信息包括可移动平台的高度以及安全跨越高度,所述障碍物检测设备在根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云时,可以根据所述可移动平台的高度以及安全跨越高度,对所述第一点云进行过滤以得到第二点云。In one embodiment, the size information of the movable platform includes the height of the movable platform and the height of safe crossing, and the obstacle detection device performs the measurement on the first point cloud according to the size information of the movable platform. When filtering to obtain the second point cloud, the first point cloud may be filtered according to the height of the movable platform and the safe crossing height to obtain the second point cloud.
以图2为例,根据安全跨越高度位置22以及可移动平台20的高度位置23,可以确定所述安全跨越高度位置22和所述可移动平台的高度位置23之间的区域以外的第一删除区域24和第二删除区域25,以及将第一删除区域24和第二删除区域25内的点云进行删除,以得到所述安全跨越高度位置22和所述可移动平台的高度位置23之间的第二点云区域26,并确定所述第二点云区域26内的点云为第二点云。可见,本发明实施例通过可移动平台的尺寸信息对第一点云进行过滤,可以删除冗余点云,降低了后续计算点云的数量和深度信息的复杂度。Taking FIG. 2 as an example, according to the safe crossing height position 22 and the height position 23 of the movable platform 20, the first deletion outside the area between the safe crossing height position 22 and the height position 23 of the movable platform can be determined Area 24 and the second deletion area 25, and delete the point cloud in the first deletion area 24 and the second deletion area 25 to obtain the distance between the safe crossing height position 22 and the height position 23 of the movable platform And determine that the point cloud in the second point cloud area 26 is the second point cloud. It can be seen that in the embodiment of the present invention, the first point cloud is filtered by the size information of the movable platform, redundant point clouds can be deleted, and the subsequent calculation of the number of point clouds and the complexity of depth information are reduced.
S603:将所述第二点云投影至二维平面,得到至少一个投影图像。S603: Project the second point cloud onto a two-dimensional plane to obtain at least one projection image.
本发明实施例中,障碍物检测设备可以将所述第二点云投影至二维平面,得到至少一个投影图像。In the embodiment of the present invention, the obstacle detection device may project the second point cloud onto a two-dimensional plane to obtain at least one projection image.
在一个实施例中,所述二维平面可以包括水平面,所述障碍物检测设备可以将所述第二点云投影至水平面,得到至少一个投影图像。在某些实施例中,所述水平面是与所述可移动平台所在位置平行的平面。以无人车为例,假设无人机当前正在爬坡,则所述水平面是与所述无人车当前所在的坡道平行的平面。In an embodiment, the two-dimensional plane may include a horizontal plane, and the obstacle detection device may project the second point cloud onto the horizontal plane to obtain at least one projection image. In some embodiments, the horizontal plane is a plane parallel to the position where the movable platform is located. Taking an unmanned vehicle as an example, assuming that the drone is currently climbing a slope, the horizontal plane is a plane parallel to the ramp where the unmanned vehicle is currently located.
在一个实施例中,所述二维平面可以包括地面,所述障碍物检测设备可以将所述第二点云投影至地面,得到至少一个投影图像,在某些实施例中,所述地面为与所述可移动平台平行的地面。以无人车为例,当无人车在水平地面上行驶时,所述二维平面可以是地面。In one embodiment, the two-dimensional plane may include the ground, and the obstacle detection device may project the second point cloud onto the ground to obtain at least one projected image. In some embodiments, the ground is The ground parallel to the movable platform. Taking an unmanned vehicle as an example, when the unmanned vehicle is driving on a level ground, the two-dimensional plane may be the ground.
可见,本发明实施例通过将世界坐标系中的第二点云投影到二维平面,满足了可移动平台的平面移动性,便于直观地在平面上对点云进行计算。It can be seen that, by projecting the second point cloud in the world coordinate system to a two-dimensional plane, the embodiment of the present invention satisfies the plane mobility of the movable platform, and facilitates intuitive calculation of the point cloud on the plane.
S604:根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。S604: Determine obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image.
本发明实施例中,障碍物检测设备可以根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。In the embodiment of the present invention, the obstacle detection device may determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image.
在一个实施例中,所述障碍物检测设备在根据所述投影图像,确定所述可移动平台所处周围环境的障碍物信息时,可以将所述投影图像划分为多个栅格区域,并根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域,具体实施例如前所述,此处不再赘述。In one embodiment, when the obstacle detection device determines the obstacle information of the surrounding environment where the movable platform is located according to the projection image, the projection image may be divided into multiple grid areas, and According to the point cloud in each grid area, it is determined whether each grid area is an obstacle area. The specific implementation is as described above and will not be repeated here.
在一个实施例中,所述障碍物检测设备将所述投影图像划分为多个栅格区域时,可以获取所述可移动平台的类型,并根据所述可移动平台的类型,确定所述多个栅格区域的位置,具体实施例如前所述,此处不再赘述。In one embodiment, when the obstacle detection device divides the projection image into multiple grid areas, the type of the movable platform may be acquired, and the type of the movable platform may be determined according to the type of the movable platform. The location of each grid area, the specific implementation is as described above, and will not be repeated here.
在一个实施例中,所述可移动平台的类型包括全向运动机器人,所述障碍物检测设备在根据所述可移动平台的类型,确定所述多个栅格区域的位置时,可以获取所述全向运动机器人的当前位置,并以所述全向运动机器人的当前位置为几何中心,确定所述多个栅格区域的位置。In one embodiment, the type of the movable platform includes an omnidirectional motion robot, and the obstacle detection device can obtain all the positions of the multiple grid areas according to the type of the movable platform. The current position of the omnidirectional motion robot, and the current position of the omnidirectional motion robot is used as a geometric center to determine the positions of the multiple grid regions.
具体可以图3b为例,假设所述可移动平台为全向运动机器人,如果所述全向运动机器人的当前位置32,则障碍物检测设备可以确定所述全向运动机器人的当前位置32为几何中心,从所述投影图像31中确定出区域33,并将该区域33划分为多个栅格区域。Specifically, Figure 3b can be taken as an example. Assuming that the movable platform is an omnidirectional motion robot, if the current position 32 of the omnidirectional motion robot, the obstacle detection device can determine that the current position 32 of the omnidirectional motion robot is geometric In the center, an area 33 is determined from the projected image 31, and the area 33 is divided into multiple grid areas.
在一个实施例中,所述可移动平台的类型包括非全向运动机器人,所述障碍物检测设备在根据所述可移动平台的类型,确定所述多个栅格区域的位置时,可以获取所述非全向运动机器人的当前位置,并以所述非全向运动机器人的当前位置为边界点,确定所述多个栅格区域的位置。在某些实施例中,所述边界点可以为确定区域任意一条边的边界点,具体根据非全向运动机器人的类型来确定具体是哪一条边的边界点。In one embodiment, the type of the movable platform includes a non-omnidirectional motion robot, and the obstacle detection device can obtain the position of the multiple grid areas according to the type of the movable platform. The current position of the non-omnidirectional motion robot is determined by using the current position of the non-omnidirectional motion robot as a boundary point to determine the positions of the multiple grid regions. In some embodiments, the boundary point may be a boundary point of any side of the determined area, and the specific boundary point of which side is determined according to the type of the non-omnidirectional motion robot.
具体可以图3c为例,假设所述可移动平台为非全向运动机器人,且所述非全向运动机器人为三轮移动机器人,如果所述三轮移动机器人的当前位置34,则障碍物检测设备可以确定所述三轮移动机器人的当前位置34为底部边界线中的边界点,并从所述投影图像31中确定出以所述三轮移动机器人的当前位置34为底部边界线中的边界点的区域33,并将该区域33划分为多个栅格区域。Specifically, Figure 3c can be taken as an example. Assuming that the movable platform is a non-omnidirectional motion robot, and the non-omnidirectional motion robot is a three-wheeled mobile robot, if the current position of the three-wheeled mobile robot is 34, obstacle detection The device may determine that the current position 34 of the three-wheeled mobile robot is the boundary point in the bottom boundary line, and determine from the projection image 31 that the current position 34 of the three-wheeled mobile robot is the boundary in the bottom boundary line Point the area 33 and divide the area 33 into multiple grid areas.
可见,本发明实施例根据可移动平台的类型来确定所述多个栅格区域的位 置,可以实现根据不同类型可移动平台的运动特性,来确定栅格区域,以确保不同类型的可移动平台的主要移动区域在所述多个栅格区域内,避免可移动平台的移动区域在所述多个栅格区域以外,而撞上所述多个栅格区域外未检测到的障碍物,从而提高不同类型可移动平台在移动过程中的安全性。It can be seen that the embodiment of the present invention determines the positions of the multiple grid areas according to the type of the movable platform, and can determine the grid area according to the motion characteristics of different types of movable platforms to ensure different types of movable platforms. The main moving area of is within the multiple grid areas, so as to avoid that the moving area of the movable platform is outside the multiple grid areas and hits an undetected obstacle outside the multiple grid areas, thereby Improve the safety of different types of movable platforms during the movement.
在一个实施例中,所述障碍物检测设备在将所述投影图像划分为多个栅格区域时,可以获取所述可移动平台的尺寸,并根据所述可移动平台的尺寸,确定所述多个栅格区域中每个栅格区域的尺寸。栅格区域小于可移动平台的尺寸的划分没有太大的实际价值,因此,本发明实施例按照所述每个栅格区域的尺寸大于所述可移动平台的尺寸的方式划分所述多个栅格区域。具体实施例如前所述,此处不再赘述。In one embodiment, when the obstacle detection device divides the projection image into multiple grid areas, it can obtain the size of the movable platform, and determine the size of the movable platform according to the size of the movable platform. The size of each grid area in multiple grid areas. The division of the grid area smaller than the size of the movable platform does not have much practical value. Therefore, the embodiment of the present invention divides the multiple grids in such a way that the size of each grid area is larger than the size of the movable platform. Grid area. The specific implementation is as described above and will not be repeated here.
可见,本发明实施例通过按照每个栅格区域的尺寸大于可移动平台的尺寸来划分多个栅格区域,可以进一步降低障碍物检测所需的计算量,提高障碍物检测效率。It can be seen that the embodiment of the present invention divides multiple grid areas according to the size of each grid area larger than the size of the movable platform, which can further reduce the calculation amount required for obstacle detection and improve the efficiency of obstacle detection.
在一个实施例中,所述障碍物检测设备在根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域时,可以获取所述每个栅格区域中点云的数量,当所述点云的数量大于预设数量阈值时,则可以确定所述栅格区域为障碍物区域。In one embodiment, when the obstacle detection device determines whether each grid area is an obstacle area according to the point cloud in each grid area, it can acquire the midpoint of each grid area. The number of clouds. When the number of point clouds is greater than a preset number threshold, it can be determined that the grid area is an obstacle area.
以图4a为例,假设预设数量阈值为10,如果栅格区域411的点云数量为15、栅格区域412的点云数量为16、栅格区域413的点云数量为18、栅格区域414的点云数量为20,则可以确定所述栅格区域411、栅格区域412、栅格区域413以及栅格区域414的点云数量均大于预设数量阈值10,因此,可以确定所述栅格区域411、栅格区域412、栅格区域413以及栅格区域414组成的区域为障碍物区域。Taking Figure 4a as an example, assuming that the preset number threshold is 10, if the number of point clouds in the grid area 411 is 15, the number of point clouds in the grid area 412 is 16, the number of point clouds in the grid area 413 is 18, If the number of point clouds in the area 414 is 20, it can be determined that the number of point clouds in the grid area 411, the grid area 412, the grid area 413, and the grid area 414 are all greater than the preset number threshold of 10. The area composed of the grid area 411, the grid area 412, the grid area 413, and the grid area 414 is an obstacle area.
可见,本发明实施例通过判断每个栅格区域中点云的数据是否大于预设数量阈值来确定栅格区域是否障碍物区域,保证了在有足够点云的情况下才将栅格区域确定为障碍物区域,提高了障碍物检测的准确性。It can be seen that the embodiment of the present invention determines whether the grid area is an obstacle area by judging whether the point cloud data in each grid area is greater than a preset number threshold, ensuring that the grid area is determined only when there are enough point clouds. It is an obstacle area, which improves the accuracy of obstacle detection.
在一个实施例中,所述障碍物检测设备在根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域时,可以获取所述每个栅格区域中点云的数量和深度信息,并根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域。In one embodiment, when the obstacle detection device determines whether each grid area is an obstacle area according to the point cloud in each grid area, it can acquire the midpoint of each grid area. According to the number and depth information of the cloud, it is determined whether the grid area is an obstacle area according to the number and depth information of the point cloud.
在一个实施例中,所述障碍物检测设备在根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域时,可以根据所述点云的深度信息,确定所述每个栅格区域中每个点云的投票信息,并根据所述点云的数量和所述投票信息,确定所述每个栅格区域的评价参数,以及将所述评价参数与预设参数进行比较,从而确定所述评价参数大于所述预设参数的栅格区域为所述障碍物区域。在某些实施例中,所述障碍物可以包括但不限于固定建筑物、其他可移动设备、地面设施等任意一种或多种阻碍所述可移动平台移动的物体。在某些实施例中,所述栅格区域可以包括但不限于障碍物区域、空闲区域、未知区域中的任意一种或多种。In one embodiment, when the obstacle detection device determines whether the grid area is an obstacle area according to the number and depth information of the point cloud, it may determine the depth information of the point cloud. The voting information of each point cloud in each grid area, and the evaluation parameters of each grid area are determined according to the number of the point clouds and the voting information, and the evaluation parameters are combined with preset parameters The comparison is performed to determine that the grid area with the evaluation parameter greater than the preset parameter is the obstacle area. In some embodiments, the obstacle may include, but is not limited to, any one or more objects that hinder the movement of the movable platform, such as fixed buildings, other movable equipment, and ground facilities. In some embodiments, the grid area may include, but is not limited to, any one or more of obstacle areas, free areas, and unknown areas.
在一个实施例中,所述障碍物检测设备可以获取每个栅格区域中每个点云的深度信息,并计算每个栅格区域中各点云的深度平均值,以及根据预设的深度与投票数的对应关系,确定与所述深度平均值对应的投票数,从而根据与所述深度平均值对应的投票数,确定每个栅格区域中所有点云得到的投票总数。所述障碍物检测设备可以根据预设的投票总数与评价参数的对应关系,确定与所述投票总数对应的评价参数,并将该评价参数与预设参数进行对比,如果所述评价参数大于预设参数,则可以确定该栅格区域为障碍物区域。In one embodiment, the obstacle detection device can obtain the depth information of each point cloud in each grid area, and calculate the average depth of each point cloud in each grid area, and according to the preset depth According to the correspondence relationship with the number of votes, the number of votes corresponding to the depth average value is determined, so that the total number of votes obtained by all point clouds in each grid area is determined according to the number of votes corresponding to the depth average value. The obstacle detection device may determine the evaluation parameter corresponding to the total number of votes according to the corresponding relationship between the preset total number of votes and the evaluation parameters, and compare the evaluation parameters with the preset parameters. By setting the parameters, the grid area can be determined as an obstacle area.
具体可以图4a为例,假设栅格区域411中有点云A,B,C,深度为1.5m,1.6m,1.7m,所述障碍物检测设备可以对栅格区域411中点云A,B,C的深度求平均值,计算得到深度平均值为1.6m,如果1.6m的深度平均值可以对应一个投票数如2票,那么栅格区域411中的三个点云A,B,C共投出6票,如果6票对应的评价参数为6,预设参数为5,则可以确定所述栅格区域411为障碍物区域。Figure 4a can be taken as an example. Assuming that there are some clouds A, B, and C in the grid area 411, and the depth is 1.5m, 1.6m, 1.7m, the obstacle detection device can detect the point clouds A, B in the grid area 411. , The depth of C is averaged, and the calculated depth average is 1.6m. If the average depth of 1.6m can correspond to a number of votes such as 2 votes, then the three point clouds A, B, and C in the grid area 411 total 6 votes are cast. If the evaluation parameter corresponding to the 6 votes is 6 and the preset parameter is 5, it can be determined that the grid area 411 is an obstacle area.
在一个实施例中,所述障碍物检测设备可以获取每个栅格区域中每个点云的深度信息,并根据预设的深度与投票数的对应关系,确定与每个点云的深度信息对应的投票数,从而根据与所述每个点云的深度信息对应的投票数,确定每个栅格区域中所有点云得到的投票总数。所述障碍物检测设备可以根据预设的投票总数与评价参数的对应关系,确定与所述投票总数对应的评价参数,并将该评价参数与预设参数进行对比,如果所述评价参数大于预设参数,则可以确定该栅格区域为障碍物区域。In one embodiment, the obstacle detection device can obtain the depth information of each point cloud in each grid area, and determine the depth information of each point cloud according to the preset corresponding relationship between the depth and the number of votes. According to the corresponding number of votes, the total number of votes obtained by all point clouds in each grid area is determined according to the number of votes corresponding to the depth information of each point cloud. The obstacle detection device may determine the evaluation parameter corresponding to the total number of votes according to the corresponding relationship between the preset total number of votes and the evaluation parameters, and compare the evaluation parameters with the preset parameters. Set the parameters, you can determine that the grid area is an obstacle area.
以图4a为例,假设栅格区域411中有点云A,B,C,深度为1.5m,1.6m, 1.7m,如果所述深度1.5m对应的投票数为1票,所述深度1.6m对应的投票数为2票,所述深度1.7m对应的投票数为3票,则可以确定所述栅格区域411中的三个点云A,B,C共投出6票,如果6票对应的评价参数为6,预设参数为5,则可以确定所述栅格区域411为障碍物区域。Taking Figure 4a as an example, suppose there are some clouds A, B, and C in the grid area 411 with depths of 1.5m, 1.6m, and 1.7m. If the number of votes corresponding to the depth of 1.5m is 1 vote, the depth of 1.6m The corresponding number of votes is 2 votes, and the number of votes corresponding to the depth of 1.7m is 3 votes. It can be determined that the three point clouds A, B, and C in the grid area 411 cast a total of 6 votes. If 6 votes The corresponding evaluation parameter is 6, and the preset parameter is 5. It can be determined that the grid area 411 is an obstacle area.
在某些实施例中,所述评价参数可以包括但不限于数字、百分比等表现形式。例如,如果所述评价参数用数字表示,则数字越大,表示该区域为障碍物的概率越大。又例如,如果所述评价参数用百分比表示,同样该百分比越大,代表该区域为障碍物的概率越大。在其他实施例中,所述评价参数还可以通过识别障碍物的类型来确定,在此不做具体限定。In some embodiments, the evaluation parameters may include, but are not limited to, numbers, percentages, and other manifestations. For example, if the evaluation parameter is represented by a number, the larger the number, the greater the probability that the area is an obstacle. For another example, if the evaluation parameter is expressed as a percentage, the larger the percentage, the greater the probability that the area is an obstacle. In other embodiments, the evaluation parameter can also be determined by identifying the type of obstacle, which is not specifically limited here.
可见,本发明实施例根据点云的深度信息确定投票信息,考虑了点云与可移动平台的距离,提高了障碍物检测的准确性;结合点云的数量确定评价参数,通过评价参数来确定栅格区域是否为所述障碍物区域,可以提高障碍物检测的准确性。It can be seen that the embodiment of the present invention determines voting information according to the depth information of the point cloud, takes into account the distance between the point cloud and the movable platform, and improves the accuracy of obstacle detection; the evaluation parameters are determined by combining the number of point clouds, and the evaluation parameters are used to determine Whether the grid area is the obstacle area can improve the accuracy of obstacle detection.
本发明实施例中,障碍物检测设备通过获取可移动平台所处周围环境对应的第一点云,根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云,降低了计算复杂度;通过将所述第二点云投影至二维平面,得到至少一个投影图像,以及根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息,提高了障碍物检测的效率和准确性。In the embodiment of the present invention, the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point Cloud, reducing the computational complexity; by projecting the second point cloud onto a two-dimensional plane, at least one projection image is obtained, and based on the at least one projection image, the obstacles in the surrounding environment where the movable platform is located are determined Information improves the efficiency and accuracy of obstacle detection.
请参见图7,图7是本发明实施例提供的一种障碍物检测设备的结构示意图。具体的,所述障碍物检测设备包括:存储器701、处理器702。Please refer to FIG. 7, which is a schematic structural diagram of an obstacle detection device according to an embodiment of the present invention. Specifically, the obstacle detection device includes: a memory 701 and a processor 702.
在一种实施例中,所述障碍物检测设备还包括数据接口703,所述数据接口703,用于传递障碍物检测设备和其他设备之间的数据信息。In an embodiment, the obstacle detection device further includes a data interface 703, and the data interface 703 is used to transfer data information between the obstacle detection device and other devices.
所述存储器701可以包括易失性存储器(volatile memory);存储器701也可以包括非易失性存储器(non-volatile memory);存储器701还可以包括上述种类的存储器的组合。所述处理器702可以是中央处理器(central processing unit,CPU)。所述处理器702还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门 阵列(field-programmable gate array,FPGA)或其任意组合。The memory 701 may include a volatile memory (volatile memory); the memory 701 may also include a non-volatile memory (non-volatile memory); the memory 701 may also include a combination of the foregoing types of memories. The processor 702 may be a central processing unit (CPU). The processor 702 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
所述存储器701用于存储程序指令,所述处理器702可以调用存储器701中存储的程序指令,用于执行如下步骤:The memory 701 is used to store program instructions, and the processor 702 can call the program instructions stored in the memory 701 to perform the following steps:
获取所述可移动平台所处周围环境对应的第一点云;Acquiring the first point cloud corresponding to the surrounding environment where the movable platform is located;
根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云;Filtering the first point cloud to obtain a second point cloud according to the size information of the movable platform;
将所述第二点云投影至二维平面,得到至少一个投影图像;Project the second point cloud onto a two-dimensional plane to obtain at least one projection image;
根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。According to the at least one projection image, the obstacle information of the surrounding environment where the movable platform is located is determined.
进一步地,所述尺寸信息包括所述可移动平台的高度和/或安全跨越高度,所述处理器702根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云时,具体用于:Further, the size information includes the height of the movable platform and/or the safe span height, and the processor 702 filters the first point cloud to obtain the second point cloud according to the size information of the movable platform. When point cloud, it is specifically used for:
根据所述可移动平台的高度和/或安全跨越高度,对所述第一点云进行过滤以得到第二点云。Filter the first point cloud to obtain a second point cloud according to the height of the movable platform and/or the safe span height.
进一步地,所述二维平面包括水平面,所述处理器702将所述第二点云投影至二维平面,得到至少一个投影图像时,具体用于:Further, the two-dimensional plane includes a horizontal plane, and when the processor 702 projects the second point cloud onto the two-dimensional plane to obtain at least one projection image, it is specifically used for:
将所述第二点云投影至水平面,得到至少一个投影图像。Project the second point cloud onto a horizontal plane to obtain at least one projection image.
进一步地,所述处理器702根据所述投影图像,确定所述可移动平台所处周围环境的障碍物信息时,具体用于:Further, when the processor 702 determines the obstacle information of the surrounding environment where the movable platform is located according to the projection image, it is specifically configured to:
将所述投影图像划分为多个栅格区域;Dividing the projection image into multiple grid areas;
根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域。According to the point cloud in each grid area, it is determined whether each grid area is an obstacle area.
进一步地,所述处理器702将所述投影图像划分为多个栅格区域时,具体用于:Further, when the processor 702 divides the projection image into multiple grid areas, it is specifically configured to:
获取所述可移动平台的类型;Acquiring the type of the movable platform;
根据所述可移动平台的类型,确定所述多个栅格区域的位置。According to the type of the movable platform, the positions of the multiple grid regions are determined.
进一步地,所述可移动平台的类型包括全向运动机器人;所述处理器702根据所述可移动平台的类型,确定所述多个栅格区域的位置时,具体用于:Further, the type of the movable platform includes an omnidirectional motion robot; when the processor 702 determines the positions of the multiple grid areas according to the type of the movable platform, it is specifically used for:
获取所述全向运动机器人的当前位置;Acquiring the current position of the omnidirectional motion robot;
以所述全向运动机器人的当前位置为几何中心,确定所述多个栅格区域的位置。Using the current position of the omnidirectional motion robot as a geometric center, the positions of the multiple grid regions are determined.
进一步地,所述可移动平台的类型包括非全向运动机器人;所述处理器702根据所述可移动平台的类型,确定所述多个栅格区域的位置时,具体用于:Further, the type of the movable platform includes a non-omnidirectional motion robot; when the processor 702 determines the positions of the multiple grid areas according to the type of the movable platform, it is specifically used for:
获取所述非全向运动机器人的当前位置;Acquiring the current position of the non-omnidirectional motion robot;
以所述非全向运动机器人的当前位置为边界点,确定所述多个栅格区域的位置。Using the current position of the non-omnidirectional motion robot as a boundary point, the positions of the multiple grid regions are determined.
进一步地,所述处理器702将所述投影图像划分为多个栅格区域时,具体用于:Further, when the processor 702 divides the projection image into multiple grid areas, it is specifically configured to:
获取所述可移动平台的尺寸;Obtaining the size of the movable platform;
根据所述可移动平台的尺寸,确定所述多个栅格区域中每个栅格区域的尺寸。According to the size of the movable platform, the size of each grid area of the plurality of grid areas is determined.
进一步地,所述处理器702根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域时,具体用于:Further, when the processor 702 determines whether each grid area is an obstacle area according to the point cloud in each grid area, it is specifically configured to:
获取所述每个栅格区域中点云的数量;Acquiring the number of point clouds in each grid area;
当所述点云的数量大于预设数量阈值时,则确定所述栅格区域为障碍物区域。When the number of the point clouds is greater than the preset number threshold, it is determined that the grid area is an obstacle area.
进一步地,所述处理器702根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域时,具体用于:Further, when the processor 702 determines whether each grid area is an obstacle area according to the point cloud in each grid area, it is specifically configured to:
获取所述每个栅格区域中点云的数量和深度信息;Acquiring the number and depth information of the point cloud in each grid area;
根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域。According to the number and depth information of the point cloud, it is determined whether the grid area is an obstacle area.
进一步地,所述处理器702根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域时,具体用于:Further, when the processor 702 determines whether the grid area is an obstacle area according to the number and depth information of the point cloud, it is specifically configured to:
根据所述点云的深度信息,确定所述每个栅格区域中每个点云的投票信息;Determine the voting information of each point cloud in each grid area according to the depth information of the point cloud;
根据所述点云的数量和所述投票信息,确定所述每个栅格区域的评价参数;Determining the evaluation parameter of each grid area according to the number of point clouds and the voting information;
将所述评价参数与预设参数进行比较,确定所述评价参数大于所述预设参数的栅格区域为所述障碍物区域。The evaluation parameter is compared with a preset parameter, and it is determined that a grid area where the evaluation parameter is greater than the preset parameter is the obstacle area.
进一步地,所述栅格区域包括障碍物区域、空闲区域、未知区域中的任意一种或多种。Further, the grid area includes any one or more of obstacle areas, free areas, and unknown areas.
进一步地,所述处理器702获取所述可移动平台所处周围环境对应的第一 点云时,具体用于:Further, when the processor 702 obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it is specifically used to:
通过激光雷达获取所述可移动平台所处周围环境对应的第一点云。Obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through lidar.
进一步地,所述处理器702获取所述可移动平台所处周围环境对应的第一点云时,具体用于:Further, when the processor 702 obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it is specifically configured to:
通过摄像头获取所述可移动平台所处周围环境对应的第一点云。Obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera.
进一步地,所述处理器702通过摄像头获取所述可移动平台所处周围环境对应的第一点云时,具体用于:Further, when the processor 702 obtains the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera, it is specifically configured to:
基于预设转换矩阵将所述摄像头获取的点云转换到世界坐标系中,得到所述可移动平台所处周围环境对应的第一点云;Converting the point cloud obtained by the camera into a world coordinate system based on a preset conversion matrix to obtain a first point cloud corresponding to the surrounding environment where the movable platform is located;
其中,所述预设转换矩阵包括内参矩阵和外参矩阵,所述外参矩阵包括旋转矩阵和/或平移向量。Wherein, the preset conversion matrix includes an internal parameter matrix and an external parameter matrix, and the external parameter matrix includes a rotation matrix and/or a translation vector.
本发明实施例中,障碍物检测设备通过获取可移动平台所处周围环境对应的第一点云,根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云,降低了计算复杂度;通过将所述第二点云投影至二维平面,得到至少一个投影图像,以及根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息,提高了障碍物检测的效率和准确性。In the embodiment of the present invention, the obstacle detection device obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point Cloud, reducing the computational complexity; by projecting the second point cloud onto a two-dimensional plane, at least one projection image is obtained, and based on the at least one projection image, the obstacles in the surrounding environment where the movable platform is located are determined Information improves the efficiency and accuracy of obstacle detection.
本发明实施例还提供了一种可移动平台,所述可移动平台包括:机身;配置在机身上的动力系统,用于为可移动平台提供移动的动力;以及上述障碍物检测设备。本发明实施例中,可移动平台通过获取所述可移动平台所处周围环境对应的第一点云,根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云,并将所述第二点云投影至二维平面,得到至少一个投影图像,从而根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息,降低了计算复杂度,提高了障碍物检测的效率和准确性。The embodiment of the present invention also provides a movable platform, the movable platform includes: a fuselage; a power system configured on the fuselage for providing moving power for the movable platform; and the obstacle detection device described above. In the embodiment of the present invention, the movable platform obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, and filters the first point cloud according to the size information of the movable platform to obtain the second point cloud. Point cloud, and project the second point cloud onto a two-dimensional plane to obtain at least one projection image, so as to determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image, which reduces the calculation Complexity improves the efficiency and accuracy of obstacle detection.
本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明图6所对应实施例中描述的方法,也可实现图7所述本发明所对应实施例的设备,在此不再赘述。An embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method described in the embodiment of the present invention corresponding to FIG. , The device corresponding to the embodiment of the present invention described in FIG. 7 can also be implemented, which is not repeated here.
所述计算机可读存储介质可以是前述任一实施例所述的设备的内部存储单元,例如设备的硬盘或内存。所述计算机可读存储介质也可以是所述设备的外部存储设备,例如所述设备上配备的插接式硬盘,智能存储卡(Smart Media  Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, for example, a plug-in hard disk equipped on the device, a smart memory card (Smart Media Card, SMC), or a Secure Digital (SD) card. , Flash Card, etc. Further, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the terminal. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
以上所揭露的仅为本发明部分实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above-disclosed are only some embodiments of the present invention, which of course cannot be used to limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (33)

  1. 一种障碍物检测方法,其特征在于,应用于可移动平台,所述方法包括:An obstacle detection method, characterized in that it is applied to a movable platform, and the method includes:
    获取所述可移动平台所处周围环境对应的第一点云;Acquiring the first point cloud corresponding to the surrounding environment where the movable platform is located;
    根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云;Filtering the first point cloud to obtain a second point cloud according to the size information of the movable platform;
    将所述第二点云投影至二维平面,得到至少一个投影图像;Project the second point cloud onto a two-dimensional plane to obtain at least one projection image;
    根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。According to the at least one projection image, the obstacle information of the surrounding environment where the movable platform is located is determined.
  2. 根据权利要求1所述的方法,其特征在于,所述尺寸信息包括所述可移动平台的高度和/或安全跨越高度,所述根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云,包括:The method according to claim 1, wherein the size information includes the height of the movable platform and/or the safe span height, and the first point is determined according to the size information of the movable platform. The cloud is filtered to get the second point cloud, including:
    根据所述可移动平台的高度和/或安全跨越高度,对所述第一点云进行过滤以得到第二点云。Filter the first point cloud to obtain a second point cloud according to the height of the movable platform and/or the safe span height.
  3. 根据权利要求1所述的方法,其特征在于,所述二维平面包括水平面,所述将所述第二点云投影至二维平面,得到至少一个投影图像,包括:The method according to claim 1, wherein the two-dimensional plane comprises a horizontal plane, and the projecting the second point cloud onto the two-dimensional plane to obtain at least one projection image comprises:
    将所述第二点云投影至水平面,得到至少一个投影图像。Project the second point cloud onto a horizontal plane to obtain at least one projection image.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述投影图像,确定所述可移动平台所处周围环境的障碍物信息,包括:The method according to claim 1, wherein the determining obstacle information of the surrounding environment where the movable platform is located according to the projected image comprises:
    将所述投影图像划分为多个栅格区域;Dividing the projection image into multiple grid areas;
    根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域。According to the point cloud in each grid area, it is determined whether each grid area is an obstacle area.
  5. 根据权利要求4所述的方法,其特征在于,所述将所述投影图像划分为多个栅格区域,包括:The method according to claim 4, wherein the dividing the projected image into multiple grid areas comprises:
    获取所述可移动平台的类型;Acquiring the type of the movable platform;
    根据所述可移动平台的类型,确定所述多个栅格区域的位置。According to the type of the movable platform, the positions of the multiple grid regions are determined.
  6. 根据权利要求5所述的方法,其特征在于,所述可移动平台的类型包括全向运动机器人;所述根据所述可移动平台的类型,确定所述多个栅格区域的位置,包括:The method according to claim 5, wherein the type of the movable platform includes an omnidirectional motion robot; and the determining the positions of the multiple grid areas according to the type of the movable platform includes:
    获取所述全向运动机器人的当前位置;Acquiring the current position of the omnidirectional motion robot;
    以所述全向运动机器人的当前位置为几何中心,确定所述多个栅格区域的位置。Using the current position of the omnidirectional motion robot as a geometric center, the positions of the multiple grid regions are determined.
  7. 根据权利要求5所述的方法,其特征在于,所述可移动平台的类型包括非全向运动机器人;所述根据所述可移动平台的类型,确定所述多个栅格区域的位置,包括:The method according to claim 5, wherein the type of the movable platform includes a non-omnidirectional motion robot; and the determining the positions of the multiple grid areas according to the type of the movable platform includes :
    获取所述非全向运动机器人的当前位置;Acquiring the current position of the non-omnidirectional motion robot;
    以所述非全向运动机器人的当前位置为边界点,确定所述多个栅格区域的位置。Using the current position of the non-omnidirectional motion robot as a boundary point, the positions of the multiple grid regions are determined.
  8. 根据权利要求4所述的方法,其特征在于,所述将所述投影图像划分为多个栅格区域,包括:The method according to claim 4, wherein the dividing the projected image into multiple grid areas comprises:
    获取所述可移动平台的尺寸;Obtaining the size of the movable platform;
    根据所述可移动平台的尺寸,确定所述多个栅格区域中每个栅格区域的尺寸。According to the size of the movable platform, the size of each grid area of the plurality of grid areas is determined.
  9. 根据权利要求4所述的方法,其特征在于,所述根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域,包括:The method according to claim 4, wherein the determining whether each grid area is an obstacle area according to the point cloud in each grid area comprises:
    获取所述每个栅格区域中点云的数量;Acquiring the number of point clouds in each grid area;
    当所述点云的数量大于预设数量阈值时,则确定所述栅格区域为障碍物区域。When the number of the point clouds is greater than the preset number threshold, it is determined that the grid area is an obstacle area.
  10. 根据权利要求4所述的方法,其特征在于,所述根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域,包括:The method according to claim 4, wherein the determining whether each grid area is an obstacle area according to the point cloud in each grid area comprises:
    获取所述每个栅格区域中点云的数量和深度信息;Acquiring the number and depth information of the point cloud in each grid area;
    根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域。According to the number and depth information of the point cloud, it is determined whether the grid area is an obstacle area.
  11. 根据权利要求10所述的方法,其特征在于,所述根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域,包括:The method according to claim 10, wherein the determining whether the grid area is an obstacle area according to the number and depth information of the point cloud comprises:
    根据所述点云的深度信息,确定所述每个栅格区域中每个点云的投票信息;Determine the voting information of each point cloud in each grid area according to the depth information of the point cloud;
    根据所述点云的数量和所述投票信息,确定所述每个栅格区域的评价参数;Determining the evaluation parameter of each grid area according to the number of point clouds and the voting information;
    将所述评价参数与预设参数进行比较,确定所述评价参数大于所述预设参数的栅格区域为所述障碍物区域。The evaluation parameter is compared with a preset parameter, and it is determined that a grid area where the evaluation parameter is greater than the preset parameter is the obstacle area.
  12. 根据权利要求4所述的方法,其特征在于,所述栅格区域包括障碍物区域、空闲区域、未知区域中的任意一种或多种。The method according to claim 4, wherein the grid area includes any one or more of an obstacle area, a free area, and an unknown area.
  13. 根据权利要求1所述的方法,其特征在于,所述获取所述可移动平台所处周围环境对应的第一点云,包括:The method according to claim 1, wherein said acquiring a first point cloud corresponding to a surrounding environment where said movable platform is located comprises:
    通过激光雷达获取所述可移动平台所处周围环境对应的第一点云。Obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through lidar.
  14. 根据权利要求1所述的方法,其特征在于,所述获取所述可移动平台所处周围环境对应的第一点云,包括:The method according to claim 1, wherein said acquiring a first point cloud corresponding to a surrounding environment where said movable platform is located comprises:
    通过摄像头获取所述可移动平台所处周围环境对应的第一点云。Obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera.
  15. 根据权利要求14所述的方法,其特征在于,所述通过摄像头获取所述可移动平台所处周围环境对应的第一点云,包括:The method according to claim 14, wherein said acquiring, by a camera, a first point cloud corresponding to a surrounding environment where said movable platform is located comprises:
    基于预设转换矩阵将所述摄像头获取的点云转换到世界坐标系中,得到所述可移动平台所处周围环境对应的第一点云;Converting the point cloud obtained by the camera into a world coordinate system based on a preset conversion matrix to obtain a first point cloud corresponding to the surrounding environment where the movable platform is located;
    其中,所述预设转换矩阵包括内参矩阵和外参矩阵,所述外参矩阵包括旋转矩阵和/或平移向量。Wherein, the preset conversion matrix includes an internal parameter matrix and an external parameter matrix, and the external parameter matrix includes a rotation matrix and/or a translation vector.
  16. 一种障碍物检测设备,其特征在于,包括存储器和处理器;An obstacle detection device, which is characterized by comprising a memory and a processor;
    所述存储器,用于存储程序指令;The memory is used to store program instructions;
    所述处理器,用于调用所述程序指令,当所述程序指令被执行时,用于执行以下操作:The processor is configured to call the program instructions, and when the program instructions are executed, to perform the following operations:
    获取所述可移动平台所处周围环境对应的第一点云;Acquiring the first point cloud corresponding to the surrounding environment where the movable platform is located;
    根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云;Filtering the first point cloud to obtain a second point cloud according to the size information of the movable platform;
    将所述第二点云投影至二维平面,得到至少一个投影图像;Project the second point cloud onto a two-dimensional plane to obtain at least one projection image;
    根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息。According to the at least one projection image, the obstacle information of the surrounding environment where the movable platform is located is determined.
  17. 根据权利要求16所述的设备,其特征在于,所述尺寸信息包括所述可移动平台的高度和/或安全跨越高度,所述处理器根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云时,具体用于:The device according to claim 16, wherein the size information includes a height of the movable platform and/or a safe spanning height, and the processor performs a check on the first step according to the size information of the movable platform. When filtering one point cloud to obtain the second point cloud, it is specifically used for:
    根据所述可移动平台的高度和/或安全跨越高度,对所述第一点云进行过滤以得到第二点云。Filter the first point cloud to obtain a second point cloud according to the height of the movable platform and/or the safe span height.
  18. 根据权利要求16所述的设备,其特征在于,所述二维平面包括水平面,所述处理器将所述第二点云投影至二维平面,得到至少一个投影图像时,具体用于:The device according to claim 16, wherein the two-dimensional plane comprises a horizontal plane, and when the processor projects the second point cloud onto the two-dimensional plane to obtain at least one projection image, it is specifically used for:
    将所述第二点云投影至水平面,得到至少一个投影图像。Project the second point cloud onto a horizontal plane to obtain at least one projection image.
  19. 根据权利要求16所述的设备,其特征在于,所述处理器根据所述投影图像,确定所述可移动平台所处周围环境的障碍物信息时,具体用于:The device according to claim 16, wherein the processor is specifically configured to: when determining the obstacle information of the surrounding environment where the movable platform is located according to the projection image:
    将所述投影图像划分为多个栅格区域;Dividing the projection image into multiple grid areas;
    根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域。According to the point cloud in each grid area, it is determined whether each grid area is an obstacle area.
  20. 根据权利要求19所述的设备,其特征在于,所述处理器将所述投影图像划分为多个栅格区域时,具体用于:The device according to claim 19, wherein when the processor divides the projection image into multiple grid regions, it is specifically configured to:
    获取所述可移动平台的类型;Acquiring the type of the movable platform;
    根据所述可移动平台的类型,确定所述多个栅格区域的位置。According to the type of the movable platform, the positions of the multiple grid regions are determined.
  21. 根据权利要求20所述的设备,其特征在于,所述可移动平台的类型包括全向运动机器人;所述处理器根据所述可移动平台的类型,确定所述多个栅格区域的位置时,具体用于:The device according to claim 20, wherein the type of the movable platform includes an omnidirectional motion robot; when the processor determines the positions of the multiple grid areas according to the type of the movable platform , Specifically used for:
    获取所述全向运动机器人的当前位置;Acquiring the current position of the omnidirectional motion robot;
    以所述全向运动机器人的当前位置为几何中心,确定所述多个栅格区域的位置。Using the current position of the omnidirectional motion robot as a geometric center, the positions of the multiple grid regions are determined.
  22. 根据权利要求20所述的设备,其特征在于,所述可移动平台的类型包括非全向运动机器人;所述处理器根据所述可移动平台的类型,确定所述多个栅格区域的位置时,具体用于:The device according to claim 20, wherein the type of the movable platform includes a non-omnidirectional motion robot; the processor determines the positions of the multiple grid areas according to the type of the movable platform When, specifically used for:
    获取所述非全向运动机器人的当前位置;Acquiring the current position of the non-omnidirectional motion robot;
    以所述非全向运动机器人的当前位置为边界点,确定所述多个栅格区域的位置。Using the current position of the non-omnidirectional motion robot as a boundary point, the positions of the multiple grid regions are determined.
  23. 根据权利要求19所述的设备,其特征在于,所述处理器将所述投影图像划分为多个栅格区域时,具体用于:The device according to claim 19, wherein when the processor divides the projection image into multiple grid regions, it is specifically configured to:
    获取所述可移动平台的尺寸;Obtaining the size of the movable platform;
    根据所述可移动平台的尺寸,确定所述多个栅格区域中每个栅格区域的尺寸。According to the size of the movable platform, the size of each grid area of the plurality of grid areas is determined.
  24. 根据权利要求19所述的设备,其特征在于,所述处理器根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域时,具体用于:The device according to claim 19, wherein, when the processor determines whether each grid area is an obstacle area according to the point cloud in each grid area, it is specifically configured to:
    获取所述每个栅格区域中点云的数量;Acquiring the number of point clouds in each grid area;
    当所述点云的数量大于预设数量阈值时,则确定所述栅格区域为障碍物区域。When the number of the point clouds is greater than the preset number threshold, it is determined that the grid area is an obstacle area.
  25. 根据权利要求19所述的设备,其特征在于,所述处理器根据每个栅格区域中的点云,确定所述每个栅格区域是否为障碍物区域时,具体用于:The device according to claim 19, wherein, when the processor determines whether each grid area is an obstacle area according to the point cloud in each grid area, it is specifically configured to:
    获取所述每个栅格区域中点云的数量和深度信息;Acquiring the number and depth information of the point cloud in each grid area;
    根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域。According to the number and depth information of the point cloud, it is determined whether the grid area is an obstacle area.
  26. 根据权利要求25所述的设备,其特征在于,所述处理器根据所述点云的数量和深度信息,确定所述栅格区域是否为障碍物区域时,具体用于:The device according to claim 25, wherein when the processor determines whether the grid area is an obstacle area according to the number and depth information of the point cloud, it is specifically configured to:
    根据所述点云的深度信息,确定所述每个栅格区域中每个点云的投票信息;Determine the voting information of each point cloud in each grid area according to the depth information of the point cloud;
    根据所述点云的数量和所述投票信息,确定所述每个栅格区域的评价参数;Determining the evaluation parameter of each grid area according to the number of point clouds and the voting information;
    将所述评价参数与预设参数进行比较,确定所述评价参数大于所述预设参数的栅格区域为所述障碍物区域。The evaluation parameter is compared with a preset parameter, and it is determined that a grid area where the evaluation parameter is greater than the preset parameter is the obstacle area.
  27. 根据权利要求19所述的设备,其特征在于,所述栅格区域包括障碍物区域、空闲区域、未知区域中的任意一种或多种。The device according to claim 19, wherein the grid area includes any one or more of an obstacle area, a free area, and an unknown area.
  28. 根据权利要求16所述的设备,其特征在于,所述处理器获取所述可移动平台所处周围环境对应的第一点云时,具体用于:The device according to claim 16, wherein when the processor obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it is specifically configured to:
    通过激光雷达获取所述可移动平台所处周围环境对应的第一点云。Obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through lidar.
  29. 根据权利要求16所述的设备,其特征在于,所述处理器获取所述可移动平台所处周围环境对应的第一点云时,具体用于:The device according to claim 16, wherein when the processor obtains the first point cloud corresponding to the surrounding environment where the movable platform is located, it is specifically configured to:
    通过摄像头获取所述可移动平台所处周围环境对应的第一点云。Obtain the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera.
  30. 根据权利要求29所述的设备,其特征在于,所述处理器通过摄像头获取所述可移动平台所处周围环境对应的第一点云时,具体用于:The device according to claim 29, wherein when the processor acquires the first point cloud corresponding to the surrounding environment where the movable platform is located through a camera, it is specifically configured to:
    基于预设转换矩阵将所述摄像头获取的点云转换到世界坐标系中,得到所述可移动平台所处周围环境对应的第一点云;Converting the point cloud obtained by the camera into a world coordinate system based on a preset conversion matrix to obtain a first point cloud corresponding to the surrounding environment where the movable platform is located;
    其中,所述预设转换矩阵包括内参矩阵和外参矩阵,所述外参矩阵包括旋转矩阵和/或平移向量。Wherein, the preset conversion matrix includes an internal parameter matrix and an external parameter matrix, and the external parameter matrix includes a rotation matrix and/or a translation vector.
  31. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that it comprises:
    机身;body;
    配置在机身上的动力系统,用于为可移动平台提供移动的动力;The power system configured on the fuselage is used to provide mobile power for the movable platform;
    以及如权利要求16-30任一所述的障碍物检测设备。And the obstacle detection device according to any one of claims 16-30.
  32. 一种障碍物检测系统,其特征在于,包括:障碍物检测设备和可移动平台;An obstacle detection system, characterized by comprising: obstacle detection equipment and a movable platform;
    所述障碍物检测设备,用于获取所述可移动平台所处周围环境对应的第一点云;根据所述可移动平台的尺寸信息,对所述第一点云进行过滤以得到第二点云;将所述第二点云投影至二维平面,得到至少一个投影图像;根据所述至少一个投影图像,确定所述可移动平台所处周围环境的障碍物信息;并将所述障碍物信息发送给可移动平台;The obstacle detection device is used to obtain a first point cloud corresponding to the surrounding environment where the movable platform is located; filter the first point cloud to obtain a second point according to the size information of the movable platform Cloud; project the second point cloud onto a two-dimensional plane to obtain at least one projection image; determine the obstacle information of the surrounding environment where the movable platform is located according to the at least one projection image; and combine the obstacle The information is sent to the mobile platform;
    所述可移动平台,用于根据接收到的障碍物信息绕过障碍物进行移动。The movable platform is used for moving around obstacles according to the received obstacle information.
  33. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至15任一项所述方法。A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method according to any one of claims 1 to 15.
PCT/CN2019/083566 2019-04-20 2019-04-20 Obstacle detection method and device, mobile platform, and storage medium WO2020215172A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980002940.5A CN110799989A (en) 2019-04-20 2019-04-20 Obstacle detection method, equipment, movable platform and storage medium
PCT/CN2019/083566 WO2020215172A1 (en) 2019-04-20 2019-04-20 Obstacle detection method and device, mobile platform, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/083566 WO2020215172A1 (en) 2019-04-20 2019-04-20 Obstacle detection method and device, mobile platform, and storage medium

Publications (1)

Publication Number Publication Date
WO2020215172A1 true WO2020215172A1 (en) 2020-10-29

Family

ID=69448681

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/083566 WO2020215172A1 (en) 2019-04-20 2019-04-20 Obstacle detection method and device, mobile platform, and storage medium

Country Status (2)

Country Link
CN (1) CN110799989A (en)
WO (1) WO2020215172A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558599A (en) * 2020-11-06 2021-03-26 深圳拓邦股份有限公司 Robot work control method and device and robot
CN112882058A (en) * 2021-01-08 2021-06-01 中国石油大学(华东) Shipborne laser radar obstacle detection method based on variable-size grid map
CN114594759A (en) * 2020-12-02 2022-06-07 财团法人船舶暨海洋产业研发中心 Ship inland river shipping light identification system and operation method thereof
CN114847824A (en) * 2022-05-18 2022-08-05 上海景吾酷租科技发展有限公司 Method and system for detecting size of intelligent table top based on vision
CN114903375A (en) * 2022-05-13 2022-08-16 美智纵横科技有限责任公司 Obstacle positioning method and device and sports equipment
CN115082731A (en) * 2022-06-15 2022-09-20 苏州轻棹科技有限公司 Target classification method and device based on voting mechanism
WO2023125363A1 (en) * 2021-12-31 2023-07-06 华为技术有限公司 Automatic generation method and apparatus for electronic fence, and real-time detection method and apparatus
CN118243105A (en) * 2024-03-28 2024-06-25 北京小米机器人技术有限公司 Path planning method, path planning device, electronic equipment and storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476830B (en) * 2020-03-13 2023-08-01 上海高仙自动化科技发展有限公司 Point cloud data processing method, robot, electronic device and readable storage medium
CN111402308B (en) * 2020-03-17 2023-08-04 阿波罗智能技术(北京)有限公司 Method, device, equipment and medium for determining obstacle speed
CN111474930B (en) * 2020-04-13 2023-07-18 北京欣奕华科技有限公司 Tracking control method, device, equipment and medium based on visual positioning
CN111652060B (en) * 2020-04-27 2024-04-19 宁波吉利汽车研究开发有限公司 Laser radar-based height limiting early warning method and device, electronic equipment and storage medium
CN114521836B (en) * 2020-08-26 2023-11-28 北京石头创新科技有限公司 Automatic cleaning equipment
CN112699734B (en) * 2020-12-11 2024-04-16 深圳银星智能集团股份有限公司 Threshold detection method, mobile robot and storage medium
CN113219446A (en) * 2021-04-30 2021-08-06 森思泰克河北科技有限公司 In-vehicle radar occupancy identification method and device and vehicle-mounted radar
CN113610883B (en) * 2021-04-30 2022-04-08 新驱动重庆智能汽车有限公司 Point cloud processing system and method, computer device, and storage medium
CN114445701B (en) * 2021-12-15 2023-07-04 深圳市速腾聚创科技有限公司 Early warning method and device for platform obstacle, medium and electronic equipment
CN115951621B (en) * 2023-03-15 2023-05-30 临工重机股份有限公司 High-altitude operation platform obstacle avoidance control method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107928566A (en) * 2017-12-01 2018-04-20 深圳市沃特沃德股份有限公司 Vision sweeping robot and obstacle detection method
CN109190704A (en) * 2018-09-06 2019-01-11 中国科学院深圳先进技术研究院 The method and robot of detection of obstacles
CN109446886A (en) * 2018-09-07 2019-03-08 百度在线网络技术(北京)有限公司 Obstacle detection method, device, equipment and storage medium based on unmanned vehicle
CN109645897A (en) * 2019-01-10 2019-04-19 轻客小觅智能科技(北京)有限公司 A kind of obstacle detection method and system of sweeper

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9848112B2 (en) * 2014-07-01 2017-12-19 Brain Corporation Optical detection apparatus and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107928566A (en) * 2017-12-01 2018-04-20 深圳市沃特沃德股份有限公司 Vision sweeping robot and obstacle detection method
CN109190704A (en) * 2018-09-06 2019-01-11 中国科学院深圳先进技术研究院 The method and robot of detection of obstacles
CN109446886A (en) * 2018-09-07 2019-03-08 百度在线网络技术(北京)有限公司 Obstacle detection method, device, equipment and storage medium based on unmanned vehicle
CN109645897A (en) * 2019-01-10 2019-04-19 轻客小觅智能科技(北京)有限公司 A kind of obstacle detection method and system of sweeper

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558599A (en) * 2020-11-06 2021-03-26 深圳拓邦股份有限公司 Robot work control method and device and robot
CN112558599B (en) * 2020-11-06 2024-04-02 深圳拓邦股份有限公司 Robot work control method and device and robot
CN114594759A (en) * 2020-12-02 2022-06-07 财团法人船舶暨海洋产业研发中心 Ship inland river shipping light identification system and operation method thereof
CN112882058A (en) * 2021-01-08 2021-06-01 中国石油大学(华东) Shipborne laser radar obstacle detection method based on variable-size grid map
CN112882058B (en) * 2021-01-08 2022-09-20 中国石油大学(华东) Shipborne laser radar obstacle detection method based on variable-size grid map
WO2023125363A1 (en) * 2021-12-31 2023-07-06 华为技术有限公司 Automatic generation method and apparatus for electronic fence, and real-time detection method and apparatus
CN114903375A (en) * 2022-05-13 2022-08-16 美智纵横科技有限责任公司 Obstacle positioning method and device and sports equipment
CN114847824A (en) * 2022-05-18 2022-08-05 上海景吾酷租科技发展有限公司 Method and system for detecting size of intelligent table top based on vision
CN115082731A (en) * 2022-06-15 2022-09-20 苏州轻棹科技有限公司 Target classification method and device based on voting mechanism
CN115082731B (en) * 2022-06-15 2024-03-29 苏州轻棹科技有限公司 Target classification method and device based on voting mechanism
CN118243105A (en) * 2024-03-28 2024-06-25 北京小米机器人技术有限公司 Path planning method, path planning device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110799989A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
WO2020215172A1 (en) Obstacle detection method and device, mobile platform, and storage medium
CN108369743B (en) Mapping a space using a multi-directional camera
CN110163930B (en) Lane line generation method, device, equipment, system and readable storage medium
JP6980755B2 (en) Estimating the dimensions of the enclosed space using a multi-directional camera
JP6931096B2 (en) Methods and devices for calibrating external parameters of onboard sensors, and related vehicles
WO2021093240A1 (en) Method and system for camera-lidar calibration
CN111753609B (en) Target identification method and device and camera
WO2021016854A1 (en) Calibration method and device, movable platform, and storage medium
CN109961468B (en) Volume measurement method and device based on binocular vision and storage medium
US11120280B2 (en) Geometry-aware instance segmentation in stereo image capture processes
CN107636680B (en) Obstacle detection method and device
KR102295809B1 (en) Apparatus for acquisition distance for all directions of vehicle
WO2020258217A1 (en) State estimation method and system for movable platform, movable platform, and storage medium
WO2020258218A1 (en) Obstacle detection method and device for mobile platform, and mobile platform
WO2020186444A1 (en) Object detection method, electronic device, and computer storage medium
US11460855B1 (en) Systems and methods for sensor calibration
CN111142514B (en) Robot and obstacle avoidance method and device thereof
JP2018195241A (en) Information processing apparatus, information processing method, and program
CN111168685B (en) Robot control method, robot, and readable storage medium
CN115359130A (en) Radar and camera combined calibration method and device, electronic equipment and storage medium
CN111656404B (en) Image processing method, system and movable platform
CN116692690A (en) Crane anti-collision early warning method, device, equipment and medium
CN115511944A (en) Single-camera-based size estimation method, device, equipment and storage medium
CN117408935A (en) Obstacle detection method, electronic device, and storage medium
CN114943805A (en) Parking occlusion determination method, device, equipment, storage medium and program product

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: 19926434

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926434

Country of ref document: EP

Kind code of ref document: A1