Pedestrian detection method, system and device and storage medium thereof
By resampling and normalizing the features of 2D lidar point cloud data, combined with the spatiotemporal attention mechanism of the deep learning model, a pedestrian detection system is constructed, which solves the problem of incomplete pedestrian features caused by the sparseness of the laser point cloud and improves The precision and accuracy of pedestrian detection, especially the detection effect under unsatisfactory lighting and cluttered background conditions.
Patent Information
- Application Number
- CN202411028723.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-11
AI Technical Summary
Due to the sparseness and limited information of laser point cloud data, existing pedestrian detection methods based on 2D lidar lead to incomplete pedestrian features, which in turn affects detection accuracy and accuracy, especially when the lighting is not ideal and the background is cluttered. dropped significantly.
By acquiring the point cloud data of 2D lidar, performing feature resampling and normalization processing, combined with the deep learning model based on the spatiotemporal attention mechanism, a pedestrian detection system is constructed to determine the confidence and spatial coordinates of the pedestrian detection results, using one-dimensional volume Convolutional neural network and multi-layer perceptron network are used for feature extraction and fusion to optimize detection results.
It effectively improves the precision and accuracy of pedestrian detection, enhances detection capabilities under conditions of suboptimal lighting and cluttered backgrounds, and solves the problem of incomplete pedestrian features caused by the sparsity of laser point clouds.
Smart Images

Figure BDA0004969322940000072 
Figure BDA0004969322940000076 
Figure BDA0004969322940000083
Abstract
Description
Technical Field
[0001] The present invention relates to the field of pedestrian detection, and in particular to a pedestrian detection method, a pedestrian detection system, a pedestrian detection device, and a computer-readable storage medium. Background Art
[0002] Pedestrian detection technology determines whether there are pedestrians in the current environment based on the environmental data obtained by the sensor, and gives the accurate location information of the pedestrians in space. The higher the accuracy and stability of pedestrian detection, the more reliable it can provide for subsequent tasks such as crowd counting and pedestrian tracking.
[0003] Existing pedestrian detection methods are mainly based on visual sensors. Under conditions of poor lighting and cluttered backgrounds, the detection accuracy of existing pedestrian detection methods will be significantly reduced. In addition, visual sensors also have problems such as viewing angle limitations and small detection range.
[0004] As a distance sensor, 2D LiDAR can sense the spatial position of surrounding obstacles, thereby more accurately determining the two-dimensional spatial information of obstacles. Early pedestrian detection methods based on 2D LiDAR usually first segmented the LiDAR point cloud, then used traditional machine learning classifiers to detect human legs on the segmented point clusters, and finally performed human leg association to complete the entire pedestrian detection process. Existing pedestrian detection methods based on 2D LiDAR apply end-to-end deep learning to 2D LiDAR pedestrian detection, thereby effectively reducing the complexity of the algorithm. However, the sparsity and limited information of the laser point cloud data itself lead to incomplete structural and semantic information of the detected target, which has a certain impact on the precision and accuracy of pedestrian detection.
[0005] In order to overcome the above-mentioned defects of the prior art, this field is in urgent need of a pedestrian detection technology that can achieve efficient pedestrian detection while solving the problem of incomplete pedestrian features caused by the sparse laser point cloud and limited information, and effectively improve the precision and accuracy of pedestrian detection. Summary of the invention
[0006] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.
[0007] In order to overcome the above-mentioned defects of the prior art, the present invention provides a pedestrian detection method, a pedestrian detection system, a pedestrian detection device, and a computer-readable storage medium, which can achieve efficient pedestrian detection while solving the problem of incomplete pedestrian features caused by sparse laser point clouds and limited information, and effectively improve the precision and accuracy of pedestrian detection.
[0008] Specifically, the above-mentioned pedestrian detection method provided according to the first aspect of the present invention includes the steps of: obtaining a point cloud data set collected by a 2D laser radar, performing feature resampling according to the point cloud data set to form a resampled feature data set; normalizing the resampled feature data set to obtain a normalized feature data set; determining the pedestrian detection result confidence and the pedestrian spatial coordinates based on a deep learning model according to the normalized feature data set, wherein the deep learning model is constructed based on a spatiotemporal attention mechanism; and determining the pedestrian detection result according to the pedestrian detection result confidence and the pedestrian spatial coordinates.
[0009] Preferably, in one embodiment of the present invention, the step of performing feature resampling based on the point cloud data set to form a resampled feature data set includes: constructing a resampled fan-shaped area of each point cloud with each point cloud in the point cloud data set as the center; resampling in the resampled fan-shaped area to obtain feature points; and determining the resampled feature data set based on the feature points.
[0010] Preferably, in one embodiment of the present invention, the step of resampling in the resampling fan-shaped area to obtain feature points includes: determining a first point cloud in the point cloud data set and a second point cloud having a minimum angle difference with the feature points of the first point cloud; and taking the measured distance of the second point cloud as the corresponding feature of the feature points of the first point cloud.
[0011] Preferably, in one embodiment of the present invention, the step of normalizing the resampled feature data set to obtain a normalized feature data set includes: normalizing the resampled feature data set according to a set feature normalization limit range to determine the normalized feature data set.
[0012] Preferably, in one embodiment of the present invention, the confidence of the pedestrian detection result and the spatial coordinates of the pedestrian are determined based on the deep learning model according to the normalized feature data set, and the step of constructing the deep learning model based on the spatiotemporal attention mechanism includes: performing feature extraction of the normalized feature data set based on a one-dimensional convolutional neural network to determine a preliminary feature extraction data set; inputting the preliminary feature extraction data set into a spatiotemporal attention feature fusion module to determine a spatiotemporal attention feature fusion data set; performing feature extraction of the spatiotemporal attention feature fusion data set based on a one-dimensional convolutional neural network to determine a secondary feature extraction data set; and inputting the secondary feature extraction data set into a multi-layer perceptron network to determine the confidence of the pedestrian detection result and the spatial coordinates of the pedestrian.
[0013] Preferably, in one embodiment of the present invention, the step of inputting the preliminary feature extraction dataset into the spatiotemporal attention feature fusion module to determine the spatiotemporal attention feature fusion dataset includes: inputting the preliminary feature extraction dataset into the spatiotemporal attention feature fusion module to determine the feature fusion dataset at the current moment and the feature fusion dataset at the previous moment; and performing weighted summation of the feature fusion dataset at the current moment and the feature fusion dataset at the previous moment to determine the spatiotemporal attention feature fusion dataset.
[0014] Preferably, in one embodiment of the present invention, the input of the spatiotemporal attention feature fusion module also includes the feature fusion data set of the previous moment.
[0015] Preferably, in one embodiment of the present invention, the step of inputting the secondary feature extraction data set into a multi-layer perceptron network to determine the confidence of the pedestrian detection result and the pedestrian spatial coordinates includes: inputting the secondary feature extraction data set into a multi-layer perceptron network to determine the pedestrian spatial coordinate offset, and determining the pedestrian spatial coordinates by coordinate conversion of the pedestrian spatial coordinate offset.
[0016] Preferably, in an embodiment of the present invention, the step of determining the pedestrian detection result according to the pedestrian detection result confidence and the pedestrian spatial coordinates includes: optimizing the pedestrian detection result by a non-maximum suppression algorithm.
[0017] In addition, the pedestrian detection system provided according to the second aspect of the present invention includes a memory and a processor. The memory stores computer instructions. The processor is connected to the memory and is configured to execute the computer instructions stored in the memory to implement the pedestrian detection method provided in any one of the above embodiments.
[0018] In addition, the above-mentioned pedestrian detection device provided according to the third aspect of the present invention includes the pedestrian detection system provided by the second aspect of the present invention and a 2D laser radar, wherein the 2D laser radar is used to collect a point cloud data set; the 2D laser radar is connected to the pedestrian detection system.
[0019] In addition, the computer-readable storage medium provided according to the fourth aspect of the present invention stores computer instructions, which, when executed by a processor, implement the pedestrian detection method provided by any one of the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above features and advantages of the present invention can be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. In the drawings, the components are not necessarily drawn to scale, and components with similar related properties or features may have the same or similar reference numerals.
[0021] Figure 1 A flowchart of a pedestrian detection method provided according to some embodiments of the present invention is shown;
[0022] Figure 2 A schematic diagram of a pedestrian detection system provided according to some embodiments of the present invention is shown;
[0023] Figure 3 A schematic diagram of a deep learning model provided according to some embodiments of the present invention is shown;
[0024] Figure 4 A schematic diagram of a spatiotemporal attention feature fusion module provided according to some embodiments of the present invention is shown; and
[0025] Figure 5 A schematic diagram showing detection results of a pedestrian detection method provided according to some embodiments of the present invention is shown.
[0026] Reference numerals:
[0027] 100: Pedestrian detection method;
[0028] S110~S140: steps;
[0029] 200: Pedestrian detection system;
[0030] 210: Memory;
[0031] 211: Computer readable storage medium;
[0032] 220: Processor;
[0033] 230: 2D LiDAR;
[0034] 310: One-dimensional convolutional neural network module;
[0035] 320: Spatiotemporal attention feature fusion module;
[0036] 330: One-dimensional convolutional neural network module;
[0037] 341: Multilayer Perceptron Network;
[0038] 342: Multilayer Perceptron Network;
[0039] 411: One-dimensional Convolutional Neural Network;
[0040] 412: One-dimensional Convolutional Neural Network;
[0041] 413: One-dimensional Convolutional Neural Network;
[0042] 421: Spatial Attention Module; and
[0043] 422: Spatiotemporal Attention Module. DETAILED DESCRIPTION
[0044] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Note that the aspects described below in conjunction with the accompanying drawings and specific embodiments are only exemplary and should not be construed as limiting the scope of protection of the present invention in any way.
[0045] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0046] In addition, the terms "upper", "lower", "left", "right", "top", "bottom", "horizontal" and "vertical" used in the following description should be understood as the directions shown in the paragraph and the related drawings. Such relative terms are only used for the convenience of description and do not mean that the device described therein must be manufactured or operated in a specific direction, and therefore should not be understood as limiting the present invention.
[0047] It is understood that although the terms "first", "second", "third", etc. may be used herein to describe various components, regions, layers and / or parts, these components, regions, layers and / or parts should not be limited by these terms, and these terms are only used to distinguish different components, regions, layers and / or parts. Therefore, the first component, region, layer and / or part discussed below may be referred to as a second component, region, layer and / or part without departing from some embodiments of the present invention.
[0048] As mentioned above, the existing 2D LiDAR-based pedestrian detection method applies end-to-end deep learning to 2D LiDAR pedestrian detection, thereby effectively reducing the algorithm complexity. However, the sparsity and limited information of the laser point cloud data itself lead to incomplete structural and semantic information of the detected target, which has a certain impact on the precision and accuracy of pedestrian detection.
[0049] In order to overcome the above-mentioned defects of the prior art, the present invention provides a pedestrian detection method, a pedestrian detection system, a pedestrian detection device, and a computer-readable storage medium, which can achieve efficient pedestrian detection while solving the problem of incomplete pedestrian features caused by sparse laser point clouds and limited information, and effectively improve the precision and accuracy of pedestrian detection.
[0050] In some non-limiting embodiments, the pedestrian detection method provided in the first aspect of the present invention can be implemented via the pedestrian detection system provided in the second aspect of the present invention. Specifically, the pedestrian detection system can be configured with a memory and a processor. The memory includes but is not limited to the computer-readable storage medium provided in the fourth aspect of the present invention, on which computer instructions are stored. The processor is connected to the memory and is configured to execute the computer instructions stored on the memory to implement the pedestrian detection method provided in the first aspect of the present invention.
[0051] In addition, the pedestrian detection system provided in the second aspect of the present invention can be configured in the pedestrian detection device provided in the third aspect of the present invention. The pedestrian detection device can also be configured with a 2D laser radar for collecting point cloud data sets, and the 2D laser radar can be connected to the pedestrian detection system provided in the second aspect of the present invention.
[0052] The following will first describe the working principle of the above-mentioned pedestrian detection system in conjunction with some embodiments of the pedestrian detection method. Those skilled in the art will understand that these embodiments of the pedestrian detection method are only some non-limiting implementation methods provided by the present invention, which are intended to clearly demonstrate the main concept of the present invention and provide some specific solutions that are convenient for the public to implement, rather than to limit all functions or all working modes of the pedestrian detection system. Similarly, the pedestrian detection system is also only a non-limiting implementation method provided by the present invention, and does not constitute a limitation on the execution subject and execution order of each step in these pedestrian detection methods.
[0053] Please refer to Figure 1 , Figure 2 , Figure 1 A flowchart of a pedestrian detection method provided according to some embodiments of the present invention is shown. Figure 2 A schematic diagram of a pedestrian detection system provided according to some embodiments of the present invention is shown.
[0054] like Figure 1 As shown, the pedestrian detection method 100 may include step S110: collecting a point cloud data set by using a 2D laser radar, and performing feature resampling according to the point cloud data set to form a resampled feature data set.
[0055] like Figure 2 As shown, the pedestrian detection system 200 may include a memory 210 and a processor 220, wherein the memory 210 is configured with a computer-readable storage medium 211 on which computer instructions are stored. The processor 220 is connected to the memory 210 and is configured to execute the computer instructions stored in the memory 210 to implement the pedestrian detection method 100. In addition, the pedestrian detection system 200 is also connected to the 2D laser radar 230 in the pedestrian detection device, so that the point cloud data set collected by the 2D laser radar 230 can be obtained.
[0056] Afterwards, the pedestrian detection system 200 performs feature resampling according to the point cloud data set to form a resampled feature data set. Here, the point cloud data set acquired by the pedestrian detection system 200 at time t can be expressed as: Point cloud dataset There are N point clouds in it. is the measured distance of point cloud i.
[0057] Specifically, a resampled sector area is constructed with each point cloud i as the center. The pedestrian detection system 200 can set the angle of the resampled sector area for:
[0058]
[0059] in, It is an adjustable hyperparameter and is usually set to 1.
[0060] By resampling the angle of the fan-shaped area The pedestrian detection system 200 can construct a resampled fan-shaped area for each point cloud i, and the radius of the fan-shaped area can be the measurement distance of the point cloud i Afterwards, resampling is performed in the resampling fan-shaped area of each point cloud i to obtain feature points. Here, the number K of resampled feature points can be adjusted according to actual conditions.
[0061] The pedestrian detection system 200 may first determine the first point cloud in the point cloud data set and the second point cloud with the smallest angle difference with the feature point of the first point cloud, and then use the measured distance of the second point cloud as the corresponding feature of the feature point of the first point cloud. In a preferred embodiment, the pedestrian detection system 200 may determine the first point cloud and the nth point cloud with the smallest angle difference with the feature point of the first point cloud as the second point cloud in the established polar coordinate system. The measured distance of the second point cloud is used as the feature corresponding to the kth sampled feature point of the first point cloud. Specifically, as shown in the following formula:
[0062]
[0063] in, is the feature of the kth feature point of the i-th point cloud at time t, is the measured distance of the nth point cloud at time t, n is the label of the nth laser point cloud at time t, is the laser radar scanning angle corresponding to the nth laser point cloud at time t, is the sampling angle corresponding to the kth resampling point of the ith laser point cloud at time t, is the laser radar scanning angle corresponding to the i-th laser point cloud at time t, and K is the total number of resampled feature points.
[0064] Preferably, in a specific embodiment, the pedestrian detection system 200 may set the total number of resampled feature points K=56, thereby achieving a more accurate pedestrian detection effect.
[0065] Afterwards, based on the feature points obtained by resampling, the pedestrian detector 200 can determine a resampled feature data set. Specifically, the resampled feature data set can be expressed as: The resampled feature data collected by the i-th point cloud at time t can be:
[0066]
[0067] Please continue to refer to Figure 1The pedestrian detection method 100 may include step S120: normalizing the resampled feature data set to obtain a normalized feature data set.
[0068] The pedestrian detection system 200 can perform normalization processing on the resampled feature data set according to the set feature normalization limit range. Specifically, the size of the feature normalization limit range can be:
[0069]
[0070] Where m is the normalized range limit parameter.
[0071] After normalization, the feature of the kth feature point of the i-th point cloud at time t is It can be normalized according to the following formula:
[0072]
[0073] After the pedestrian detection system 200 normalizes the resampled feature data set, a normalized feature data set can be obtained. Therefore, the normalized feature data of the i-th point cloud can be:
[0074]
[0075] In a preferred embodiment, the pedestrian detection system 200 may set the normalized range limit parameter m=0.5 to improve the accuracy of pedestrian detection results.
[0076] Afterwards, if Figure 1 As shown, the pedestrian detection system 200 can execute step S130: determine the pedestrian detection result confidence and the pedestrian spatial coordinates based on the normalized feature data set and based on a deep learning model, where the deep learning model is constructed based on a spatiotemporal attention mechanism.
[0077] Please refer to Figure 3 and Figure 4 , Figure 3 shows a schematic diagram of a deep learning model provided according to some embodiments of the present invention, Figure 4 A schematic diagram of a spatiotemporal attention feature fusion module provided according to some embodiments of the present invention is shown.
[0078] like Figure 3 As shown, the pedestrian detection system 200 normalizes the feature data set Input to the one-dimensional convolutional neural network module 310 for feature extraction to determine the preliminary feature extraction data set Afterwards, the preliminary feature extraction dataset Input to the spatiotemporal attention feature fusion module 320 to determine the spatiotemporal attention feature fusion data set Further, in Figure 3 In the illustrated embodiment, the input of the spatiotemporal attention feature fusion module 320 may also include the feature fusion data set of the previous moment
[0079] Specifically, in a preferred embodiment, the preliminary feature extraction data set Input to Figure 4 In the spatiotemporal attention feature fusion module shown, the feature fusion dataset at the current moment is determined And the feature fusion dataset of the previous moment
[0080] Here, the feature fusion data at the current moment It can be determined by the following formula:
[0081]
[0082] Feature fusion data of the previous moment It can be determined by the following formula:
[0083]
[0084] Among them, ψ is a one-dimensional convolutional neural network, ω is the size of the neighborhood, is the spatial attention value between the laser point cloud i and the laser point cloud j in the neighborhood at time t, is the spatiotemporal attention value between the laser point cloud i and the laser point cloud j in the neighborhood at time t-1, Indicates the normalization of the spatial attention value at time t, Indicates the normalization of the spatial attention value at time t-1. is the feature of laser point cloud j in the neighborhood of laser point cloud i at time t, that is, the feature fusion data of laser point cloud j at the current moment, is the fusion feature of laser point cloud j in the neighborhood of laser point cloud i at time t-1, that is, the feature fusion data of laser point cloud j at the previous moment. Similarly, is the feature set of the laser point cloud in the neighborhood of laser point cloud i at time t, that is, the set of feature fusion data of the laser point cloud in the neighborhood of laser point cloud i at the current moment, is the fusion feature set of the laser point cloud in the neighborhood of laser point cloud i at time i-1, that is, the set of feature fusion data of the laser point cloud in the neighborhood of laser point cloud i at the previous moment. In a preferred embodiment, the pedestrian detection system 200 can set the field range size ω=0.5.
[0085] like Figure 4As shown, the preliminary feature extraction data of point cloud i in the preliminary feature extraction data set is And the preliminary feature extraction data of point cloud i in the neighborhood range ω The data are respectively input into the one-dimensional convolutional neural network 411 and the one-dimensional convolutional neural network 412 for feature extraction, and then input into the spatial attention module 421 for fusion. The fused data is transmitted through Again, the preliminary feature extraction data of point cloud i within the neighborhood range ω Fusion to determine the current feature fusion data of point cloud i In addition, the preliminary feature extraction data F of point cloud i in the preliminary feature extraction dataset i t and the feature fusion data of point cloud i at the previous moment within the neighborhood range ω The data are respectively input into the one-dimensional convolutional neural network 411 and the one-dimensional convolutional neural network 413 for feature extraction, and then input into the spatiotemporal attention module 422 for fusion. The fused data is transmitted through Again, the data is fused with the feature data of the previous moment of point cloud i within the neighborhood range ω Fusion to determine the feature fusion data of point cloud i at the last moment
[0086] Afterwards, if Figure 4 As shown, the current moment feature fusion data Fusion data with features from the previous moment Weighted summation to obtain spatiotemporal attention feature fusion data
[0087]
[0088] At time t=1, the spatiotemporal attention feature fusion data That is the feature fusion data at the current moment When time t>1, the spatiotemporal attention feature fusion data Fusion data for current feature Fusion data with features from the previous moment Weighted summation, with weight α.
[0089] In this way, the preliminary feature extraction dataset Input to the spatiotemporal attention feature fusion module 320 to determine the feature fusion data set at the current moment And the feature fusion dataset of the previous moment Afterwards, the current feature fusion dataset And the feature fusion dataset of the previous moment By weighted summation, we can determine the spatiotemporal attention feature fusion dataset
[0090] Through a deep learning model constructed based on the spatiotemporal attention mechanism, the pedestrian detection system 200 can fuse the laser point cloud feature information in the neighborhood of the current moment and the previous moment, enhance the feature information of pedestrian targets, effectively solve the problem of incomplete pedestrian features caused by the sparse laser point cloud, and thus improve the accuracy of pedestrian detection.
[0091] Please continue to refer to Figure 3 , the obtained spatiotemporal attention features are fused into the dataset The secondary feature extraction data is input into the one-dimensional convolutional neural network module 330 to obtain the secondary feature extraction data. The secondary feature extraction data is input into the multi-layer perceptron network (MLP), and the pedestrian detection system 200 can determine the pedestrian detection result confidence and the pedestrian spatial coordinates.
[0092] like Figure 3 As shown, the deep learning model can output the pedestrian detection result confidence through the multi-layer perceptron network 341, and the deep learning model can output the pedestrian spatial coordinate offset through the multi-layer perceptron network 342. Here, the structural parameters of the one-dimensional convolutional neural network module 310, the one-dimensional convolutional neural network module 330 and the multi-layer perceptron network 341, and the multi-layer perceptron network 342 can be freely adjusted according to actual conditions to achieve a better pedestrian detection effect.
[0093] The pedestrian detection system 200 can convert the pedestrian space coordinate offset into the pedestrian space coordinate by coordinate conversion. Specifically, according to the predicted pedestrian space coordinate offset [Δx i ,Δy i ] and the representation of point cloud i in polar coordinate system Calculate the pedestrian space coordinates (x i ,y i ):
[0094]
[0095] in,
[0096] Finally, if Figure 1 As shown, the pedestrian detection method 100 may include step S140: determining the pedestrian detection result according to the pedestrian detection result confidence and the pedestrian spatial coordinates.
[0097] In a preferred embodiment, the pedestrian detection system 200 can use a non-maximum suppression (NMS) algorithm to optimize pedestrian detection results. Specifically, the pedestrian spatial coordinates can be expressed as a spatial coordinate set: B = {b1...bN}, where b i =(x i ,y i ). The confidence of pedestrian detection results can be expressed as a confidence set: S = {s1...s N The spatial coordinate set B corresponds to each value of the confidence set S. According to the spatial coordinate set B and the confidence set s, a non-maximum suppression algorithm (such as Soft-NMS) is combined to perform non-maximum suppression, thereby eliminating the spatial coordinates of pedestrians whose confidence in the pedestrian detection result is less than a threshold, so as to obtain an optimized real-time pedestrian detection result.
[0098] Please refer to Figure 5 , Figure 5 A schematic diagram showing detection results of a pedestrian detection method provided according to some embodiments of the present invention is shown.
[0099] like Figure 5 As shown, the pedestrian detection system 200 can achieve the best pedestrian detection effect by comparing pedestrian detection effects and adjusting various preset thresholds (such as the total number K of resampled feature points).
[0100] In summary, the pedestrian detection technology provided by the present invention can achieve efficient pedestrian detection while solving the problem of incomplete pedestrian features caused by sparse laser point clouds and limited information, thereby effectively improving the precision and accuracy of pedestrian detection.
[0101] Although the above methods are illustrated and described as a series of actions for simplicity of explanation, it should be understood and appreciated that these methods are not limited by the order of the actions, because according to one or more embodiments, some actions may occur in a different order and / or concurrently with other actions from those illustrated and described herein or not illustrated and described herein but understandable to those skilled in the art.
[0102] Those skilled in the art will appreciate that information, signals, and data may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips cited throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or magnetic particles, optical fields or optical particles, or any combination thereof.
[0103] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician may implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as resulting in a departure from the scope of the present invention.
[0104] The various illustrative logic modules and circuits described in conjunction with the embodiments disclosed herein may be implemented or executed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.
[0105] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read and write information from / to the storage medium. In an alternative, a storage medium may be integrated into a processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and the storage medium may reside in a user terminal as discrete components.
[0106] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented as a computer program product in software, each function may be stored on or transmitted by a computer-readable medium as one or more instructions or codes. Computer-readable media include both computer storage media and communication media, including any medium that facilitates the transfer of a computer program from one place to another. Storage media may be any available medium that can be accessed by a computer. As an example and not limitation, such a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer. Any connection is also properly referred to as a computer-readable medium. For example, if the software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, wherein disk often reproduces data magnetically, while disc reproduces data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0107] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein, but should be granted the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A pedestrian detection method, It is characterized in that Includes steps: Acquire a point cloud data set collected by a 2D laser radar, and perform feature resampling according to the point cloud data set to form a resampled feature data set; Normalizing the resampled feature data set to obtain a normalized feature data set; According to the normalized feature data set, determining the pedestrian detection result confidence and the pedestrian spatial coordinates based on a deep learning model, wherein the deep learning model is constructed based on a spatiotemporal attention mechanism; as well as A pedestrian detection result is determined according to the pedestrian detection result confidence and the pedestrian spatial coordinates.
2. The pedestrian detection method according to claim 1, It is characterized in that The step of performing feature resampling according to the point cloud data set to form a resampled feature data set comprises: Constructing a resampled fan-shaped area of each point cloud with each point cloud in the point cloud data set as the center; Resampling in the resampling fan-shaped area to obtain feature points; and The resampled feature data set is determined according to the feature points.
3. The pedestrian detection method according to claim 2, It is characterized in that The step of resampling in the resampling sector area to obtain feature points comprises: Determine a first point cloud in the point cloud data set and a second point cloud having a minimum angle difference with the feature point of the first point cloud; The measured distance of the second point cloud is taken as the corresponding feature of the feature point of the first point cloud.
4. The pedestrian detection method according to claim 1, It is characterized in that The step of normalizing the resampled feature data set to obtain a normalized feature data set includes: According to the set feature normalization limit range, the resampled feature data set is normalized to determine the normalized feature data set.
5. The pedestrian detection method according to claim 1, It is characterized in that The step of determining the pedestrian detection result confidence and the pedestrian spatial coordinates based on the normalized feature data set and the deep learning model based on the spatiotemporal attention mechanism comprises: Extracting features of the normalized feature data set based on a one-dimensional convolutional neural network to determine a preliminary feature extraction data set; Inputting the preliminary feature extraction data set into a spatiotemporal attention feature fusion module to determine a spatiotemporal attention feature fusion data set; Perform feature extraction on the spatiotemporal attention feature fusion dataset based on a one-dimensional convolutional neural network to determine a secondary feature extraction dataset; and The secondary feature extraction data set is input into a multi-layer perceptron network to determine the pedestrian detection result confidence and the pedestrian spatial coordinates.
6. The pedestrian detection method according to claim 5, It is characterized in that The step of inputting the preliminary feature extraction data set into the spatiotemporal attention feature fusion module to determine the spatiotemporal attention feature fusion data set comprises: Inputting the preliminary feature extraction data set into the spatiotemporal attention feature fusion module to determine a current moment feature fusion data set and a previous moment feature fusion data set; and The feature fusion dataset at the current moment and the feature fusion dataset at the previous moment are weightedly summed to determine the spatiotemporal attention feature fusion dataset.
7. The pedestrian detection method according to claim 6, It is characterized in that The input of the spatiotemporal attention feature fusion module also includes the feature fusion dataset of the previous moment.
8. The pedestrian detection method according to claim 5, It is characterized in that The step of inputting the secondary feature extraction data set into a multi-layer perceptron network to determine the pedestrian detection result confidence and the pedestrian spatial coordinates includes: The secondary feature extraction data set is input into a multi-layer perceptron network to determine the pedestrian space coordinate offset, and the pedestrian space coordinate offset is determined by coordinate conversion.
9. The pedestrian detection method according to claim 1, It is characterized in that The step of determining the pedestrian detection result according to the pedestrian detection result confidence and the pedestrian spatial coordinates comprises: The pedestrian detection result is optimized by a non-maximum suppression algorithm.
10. A pedestrian detection system, It is characterized in that include: a memory having computer instructions stored thereon; as well as A processor is connected to the memory and is configured to execute computer instructions stored in the memory to implement the pedestrian detection method according to any one of claims 1 to 9.
11. A pedestrian detection device, It is characterized in that include: The pedestrian detection system as claimed in claim 10; 2D LiDAR, used to collect point cloud datasets; The 2D laser radar is connected to the pedestrian detection system.
12. A computer-readable storage medium having computer instructions stored thereon, It is characterized in that When the computer instructions are executed by a processor, the pedestrian detection method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Pedestrian identification method based on millimeter wave radar point cloud clustering and deep learning
CN114529939A
Image processing method, device and equipment and computer readable storage medium
CN114723955A
Laser radar target detection method based on space-time attention mechanism
CN116626701A
