Obstacle identification method and storage medium
By screening the point cloud collected by lidar and estimating the ground likelihood, the obstacle point cloud is identified, which solves the problem of intelligent driving vehicles identifying short obstacles on bumpy ground and achieves higher recognition accuracy and efficiency.
Patent Information
- Application Number
- CN202410629968.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-09-06
AI Technical Summary
It is difficult for intelligent driving vehicles to accurately identify short obstacles on bumpy ground in diverse and complex environments.
By obtaining the original point cloud collected by lidar, candidate ground point clouds are screened out, and ground likelihood estimation is performed to obtain the target ground point cloud, thereby identifying obstacle point clouds and improving the accuracy of obstacle recognition.
It achieves accurate identification of short obstacles on bumpy ground and improves the accuracy and efficiency of obstacle identification.
Smart Images

Figure CN118609084A
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of data processing, and in particular to an obstacle recognition method and a storage medium. Background Art
[0002] Intelligent driving vehicles can perform specific tasks by perceiving the surrounding environment, and are therefore increasingly being used in diverse and complex environments.
[0003] However, for bumpy terrain in diverse and complex environments, it is currently difficult for intelligent driving vehicles to accurately identify obstacles on the ground, especially small obstacles on bumpy terrain, which needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present invention provide a target recognition method, device, electronic device and storage medium to achieve accurate recognition of obstacles currently on the ground.
[0005] According to one aspect of the present invention, there is provided an obstacle identification method, which may include:
[0006] Obtaining an original point cloud collected by a laser radar for a current environment, wherein the current environment includes a current ground and obstacles located on the current ground;
[0007] Determine at least one candidate ground point cloud representing the current ground in the original point cloud;
[0008] Performing ground likelihood estimation on at least one candidate ground point cloud respectively to obtain a target ground point cloud in at least one candidate ground point cloud;
[0009] Based on the target ground point cloud, a target obstacle point cloud representing the obstacle in the original point cloud is identified.
[0010] According to another aspect of the present invention, a computer-readable storage medium is provided, on which computer instructions are stored, and the computer instructions are used to enable a processor to implement the obstacle identification method provided by any embodiment of the present invention when executed.
[0011] The technical solution of the embodiment of the present invention is to obtain the original point cloud collected by the laser radar for the current environment, wherein the current environment includes the current ground and obstacles located on the current ground; determine at least one candidate ground point cloud representing the current ground in the original point cloud, that is, preliminarily screen out the candidate ground point cloud that may be the ground point cloud from the original point cloud to reduce the amount of calculation in the next step; perform ground likelihood estimation on at least one candidate ground point cloud respectively to obtain the target ground point cloud in at least one candidate ground point cloud, that is, use the ground likelihood estimation to improve the accuracy of the ground point cloud determination; based on the target ground point cloud, identify the target obstacle point cloud representing the obstacle in the original point cloud, and use the target ground point cloud to ensure the accuracy of obstacle point cloud recognition. The above technical solution can improve the accuracy of target obstacle point cloud recognition by performing ground likelihood estimation on the candidate ground point cloud, thereby realizing accurate recognition of obstacles on the current ground, especially accurate recognition of short obstacles on bumpy ground.
[0012] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 is a flow chart of an obstacle identification method provided according to an embodiment of the present invention;
[0015] Figure 2 is a flow chart of another obstacle identification method provided according to an embodiment of the present invention;
[0016] Figure 3 is a flowchart of another obstacle identification method provided according to an embodiment of the present invention;
[0017] Figure 4 is a schematic diagram of an obstacle recognition example in another obstacle recognition method provided according to an embodiment of the present invention;
[0018] Figure 5 is a structural block diagram of an obstacle identification device provided according to an embodiment of the present invention;
[0019] Figure 6 It is a structural block diagram of an electronic device for implementing the obstacle recognition method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The situations of "target", "original", etc. are similar and will not be repeated here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of the present invention are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information and network security.
[0023] Figure 1 is a flow chart of an obstacle identification method provided by an embodiment of the present invention. This embodiment is applicable to the case of obstacle identification on the ground, and is particularly applicable to the case of identification of short obstacles on bumpy ground. The method can be executed by the obstacle identification device provided by an embodiment of the present invention, and the device can be implemented by software and / or hardware, and the device can be integrated in an electronic device, and the electronic device can be various user terminals or servers.
[0024] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:
[0025] S110, obtaining an original point cloud collected by using a laser radar for a current environment, wherein the current environment includes a current ground and obstacles located on the current ground.
[0026] The current environment can be understood as the environment in which the laser radar is currently located, and the current environment can include the current ground in which the laser radar is currently located and obstacles on the current ground. Optionally, the current ground can be a bumpy ground or a flat ground; the obstacle can be a small obstacle or an obvious obstacle.
[0027] The original point cloud can be understood as the point cloud obtained by the laser radar scanning the current environment, which is used to characterize the three-dimensional spatial position of each object in the current environment.
[0028] Use LiDAR to scan the current environment and collect the original point cloud.
[0029] S120: Determine at least one candidate ground point cloud representing the current ground in the original point cloud.
[0030] Among them, the candidate ground point cloud can be understood as a point cloud obtained by screening from the original point cloud and containing the ground point cloud. Optionally, point clouds that meet the characteristics of ground points can be screened out from the original point cloud by setting a threshold or the like as candidate ground point clouds. For example, the initial point cloud with a height within a certain range can be used as a candidate ground point cloud. By determining the candidate ground point cloud, the ground likelihood estimation of all original point clouds is avoided, reducing the amount of calculation. However, when the current ground is bumpy and there are short obstacles, the point cloud of the short obstacle will be included in the candidate ground point cloud, which will cause the obstacle to be missed, so the candidate ground point cloud needs to be further screened.
[0031] S130 . Perform ground likelihood estimation on at least one candidate ground point cloud to obtain a target ground point cloud in the at least one candidate ground point cloud.
[0032] Among them, ground likelihood estimation can be understood as the process of classifying and probabilistically estimating whether a candidate ground point cloud belongs to a ground point cloud.
[0033] The target ground point cloud can be understood as a candidate ground point cloud with a higher probability of belonging to a ground point cloud among the candidate ground point clouds.
[0034] By performing ground likelihood estimation on at least one candidate ground point cloud, a target ground point cloud in at least one candidate ground point cloud can be obtained. Further performing ground likelihood estimation on the candidate ground point cloud can effectively remove the short obstacle point cloud in the candidate ground point cloud, and can better determine the target ground point cloud when the current ground is bumpy and there are short obstacles. Optionally, after performing ground likelihood estimation on the candidate ground point cloud, the point cloud whose probability of belonging to the ground point cloud is greater than a preset threshold can be used as the target ground point cloud.
[0035] S140: Based on the target ground point cloud, identify a target obstacle point cloud representing the obstacle in the original point cloud.
[0036] The target obstacle point cloud can be understood as the point cloud in the original point cloud used to represent the position of the obstacle.
[0037] Based on the target ground point cloud, the target obstacle point cloud in the original point cloud can be identified. Optionally, the target ground point cloud can be removed from the original point cloud to obtain the target obstacle point cloud.
[0038] The technical solution of the embodiment of the present invention is to obtain the original point cloud collected by the laser radar for the current environment, wherein the current environment includes the current ground and obstacles located on the current ground; determine at least one candidate ground point cloud representing the current ground in the original point cloud, that is, preliminarily screen out the candidate ground point cloud that may be the ground point cloud from the original point cloud to reduce the amount of calculation in the next step; perform ground likelihood estimation on at least one candidate ground point cloud respectively to obtain the target ground point cloud in at least one candidate ground point cloud, that is, use the ground likelihood estimation to improve the accuracy of the ground point cloud determination; based on the target ground point cloud, identify the target obstacle point cloud representing the obstacle in the original point cloud, and use the target ground point cloud to ensure the accuracy of obstacle point cloud recognition. The above technical solution can improve the accuracy of target obstacle point cloud recognition by performing ground likelihood estimation on the candidate ground point cloud, thereby realizing accurate recognition of obstacles on the current ground, especially accurate recognition of short obstacles on bumpy ground.
[0039] An optional technical solution determines at least one candidate ground point cloud representing the current ground in the original point cloud, including: filtering the original point cloud to obtain a filtered point cloud; performing non-uniform grid division on the filtered point cloud to obtain at least one point cloud group; for each point cloud group in at least one point cloud group, based on a preset height difference threshold and the average elevation value of all point clouds in the point cloud group, determining the candidate ground point cloud in all point clouds, so as to obtain at least one candidate ground point cloud after processing at least one point cloud group.
[0040] Among them, the filtered point cloud can be understood as the point cloud obtained after filtering the original point cloud. Optionally, the point cloud acquired by the lidar can be preprocessed based on the voxel filtering algorithm, which divides the point cloud data into small cubic units, called voxels, and then processes the points in each voxel to achieve the purpose of filtering. Specifically, voxel filtering takes the average of the coordinates of the points in each voxel as the coordinates of the center point of the voxel, thereby achieving smoothing of the point cloud data. The advantage of voxel filtering is that it is simple and easy to use, and can effectively remove outliers and noise in point cloud data; this method is implemented by a filter in the open source Point Cloud Library (PCL) package through pcl::VoxelGrid <pcl::pclpointcloud2>Call it in C++ code.
[0041] Non-uniform grid division can be understood as a point cloud grid division method, which can divide the filtered point cloud into grids of different sizes and shapes according to the sparsity of the filtered point cloud. Optionally, Patchwork can be used for non-uniform grid division to divide the uneven area according to the distance from the lidar. The reason for using non-uniform grid division instead of uniform grid division is that, first of all, in autonomous driving, most of the filtered point clouds are near the lidar. If the uniform grid is used, the filtered point cloud in the distance will be too sparse in the grid (too few points in the grid), resulting in failure to fit the plane; secondly, the grid that is too close to the lidar and the grid is too small will cause the plane normal vector estimation to fail or be wrong. Using non-uniform grid division can solve the above problems well, and can reduce the number of grids and better represent the filtered point cloud.
[0042] In the process of determining the candidate ground point cloud, the original point cloud is first filtered to obtain a filtered point cloud, and then the filtered point cloud is non-uniformly meshed to obtain at least one point cloud group. Further, for each point cloud group in at least one point cloud group, the candidate ground point cloud in all the point clouds can be determined based on a preset height difference threshold and the average elevation value of all the point clouds in the point cloud group, so as to obtain at least one candidate ground point cloud after processing at least one point cloud group. Optionally, the initial ground S can be first obtained. n , the initial candidate ground point cloud can be obtained by the following formula:
[0043]
[0044] in, represents the candidate ground point cloud of the first iteration, S n is the point cloud set of candidate ground point clouds, p k For S n Point cloud in, z(p k ) is p k The elevation value of is the average elevation value of the point cloud in the point cloud group, z seed is the preset height difference threshold. Further, the candidate ground point cloud can be obtained through iteration. The ground points obtained in the lth iteration. is the ground point obtained in the l+1th iteration, It can be obtained by:
[0045]
[0046] in, is the plane coefficient at the lth iteration, yes The average value of is the normal vector at the lth iteration; M d is the default value.
[0047] The above technical solution can accurately obtain the candidate ground point cloud and reduce the amount of calculation for subsequent ground likelihood estimation.
[0048] Another optional technical solution is to perform ground likelihood estimation on at least one candidate ground point cloud to obtain a target ground point cloud in at least one candidate ground point cloud, including: for each candidate ground point cloud in at least one candidate ground point cloud, perform ground likelihood estimation on the candidate ground point cloud, so as to use the candidate ground point cloud as the target ground point cloud when the probability that the candidate ground point cloud corresponds to the current ground is greater than a preset probability threshold.
[0049] When performing ground likelihood estimation, for each candidate ground point cloud in at least one candidate ground point cloud, ground likelihood estimation is performed on the candidate ground point cloud. After ground likelihood estimation is performed on the candidate ground point cloud, if the probability corresponding to the current ground is greater than a preset probability threshold, the candidate ground point cloud is used as the target ground point cloud. Optionally, the ground likelihood estimation of the candidate ground point cloud can be performed using the following formula:
[0050]
[0051] in, φ represents each The corresponding verticality, ψ represents each The corresponding elevation, Indicates each The corresponding flatness, is the average elevation, rn is the distance from the lidar origin to the center of Sn,
[0052] Perpendicularity φ Perpendicularity represents the angle between the plane normal and the z-axis and can be calculated using the following formula:
[0053]
[0054] Among them, v 3,n Indicates S n Normal vector, z = [0,0,1], θ τ is the threshold value.
[0055] The elevation ψ can be calculated by the following formula:
[0056]
[0057] Among them, k(r n ) represents an adaptive midpoint function, which increases exponentially according to rn. τ is the distance threshold.
[0058] Flatness It can be calculated by the following formula:
[0059]
[0060] Among them, ξ>1, σ τ,m is the threshold value.
[0061] The final ground point can be obtained as follows:
[0062]
[0063] The above formula indicates that the candidate ground point cloud with a probability greater than 0.5 of being a ground point cloud is taken as the target ground point cloud.
[0064] The above technical solution can accurately identify ground point clouds on bumpy ground by performing ground likelihood estimation on candidate ground point clouds.
[0065] Figure 2 It is a flow chart of another obstacle identification method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the obstacle identification method also includes: obtaining the original image acquired by the image acquisition device for the current environment, and determining the obstacle area representing the obstacle in the original image; based on the target ground point cloud, identifying the target obstacle point cloud representing the obstacle in the original point cloud, including: based on the target ground point cloud, identifying the candidate obstacle point cloud representing the obstacle in the original point cloud; based on the obstacle area and the candidate obstacle point cloud, identifying the target obstacle point cloud representing the obstacle in the original point cloud. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0066] See also Figure 2 The method of this embodiment may specifically include the following steps:
[0067] S210, obtaining an original point cloud collected by using a laser radar for a current environment, wherein the current environment includes a current ground and obstacles located on the current ground.
[0068] S220: Determine at least one candidate ground point cloud representing the current ground in the original point cloud.
[0069] S230 , performing ground likelihood estimation on at least one candidate ground point cloud to obtain a target ground point cloud in the at least one candidate ground point cloud.
[0070] S240: Acquire an original image acquired by an image acquisition device for the current environment, and determine an obstacle region representing an obstacle in the original image.
[0071] The image acquisition device can be understood as a device for acquiring images of the current environment. Optionally, the image acquisition device can be a camera, a camera, or a camera, etc. The camera can be a surround view camera or a main view camera, etc., and no specific limitation is made here.
[0072] The original image can be understood as the image captured by the image acquisition device for the current environment.
[0073] The obstacle region can be understood as the region where the obstacle is located in the original image. Optionally, the obstacle region in the original image can be determined by establishing an obstacle extraction model.
[0074] The image acquisition device may be used to acquire the original image and determine the obstacle area in the original image.
[0075] S250: Based on the target ground point cloud, identify candidate obstacle point clouds representing obstacles in the original point cloud.
[0076] The candidate obstacle point cloud can be understood as a candidate point cloud in the original point cloud that may represent an obstacle.
[0077] Based on the target ground point cloud, the candidate obstacle point cloud representing the obstacle in the original point cloud can be identified. Optionally, the target ground point cloud can be filtered out from the original point cloud and clustered to obtain the candidate obstacle point cloud. Optionally, the filtered point cloud can be segmented into different areas or objects based on the high-dimensional index tree data (K-dimensional tree, Kd-tree) structure and Euclidean distance clustering, and Kd-tree is used as the search method of the extraction algorithm and clustering is performed. The algorithm flow is as follows:
[0078] 1. Create a Kd-tree representation for the input point cloud dataset P;
[0079] 2. Set up an empty cluster list C and a point cloud queue Q that needs to be checked;
[0080] 3. For each point p in P i Do the following:
[0081] a.P i Add to the current queue Q
[0082] b. For each p in Q i Follow these steps:
[0083] i. Set radius r<d th , search for p within this range i The nearest neighbor point cloud
[0084] ii. For each nearest neighbor point cloud Check whether the point has been processed, and add it to Q if it has not been processed.
[0085] 4. When all points in the Q list have been processed, add Q to the cluster list C and clear Q;
[0086] 5. When all points in the dataset P have been processed and become part of the cluster list, the algorithm is completed.
[0087] S260: Based on the obstacle area and the candidate obstacle point cloud, identify a target obstacle point cloud representing the obstacle in the original point cloud.
[0088] The target obstacle point cloud representing the obstacle in the original point cloud can be identified based on the obstacle region and the candidate obstacle point cloud. Optionally, the candidate obstacle point cloud can be compared with the obstacle region, and the point cloud data and the image data can be fused to identify the target obstacle point cloud.
[0089] The technical solution of the embodiment of the present invention integrates the image data collected by the image acquisition device on the basis of identifying the candidate obstacle point cloud, and obtains the target obstacle point cloud through joint identification of the two, thereby improving the accuracy of obstacle identification.
[0090] An optional technical solution, based on the obstacle area and the candidate obstacle point cloud, identifies the target obstacle point cloud representing the obstacle in the original point cloud, including: based on the intrinsic parameters and distortion coefficients of the image acquisition device and the extrinsic parameters of the laser radar, projecting the candidate obstacle point cloud onto the plane where the original image is located to obtain a first projected point cloud; and using the first area point cloud located on the obstacle area in the first projected point cloud as the target obstacle point cloud representing the obstacle in the original point cloud.
[0091] The first projected point cloud can be understood as the candidate obstacle point cloud, which is the point cloud obtained after being projected onto the plane where the original image is located.
[0092] Based on the internal parameters and distortion coefficients of the image acquisition device and the external parameters of the lidar, the candidate obstacle point cloud can be projected onto the plane where the original image is located to obtain a first projected point cloud. Furthermore, the first area point cloud located on the obstacle area in the first projected point cloud is used as the target obstacle point cloud.
[0093] The above technical solution further screens the candidate obstacle point cloud through the obstacle area to obtain the target obstacle point cloud, which can remove the non-obstacle point cloud in the candidate obstacle point cloud and improve the accuracy of obstacle recognition.
[0094] On this basis, optionally, before obtaining the original point cloud collected by the laser radar for the current environment, the obstacle recognition method also includes: obtaining internal parameters, and calibrating the image acquisition device and the laser radar based on the internal parameters to obtain distortion coefficients and external parameters.
[0095] Among them, before obtaining the original point cloud collected by the laser radar for the current environment, it is necessary to obtain the internal parameters of the image acquisition device to calibrate between the image acquisition device and the laser radar to obtain the distortion coefficient and the external parameters of the laser radar. Optionally, the internal parameters of the image acquisition device can be obtained to calibrate between the image acquisition device and the laser radar. This method still uses the principle of the perspective n-point problem (Perspective-n-Point, PnP), by allowing the image acquisition device and the laser radar to observe the same target and detecting the error of the target in their respective coordinate systems to complete the estimation of the relative posture between the two coordinate systems.
[0096] The above technical solution, by calibrating the image acquisition device and the laser radar to obtain the distortion coefficient and external parameters, can accurately project the candidate obstacle point cloud onto the plane where the original image is located.
[0097] Another optional technical solution is to determine the obstacle area representing the obstacle in the original image, including: converting the coordinate system of the original image from the world coordinate system to the pixel coordinate system; inputting the original image after the coordinate system conversion into a pre-trained obstacle extraction model to obtain the obstacle area representing the obstacle in the original image.
[0098] Among them, the obstacle extraction model can be understood as a pre-trained model that identifies obstacles in the original image and extracts obstacle areas. Optionally, the obstacle extraction model can be trained through the target detection algorithm YOLOv5, and its model structure mainly includes the following components: Input: YOLOv5's Head network consists of 3 different output layers, which are responsible for detecting large, medium and small scale targets respectively; Backbone network: YOLOv5 uses CSPDarknet53 as its backbone network, which has strong feature extraction capabilities and computational efficiency; Neck network: YOLOv5 uses a feature pyramid network (FPN), which can detect at different feature map levels, which can improve the performance of target detection and integrate information from different feature map levels.
[0099] Output: Loss function. YOLOv5 uses the Focal Loss loss function, which can alleviate the problem of class imbalance in target detection and improve the performance of the model. Non-Maximum Suppression (NMS). After outputting the result, YOLOv5 will perform NMS processing on the overlapping target boxes to obtain the final detection result. Activation function. YOLOv5 uses the Mish activation function, which is an activation function that replaces ReLU and can improve the performance of the model. Common obstacles can be annotated on the image acquisition device. After annotating, the obstacle extraction model is trained through the target detection algorithm YOLOv5.
[0100] Convert the coordinate system of the original image from the world coordinate system to the pixel coordinate system. Optionally, you can convert the world coordinate system to the pixel coordinate system using the following camera matrix:
[0101]
[0102] The matrix includes the optical center coordinates (cx, cy) and focal length (fx, fy), which can be used to convert world coordinates into pixel coordinates. The coordinates are written in a homogeneous way, where Z = z = 1. Further, using the coordinates of the four corners of the chessboard in the obtained image and the ideal coordinates, a mapping matrix can be obtained. Then, the mapping matrix is used to process the photo to obtain the corresponding position of each pixel in the photo mapped to the space with the chessboard as the standard coordinate system.
[0103] By inputting the original image after coordinate system conversion into the pre-trained obstacle extraction model, the obstacle area representing the obstacle in the original image can be obtained.
[0104] The above technical solution can accurately identify the obstacle area through the obstacle extraction model.
[0105] Figure 3 It is a flow chart of another obstacle identification method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the image acquisition device includes a main view camera and a surround view camera, then the original image includes a main view image acquired by the main view camera and a surround view image acquired by the surround view camera, and the obstacle area includes a main view obstacle area in the main view image and a surround view obstacle area in the surround view image; based on the obstacle area and the candidate obstacle point cloud, a target obstacle point cloud representing the obstacle in the original point cloud is identified, including: based on the main view obstacle area and the candidate obstacle point cloud, a first obstacle point cloud representing the obstacle in the original point cloud is identified, and based on the surround view obstacle area and the candidate obstacle point cloud, a second obstacle point cloud representing the obstacle in the original point cloud is identified; based on the first obstacle point cloud and the second obstacle point cloud, a target obstacle point cloud representing the obstacle in the original point cloud is obtained. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here. See. Figure 3 The method of this embodiment may specifically include the following steps:
[0106] S310, obtaining an original point cloud collected by using a laser radar for a current environment, wherein the current environment includes a current ground and obstacles located on the current ground.
[0107] S320: Determine at least one candidate ground point cloud representing the current ground in the original point cloud.
[0108] S330 , performing ground likelihood estimation on at least one candidate ground point cloud to obtain a target ground point cloud in the at least one candidate ground point cloud.
[0109] S340, obtaining a main view image collected by a main view camera for the current environment, and determining a main view obstacle area representing obstacles in the main view image, and obtaining a surround view image collected by a surround view camera for the current environment, and determining a surround view obstacle area representing obstacles in the surround view image.
[0110] Among them, the image acquisition device may include a main view camera and a surround view camera. The main view camera can be used to capture the current environment, obtain a main view image, and determine the main view obstacle area representing the obstacle in the main view image; and the surround view camera can be used to capture the current environment, obtain a surround view image, and determine the surround view obstacle area representing the obstacle in the surround view image.
[0111] S350: Based on the target ground point cloud, identify candidate obstacle point clouds representing obstacles in the original point cloud.
[0112] S360: Based on the main view obstacle area and the candidate obstacle point cloud, identify a first obstacle point cloud representing the obstacle in the original point cloud; and based on the surround view obstacle area and the candidate obstacle point cloud, identify a second obstacle point cloud representing the obstacle in the original point cloud.
[0113] The first obstacle point cloud may be understood as a point cloud for representing an obstacle that is identified based on the primary view obstacle area and the candidate obstacle point cloud.
[0114] The second obstacle point cloud may be understood as a point cloud for representing an obstacle that is identified based on the obstacle region and the candidate obstacle point clouds.
[0115] A first obstacle point cloud is identified based on the main view obstacle area and the candidate obstacle point cloud, and a second obstacle point cloud is identified based on the surround view obstacle area and the candidate obstacle point cloud.
[0116] S370: Based on the first obstacle point cloud and the second obstacle point cloud, obtain a target obstacle point cloud representing the obstacle in the original point cloud.
[0117] The target obstacle point cloud can be obtained based on the first obstacle point cloud and the second obstacle point cloud. Optionally, the target obstacle point cloud can include all the first obstacle point clouds and the second obstacle point clouds, or can be an overlapping point cloud between the first obstacle point cloud and the second obstacle point cloud, which can be set according to actual needs and is not specifically limited here.
[0118] The technical solution of the embodiment of the present invention uses a main view camera and a surround view camera to determine different obstacle areas, and uses the surround view camera to perform secondary verification of the obstacle point cloud to ensure that short obstacles can be effectively identified.
[0119] An optional technical solution, based on the main view obstacle area and the candidate obstacle point cloud, identifies the first obstacle point cloud representing the obstacle in the original point cloud, including: based on the internal parameters and distortion coefficients of the main view camera and the external parameters of the laser radar, projecting the candidate obstacle point cloud onto the plane where the main view obstacle area is located to obtain a second projected point cloud; and using the second area point cloud located on the main view obstacle area in the second projected point cloud as the first obstacle point cloud representing the obstacle in the original point cloud.
[0120] The second projected point cloud may be understood as a point cloud obtained by projecting the candidate obstacle point cloud onto the plane where the primary view obstacle area is located.
[0121] The second area point cloud can be understood as the point cloud located in the main view obstacle area in the second projection point cloud.
[0122] The above technical solution can determine the accurate first obstacle point cloud by comparing the second projection point cloud with the main view obstacle area.
[0123] Another optional technical solution is to identify a second obstacle point cloud representing the obstacle in the original point cloud based on the surround obstacle area and the candidate obstacle point cloud, including: obtaining the image size of the surround obstacle image, scaling the point cloud size of the candidate obstacle point cloud to the image size, and obtaining a scaled point cloud; and using a third area point cloud located in the surround obstacle area in the scaled point cloud as the second obstacle point cloud representing the obstacle in the original point cloud.
[0124] The scaled point cloud may be understood as a point cloud obtained by scaling the point cloud size of the candidate obstacle point cloud; and the third area point cloud may be understood as a scaled point cloud located in the surrounding obstacle area.
[0125] The above technical solution can determine the accurate second obstacle point cloud by comparing the scaled point cloud with the surrounding obstacle area.
[0126] Based on any of the above technical solutions, optionally, the laser radar and the image acquisition device are both arranged on the target vehicle, and the driving surface on which the target vehicle is currently driving is associated with the current ground.
[0127] The target vehicle may be understood as a vehicle whose driving surface is associated with the current surface. Optionally, the target vehicle may be an autonomous driving vehicle or a remote control vehicle; the target vehicle may be driving on the current surface or about to enter the current surface.
[0128] In the above technical solution, a laser radar and an image acquisition device are installed on the target vehicle, which can identify small obstacles encountered by the target vehicle during its driving process, so as to better plan the driving route of the target vehicle.
[0129] In order to better understand the obstacle recognition process described above as a whole, the following is an exemplary description with reference to a specific example. In this specific example, the current environment is the real world where the target vehicle is located; the image acquisition device includes a main view camera and a surround view camera. The schematic diagram of the obstacle recognition example is shown in Figure 4 The specific implementation process is as follows:
[0130] Step 1: The main view camera and the surround view camera are calibrated with the lidar respectively, and the main view camera and the surround view camera are orthogonally processed.
[0131] Step 2: Convert the coordinate system of the main view image collected by the main view camera from the real world from the world coordinate system to the pixel coordinate system, and input the two-dimensional (2D) main view image after the coordinate system conversion into the pre-trained obstacle extraction model to perform 2D target detection, and obtain the main view obstacle area representing the obstacle in the main view image. Input the surround view image from the BEV perspective collected by the surround view camera from the real world into the pre-trained obstacle extraction model to perform target detection from the bird's eye view (BEV) perspective, and obtain the surround view obstacle area representing the obstacle in the surround view image.
[0132] Step 3: Perform point cloud preprocessing (i.e., filtering) on the original point cloud obtained by the LiDAR for the real world, and perform non-uniform grid division on the filtered point cloud after filtering to obtain multiple point cloud groups. Filter out the candidate ground point clouds in the point cloud group, and perform ground fitting (i.e., ground likelihood estimation) and segmentation (i.e., non-uniform grid division) on the candidate ground point clouds to obtain the target ground point cloud. Remove the target ground point cloud from the filtered point cloud, and cluster the obstacle point cloud to obtain the candidate obstacle point cloud.
[0133] Step 4: Project the three-dimensional (3D) image of the candidate obstacle point cloud onto the plane where the main view image is located, perform 2D+3D target detection, take the first projected point cloud in the main view obstacle area as the first obstacle point cloud, and publish the information.
[0134] Step 5: Scale the candidate obstacle point cloud to the size of the surround view image, perform projection data fusion, use the candidate obstacle point cloud located in the surround view obstacle area as the second obstacle point cloud, and publish the information.
[0135] Step 6: Take the first obstacle point cloud and the second obstacle point cloud together as the target obstacle point cloud to complete the obstacle recognition.
[0136] In the above specific examples, the missed detection of obstacles can be reduced as much as possible through the fusion of data from the main view camera and the laser radar, as well as the fusion of data from the surround view camera and the laser radar.
[0137] Figure 5 This is a structural block diagram of an obstacle recognition device provided in an embodiment of the present invention, and the device is used to execute the obstacle recognition method provided in any of the above embodiments. The device and the obstacle recognition method in the above embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the obstacle recognition device, please refer to the embodiment of the above obstacle recognition method. Figure 5 The device may specifically include: an original point cloud acquisition module 410, a candidate ground point cloud determination module 420, a target ground point cloud acquisition module 430 and a target obstacle point cloud recognition module 440.
[0138] The original point cloud acquisition module 410 is used to acquire the original point cloud collected by the laser radar for the current environment, wherein the current environment includes the current ground and obstacles located on the current ground;
[0139] A candidate ground point cloud determination module 420 is used to determine at least one candidate ground point cloud representing the current ground in the original point cloud;
[0140] The target ground point cloud obtaining module 430 is used to perform ground likelihood estimation on at least one candidate ground point cloud to obtain a target ground point cloud in at least one candidate ground point cloud;
[0141] The target obstacle point cloud recognition module 440 is used to recognize the target obstacle point cloud representing the obstacle in the original point cloud based on the target ground point cloud.
[0142] Optionally, the candidate ground point cloud determination module 420 includes:
[0143] The submodule for obtaining the filtered point cloud is used to filter the original point cloud to obtain the filtered point cloud;
[0144] A point cloud group obtaining submodule is used to perform non-uniform grid division on the filtered point cloud to obtain at least one point cloud group;
[0145] The candidate ground point cloud obtaining submodule is used to determine, for each point cloud group in at least one point cloud group, the candidate ground point cloud in all the point clouds based on a preset height difference threshold and the average elevation value of all the point clouds in the point cloud group, so as to obtain at least one candidate ground point cloud after processing at least one point cloud group.
[0146] Optionally, the target ground point cloud obtaining module 430 includes:
[0147] The candidate ground point cloud ground likelihood estimation submodule is used to perform ground likelihood estimation on each candidate ground point cloud in at least one candidate ground point cloud, so as to use the candidate ground point cloud as the target ground point cloud when the probability that the candidate ground point cloud corresponds to the current ground is greater than a preset probability threshold.
[0148] Optionally, the obstacle recognition device further includes:
[0149] The obstacle region determination module is used to obtain the original image acquired by the image acquisition device for the current environment, and determine the obstacle region representing the obstacle in the original image;
[0150] The target obstacle point cloud recognition module 440 includes:
[0151] A candidate obstacle point cloud recognition submodule is used to recognize candidate obstacle point clouds representing obstacles in the original point cloud based on the target ground point cloud;
[0152] The target obstacle point cloud recognition submodule is used to recognize the target obstacle point cloud representing the obstacle in the original point cloud based on the obstacle area and the candidate obstacle point cloud.
[0153] An optional target obstacle point cloud recognition submodule includes:
[0154] A first projection point cloud obtaining unit is used to project the candidate obstacle point cloud onto the plane where the original image is located based on the internal parameters and distortion coefficients of the image acquisition device and the external parameters of the laser radar to obtain a first projection point cloud;
[0155] The target obstacle point cloud obtaining unit uses the first area point cloud located on the obstacle area in the first projection point cloud as the target obstacle point cloud representing the obstacle in the original point cloud.
[0156] On this basis, optionally, before obtaining the original point cloud collected by the laser radar for the current environment, the obstacle recognition device also includes:
[0157] The external parameter acquisition module is used to obtain the internal parameters, and calibrate the image acquisition device and the laser radar based on the internal parameters to obtain the distortion coefficient and external parameters.
[0158] Alternatively, the image acquisition device includes a main view camera and a surround view camera, the original image includes a main view image acquired by the main view camera and a surround view image acquired by the surround view camera, and the obstacle area includes a main view obstacle area in the main view image and a surround view obstacle area in the surround view image;
[0159] The target obstacle point cloud recognition submodule includes:
[0160] A second obstacle point cloud recognition unit is used to recognize a first obstacle point cloud representing an obstacle in the original point cloud based on the main view obstacle area and the candidate obstacle point cloud, and to recognize a second obstacle point cloud representing an obstacle in the original point cloud based on the surround view obstacle area and the candidate obstacle point cloud;
[0161] The target obstacle point cloud obtaining unit is used to obtain a target obstacle point cloud representing an obstacle in the original point cloud based on the first obstacle point cloud and the second obstacle point cloud.
[0162] On this basis, optionally, the second obstacle point cloud recognition unit includes:
[0163] A second projection point cloud obtaining subunit is used to project the candidate obstacle point cloud onto the plane where the main view obstacle area is located based on the internal parameters and distortion coefficients of the main view camera and the external parameters of the laser radar to obtain a second projection point cloud;
[0164] A first obstacle point cloud obtaining subunit is used to use a second area point cloud located in the main view obstacle area in the second projection point cloud as a first obstacle point cloud representing the obstacle in the original point cloud; and / or,
[0165] The scaling point cloud obtaining subunit is used to obtain the image size of the surround obstacle image, and scale the point cloud size of the candidate obstacle point cloud to the image size to obtain the scaled point cloud;
[0166] The second obstacle point cloud obtaining subunit is used to use the third area point cloud located in the zoomed point cloud on the surrounding obstacle area as the second obstacle point cloud representing the obstacle in the original point cloud.
[0167] Another optional obstacle area determination module includes:
[0168] A pixel coordinate system conversion submodule is used to convert the coordinate system of the original image from the world coordinate system to the pixel coordinate system;
[0169] The obstacle region obtaining submodule is used to input the original image after coordinate system conversion into a pre-trained obstacle extraction model to obtain the obstacle region representing the obstacle in the original image.
[0170] Optionally, the laser radar and the image acquisition device are both arranged on the target vehicle, and the driving surface on which the target vehicle is currently driving is associated with the current surface.
[0171] The obstacle recognition device provided by the embodiment of the present invention obtains the original point cloud collected by the laser radar for the current environment through the original point cloud acquisition module, wherein the current environment includes the current ground and obstacles located on the current ground; determines at least one candidate ground point cloud representing the current ground in the original point cloud through the candidate ground point cloud determination module, that is, preliminarily screens out the candidate ground point cloud that may be the ground point cloud from the original point cloud, thereby reducing the amount of calculation in the next step; performs ground likelihood estimation on at least one candidate ground point cloud through the target ground point cloud acquisition module, obtains the target ground point cloud in at least one candidate ground point cloud, that is, uses the ground likelihood estimation to improve the accuracy of ground point cloud determination; and identifies the target obstacle point cloud representing the obstacle in the original point cloud based on the target ground point cloud through the target obstacle point cloud recognition module, and uses the target ground point cloud to ensure the accuracy of obstacle point cloud recognition. The above technical solution can improve the accuracy of target obstacle point cloud recognition by performing ground likelihood estimation on the candidate ground point cloud, thereby realizing accurate recognition of obstacles on the current ground, especially accurate recognition of short obstacles on bumpy ground.
[0172] The obstacle recognition device provided in the embodiment of the present invention can execute the obstacle recognition method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0173] It is worth noting that in the embodiment of the above-mentioned obstacle recognition device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0174] Figure 6 A schematic diagram of the structure of an electronic device 8 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components, their connections and relationships, and their functions herein are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0175] like Figure 6 The electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0176] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0177] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the obstacle recognition method.
[0178] In some embodiments, the obstacle identification method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the obstacle identification method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the obstacle identification method in any other appropriate manner (e.g., by means of firmware).
[0179] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0180] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0181] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0182] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0183] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0184] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0185] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An obstacle recognition method, characterized in that: include: Acquire an original point cloud collected by a laser radar for a current environment, wherein the current environment includes a current ground and obstacles located on the current ground; Determine at least one candidate ground point cloud representing the current ground in the original point cloud; Performing ground likelihood estimation on the at least one candidate ground point cloud respectively to obtain a target ground point cloud in the at least one candidate ground point cloud; Based on the target ground point cloud, a target obstacle point cloud representing the obstacle in the original point cloud is identified.
2. The method according to claim 1, characterized in that The determining at least one candidate ground point cloud representing the current ground in the original point cloud comprises: Performing filtering on the original point cloud to obtain a filtered point cloud; Performing non-uniform grid division on the filtered point cloud to obtain at least one point cloud group; For each point cloud group in the at least one point cloud group, based on a preset height difference threshold and an average elevation value of all point clouds in the point cloud group, determining a candidate ground point cloud in all point clouds, so as to obtain at least one candidate ground point cloud after processing the at least one point cloud group; and / or, The performing ground likelihood estimation on the at least one candidate ground point cloud to obtain a target ground point cloud in the at least one candidate ground point cloud comprises: For each candidate ground point cloud in the at least one candidate ground point cloud, ground likelihood estimation is performed on the candidate ground point cloud, so that when the probability that the candidate ground point cloud corresponds to the current ground is greater than a preset probability threshold, the candidate ground point cloud is used as a target ground point cloud.
3. The method according to claim 1, characterized in that Also includes: Acquire an original image captured by an image acquisition device for the current environment, and determine an obstacle region representing the obstacle in the original image; The step of identifying a target obstacle point cloud representing the obstacle in the original point cloud based on the target ground point cloud includes: Based on the target ground point cloud, identifying a candidate obstacle point cloud representing the obstacle in the original point cloud; Based on the obstacle area and the candidate obstacle point cloud, a target obstacle point cloud representing the obstacle in the original point cloud is identified.
4. The method according to claim 3, characterized in that The step of identifying a target obstacle point cloud representing the obstacle in the original point cloud based on the obstacle area and the candidate obstacle point cloud includes: Based on the intrinsic parameters and distortion coefficients of the image acquisition device and the extrinsic parameters of the laser radar, the candidate obstacle point cloud is projected onto the plane where the original image is located to obtain a first projected point cloud; A first area point cloud located in the obstacle area in the first projected point cloud is used as a target obstacle point cloud representing the obstacle in the original point cloud.
5. The method according to claim 4, characterized in that Before obtaining the original point cloud collected by the laser radar for the current environment, it also includes: The internal parameters are obtained, and the image acquisition device and the laser radar are calibrated based on the internal parameters to obtain the distortion coefficient and the external parameters.
6. The method according to claim 3, characterized in that The image acquisition device includes a main view camera and a surround view camera, the original image includes a main view image acquired by the main view camera and a surround view image acquired by the surround view camera, and the obstacle area includes a main view obstacle area in the main view image and a surround view obstacle area in the surround view image; The step of identifying a target obstacle point cloud representing the obstacle in the original point cloud based on the obstacle area and the candidate obstacle point cloud includes: Based on the main view obstacle area and the candidate obstacle point cloud, identifying a first obstacle point cloud representing the obstacle in the original point cloud, and based on the surround view obstacle area and the candidate obstacle point cloud, identifying a second obstacle point cloud representing the obstacle in the original point cloud; Based on the first obstacle point cloud and the second obstacle point cloud, a target obstacle point cloud representing the obstacle in the original point cloud is obtained.
7. The method according to claim 6, characterized in that: The step of identifying a first obstacle point cloud representing the obstacle in the original point cloud based on the primary view obstacle area and the candidate obstacle point cloud comprises: Based on the intrinsic parameters and distortion coefficients of the main view camera and the extrinsic parameters of the laser radar, the candidate obstacle point cloud is projected onto the plane where the main view obstacle area is located to obtain a second projected point cloud; Using a second area point cloud located in the primary view obstacle area in the second projected point cloud as a first obstacle point cloud representing the obstacle in the original point cloud; and / or, The step of identifying a second obstacle point cloud representing the obstacle in the original point cloud based on the surround obstacle area and the candidate obstacle point cloud includes: Acquire the image size of the surround obstacle image, and scale the point cloud size of the candidate obstacle point cloud to the image size to obtain a scaled point cloud; A third area point cloud located in the zoomed point cloud and in the surrounding obstacle area is used as a second obstacle point cloud representing the obstacle in the original point cloud.
8. The method according to claim 3, characterized in that The determining an obstacle region representing the obstacle in the original image includes: Convert the coordinate system of the original image from the world coordinate system to the pixel coordinate system; The original image after coordinate system conversion is input into a pre-trained obstacle extraction model to obtain an obstacle region representing the obstacle in the original image.
9. The method according to any one of claims 3 to 8, characterized in that: The laser radar and the image acquisition device are both arranged on the target vehicle, and the driving surface on which the target vehicle is currently driving is associated with the current surface.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target recognition method as described in any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Target detection method and device, computer storage medium and electronic equipment
CN113496184A
Ground obstacle determination method and device, electronic equipment and storage medium
CN114879220A
Image and point cloud fusion processing method and device and unmanned vehicle
CN115457358A
Parking method and device and vehicle
CN117901845A
