WO2023050749A1 - Track prediction method and apparatus, electronic device, and storage medium - Google Patents

Track prediction method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023050749A1
WO2023050749A1 PCT/CN2022/084204 CN2022084204W WO2023050749A1 WO 2023050749 A1 WO2023050749 A1 WO 2023050749A1 CN 2022084204 W CN2022084204 W CN 2022084204W WO 2023050749 A1 WO2023050749 A1 WO 2023050749A1
Authority
WO
WIPO (PCT)
Prior art keywords
grid
sub
running
moment
target
Prior art date
Application number
PCT/CN2022/084204
Other languages
French (fr)
Chinese (zh)
Inventor
李樊
孙钢
刘春晓
石建萍
Original Assignee
上海商汤智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Publication of WO2023050749A1 publication Critical patent/WO2023050749A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0043Signal treatments, identification of variables or parameters, parameter estimation or state estimation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Definitions

  • the present disclosure relates to the technical field of prediction, and relates to a trajectory prediction method, device, electronic equipment, and storage medium.
  • Object behavior prediction is an important issue in the field of automatic driving. Specifically, it can be expressed as the prediction of the running trajectory of the objects perceived by the automatic driving system.
  • the above-mentioned objects include but are not limited to cars, two-wheeled electric vehicles, bicycles, and pedestrians.
  • Object behavior prediction is an important sub-module of the automatic driving system, and it is an important basis for the automatic driving system to perform scene understanding, behavior decision-making and motion planning.
  • Embodiments of the present disclosure at least provide a trajectory prediction method, device, electronic equipment, and storage medium.
  • an embodiment of the present disclosure provides a trajectory prediction method, the method is executed by an electronic device, and the method includes:
  • the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one reference object at a plurality of future reference times The position point; the future reference time is the time after the sample time as the starting point, after the first preset duration; the reference object and the target object have the same operation mode;
  • the target operation sub-grid where the target object is located at a second moment; wherein, the second moment is a moment after the first preset time period elapses at the first moment;
  • the running trajectory of the target object from the first moment to the second moment is determined.
  • the running trajectory of the target object is predicted by using the preset running grid that matches the running mode of the target object, which can fully consider the characteristics such as the running speed and mode of the target object, and improve the pertinence and accuracy of trajectory prediction.
  • Accuracy
  • different objects use preset running grids for trajectory prediction, so the scheme in this aspect is generalizable, and there is no need to set different models or methods for different objects, making the scheme in this aspect High efficiency; at the same time, this aspect is not based on the point set when predicting the trajectory, but uses the grid. Compared with the point set, the dimension of the processed data is reduced, so the amount of data processed by the solution in this aspect is effectively reduced. Efficiency is improved.
  • the embodiment of the present disclosure also provides a trajectory prediction device, including:
  • the information acquisition part is configured to acquire the operation information of the target object at the first moment
  • the positioning preprocessing part is configured to determine a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one The position points of the reference object at a plurality of future reference moments; the future reference moment is the moment after the first preset time period starting from the sample moment; the reference object has the same operating mode as the target object;
  • the positioning part is configured to determine the target operation sub-grid where the target object is located at a second moment based on the operation information; wherein, the second moment is after the first preset time period elapses at the first moment moment;
  • the trajectory prediction part is configured to determine the trajectory of the target object from the first moment to the second moment based on the target operation sub-grid and the operation information.
  • an embodiment of the present disclosure further provides an electronic device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processing
  • the processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any possible implementation manner of the first aspect are executed.
  • embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned first aspect, or any of the first aspects of the first aspect, may be executed. Steps in one possible implementation.
  • an embodiment of the present disclosure further provides a computer program product, the computer program product includes a computer program or instruction, and when the computer program or instruction is run on a computer, the computer executes the above-mentioned first aspect , or a step in any possible implementation manner in the first aspect.
  • FIG. 1 shows a flowchart of a trajectory prediction method provided by an embodiment of the present disclosure
  • Fig. 2 shows a schematic diagram of road condition information provided by an embodiment of the present disclosure
  • Fig. 3 shows a flow chart of determining a target running sub-grid provided by an embodiment of the present disclosure
  • FIG. 4 shows a flow chart of generating a matching preset operation grid for a certain operation mode provided by an embodiment of the present disclosure
  • FIG. 5 shows a schematic diagram of a preset running grid provided by an embodiment of the present disclosure
  • FIG. 6 shows a flow chart of determining a dithering sub-grid provided by an embodiment of the present disclosure
  • Fig. 7 shows a schematic diagram of a trajectory prediction device provided by an embodiment of the present disclosure
  • Fig. 8 shows a schematic diagram of an electronic device provided by an embodiment of the present disclosure.
  • the present disclosure provides a trajectory prediction method, device, electronic equipment, and storage medium.
  • the disclosure utilizes a preset operating grid that matches the operating mode of the target object to predict the operating trajectory of the target object, which can fully Considering the characteristics of the target object's running speed and mode, the pertinence and accuracy of trajectory prediction are improved; in addition, different objects use the preset running grid for trajectory prediction, so the scheme in this aspect has generalization In addition, there is no need to set different models or methods for different objects, so that the solution in this aspect is more efficient; at the same time, the present disclosure is not based on point sets when predicting trajectory, but uses grids, which are processed relative to point sets The data dimension of is reduced, so the amount of data processed by the solution in this aspect is effectively reduced and the efficiency is improved.
  • trajectory prediction method provided by the embodiments of the present disclosure will be described below by taking the executing subject as a device capable of computing as an example.
  • the embodiment of the present disclosure provides a trajectory prediction method, which may include the following steps:
  • the above-mentioned target object is the object that needs trajectory prediction.
  • the running information may include road condition information of the location of the target object at the first moment and movement state information of the target object within a period of time from the first moment.
  • the above road condition information may include lane lines 201 around the target object, zebra crossing outline 202 , intersection outline 203 and other information.
  • the above road condition information may exist in the form of pictures.
  • the above-mentioned motion state information may include information such as the position, speed, and orientation of the target object within a period of time. For example, when the first moment is the current moment and the aforementioned period of time is 3s, the motion state information includes information such as the position, speed, and orientation of the target object in the past 3s.
  • the position of the target object is recorded as (x, y), the heading is recorded as heading, and the speed is recorded as speed.
  • the latest historical 16-frame data is taken every 0.2s, and each row records the corresponding motion state information of one frame. Then A 16 ⁇ 4 matrix is obtained, which is the motion state information within 3s.
  • the moment of the second preset duration is passed forward to obtain the third moment; after that, acquiring the motion state information of the target object from the third moment to the first moment , and use the acquired running state information as the motion state information of the target object at the first moment; finally, based on the motion state information of the target object at the first moment and the target object at the first
  • the road condition information of the location at the time is used to determine the running information of the target object at the first time.
  • the motion state information of the target object at the first moment and the road condition information of the location of the target object at the first moment may be directly used as the running information of the target object at the first moment.
  • the above-mentioned third moment is earlier than the first moment, and the motion state information between the third moment and the first moment is used as the motion state information of the target object at the first moment for trajectory prediction, which can not only increase the number of participants in trajectory prediction
  • the amount of information can improve the accuracy of trajectory prediction, and the operating status information during the period from the third moment to the first moment can reflect the operation law of the target object to a certain extent.
  • the trajectory prediction can further improve the accuracy of trajectory prediction.
  • S120 Determine a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one reference object in multiple futures The position point of the reference time; the future reference time is the time after the first preset time period starting from the sample time. Wherein, the reference object and the target object have the same running mode.
  • a preset operation grid may correspond to at least one operation mode, and one operation mode may correspond to at least one type of object.
  • the operating modes of different types of objects can be different, for example, a car has a turning radius, and a pedestrian has no turning radius and can turn freely.
  • the above-mentioned reference object and the target object have the same operation mode, so the location points corresponding to the reference object can be used to form a preset operation grid to predict the location information and operation trajectory of the target object.
  • the operation mode of the target object can be determined first and multiple preset operation grids can be obtained; and then from the multiple preset operation grids, the selection matches the operation mode of the target object The default run grid.
  • Different objects have different characteristics such as running speed and mode, so different objects have different running modes, and different running modes directly affect the trajectory prediction, so the target is based on the preset running grid that matches the running mode of the target object Objects can be used for trajectory prediction, which can effectively improve the pertinence and accuracy of prediction.
  • the first preset duration may be determined according to the speed of different objects, the first preset duration corresponding to a faster object may be shorter, and the second preset duration corresponding to a smaller speed object may be longer.
  • the first preset duration may be set to 5s.
  • Each position point in the preset running grid is the reference object with the sample moment as the movement start time, and the movement end point at the future reference time, the target object takes the first moment as the movement start time, and the second moment as the movement end time, The position of the target object at the second moment is the movement end point of the target object.
  • the duration between the sample moment and the future reference moment is equal to the duration between the first moment and the second moment, both of which are the above-mentioned first preset duration.
  • the reference image can be used as a sample to predict the position or running trajectory of the target image.
  • the prediction time interval corresponding to the position point in the preset operation grid that is, the first preset duration
  • the preset operation grid can be used to predict the elapsed prediction time of the target object The position after the interval, and the running trajectory during it.
  • the following steps may be used to determine the target operation sub-grid where the target object is located at the second moment: first, based on the operation information, determine the position information of the target object at the second moment; then, based on The location information determines the target operation sub-grid where the target object is located at the second moment.
  • the step of determining the target running sub-grid in the above steps can be realized by using a pre-trained neural network, as shown in Figure 3, the movement state information of the target object in the running information at the first moment and the target object at the first moment
  • the road condition information of the location is input into the trained neural network, and the neural network processes the input data to determine the target operation sub-grid where the target object is at the second moment, and output the target operation sub-grid identification symbol.
  • the above-mentioned running state information may include information such as the speed, position, and orientation of the target object, and the above-mentioned road condition information may include information such as lane lines and zebra crossing outlines around the target object.
  • the neural network can more accurately determine the location information of the target object at the second moment.
  • the running sub-grid includes the position points of multiple reference objects, and the position points here can be considered as a kind of sample points. According to the position points in the running sub-grid or according to the position of the running sub-grid, combined The position information of the target object at the second moment can more accurately determine the target running sub-grid where the target object is located.
  • the target operation sub-grid includes a plurality of position points. Based on the position information of each position point in the target operation sub-grid, the position information corresponding to the target operation sub-grid can be determined. The position information can be considered as the target object in the second Time-point location information. Afterwards, based on the terminal position information of the target object at the second moment and the running information of the target object at the first moment, the running trajectory of the target object from the first moment to the second moment can be predicted.
  • the coordinate mean value corresponding to each position point may be determined, and the determined coordinate mean value may be used as the position information corresponding to the target operation sub-grid.
  • the center point of the target running sub-grid is calculated, and the position information of the center point is used as the position information corresponding to the target running sub-grid.
  • the destination position information of the target object at the second moment and the running information of the target object at the first moment can be input into a pre-trained neural network, and after processing by the neural network, the target object can be output from the first moment to the The running trajectory between the second moments.
  • the terminal position information of the target object at the second moment can be determined more accurately, and then based on the terminal position information and running information, the target object can be determined more accurately from the first The running trajectory between the second moment and the second moment.
  • the running trajectory of the target object is predicted by using the preset running grid that matches the target object, which can fully consider the characteristics of the target object’s running speed, mode, etc., and improve the pertinence and accuracy of trajectory prediction;
  • Different objects use preset running grids for trajectory prediction, so the scheme in this aspect is generalized, and there is no need to set different models or methods for different objects, making the scheme in this aspect more efficient; at the same time
  • the trajectory prediction is not based on the point set, but the grid is used. Compared with the point set, the dimension of the processed data is reduced. Therefore, the amount of data processed by the solution in this aspect is effectively reduced and the efficiency is improved.
  • the present disclosure also provides a step of generating a matching preset operation grid for a certain operation mode:
  • Reference objects can be cars, pedestrians, etc.
  • a running mode may correspond to a reference object, or may correspond to multiple reference objects.
  • multiple sample moments can be selected by sliding.
  • a future reference time that is a future time relative to the sample time can be determined according to the first preset duration.
  • the position information on the sample trajectory corresponding to the future reference time is used as the sample position information of the reference object.
  • the position point corresponding to the sample position information may be used as the position point of the reference object at the corresponding future reference moment.
  • each location point can be transformed into the same coordinate system and drawn on a picture, and then the area with the location point in the picture is divided to obtain a preset running grid including at least one running sub-grid.
  • a plurality of position points as possible samples can be determined more accurately, and the preset positions matching the operation mode can be generated more accurately by using the position points. Run grid.
  • the above image can also be drawn in combination with the speed of the reference object at each position point. Combined with the speed at each position point, a preset running grid with more comprehensive and rich information can be generated, which in turn helps to improve the accuracy of estimation and prediction.
  • the color of each location point is determined based on the velocity of the corresponding reference object at each location point.
  • a plurality of speed intervals can be set in advance, and the color corresponding to each speed interval can be determined, and then, for each location point, according to the speed of the location point, the speed interval where the location point is located can be determined, and the speed interval The corresponding color is used as the color of the position point.
  • each location point is drawn according to the location information and color of each location point, and a picture including each location point is obtained.
  • the position points on the picture are segmented to obtain a preset running grid including at least one running sub-grid; wherein, the preset conditions At least one of the following is included; the number of location points in any running sub-grid is within a preset value range; the ratio of the location points in the running sub-grid to all the location points is greater than the preset ratio; The speed difference corresponding to different position points in the same running sub-grid is smaller than the preset value.
  • the above condition that the number of location points in any running sub-grid is within a preset value range can make the number of location points in different running sub-grids close to each other without being far apart.
  • the above preset proportion can be set according to the actual application scenario, for example, it can be set to 90%.
  • the preset proportion is set to be relatively large, so that most of the position points are within the preset operating grid, which can be more comprehensive and accurately predict where the target object is located to run the subraster.
  • the speed difference corresponding to different position points in the same running sub-grid is smaller than the preset value, and the position points with the same color or similar colors can be divided into the same running sub-grid. Among them, the positions with similar speeds have similar colors.
  • the preset operating grid in the figure is obtained by segmenting the car as a reference object.
  • the number of position points included in different operating sub-grids 501 in the figure is similar, and the position points with similar colors can be located in the same position. Run within the subgrid.
  • the grid may be fan-shaped, and of course may also be in other shapes, which is not limited in this embodiment of the present disclosure.
  • the speeds of objects in different operating modes are different, so the number of position points included in the operating sub-grids matching different operating modes may be different, that is, the preset value ranges are different.
  • the following steps can be used to determine a The preset value range corresponding to the running sub-grid matching the running mode:
  • Using the preset value range determined by the average speed of the object can make the position of each position point in the same running sub-grid close, and using the same position to represent the position of each position point in the entire running sub-grid will not affect The accuracy of the position. Based on this, a position corresponding to a running sub-grid is used to represent the position of each position point in the running sub-grid. Compared with the point set, in trajectory prediction, the data processing dimension is reduced, which is conducive to prediction Stability postprocessing.
  • the foregoing embodiments can generate a preset operating grid matching the operating mode based on the position information, speed, and preset conditions of each position point, thereby improving the accuracy of trajectory prediction.
  • the modeling method also needs to be conducive to the post-processing of prediction stability, because the object information obtained from the perception system is noisy, and the noise is easy to cause the prediction of the object’s trajectory. "Jitter” (recovery after an unreasonable change in the predicted trajectory), which can negatively affect the comfort and safety of an automated driving system. Therefore, in some embodiments, after the target running sub-grid is determined, it is also necessary to detect whether the target running sub-grid is a dithering sub-grid.
  • the target running sub-grid is a dithering sub-grid
  • the most recently determined non-jittering sub-grid is used as the final target running sub-grid and participates in trajectory prediction
  • the target running sub-grid is a non-jittering sub-grid
  • the following steps can be used to detect whether the target running sub-grid is a dithering sub-grid:
  • a plurality of historical operation sub-grids determined before the target operation sub-grid is determined; a first historical operation sub-grid among the plurality of historical operation sub-grids is a non-jittering sub-grid.
  • the above-mentioned multiple historical operation sub-grids may be a plurality of consecutive target operation sub-grids determined before the target operation sub-grid is determined.
  • the target running sub-grid is a dithering sub-grid.
  • the target running sub-grid is the same sub-grid as the first historical running sub-grid
  • the target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of jittering sub-grids among the multiple historical running sub-grids is greater than a preset number , determine that the target running sub-grid is a non-jittering sub-grid.
  • the target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of dithering sub-grids among the multiple historical running sub-grids is less than or equal to a preset number of In this case, it is determined that the target running sub-grid is a dithering sub-grid.
  • the target running sub-grid is the same sub-grid as the first historical running sub-grid, indicating that the running status of the target object has not changed.
  • the determined target running sub-grid is considered accurate and is a non-jittering sub-grid. grid; when the number of jittering sub-grids in multiple historical running sub-grids is large, it means that the running state of the target object has changed, which is a change of normal motion state, not jittering. is a non-dithered subraster. When the number of jittering sub-grids in multiple historical running sub-grids is small, it means that the running status of the target object has not changed. If the target running sub-grid is not the same sub-grid as the first historical running A raster indicating that the target running subraster is determined to be inaccurate, and the subraster is dithered.
  • the first identified target running subraster is preset to a non-dithered subraster.
  • the following steps can be used to achieve the above-mentioned purpose of determining whether the target operating sub-grid is a dithering sub-grid, and determining the final target operating sub-grid:
  • Step 1 After determining a target running sub-grid, judge whether the queue used to store the identifier of the target running sub-grid is empty; if it is empty, it means that the determined target running sub-grid is the first determined target Run the sub-grid, consider the target running sub-grid to be a non-jittering sub-grid, store the identifier of the target running sub-grid in the queue, and use the target running sub-grid as the final target running sub-grid .
  • Step 2 When the above queue is not empty, judge whether the identifier of the target running subgrid is the same as the first identifier stored in the queue; if they are the same, it indicates that the target running subgrid is the same as the first identifier stored in the queue.
  • the running sub-grid corresponding to the identifier is the same running sub-grid.
  • the target running sub-grid is a non-jittering sub-grid. There is no need to store the identifier of the target running sub-grid in the queue.
  • This target run subraster can be used as the final target run subraster.
  • Step 3 If the identifier of the target running sub-grid is not the same as the first identifier stored in the queue, store the identifier of the target running sub-grid at the end of the queue, and determine the current stored in the queue. Whether the number of identifiers is greater than the given value; if it is not greater than the given value, it indicates that the target operating sub-grid is a jittering sub-grid. At this time, the operating sub-grid corresponding to the first identifier stored in the queue needs to be used as The final goal is to run subrasters.
  • Step 4 The format of the identifier stored in the current queue is greater than the given value, indicating that the motion state of the target object has changed, and the target running sub-grid is a non-jittering sub-grid. Identifiers other than the tail identifier are cleared. At this time, the identifier at the end of the queue becomes the identifier at the head of the queue, and the target running sub-grid is used as the final target running sub-grid.
  • the running sub-grid corresponding to the identifier stored in the queue is the historical running sub-grid in the above embodiment.
  • a plurality of historical operation sub-grids are determined, and it is possible to more accurately determine whether the target operation sub-grid is a jittering sub-grid;
  • taking the first historical operation sub-grid as the final target operation sub-grid can effectively reduce the impact of jitter on the trajectory prediction results.
  • the dimension of data processing is improved, which can reduce the difficulty of post-processing of prediction stability and improve the efficiency of post-processing of prediction stability.
  • the possible future motion end points of the object i.e. the end points of the running track
  • each grid represents a possible running track
  • the future running of the object Trajectories can be modeled as a grid of preset runs.
  • the size and number of grids and the trajectory represented by the grid can be customized according to the characteristics of the motion mode of different objects, so that the predictions of different objects are targeted and help to improve the accuracy of trajectory prediction.
  • the object trajectory prediction task is defined as a grid classification task.
  • a grid can contain multiple possible motion end points, thereby reducing the task dimension of object behavior prediction, helping to suppress the jitter of the predicted trajectory, and improve the stability of the prediction. sex.
  • the stability post-processing of the above-mentioned embodiment is quite simple and direct. It is only necessary to suppress the jitter of the fan-shaped grid classification prediction to stabilize the prediction of the trajectory of the object. Compared with the method of modeling the predicted trajectory with a point set, the post-processing difficulty Relatively smaller.
  • the pre-trajectory prediction of the object is changed to grid prediction, thereby transforming the high-dimensional regression task into a low-dimensional classification task, reducing task difficulty and improving prediction stability.
  • the above embodiments associate the prediction mode with the motion mode of the object while the scheme is generalizable, so that the prediction mode can be adaptively adjusted for different objects, which helps to improve the prediction accuracy.
  • the prediction method in the above embodiment can be well connected with various stability post-processing methods, and the stability of the grid classification prediction can be improved through post-processing, thereby improving the stability of the object trajectory prediction.
  • the embodiment of the present disclosure also provides a trajectory prediction device corresponding to the trajectory prediction method. Since the problem-solving principle of the device in the embodiment of the disclosure is similar to the above-mentioned trajectory method in the embodiment of the disclosure, the implementation of the device can be See method implementation.
  • FIG. 7 it is a schematic diagram of the structure of a trajectory prediction device provided by an embodiment of the present disclosure, including:
  • the information acquiring part 701 is configured to acquire the running information of the target object at the first moment.
  • the positioning preprocessing part 702 is configured to determine a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one A position point of a reference object at multiple future reference moments; the future reference moment is a moment after a first preset time period starting from the sample moment; the reference object has the same operation mode as the target object.
  • the positioning part 703 is configured to determine the target operation sub-grid where the target object is located at a second moment based on the operation information; wherein, the second moment is the first preset time after the first moment later moments;
  • the trajectory prediction part 704 is configured to determine the running trajectory of the target object from the first moment to the second moment based on the target running sub-grid and the running information.
  • the positioning preprocessing part 702 determines the preset operating grid matching the operating mode of the target object, it is configured to:
  • a preset operation grid matching the operation mode of the target object is screened; wherein, different preset operation grids correspond to different operation modes.
  • the positioning part 703 when determining the target operation sub-grid where the target object is located at the second moment based on the operation information, the positioning part 703 is configured to:
  • the running information includes motion state information of the target object at the first moment and road condition information of the location of the target object at the first moment.
  • the information acquiring part 701 when the information acquiring part 701 acquires the running information of the target object at the first moment, it is configured to:
  • the second preset time interval from the first moment is the third moment
  • the running information of the target object at the first moment is determined.
  • the positioning preprocessing part 702 is also configured to generate a matching preset operating grid for any operating mode:
  • a plurality of sample moments corresponding to the sample trajectory are determined, based on the first preset duration, a future reference moment corresponding to each sample moment is determined, and based on the sample trajectory, it is determined that at each future reference moment , the sample position information of the reference object corresponding to the sample trajectory;
  • the positioning preprocessing part 702 is configured to:
  • a preset operating grid matching the operating mode is determined based on each determined position point and the speed of the corresponding reference object at each position point.
  • the positioning preprocessing part 702 determines a preset operating grid matching the operating mode based on each determined position point and the velocity of the corresponding reference object at each position point, it is configured to :
  • the position points on the picture are segmented to obtain a preset running grid including at least one running sub-grid; wherein the preset conditions include the following At least one item; the number of location points in any running sub-grid is within the preset value range; the proportion of the location points in the running sub-grid in all the location points is greater than the preset proportion; the same running The speed difference corresponding to different position points in the sub-grid is smaller than the preset value.
  • the positioning preprocessing part 702 is further configured to determine the preset value range:
  • the preset value range corresponding to the operation mode is determined.
  • the trajectory prediction part 704 when determining the running trajectory of the target object from the first moment to the second moment based on the target running sub-grid and the running information, is configured to :
  • the running trajectory of the target object from the first moment to the second moment is determined.
  • trajectory prediction part 704 determines the target operation sub-grid where the target object is located at the second moment, and determines that the target object is located between the first moment and the second moment Before running the track, it is also configured as:
  • the first historical running sub-grid among the multiple historical running sub-grids is a non-jittering sub-grid
  • the first historical running sub-grid is used as the final target running sub-grid.
  • the trajectory prediction part 704 is further configured to:
  • the determined target operating sub-grid is used as the final target operating sub-grid.
  • the trajectory prediction part 704 is configured to:
  • the target running sub-grid is the same sub-grid as the first historical running sub-grid, it is determined that the target running sub-grid is a non-jittering sub-grid.
  • the trajectory prediction part 704 is configured to:
  • the target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of jittering sub-grids among the multiple historical running sub-grids is greater than a preset number , determine that the target running sub-grid is a non-jittering sub-grid.
  • the trajectory prediction part 704 is further configured to:
  • the target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of dithering sub-grids among the multiple historical running sub-grids is less than or equal to a preset number of In this case, it is determined that the target running sub-grid is a dithering sub-grid.
  • an embodiment of the present disclosure also provides an electronic device.
  • FIG. 8 it is a schematic structural diagram of an electronic device 800 provided by an embodiment of the present disclosure, including a processor 81 , a memory 82 , and a bus 83 .
  • the memory 82 is used to store execution instructions, including a memory 821 and an external memory 822; the memory 821 here is also called an internal memory, and is used to temporarily store calculation data in the processor 81 and exchange data with external memory 822 such as a hard disk.
  • the processor 81 exchanges data with the external memory 822 through the memory 821.
  • the processor 81 communicates with the memory 82 through the bus 83, so that the processor 81 executes the following instructions:
  • the operation information of the target object at the first moment determine the preset operation grid matching the operation mode of the target object; the preset operation grid includes at least one operation sub-grid; the operation sub-grid Including the position point of at least one reference object at a plurality of future reference moments; the future reference moment is a moment after a first preset time period starting from the sample moment; based on the operation information, it is determined that the target object is at The target operation sub-grid at the second moment; wherein, the second moment is the moment after the first preset duration at the first moment; the reference object and the target object have the same operation mode; based on The target running sub-grid and the running information determine the running track of the target object from the first moment to the second moment.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the trajectory prediction method described in the foregoing method embodiments are executed.
  • the storage medium may be a volatile or non-volatile computer-readable storage medium.
  • the computer program product of the trajectory prediction method provided by the embodiments of the present disclosure includes a computer program or an instruction, and when the computer program or instruction is run on a computer, the computer executes the trajectory described in the above method embodiment
  • the steps of the prediction method refer to the above method embodiments.
  • the computer program product can be realized by hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor.
  • the technical solution of the embodiments of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned computer-readable storage medium may be a tangible device capable of retaining and storing instructions used by the instruction execution device, and may be a volatile storage medium or a non-volatile storage medium.
  • a computer readable storage medium may be, for example but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above.
  • Non-exhaustive list of computer-readable storage media include: portable computer disk, hard disk, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), erasable Type programmable read-only memory (Erasable Programmable Read Only Memory, EPROM or flash memory), static random-access memory (Static Random-Access Memory, SRAM), portable compact disk read-only memory (Compact Disk Read Only Memory, CD-ROM) , Digital versatile discs (Digital versatile Disc, DVD), memory sticks, floppy disks, mechanically encoded devices, such as punched cards or raised structures in grooves with instructions stored thereon, and any suitable combination of the foregoing.
  • computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
  • the embodiment of the present disclosure acquires the operation information of the target object at the first moment; determines the preset operation grid matching the operation mode of the target object; the preset operation grid includes at least one operation sub-grid; the The running sub-grid includes the position points of at least one reference object at a plurality of future reference moments; the future reference moment is the moment after the sample moment as a starting point and after a first preset duration; the reference object and the target object Have the same running mode; use the preset running grid that matches the running mode of the target object to predict the running trajectory of the target object, which can fully consider the running speed and mode of the target object, and improve the pertinence and accuracy of trajectory prediction. accuracy.

Abstract

A track prediction method, comprising: obtaining running information of a target object at a first moment; determining a preset running grid matching the running mode of the target object, the preset running grid comprising at least one running sub-grid, the running sub-grid comprising position points of at least one reference object at a plurality of future reference moments, and each future reference moment being a moment after a first preset time period starting from a sample moment; determining, on the basis of the running information, a target running sub-grid where the target object is located at a second moment, the second moment being a moment after the first preset time period from the first moment; and determining a running track of the target object from the first moment to the second moment on the basis of the target running sub-grid and the running information. The track prediction method is quick and simple. Also provided are a track prediction apparatus, an electronic device, and a computer-readable storage medium storing the track prediction method.

Description

轨迹预测方法、装置、电子设备及存储介质Trajectory prediction method, device, electronic equipment and storage medium
相关申请的交叉引用Cross References to Related Applications
本公开基于申请号为202111160491.2、申请日为2021年09月30日、申请名称为“轨迹预测方法、装置、电子设备及存储介质”的中国专利申请提出,并要求上述中国专利申请的优先权,上述中国专利申请的全部内容在此引入本公开作为参考。This disclosure is based on the Chinese patent application with the application number 202111160491.2, the application date is September 30, 2021, and the application name is "trajectory prediction method, device, electronic equipment and storage medium", and claims the priority of the above-mentioned Chinese patent application, The entire contents of the above-mentioned Chinese patent applications are hereby incorporated by reference into this disclosure.
技术领域technical field
本公开涉及预测技术领域,涉及一种轨迹预测方法、装置、电子设备及存储介质。The present disclosure relates to the technical field of prediction, and relates to a trajectory prediction method, device, electronic equipment, and storage medium.
背景技术Background technique
物体行为预测是自动驾驶领域重要的问题,具体可以表述为对自动驾驶系统感知到的物体进行运行轨迹的预测,上述物体包括但不限于汽车、两轮电动车、自行车和行人等。物体行为预测是自动驾驶系统的重要子模块,是自动驾驶系统进行场景理解、行为决策以及运动规划的重要基础。Object behavior prediction is an important issue in the field of automatic driving. Specifically, it can be expressed as the prediction of the running trajectory of the objects perceived by the automatic driving system. The above-mentioned objects include but are not limited to cars, two-wheeled electric vehicles, bicycles, and pedestrians. Object behavior prediction is an important sub-module of the automatic driving system, and it is an important basis for the automatic driving system to perform scene understanding, behavior decision-making and motion planning.
要对物体未来的运行轨迹,进行合理建模是很复杂的。由于不同的物体运行速度、方式等各不相同,因此为了提高预测的针对性和准确性,需要单独为每一类物体定制建模方法,但是这种方式相当低效。Properly modeling the future trajectory of an object is complex. Because different objects run at different speeds and methods, in order to improve the pertinence and accuracy of predictions, it is necessary to customize the modeling method for each type of object, but this method is quite inefficient.
发明内容Contents of the invention
本公开实施例至少提供一种轨迹预测方法、装置、电子设备及存储介质。Embodiments of the present disclosure at least provide a trajectory prediction method, device, electronic equipment, and storage medium.
第一方面,本公开实施例提供了一种轨迹预测方法,所述方法由电子设备执行,所述方法包括:In a first aspect, an embodiment of the present disclosure provides a trajectory prediction method, the method is executed by an electronic device, and the method includes:
获取目标对象在第一时刻的运行信息;Obtain the running information of the target object at the first moment;
确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为起点,经过第一预设时长后的时刻;所述参考对象与所述目标对象具有相同的运行模式;Determining a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one reference object at a plurality of future reference times The position point; the future reference time is the time after the sample time as the starting point, after the first preset duration; the reference object and the target object have the same operation mode;
基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格;其中,所述第二时刻为第一时刻经过所述第一预设时长后的时刻;Based on the operation information, determine the target operation sub-grid where the target object is located at a second moment; wherein, the second moment is a moment after the first preset time period elapses at the first moment;
基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。Based on the target running sub-grid and the running information, the running trajectory of the target object from the first moment to the second moment is determined.
在该实施例中,利用与目标对象的运行模式相匹配的预设运行栅格来预测目标对象的运行轨迹,能够充分考虑目标对象的运行速度、方式等特征,提高了轨迹预测的针对性和准确性;另外,不同的对象均是利用预设 运行栅格这种方式进行轨迹预测,因此该方面的方案具有泛化性,不用针对不同的对象设置不同的模型或方法,使得该方面的方案效率较高;同时,本方面在轨迹预测的时候不是基于点集,而是利用栅格,相对于点集来说处理的数据维度得到降低,因此该方面的方案处理的数据量得到有效减少,效率得到提升。In this embodiment, the running trajectory of the target object is predicted by using the preset running grid that matches the running mode of the target object, which can fully consider the characteristics such as the running speed and mode of the target object, and improve the pertinence and accuracy of trajectory prediction. Accuracy; In addition, different objects use preset running grids for trajectory prediction, so the scheme in this aspect is generalizable, and there is no need to set different models or methods for different objects, making the scheme in this aspect High efficiency; at the same time, this aspect is not based on the point set when predicting the trajectory, but uses the grid. Compared with the point set, the dimension of the processed data is reduced, so the amount of data processed by the solution in this aspect is effectively reduced. Efficiency is improved.
第二方面,本公开实施例还提供一种轨迹预测装置,包括:In the second aspect, the embodiment of the present disclosure also provides a trajectory prediction device, including:
信息获取部分,被配置为获取目标对象在第一时刻的运行信息;The information acquisition part is configured to acquire the operation information of the target object at the first moment;
定位预处理部分,被配置为确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为起点,经过第一预设时长后的时刻;所述参考对象与所述目标对象具有相同的运行模式;The positioning preprocessing part is configured to determine a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one The position points of the reference object at a plurality of future reference moments; the future reference moment is the moment after the first preset time period starting from the sample moment; the reference object has the same operating mode as the target object;
定位部分,被配置为基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格;其中,所述第二时刻为第一时刻经过所述第一预设时长后的时刻;The positioning part is configured to determine the target operation sub-grid where the target object is located at a second moment based on the operation information; wherein, the second moment is after the first preset time period elapses at the first moment moment;
轨迹预测部分,被配置为基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。The trajectory prediction part is configured to determine the trajectory of the target object from the first moment to the second moment based on the target operation sub-grid and the operation information.
第三方面,本公开实施例还提供一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a third aspect, an embodiment of the present disclosure further provides an electronic device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processing The processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any possible implementation manner of the first aspect are executed.
第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fourth aspect, embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned first aspect, or any of the first aspects of the first aspect, may be executed. Steps in one possible implementation.
第五方面,本公开实施例还提供了一种计算机程序产品,计算机程序产品包括计算机程序或指令,在所述计算机程序或指令在计算机上运行的情况下,使得所述计算机执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In the fifth aspect, an embodiment of the present disclosure further provides a computer program product, the computer program product includes a computer program or instruction, and when the computer program or instruction is run on a computer, the computer executes the above-mentioned first aspect , or a step in any possible implementation manner in the first aspect.
关于上述轨迹预测装置、电子设备、及计算机可读存储介质的效果描述参见上述图像处理方法的说明。For the effect description of the above-mentioned trajectory prediction device, electronic equipment, and computer-readable storage medium, refer to the description of the above-mentioned image processing method.
为使本公开实施例的上述目的、特征和优点能更明显易懂,下文特举实施例,并配合所附附图,作详细说明如下。In order to make the above objects, features and advantages of the embodiments of the present disclosure more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于 说明本公开实施例的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the embodiments. The accompanying drawings here are incorporated into the specification and constitute a part of the specification. The drawings show embodiments consistent with the present disclosure, and are used together with the specification to illustrate the technical solutions of the embodiments of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. For those skilled in the art, they can also make From these drawings other related drawings are obtained.
图1示出了本公开实施例所提供的一种轨迹预测方法的流程图;FIG. 1 shows a flowchart of a trajectory prediction method provided by an embodiment of the present disclosure;
图2示出了本公开实施例所提供的路况信息的示意图;Fig. 2 shows a schematic diagram of road condition information provided by an embodiment of the present disclosure;
图3示出了本公开实施例所提供的确定目标运行子栅格的流程图;Fig. 3 shows a flow chart of determining a target running sub-grid provided by an embodiment of the present disclosure;
图4示出了本公开实施例所提供的为某一运行模式生成相匹配的预设运行栅格的流程图;FIG. 4 shows a flow chart of generating a matching preset operation grid for a certain operation mode provided by an embodiment of the present disclosure;
图5示出了本公开实施例所提供的预设运行栅格的示意图;FIG. 5 shows a schematic diagram of a preset running grid provided by an embodiment of the present disclosure;
图6示出了本公开实施例所提供的判定抖动子栅格的流程图;FIG. 6 shows a flow chart of determining a dithering sub-grid provided by an embodiment of the present disclosure;
图7示出了本公开实施例所提供的一种轨迹预测装置的示意图;Fig. 7 shows a schematic diagram of a trajectory prediction device provided by an embodiment of the present disclosure;
图8示出了本公开实施例所提供的一种电子设备的示意图。Fig. 8 shows a schematic diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only It is a part of the embodiments of the present disclosure, but not all of them. The components of the disclosed embodiments generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative effort shall fall within the protection scope of the present disclosure.
经研究发现,在进行轨迹预测时,合理建模是很复杂,模型的泛化性、针对不同运行模式的特异性以及预测稳定性后处理很难兼顾,造成当前轨迹预测存在准确度和效率低下、稳定性差的缺陷。After research, it is found that when performing trajectory prediction, reasonable modeling is very complicated, and it is difficult to balance the generalization of the model, the specificity for different operating modes, and the post-processing of prediction stability, resulting in the current trajectory prediction accuracy and low efficiency. , The defect of poor stability.
以上缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开实施例针对上述问题所提出的解决方案,都应该是发明人在本公开实施例过程中对本公开实施例做出的贡献。The above defects are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the embodiments of the present disclosure below should be the results of the inventor's work in this disclosure. Contributions made to the embodiments of the present disclosure during the embodiments.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
针对上述技术问题,本公开提供了一种轨迹预测方法、装置、电子设备及存储介质,本公开利用与目标对象的运行模式相匹配的预设运行栅格来预测目标对象的运行轨迹,能够充分考虑目标对象的运行速度、方式等特征,提高了轨迹预测的针对性和准确性;另外,不同的对象均是利用预设运行栅格这种方式进行轨迹预测,因此该方面的方案具有泛化性,不用针对不同的对象设置不同的模型或方法,使得该方面的方案效率较高;同 时,本公开在轨迹预测的时候不是基于点集,而是利用栅格,相对于点集来说处理的数据维度得到降低,因此该方面的方案处理的数据量得到有效减少,效率得到提升。In view of the above technical problems, the present disclosure provides a trajectory prediction method, device, electronic equipment, and storage medium. The disclosure utilizes a preset operating grid that matches the operating mode of the target object to predict the operating trajectory of the target object, which can fully Considering the characteristics of the target object's running speed and mode, the pertinence and accuracy of trajectory prediction are improved; in addition, different objects use the preset running grid for trajectory prediction, so the scheme in this aspect has generalization In addition, there is no need to set different models or methods for different objects, so that the solution in this aspect is more efficient; at the same time, the present disclosure is not based on point sets when predicting trajectory, but uses grids, which are processed relative to point sets The data dimension of is reduced, so the amount of data processed by the solution in this aspect is effectively reduced and the efficiency is improved.
下面以执行主体为具有计算能够的设备为例对本公开实施例提供的轨迹预测方法加以说明。The trajectory prediction method provided by the embodiments of the present disclosure will be described below by taking the executing subject as a device capable of computing as an example.
如图1所示,本公开实施例提供了一种轨迹预测方法,该方法可以包括如下步骤:As shown in Figure 1, the embodiment of the present disclosure provides a trajectory prediction method, which may include the following steps:
S110、获取目标对象在第一时刻的运行信息。S110. Obtain running information of the target object at the first moment.
上述目标对象即为需要进行轨迹预测的对象。运行信息可以包括目标对象在第一时刻所处位置的路况信息和所述目标对象在从第一时刻开始往前推一段时间之内的运动状态信息。The above-mentioned target object is the object that needs trajectory prediction. The running information may include road condition information of the location of the target object at the first moment and movement state information of the target object within a period of time from the first moment.
如图2所示,上述路况信息可以包括目标对象周围的车道线201、斑马线轮廓202、路口轮廓203等信息。上述路况信息可以以图片的形式存在。As shown in FIG. 2 , the above road condition information may include lane lines 201 around the target object, zebra crossing outline 202 , intersection outline 203 and other information. The above road condition information may exist in the form of pictures.
上述运动状态信息可以包括目标对象在一段时间之内的位置、速度、朝向等信息。例如,在第一时刻为当前时刻、上述一段时间为3s时,运动状态信息包括目标对象在过去3s内的位置、速度、朝向等信息。The above-mentioned motion state information may include information such as the position, speed, and orientation of the target object within a period of time. For example, when the first moment is the current moment and the aforementioned period of time is 3s, the motion state information includes information such as the position, speed, and orientation of the target object in the past 3s.
示例性地,目标对象的位置记为(x,y),朝向记为heading,速度记为speed,每间隔0.2s取最近的历史16帧数据,每行记录一帧对应的运动状态信息,那么得到16×4的矩阵,该矩阵即为3s内的运动状态信息。For example, the position of the target object is recorded as (x, y), the heading is recorded as heading, and the speed is recorded as speed. The latest historical 16-frame data is taken every 0.2s, and each row records the corresponding motion state information of one frame. Then A 16×4 matrix is obtained, which is the motion state information within 3s.
示例性地,可以利用如下步骤获取目标对象在第一时刻的运行信息:Exemplarily, the following steps can be used to obtain the running information of the target object at the first moment:
首先,确定从第一时刻开始,向前经过第二预设时长的时刻,得到第三时刻;之后,获取所述目标对象从所述第三时刻到所述第一时刻之间的运动状态信息,并将获取的所述运行状态信息,作为目标对象的在所述第一时刻的运动状态信息;最后,基于所述目标对象的在所述第一时刻的运动状态信息和目标对象在第一时刻所处位置的路况信息,确定所述目标对象在所述第一时刻的运行信息。Firstly, it is determined that starting from the first moment, the moment of the second preset duration is passed forward to obtain the third moment; after that, acquiring the motion state information of the target object from the third moment to the first moment , and use the acquired running state information as the motion state information of the target object at the first moment; finally, based on the motion state information of the target object at the first moment and the target object at the first The road condition information of the location at the time is used to determine the running information of the target object at the first time.
这里,可以直接将目标对象的在所述第一时刻的运动状态信息和目标对象在第一时刻所处位置的路况信息,作为目标对象在所述第一时刻的运行信息。Here, the motion state information of the target object at the first moment and the road condition information of the location of the target object at the first moment may be directly used as the running information of the target object at the first moment.
上述第三时刻早于第一时刻,将第三时刻到第一时刻之间的运动状态信息,作为目标对象在所述第一时刻的运动状态信息来进行轨迹预测,不仅能够增加参与轨迹预测的信息量,提高轨迹预测的准确性,并且第三时刻到第一时刻这一段时间内的运行状态信息能够在一定程度上反应目标对象的运行规律,利用第三时刻到第一时刻这一段时间内的运行状态信息来进行轨迹预测,能够进一步提高轨迹预测的准确性。The above-mentioned third moment is earlier than the first moment, and the motion state information between the third moment and the first moment is used as the motion state information of the target object at the first moment for trajectory prediction, which can not only increase the number of participants in trajectory prediction The amount of information can improve the accuracy of trajectory prediction, and the operating status information during the period from the third moment to the first moment can reflect the operation law of the target object to a certain extent. The trajectory prediction can further improve the accuracy of trajectory prediction.
S120、确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为 起点,经过第一预设时长后的时刻。其中,所述参考对象与所述目标对象具有相同的运行模式。S120. Determine a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one reference object in multiple futures The position point of the reference time; the future reference time is the time after the first preset time period starting from the sample time. Wherein, the reference object and the target object have the same running mode.
在执行此步骤之前预先设置有多种预设运行栅格,不同的预设运行栅格对应不同的运行模式。一种预设运行栅格可以对应至少一种运行模式,一种运行模式可以对应至少一种类型的对象。不同类型的对象的运行模式可以不同,例如,汽车具有转弯半径,行人没有转弯半径,可自由转弯。Before this step is performed, a variety of preset operating grids are preset, and different preset operating grids correspond to different operating modes. A preset operation grid may correspond to at least one operation mode, and one operation mode may correspond to at least one type of object. The operating modes of different types of objects can be different, for example, a car has a turning radius, and a pedestrian has no turning radius and can turn freely.
上述参考对象与所述目标对象为具有相同的运行模式的对象,因此可以利用由参考对象对应的位置点形成预设运行栅格来预测目标对象的位置信息以及运行轨迹。The above-mentioned reference object and the target object have the same operation mode, so the location points corresponding to the reference object can be used to form a preset operation grid to predict the location information and operation trajectory of the target object.
基于上面的描述可知,执行此步骤时可以先确定所述目标对象的运行模式以及获取多个预设运行栅格;之后从多个预设运行栅格中,筛选与目标对象的运行模式相匹配的预设运行栅格。Based on the above description, it can be seen that when performing this step, the operation mode of the target object can be determined first and multiple preset operation grids can be obtained; and then from the multiple preset operation grids, the selection matches the operation mode of the target object The default run grid.
不同对象的运行速度、方式等特征不同,因此不同的对象具有不同的运行模式,不同的运行模式直接影响轨迹预测,因此基于与目标对象的运行模式选择相匹配的预设运行栅格来为目标对象来进行轨迹预测,能够有效提高预测的针对性和准确性。Different objects have different characteristics such as running speed and mode, so different objects have different running modes, and different running modes directly affect the trajectory prediction, so the target is based on the preset running grid that matches the running mode of the target object Objects can be used for trajectory prediction, which can effectively improve the pertinence and accuracy of prediction.
第一预设时长可以根据不同的对象的速度来确定,速度较大的对象对应的第一预设时长可以较短,速度较小的对象对应的第二预设时长可以较长。示例性地,在目标对象为汽车时,第一预设时长可以设置为5s。The first preset duration may be determined according to the speed of different objects, the first preset duration corresponding to a faster object may be shorter, and the second preset duration corresponding to a smaller speed object may be longer. Exemplarily, when the target object is a car, the first preset duration may be set to 5s.
S130、基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格;其中,所述第二时刻为第一时刻经过所述第一预设时长后的时刻。S130. Based on the operation information, determine the target operation sub-grid where the target object is located at a second moment; wherein, the second moment is a time after the first preset time period elapses from the first moment.
预设运行栅格中各个位置点是参考对象以样本时刻为运动起始时间,在未来参考时刻时的运动终点,目标对象以第一时刻为运动起始时间,第二时刻为运动终止时间,目标对象在第二时刻所处的位置为目标对象的运动终点。样本时刻与未来参考时刻之间的时长,与第一时刻与第二时刻之间的时长相等,均为上述第一预设时长。Each position point in the preset running grid is the reference object with the sample moment as the movement start time, and the movement end point at the future reference time, the target object takes the first moment as the movement start time, and the second moment as the movement end time, The position of the target object at the second moment is the movement end point of the target object. The duration between the sample moment and the future reference moment is equal to the duration between the first moment and the second moment, both of which are the above-mentioned first preset duration.
由于目标对象和参考对象的运行模式相同,因此可以将参考图像作为样本来预测目标图像的位置或运行轨迹。同时,由于预设运行栅格中位置点对应的预测时间间隔(即上述第一预设时长)与目标对象对应的预测时间间隔相等,因此可以利用预设运行栅格来预测目标对象经过预测时间间隔之后的位置,以及期间的运行轨迹。Since the running modes of the target object and the reference object are the same, the reference image can be used as a sample to predict the position or running trajectory of the target image. At the same time, since the prediction time interval corresponding to the position point in the preset operation grid (that is, the first preset duration) is equal to the prediction time interval corresponding to the target object, the preset operation grid can be used to predict the elapsed prediction time of the target object The position after the interval, and the running trajectory during it.
示例性地,可以利用如下步骤确定目标对象在第二时刻所处的目标运行子栅格:首先,基于所述运行信息,确定所述目标对象在所述第二时刻的位置信息;之后,基于所述位置信息,确定所述目标对象在所述第二时刻所处的目标运行子栅格。Exemplarily, the following steps may be used to determine the target operation sub-grid where the target object is located at the second moment: first, based on the operation information, determine the position information of the target object at the second moment; then, based on The location information determines the target operation sub-grid where the target object is located at the second moment.
上述步骤确定目标运行子栅格的步骤可以利用预先训练好的神经网络来实现,如图3所示,将运行信息中的目标对象的在第一时刻的运动状态 信息和目标对象在第一时刻所处位置的路况信息输入训练好的神经网络中,神经网络对输入的数据进行处理,确定目标对象在所述第二时刻所处的目标运行子栅格,并输出目标运行子栅格的标识符。The step of determining the target running sub-grid in the above steps can be realized by using a pre-trained neural network, as shown in Figure 3, the movement state information of the target object in the running information at the first moment and the target object at the first moment The road condition information of the location is input into the trained neural network, and the neural network processes the input data to determine the target operation sub-grid where the target object is at the second moment, and output the target operation sub-grid identification symbol.
上述运行状态信息可以包括目标对象的速度、位置、朝向等信息,上述路况信息可以包括目标对象周围的车道线、斑马线轮廓等信息,因此根据目标对象在第一时刻的运动状态信息和所处位置的路况信息,神经网络能够较为准确的确定目标对象在所述第二时刻的位置信息。根据上述实施例可知运行子栅格包括多个参考对象的位置点,这里的位置点可以认为是一种样本点,根据运行子栅格中的位置点或者根据运行子栅格的位置,再结合目标对象在第二时刻的位置信息,就能够较为准确的确定目标对象所处的目标运行子栅格。The above-mentioned running state information may include information such as the speed, position, and orientation of the target object, and the above-mentioned road condition information may include information such as lane lines and zebra crossing outlines around the target object. The neural network can more accurately determine the location information of the target object at the second moment. According to the above-mentioned embodiment, it can be seen that the running sub-grid includes the position points of multiple reference objects, and the position points here can be considered as a kind of sample points. According to the position points in the running sub-grid or according to the position of the running sub-grid, combined The position information of the target object at the second moment can more accurately determine the target running sub-grid where the target object is located.
S140、基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。S140. Based on the target running sub-grid and the running information, determine the running trajectory of the target object from the first moment to the second moment.
目标运行子栅格中包括多个位置点,基于目标运行子栅格中各个位置点的位置信息,可以确定该目标运行子栅格对应的位置信息,该位置信息可以认为是目标对象在第二时刻的终点位置信息。之后,基于目标对象在第二时刻的终点位置信息和目标对象在第一时刻的运行信息,能够预测得到目标对象从第一时刻到所述第二时刻之间的运行轨迹。The target operation sub-grid includes a plurality of position points. Based on the position information of each position point in the target operation sub-grid, the position information corresponding to the target operation sub-grid can be determined. The position information can be considered as the target object in the second Time-point location information. Afterwards, based on the terminal position information of the target object at the second moment and the running information of the target object at the first moment, the running trajectory of the target object from the first moment to the second moment can be predicted.
示例性地,可以根据目标运行子栅格中各个位置点的位置信息,确定各个位置点对应的坐标均值,并将确定的坐标均值作为该目标运行子栅格对应的位置信息。或者,计算目标运行子栅格的中心点,并将中心点的位置信息作为该目标运行子栅格对应的位置信息。Exemplarily, according to the position information of each position point in the target operation sub-grid, the coordinate mean value corresponding to each position point may be determined, and the determined coordinate mean value may be used as the position information corresponding to the target operation sub-grid. Alternatively, the center point of the target running sub-grid is calculated, and the position information of the center point is used as the position information corresponding to the target running sub-grid.
示例性地,可以将目标对象在第二时刻的终点位置信息和目标对象在第一时刻的运行信息输入预先训练好的神经网络,经过神经网络的处理,输出目标对象从第一时刻到所述第二时刻之间的运行轨迹。Exemplarily, the destination position information of the target object at the second moment and the running information of the target object at the first moment can be input into a pre-trained neural network, and after processing by the neural network, the target object can be output from the first moment to the The running trajectory between the second moments.
基于目标运行子栅格中各个位置点的位置信息,能够较为准确的确定目标对象在第二时刻的终点位置信息,之后基于终点位置信息和运行信息,能够较为准确地确定目标对象从第一时刻到所述第二时刻之间的运行轨迹。Based on the position information of each position point in the target running sub-grid, the terminal position information of the target object at the second moment can be determined more accurately, and then based on the terminal position information and running information, the target object can be determined more accurately from the first The running trajectory between the second moment and the second moment.
上述实施例,利用与目标对象相匹配的预设运行栅格来预测目标对象的运行轨迹,能够充分考虑目标对象的运行速度、方式等特征,提高了轨迹预测的针对性和准确性;另外,不同的对象均是利用预设运行栅格这种方式进行轨迹预测,因此该方面的方案具有泛化性,不用针对不同的对象设置不同的模型或方法,使得该方面的方案效率较高;同时,本方面在轨迹预测的时候不是基于点集,而是利用栅格,相对于点集来说处理的数据维度得到降低,因此该方面的方案处理的数据量得到有效减少,效率得到提升。In the above-mentioned embodiment, the running trajectory of the target object is predicted by using the preset running grid that matches the target object, which can fully consider the characteristics of the target object’s running speed, mode, etc., and improve the pertinence and accuracy of trajectory prediction; in addition, Different objects use preset running grids for trajectory prediction, so the scheme in this aspect is generalized, and there is no need to set different models or methods for different objects, making the scheme in this aspect more efficient; at the same time In this aspect, the trajectory prediction is not based on the point set, but the grid is used. Compared with the point set, the dimension of the processed data is reduced. Therefore, the amount of data processed by the solution in this aspect is effectively reduced and the efficiency is improved.
在一些实施例中,如图4所示,本公开还提供了一种为某一运行模式 生成相匹配的预设运行栅格的步骤:In some embodiments, as shown in Figure 4, the present disclosure also provides a step of generating a matching preset operation grid for a certain operation mode:
S410、获取具有该运行模式的多个参考对象中,每个参考对象的样本轨迹。S410. Obtain a sample trajectory of each reference object among the multiple reference objects having the operation mode.
上述样本轨迹是参考对象的真实运行轨迹,可以利用感知系统录制不同场景下的参考对象的运行轨迹。参考对象可以是汽车、行人等。The above sample trajectories are the real running trajectories of the reference objects, and the perception system can be used to record the running trajectories of the reference objects in different scenarios. Reference objects can be cars, pedestrians, etc.
一种运行模式可以对应一种参考对象,也可以对应多种参考对象。A running mode may correspond to a reference object, or may correspond to multiple reference objects.
S420、针对每个样本轨迹,确定该样本轨迹对应的多个样本时刻,基于所述第一预设时长,确定每个样本时刻对应的未来参考时刻,并基于该样本轨迹,确定在每个未来参考时刻,该样本轨迹对应的参考对象的样本位置信息。S420. For each sample trajectory, determine a plurality of sample moments corresponding to the sample trajectory, determine a future reference moment corresponding to each sample moment based on the first preset duration, and determine a reference time in each future based on the sample trajectory At the reference moment, the sample position information of the reference object corresponding to the sample track.
对于某一个样本轨迹,可以采用滑动的方式选取多个样本时刻。在选取了样本时刻之后,根据第一预设时长,可以确定相对于样本时刻为未来时刻的未来参考时刻。在确定了未来参考时刻之后,将样本轨迹上与未来参考时刻对应的位置信息,作为参考对象的样本位置信息。For a certain sample trajectory, multiple sample moments can be selected by sliding. After the sample time is selected, a future reference time that is a future time relative to the sample time can be determined according to the first preset duration. After the future reference time is determined, the position information on the sample trajectory corresponding to the future reference time is used as the sample position information of the reference object.
S430、基于确定的样本位置信息,确定每个参考对象在对应的每个未来参考时刻的位置点。S430. Based on the determined sample position information, determine the position point of each reference object at each corresponding future reference moment.
示例性地,可以将样本位置信息对应的位置点,作为参考对象在对应的未来参考时刻的位置点。Exemplarily, the position point corresponding to the sample position information may be used as the position point of the reference object at the corresponding future reference moment.
S440、基于确定的各个位置点,生成与该运行模式相匹配的预设运行栅格。S440. Based on each determined location point, generate a preset operation grid matching the operation mode.
示例性地,可以将各个位置点转换到同一坐标系下,并绘制在一个图片上,之后对图片中有位置点的区域进行分割,得到包括至少一个运行子栅格的预设运行栅格。Exemplarily, each location point can be transformed into the same coordinate system and drawn on a picture, and then the area with the location point in the picture is divided to obtain a preset running grid including at least one running sub-grid.
在该实施例中,利用具有该运行模式的参考对象的样本轨迹,能够较为准确的确定多个作为可以样本的位置点,利用该位置点能够较为准确的生成与该运行模式相匹配的预设运行栅格。In this embodiment, using the sample trajectory of the reference object with the operation mode, a plurality of position points as possible samples can be determined more accurately, and the preset positions matching the operation mode can be generated more accurately by using the position points. Run grid.
在一些实施例中,还可以结合参考对象在各个位置点的速度,绘制上述图像。结合各个位置点处的速度,能够生成信息量更为全面和丰富的预设运行栅格,继而,有利于提高估计预测的准确性。In some embodiments, the above image can also be drawn in combination with the speed of the reference object at each position point. Combined with the speed at each position point, a preset running grid with more comprehensive and rich information can be generated, which in turn helps to improve the accuracy of estimation and prediction.
示例性,可以利用如下步骤结合速度生成与某一运行模式相匹配的预设运行栅格:Exemplarily, the following steps can be used to combine the speed to generate a preset running grid matching a certain running mode:
首先,基于对应的参考对象在各个位置点处的速度,确定各个位置点的颜色。First, the color of each location point is determined based on the velocity of the corresponding reference object at each location point.
示例性地,可以预先设置多个速度区间,并确定每个速度区间对应的颜色,之后,针对每个位置点,根据该位置点的速度,确定该位置点所在的速度区间,并将速度区间对应的颜色作为该位置点的颜色。Exemplarily, a plurality of speed intervals can be set in advance, and the color corresponding to each speed interval can be determined, and then, for each location point, according to the speed of the location point, the speed interval where the location point is located can be determined, and the speed interval The corresponding color is used as the color of the position point.
之后,基于各个位置点的位置信息和颜色,生成包括各个位置点的图片。Afterwards, based on the position information and the color of each position point, a picture including each position point is generated.
示例性,按照每个位置点的位置信息和颜色,绘制各个位置点,得到包括各个位置点的图片。Exemplarily, each location point is drawn according to the location information and color of each location point, and a picture including each location point is obtained.
最后,基于各个位置点的颜色和位置信息,按照预设条件,对所述图片上的位置点进行分割,得到包括至少一个运行子栅格的预设运行栅格;其中,所述预设条件包括以下至少一项;任一运行子栅格中的位置点的数量在预设数值范围内;位于所述运行子栅格中的位置点在所有位置点中的占比大于预设占比;同一运行子栅格中的不同位置点对应的速度的差值小于预设值。Finally, based on the color and position information of each position point, according to preset conditions, the position points on the picture are segmented to obtain a preset running grid including at least one running sub-grid; wherein, the preset conditions At least one of the following is included; the number of location points in any running sub-grid is within a preset value range; the ratio of the location points in the running sub-grid to all the location points is greater than the preset ratio; The speed difference corresponding to different position points in the same running sub-grid is smaller than the preset value.
上述任一运行子栅格中的位置点的数量在预设数值范围内的条件能够使得不同运行子栅格中的位置点的数量相近,不会相差很远。上述预设占比可以根据实际应用场景设置,例如可以设置为90%,该预设占比设置的较大,用于使得绝大部分的位置点在预设运行栅格内,这样可以较为全面和准确的预测目标对象所在的目标运行子栅格。同一运行子栅格中的不同位置点对应的速度的差值小于预设值,可以将相同颜色或颜色相近的位置点划分到同一运行子栅格内。其中,速度相近的位置点颜色也相近。The above condition that the number of location points in any running sub-grid is within a preset value range can make the number of location points in different running sub-grids close to each other without being far apart. The above preset proportion can be set according to the actual application scenario, for example, it can be set to 90%. The preset proportion is set to be relatively large, so that most of the position points are within the preset operating grid, which can be more comprehensive and accurately predict where the target object is located to run the subraster. The speed difference corresponding to different position points in the same running sub-grid is smaller than the preset value, and the position points with the same color or similar colors can be divided into the same running sub-grid. Among them, the positions with similar speeds have similar colors.
如图5所示,图中的预设运行栅格为以汽车作为参考对象分割得到的,图中不同的运行子栅格501中包括的位置点数量相近,并且颜色相近的位置点可以位于同一运行子栅格内。栅格可以是扇形的,当然也可以是其他形状,本公开实施例不做限定。As shown in Figure 5, the preset operating grid in the figure is obtained by segmenting the car as a reference object. The number of position points included in different operating sub-grids 501 in the figure is similar, and the position points with similar colors can be located in the same position. Run within the subgrid. The grid may be fan-shaped, and of course may also be in other shapes, which is not limited in this embodiment of the present disclosure.
不同运行模式的对象速度不同,因此与不同运行模式相匹配的运行子栅格内包括的位置点的数量可以不相同,即预设数值范围不同,示例性地,可以利用如下步骤确定与某一运行模式相匹配的运行子栅格对应的预设数值范围:The speeds of objects in different operating modes are different, so the number of position points included in the operating sub-grids matching different operating modes may be different, that is, the preset value ranges are different. For example, the following steps can be used to determine a The preset value range corresponding to the running sub-grid matching the running mode:
确定该运行模式对应的对象平均速度;基于所述对象平均速度,确定该运行模式对应的所述预设数值范围。Determine the average speed of the object corresponding to the operation mode; and determine the preset value range corresponding to the operation mode based on the average speed of the object.
利用对象平均速度确定的预设数值范围,能够使得位于同一个运行子栅格中的各个位置点的位置相近,用同一个位置来代表整个运行子栅格中的各个位置点的位置不会影响位置的精度。基于此,用某个运行子栅格对应的一个位置代表运行子栅格中的各个位置点的位置,相比较于点集来说,在轨迹预测中,降低了数据处理维度,有利于进行预测稳定性后处理。Using the preset value range determined by the average speed of the object can make the position of each position point in the same running sub-grid close, and using the same position to represent the position of each position point in the entire running sub-grid will not affect The accuracy of the position. Based on this, a position corresponding to a running sub-grid is used to represent the position of each position point in the running sub-grid. Compared with the point set, in trajectory prediction, the data processing dimension is reduced, which is conducive to prediction Stability postprocessing.
上述实施例基于各个位置点的位置信息、速度以及预设条件,能够生成与该运行模式相匹配的预设运行栅格,从而能够提高轨迹预测的准确性。The foregoing embodiments can generate a preset operating grid matching the operating mode based on the position information, speed, and preset conditions of each position point, thereby improving the accuracy of trajectory prediction.
由于在确定目标运行子栅格的过程中可能发生抖动,建模方式还需要有利于进行预测稳定性后处理,因为从感知系统获取的物体信息是具有噪声的,噪声容易造成物体预测运行轨迹的“抖动”(预测轨迹发生不合理变化后又恢复),这种抖动会对自动驾驶系统的舒适性和安全性造成负面影响。因此,在一些实施例中在确定了目标运行子栅格之后,还需要检测目标运行子栅格是否为抖动子栅格。在目标运行子栅格为抖动子栅格的情况 下,将最近确定的非抖动子栅格作为最终的目标运行子栅格,并参与轨迹预测,在目标运行子栅格为非抖动子栅格的情况下,将该目标运行子栅格作为最终的目标运行子栅格,并参与轨迹预测。Since jitter may occur in the process of determining the target running sub-grid, the modeling method also needs to be conducive to the post-processing of prediction stability, because the object information obtained from the perception system is noisy, and the noise is easy to cause the prediction of the object’s trajectory. "Jitter" (recovery after an unreasonable change in the predicted trajectory), which can negatively affect the comfort and safety of an automated driving system. Therefore, in some embodiments, after the target running sub-grid is determined, it is also necessary to detect whether the target running sub-grid is a dithering sub-grid. When the target running sub-grid is a dithering sub-grid, the most recently determined non-jittering sub-grid is used as the final target running sub-grid and participates in trajectory prediction, and the target running sub-grid is a non-jittering sub-grid In the case of , take the target running sub-grid as the final target running sub-grid and participate in trajectory prediction.
示例性地,可以利用如下步骤检测目标运行子栅格是否为抖动子栅格:Exemplarily, the following steps can be used to detect whether the target running sub-grid is a dithering sub-grid:
首先,获取在确定所述目标运行子栅格之前,确定的多个历史运行子栅格;所述多个历史运行子栅格中的第一个历史运行子栅格为非抖动子栅格。Firstly, a plurality of historical operation sub-grids determined before the target operation sub-grid is determined; a first historical operation sub-grid among the plurality of historical operation sub-grids is a non-jittering sub-grid.
上述多个历史运行子栅格可以是在确定目标运行子栅格之前,确定多个连续的目标运行子栅格。The above-mentioned multiple historical operation sub-grids may be a plurality of consecutive target operation sub-grids determined before the target operation sub-grid is determined.
之后,基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格。Afterwards, based on the plurality of historical running sub-grids, it is determined whether the target running sub-grid is a dithering sub-grid.
示例性地,在所述目标运行子栅格与所述第一个历史运行子栅格为同一个子栅格的情况下,确定所述目标运行子栅格为非抖动子栅格。在所述目标运行子栅格与所述第一个历史运行子栅格不为同一个子栅格,并且所述多个历史运行子栅格中抖动子栅格的数量大于预设数量的情况下,确定所述目标运行子栅格为非抖动子栅格。在所述目标运行子栅格与所述第一个历史运行子栅格不为同一个子栅格,并且所述多个历史运行子栅格中抖动子栅格的数量小于或等于预设数量的情况下,确定所述目标运行子栅格为抖动子栅格。Exemplarily, in a case where the target running sub-grid is the same sub-grid as the first historical running sub-grid, it is determined that the target running sub-grid is a non-jittering sub-grid. When the target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of jittering sub-grids among the multiple historical running sub-grids is greater than a preset number , determine that the target running sub-grid is a non-jittering sub-grid. The target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of dithering sub-grids among the multiple historical running sub-grids is less than or equal to a preset number of In this case, it is determined that the target running sub-grid is a dithering sub-grid.
目标运行子栅格与第一个历史运行子栅格为同一个子栅格,表明目标对象的运行状态并未发生改变,此时确定的目标运行子栅格认为是准确的,为非抖动子栅格;在多个历史运行子栅格中抖动子栅格的数量较多时,说明目标对象的运行状态发生了改变,这是正常的运动状态的变更,并非抖动,此时认为目标运行子栅格为非抖动子栅格。在多个历史运行子栅格中抖动子栅格的数量较少时,说明目标对象的运行状态未发生改变,此时若目标运行子栅格与第一个历史运行子栅格不为同一个子栅格,说明确定的目标运行子栅格是不准确的,为抖动子栅格。The target running sub-grid is the same sub-grid as the first historical running sub-grid, indicating that the running status of the target object has not changed. At this time, the determined target running sub-grid is considered accurate and is a non-jittering sub-grid. grid; when the number of jittering sub-grids in multiple historical running sub-grids is large, it means that the running state of the target object has changed, which is a change of normal motion state, not jittering. is a non-dithered subraster. When the number of jittering sub-grids in multiple historical running sub-grids is small, it means that the running status of the target object has not changed. If the target running sub-grid is not the same sub-grid as the first historical running A raster indicating that the target running subraster is determined to be inaccurate, and the subraster is dithered.
第一个确定的目标运行子栅格预设为非抖动子栅格。The first identified target running subraster is preset to a non-dithered subraster.
如图6所示,在一些实施例中,可以利用如下步骤实现上述判定目标运行子栅格是否为抖动子栅格,以及确定最终的目标运行子栅格的目的:As shown in FIG. 6 , in some embodiments, the following steps can be used to achieve the above-mentioned purpose of determining whether the target operating sub-grid is a dithering sub-grid, and determining the final target operating sub-grid:
步骤一、在确定一个目标运行子栅格之后,判断用于存储目标运行子栅格的标识符的队列是否为空;如果为空,表示确定的这个目标运行子栅格为第一个确定目标运行子栅格,认为该目标运行子栅格是非抖动子栅格,此时将该目标运行子栅格的标识符存入队列,并将该目标运行子栅格作为最终的目标运行子栅格。Step 1. After determining a target running sub-grid, judge whether the queue used to store the identifier of the target running sub-grid is empty; if it is empty, it means that the determined target running sub-grid is the first determined target Run the sub-grid, consider the target running sub-grid to be a non-jittering sub-grid, store the identifier of the target running sub-grid in the queue, and use the target running sub-grid as the final target running sub-grid .
步骤二、在上述队列不为空时,判断该目标运行子栅格的标识符与队列中存储的首个标识符是否相同;若相同,表明该目标运行子栅格与队列中存储的首个标识符对应的运行子栅格为同一运行子栅格,此时,该目标 运行子栅格为非抖动子栅格,不需要将该目标运行子栅格的标识符存入队列,只需要将该目标运行子栅格作为最终的目标运行子栅格即可。Step 2. When the above queue is not empty, judge whether the identifier of the target running subgrid is the same as the first identifier stored in the queue; if they are the same, it indicates that the target running subgrid is the same as the first identifier stored in the queue. The running sub-grid corresponding to the identifier is the same running sub-grid. At this time, the target running sub-grid is a non-jittering sub-grid. There is no need to store the identifier of the target running sub-grid in the queue. This target run subraster can be used as the final target run subraster.
步骤三、若该目标运行子栅格的标识符与队列中存储的首个标识符不相同,则将该目标运行子栅格的标识符存入队列的队尾,并判断当前队列中存储的标识符的个数是否有大于给定值;若不大于给定值,表明目标运行子栅格为抖动子栅格,此时需要将队列中存储的首个标识符对应的运行子栅格作为最终的目标运行子栅格。Step 3. If the identifier of the target running sub-grid is not the same as the first identifier stored in the queue, store the identifier of the target running sub-grid at the end of the queue, and determine the current stored in the queue. Whether the number of identifiers is greater than the given value; if it is not greater than the given value, it indicates that the target operating sub-grid is a jittering sub-grid. At this time, the operating sub-grid corresponding to the first identifier stored in the queue needs to be used as The final goal is to run subrasters.
步骤四、当前队列中存储的标识符的格式大于给定值,表明目标对象的运动状态发生了改变,目标运行子栅格为非抖动子栅格,此时,需要将队列中存储的除了队尾的标识符以外的标识符清空,此时,队尾的标识符变为队首的标识符,并且将该目标运行子栅格作为最终的目标运行子栅格。Step 4. The format of the identifier stored in the current queue is greater than the given value, indicating that the motion state of the target object has changed, and the target running sub-grid is a non-jittering sub-grid. Identifiers other than the tail identifier are cleared. At this time, the identifier at the end of the queue becomes the identifier at the head of the queue, and the target running sub-grid is used as the final target running sub-grid.
上述队列中存储的标识符对应的运行子栅格即为上述实施例中的历史运行子栅格。The running sub-grid corresponding to the identifier stored in the queue is the historical running sub-grid in the above embodiment.
上述实施例,在确定目标运行子栅格之前,确定多个历史运行子栅格,能够较为准确的判定目标运行子栅格是否为抖动子栅格;在目标运行子栅格为抖动子栅格的情况下,将第一个历史运行子栅格作为最终的目标运行子栅格,能够有效降低抖动对轨迹预测结果的影响,另外,利用包括多个位置点的栅格进行去抖动处理,降低了数据处理维度,从而能够降低预测稳定性后处理的难度,提高预测稳定性后处理的效率。In the above-mentioned embodiment, before determining the target operation sub-grid, a plurality of historical operation sub-grids are determined, and it is possible to more accurately determine whether the target operation sub-grid is a jittering sub-grid; In the case of , taking the first historical operation sub-grid as the final target operation sub-grid can effectively reduce the impact of jitter on the trajectory prediction results. The dimension of data processing is improved, which can reduce the difficulty of post-processing of prediction stability and improve the efficiency of post-processing of prediction stability.
上述实施例中,认为对象未来可能的运动终点(即运行轨迹的终点)分布在一个由若干栅格组成的区域中,并且每个栅格代表一条可能的运行轨迹,据此,对象未来的运行轨迹可以建模为一个预设运行栅格。栅格的大小和数量以及栅格代表的运行轨迹,都可以单独根据不同对象的运动模式特点进行定制,从而不同物体的预测都具有针对性,有助于提高轨迹预测的准确性。上述实施例将物体运行轨迹预测任务定义为栅格的分类任务,一个栅格可以包含多个可能的运动终点,从而降低了对象行为预测的任务维度,有助于抑制预测轨迹抖动,提高预测稳定性。上述实施例稳定性后处理相当简单和直接,只需抑制扇形栅格分类预测的抖动,就可以稳定物体运行轨迹的预测,与以点集对预测轨迹进行建模的方法相比,后处理难度相对更小。In the above-mentioned embodiment, it is considered that the possible future motion end points of the object (i.e. the end points of the running track) are distributed in an area composed of several grids, and each grid represents a possible running track, and accordingly, the future running of the object Trajectories can be modeled as a grid of preset runs. The size and number of grids and the trajectory represented by the grid can be customized according to the characteristics of the motion mode of different objects, so that the predictions of different objects are targeted and help to improve the accuracy of trajectory prediction. In the above-mentioned embodiment, the object trajectory prediction task is defined as a grid classification task. A grid can contain multiple possible motion end points, thereby reducing the task dimension of object behavior prediction, helping to suppress the jitter of the predicted trajectory, and improve the stability of the prediction. sex. The stability post-processing of the above-mentioned embodiment is quite simple and direct. It is only necessary to suppress the jitter of the fan-shaped grid classification prediction to stabilize the prediction of the trajectory of the object. Compared with the method of modeling the predicted trajectory with a point set, the post-processing difficulty Relatively smaller.
上述实施例将对象的预轨迹预测变化为栅格预测,从而将高维回归任务转化低维分类任务,降低任务难度,提高预测稳定性。同时,上述实施例在方案泛化性的同时,将预测方式与对象的运动模式关联起来,使得预测方式可以针对不同对象进行适应性调整,有助于提高预测准确度。另外,上述实施例中的预测方式可以很好的与各种稳定性后处理方法衔接起来,通过后处理提高栅格的分类预测的稳定性,从而提高对象轨迹预测的稳定性。In the above embodiments, the pre-trajectory prediction of the object is changed to grid prediction, thereby transforming the high-dimensional regression task into a low-dimensional classification task, reducing task difficulty and improving prediction stability. At the same time, the above embodiments associate the prediction mode with the motion mode of the object while the scheme is generalizable, so that the prediction mode can be adaptively adjusted for different objects, which helps to improve the prediction accuracy. In addition, the prediction method in the above embodiment can be well connected with various stability post-processing methods, and the stability of the grid classification prediction can be improved through post-processing, thereby improving the stability of the object trajectory prediction.
基于同一发明构思,本公开实施例中还提供了与轨迹预测方法对应的 轨迹预测装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述轨迹方法相似,因此装置的实施可以参见方法的实施。Based on the same inventive concept, the embodiment of the present disclosure also provides a trajectory prediction device corresponding to the trajectory prediction method. Since the problem-solving principle of the device in the embodiment of the disclosure is similar to the above-mentioned trajectory method in the embodiment of the disclosure, the implementation of the device can be See method implementation.
如图7所示,为本公开实施例提供的一种轨迹预测装置的架构示意图,包括:As shown in FIG. 7 , it is a schematic diagram of the structure of a trajectory prediction device provided by an embodiment of the present disclosure, including:
信息获取部分701,被配置为获取目标对象在第一时刻的运行信息。The information acquiring part 701 is configured to acquire the running information of the target object at the first moment.
定位预处理部分702,被配置为确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为起点,经过第一预设时长后的时刻;所述参考对象与所述目标对象具有相同的运行模式。The positioning preprocessing part 702 is configured to determine a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one A position point of a reference object at multiple future reference moments; the future reference moment is a moment after a first preset time period starting from the sample moment; the reference object has the same operation mode as the target object.
定位部分703,被配置为基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格;其中,所述第二时刻为第一时刻经过所述第一预设时长后的时刻;The positioning part 703 is configured to determine the target operation sub-grid where the target object is located at a second moment based on the operation information; wherein, the second moment is the first preset time after the first moment later moments;
轨迹预测部分704,被配置为基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。The trajectory prediction part 704 is configured to determine the running trajectory of the target object from the first moment to the second moment based on the target running sub-grid and the running information.
在一些实施例中,定位预处理部分702在确定与所述目标对象的运行模式相匹配的预设运行栅格时,被配置为:In some embodiments, when the positioning preprocessing part 702 determines the preset operating grid matching the operating mode of the target object, it is configured to:
获取多个预设运行栅格;Get multiple preset running grids;
从所述多个预设运行栅格中,筛选与所述目标对象的运行模式相匹配的预设运行栅格;其中,不同的预设运行栅格对应不同的运行模式。From the plurality of preset operation grids, a preset operation grid matching the operation mode of the target object is screened; wherein, different preset operation grids correspond to different operation modes.
在一些实施例中,定位部分703在基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格时,被配置为:In some embodiments, when determining the target operation sub-grid where the target object is located at the second moment based on the operation information, the positioning part 703 is configured to:
基于所述运行信息,确定所述目标对象在所述第二时刻的位置信息;determining position information of the target object at the second moment based on the running information;
基于所述位置信息,确定所述目标对象在所述第二时刻所处的目标运行子栅格。Based on the location information, determine the target operation sub-grid where the target object is located at the second moment.
在一些实施例中,所述运行信息包括所述目标对象在第一时刻的运动状态信息和目标对象在第一时刻所处位置的路况信息。In some embodiments, the running information includes motion state information of the target object at the first moment and road condition information of the location of the target object at the first moment.
在一些实施例中,所述信息获取部分701在获取目标对象在第一时刻的运行信息时,被配置为:In some embodiments, when the information acquiring part 701 acquires the running information of the target object at the first moment, it is configured to:
确定第一时刻之前,与所述第一时刻间隔第二预设时长的时刻为第三时刻;Before determining the first moment, the second preset time interval from the first moment is the third moment;
获取所述目标对象从所述第三时刻到所述第一时刻之间的运动状态信息,并将获取的所述运行状态信息,作为目标对象在所述第一时刻的运动状态信息;Obtaining the movement state information of the target object from the third moment to the first moment, and using the obtained running state information as the movement state information of the target object at the first moment;
基于所述目标对象的在所述第一时刻的运动状态信息和目标对象在第一时刻所处位置的路况信息,确定所述目标对象在所述第一时刻的运行信息。Based on the movement state information of the target object at the first moment and the road condition information of the location of the target object at the first moment, the running information of the target object at the first moment is determined.
在一些实施例中,定位预处理部分702还被配置为为任一运行模式生 成相匹配的预设运行栅格:In some embodiments, the positioning preprocessing part 702 is also configured to generate a matching preset operating grid for any operating mode:
获取具有该运行模式的多个参考对象中,每个参考对象的样本轨迹;Acquiring a sample trajectory of each reference object among the plurality of reference objects having the operating mode;
针对每个样本轨迹,确定该样本轨迹对应的多个样本时刻,基于所述第一预设时长,确定每个样本时刻对应的未来参考时刻,并基于该样本轨迹,确定在每个未来参考时刻,该样本轨迹对应的参考对象的样本位置信息;For each sample trajectory, a plurality of sample moments corresponding to the sample trajectory are determined, based on the first preset duration, a future reference moment corresponding to each sample moment is determined, and based on the sample trajectory, it is determined that at each future reference moment , the sample position information of the reference object corresponding to the sample trajectory;
基于确定的样本位置信息,确定每个参考对象在对应的每个未来参考时刻的位置点;Based on the determined sample position information, determine the position point of each reference object at each corresponding future reference moment;
基于确定的各个位置点,生成与该运行模式相匹配的预设运行栅格。Based on the determined position points, a preset running grid matching the running mode is generated.
在一些实施例中,定位预处理部分702在基于确定的各个位置点,确定与该运行模式相匹配的预设运行栅格时,被配置为:In some embodiments, the positioning preprocessing part 702 is configured to:
基于确定的各个位置点,和对应的参考对象在各个位置点处的速度确定与该运行模式相匹配的预设运行栅格。A preset operating grid matching the operating mode is determined based on each determined position point and the speed of the corresponding reference object at each position point.
在一些实施例中,定位预处理部分702在基于确定的各个位置点,和对应的参考对象在各个位置点处的速度,确定与该运行模式相匹配的预设运行栅格时,被配置为:In some embodiments, when the positioning preprocessing part 702 determines a preset operating grid matching the operating mode based on each determined position point and the velocity of the corresponding reference object at each position point, it is configured to :
基于对应的参考对象在各个位置点处的速度,确定各个位置点的颜色;determining the color of each location point based on the velocity of the corresponding reference object at each location point;
基于各个位置点的位置信息和颜色,生成包括各个位置点的图片;Generate a picture including each location point based on the location information and color of each location point;
基于各个位置点的颜色和位置信息,按照预设条件,对所述图片上的位置点进行分割,得到包括至少一个运行子栅格的预设运行栅格;其中,所述预设条件包括以下至少一项;任一运行子栅格中的位置点的数量在预设数值范围内;位于所述运行子栅格中的位置点在所有位置点中的占比大于预设占比;同一运行子栅格中的不同位置点对应的速度的差值小于预设值。Based on the color and position information of each position point, according to preset conditions, the position points on the picture are segmented to obtain a preset running grid including at least one running sub-grid; wherein the preset conditions include the following At least one item; the number of location points in any running sub-grid is within the preset value range; the proportion of the location points in the running sub-grid in all the location points is greater than the preset proportion; the same running The speed difference corresponding to different position points in the sub-grid is smaller than the preset value.
在一些实施例中,定位预处理部分702还被配置为确定所述预设数值范围:In some embodiments, the positioning preprocessing part 702 is further configured to determine the preset value range:
确定该运行模式对应的对象平均速度;determining an average velocity of the object corresponding to the mode of operation;
基于所述对象平均速度,确定该运行模式对应的所述预设数值范围。Based on the average speed of the object, the preset value range corresponding to the operation mode is determined.
在一些实施例中,轨迹预测部分704在基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹时,被配置为:In some embodiments, when determining the running trajectory of the target object from the first moment to the second moment based on the target running sub-grid and the running information, the trajectory prediction part 704 is configured to :
基于所述目标运行子栅格中各个位置点的位置信息,确定所述目标对象在第二时刻的终点位置信息;Based on the position information of each position point in the target running sub-grid, determine the terminal position information of the target object at the second moment;
基于所述终点位置信息和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。Based on the terminal location information and the running information, the running trajectory of the target object from the first moment to the second moment is determined.
在一些实施例中,轨迹预测部分704在确定了所述目标对象在第二时刻所处的目标运行子栅格之后,并且在确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹之前,还被配置为:In some embodiments, after the trajectory prediction part 704 determines the target operation sub-grid where the target object is located at the second moment, and determines that the target object is located between the first moment and the second moment Before running the track, it is also configured as:
获取在确定所述目标运行子栅格之前,确定的多个历史运行子栅格;所述多个历史运行子栅格中的第一个历史运行子栅格为非抖动子栅格;Obtaining multiple historical running sub-grids determined before determining the target running sub-grid; the first historical running sub-grid among the multiple historical running sub-grids is a non-jittering sub-grid;
基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格;determining whether the target operating sub-grid is a dithering sub-grid based on the plurality of historical operating sub-grids;
在确定所述目标运行子栅格为抖动子栅格的情况下,将所述第一个历史运行子栅格作为最终的目标运行子栅格。When it is determined that the target running sub-grid is a jittering sub-grid, the first historical running sub-grid is used as the final target running sub-grid.
在一些实施例中,轨迹预测部分704在确定了所述目标运行子栅格之后,并且在确定所述目标对象的运行轨迹之前,还被配置为:In some embodiments, after determining the target running sub-grid and before determining the running track of the target object, the trajectory prediction part 704 is further configured to:
在确定所述目标运行子栅格为非抖动子栅格的情况下,将确定的所述目标运行子栅格作为最终的目标运行子栅格。If it is determined that the target operating sub-grid is a non-jittering sub-grid, the determined target operating sub-grid is used as the final target operating sub-grid.
在一些实施例中,轨迹预测部分704在基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格时,被配置为:In some embodiments, the trajectory prediction part 704 is configured to:
在所述目标运行子栅格与所述第一个历史运行子栅格为同一个子栅格的情况下,确定所述目标运行子栅格为非抖动子栅格。If the target running sub-grid is the same sub-grid as the first historical running sub-grid, it is determined that the target running sub-grid is a non-jittering sub-grid.
在一些实施例中,轨迹预测部分704在基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格时,被配置为:In some embodiments, the trajectory prediction part 704 is configured to:
在所述目标运行子栅格与所述第一个历史运行子栅格不为同一个子栅格,并且所述多个历史运行子栅格中抖动子栅格的数量大于预设数量的情况下,确定所述目标运行子栅格为非抖动子栅格。When the target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of jittering sub-grids among the multiple historical running sub-grids is greater than a preset number , determine that the target running sub-grid is a non-jittering sub-grid.
在一些实施例中,轨迹预测部分704在基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格时,还被配置为:In some embodiments, when determining whether the target running sub-grid is a jittering sub-grid based on the plurality of historical running sub-grids, the trajectory prediction part 704 is further configured to:
在所述目标运行子栅格与所述第一个历史运行子栅格不为同一个子栅格,并且所述多个历史运行子栅格中抖动子栅格的数量小于或等于预设数量的情况下,确定所述目标运行子栅格为抖动子栅格。The target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of dithering sub-grids among the multiple historical running sub-grids is less than or equal to a preset number of In this case, it is determined that the target running sub-grid is a dithering sub-grid.
关于装置中的各部分的处理流程、以及各部分之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each part in the device and the interaction flow between each part, reference may be made to the relevant description in the above method embodiment, and details are not described here again.
基于同一技术构思,本公开实施例还提供了一种电子设备。参照图8所示,为本公开实施例提供的电子设备800的结构示意图,包括处理器81、存储器82、和总线83。其中,存储器82用于存储执行指令,包括内存821和外部存储器822;这里的内存821也称内存储器,用于暂时存放处理器81中的运算数据,以及与硬盘等外部存储器822交换的数据,处理器81通过内存821与外部存储器822进行数据交换,当电子设备800运行时,处理器81与存储器82之间通过总线83通信,使得处理器81在执行以下指令:Based on the same technical idea, an embodiment of the present disclosure also provides an electronic device. Referring to FIG. 8 , it is a schematic structural diagram of an electronic device 800 provided by an embodiment of the present disclosure, including a processor 81 , a memory 82 , and a bus 83 . Wherein, the memory 82 is used to store execution instructions, including a memory 821 and an external memory 822; the memory 821 here is also called an internal memory, and is used to temporarily store calculation data in the processor 81 and exchange data with external memory 822 such as a hard disk. The processor 81 exchanges data with the external memory 822 through the memory 821. When the electronic device 800 is running, the processor 81 communicates with the memory 82 through the bus 83, so that the processor 81 executes the following instructions:
获取目标对象在第一时刻的运行信息;确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为起点,经过第一预设时长后的时刻;基于 所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格;其中,所述第二时刻为第一时刻经过所述第一预设时长后的时刻;所述参考对象与所述目标对象具有相同的运行模式;基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。Obtain the operation information of the target object at the first moment; determine the preset operation grid matching the operation mode of the target object; the preset operation grid includes at least one operation sub-grid; the operation sub-grid Including the position point of at least one reference object at a plurality of future reference moments; the future reference moment is a moment after a first preset time period starting from the sample moment; based on the operation information, it is determined that the target object is at The target operation sub-grid at the second moment; wherein, the second moment is the moment after the first preset duration at the first moment; the reference object and the target object have the same operation mode; based on The target running sub-grid and the running information determine the running track of the target object from the first moment to the second moment.
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的轨迹预测方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the trajectory prediction method described in the foregoing method embodiments are executed. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.
本公开实施例所提供的轨迹预测方法的计算机程序产品,包括计算机程序或指令,在所述计算机程序或指令在计算机上运行的情况下,使得所述计算机执行上述方法实施例中所述的轨迹预测方法的步骤,可参见上述方法实施例。The computer program product of the trajectory prediction method provided by the embodiments of the present disclosure includes a computer program or an instruction, and when the computer program or instruction is run on a computer, the computer executes the trajectory described in the above method embodiment For the steps of the prediction method, refer to the above method embodiments.
该计算机程序产品可以通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品体现为计算机存储介质,在另一个可选实施例中,计算机程序产品体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be realized by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) and the like.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的工作过程,可以参考前述方法实施例中的对应过程。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that for the convenience and brevity of description, for the working process of the above-described system and device, reference may be made to the corresponding process in the foregoing method embodiments. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机 设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the embodiments of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure.
而前述的计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备,可为易失性存储介质或非易失性存储介质。计算机可读存储介质例如可以是但不限于:电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM或闪存)、静态随机存取存储器(Static Random-Access Memory,SRAM)、便携式压缩盘只读存储器(Compact Disk Read Only Memory,CD-ROM)、数字多功能盘(Digital versatile Disc,DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。The aforementioned computer-readable storage medium may be a tangible device capable of retaining and storing instructions used by the instruction execution device, and may be a volatile storage medium or a non-volatile storage medium. A computer readable storage medium may be, for example but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: portable computer disk, hard disk, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), erasable Type programmable read-only memory (Erasable Programmable Read Only Memory, EPROM or flash memory), static random-access memory (Static Random-Access Memory, SRAM), portable compact disk read-only memory (Compact Disk Read Only Memory, CD-ROM) , Digital versatile discs (Digital versatile Disc, DVD), memory sticks, floppy disks, mechanically encoded devices, such as punched cards or raised structures in grooves with instructions stored thereon, and any suitable combination of the foregoing. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开实施例的技术方案,而非对其限制,本公开实施例的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开实施例揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开实施例的保护范围之内。因此,本公开实施例的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementation modes of the present disclosure, and are used to illustrate the technical solutions of the embodiments of the present disclosure, rather than limiting them, and the protection scope of the embodiments of the present disclosure is not limited thereto Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those of ordinary skill in the art should understand that: within the technical scope disclosed in the embodiments of the present disclosure, any person skilled in the art can still understand the aforementioned embodiments Modifications or changes can be easily imagined in the technical solutions recorded, or equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure. All should be covered within the scope of protection of the embodiments of the present disclosure. Therefore, the protection scope of the embodiments of the present disclosure should be based on the protection scope of the claims.
工业实用性Industrial Applicability
本公开实施例获取目标对象在第一时刻的运行信息;确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为起点,经过第一预设时长后的时刻;所述参考对象与所述目标对象具有相同的运行模式;利用与目标对象的运行模式相匹配的预设运行栅格来预测目标对象的运行轨迹,能够充分考虑目标对象的运行速度、方式等特征,提高了轨迹预测的针对性和准确性。The embodiment of the present disclosure acquires the operation information of the target object at the first moment; determines the preset operation grid matching the operation mode of the target object; the preset operation grid includes at least one operation sub-grid; the The running sub-grid includes the position points of at least one reference object at a plurality of future reference moments; the future reference moment is the moment after the sample moment as a starting point and after a first preset duration; the reference object and the target object Have the same running mode; use the preset running grid that matches the running mode of the target object to predict the running trajectory of the target object, which can fully consider the running speed and mode of the target object, and improve the pertinence and accuracy of trajectory prediction. accuracy.

Claims (18)

  1. 一种轨迹预测方法,包括:A trajectory prediction method, comprising:
    获取目标对象在第一时刻的运行信息;Obtain the running information of the target object at the first moment;
    确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为起点,经过第一预设时长后的时刻;所述参考对象与所述目标对象具有相同的运行模式;Determining a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one reference object at a plurality of future reference times The position point; the future reference time is the time after the sample time as the starting point, after the first preset duration; the reference object and the target object have the same operation mode;
    基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格;其中,所述第二时刻为所述第一时刻经过所述第一预设时长后的时刻;Based on the operation information, determine the target operation sub-grid where the target object is located at a second moment; wherein, the second moment is a moment after the first preset time period elapses from the first moment;
    基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。Based on the target running sub-grid and the running information, the running trajectory of the target object from the first moment to the second moment is determined.
  2. 根据权利要求1所述的方法,其中,所述确定与所述目标对象的运行模型相匹配的预设运行栅格,包括:The method according to claim 1, wherein said determining a preset operating grid matching the operating model of the target object comprises:
    获取多个预设运行栅格;Get multiple preset running grids;
    从所述多个预设运行栅格中,筛选与所述目标对象的运行模式相匹配的预设运行栅格;其中,不同的预设运行栅格对应不同的运行模式。From the plurality of preset operation grids, a preset operation grid matching the operation mode of the target object is screened; wherein, different preset operation grids correspond to different operation modes.
  3. 根据权利要求1或2所述的方法,其中,所述基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格,包括:The method according to claim 1 or 2, wherein said determining the target operation sub-grid where the target object is located at the second moment based on the operation information comprises:
    基于所述运行信息,确定所述目标对象在所述第二时刻的位置信息;determining position information of the target object at the second moment based on the running information;
    基于所述位置信息,确定所述目标对象在所述第二时刻所处的目标运行子栅格。Based on the location information, determine the target operation sub-grid where the target object is located at the second moment.
  4. 根据权利要求1至3任一项所述的方法,其中,所述运行信息包括所述目标对象在第一时刻的运动状态信息和目标对象在第一时刻所处位置的路况信息;The method according to any one of claims 1 to 3, wherein the running information includes movement state information of the target object at the first moment and road condition information of the location of the target object at the first moment;
    所述获取目标对象在第一时刻的运行信息,包括:The acquisition of the running information of the target object at the first moment includes:
    确定在所述第一时刻之前与所述第一时刻间隔第二预设时长的时刻为第三时刻;Determining that a moment separated from the first moment by a second preset duration before the first moment is a third moment;
    获取所述目标对象从所述第三时刻到所述第一时刻之间的运动状态信息,并将获取的所述运行状态信息,作为目标对象在所述第一时刻的运动状态信息;Obtaining the movement state information of the target object from the third moment to the first moment, and using the obtained running state information as the movement state information of the target object at the first moment;
    基于所述目标对象在所述第一时刻的运动状态信息和目标对象在第一时刻所处位置的路况信息,确定所述目标对象在所述第一时刻的运行信息。Based on the movement state information of the target object at the first moment and the road condition information of the location of the target object at the first moment, the running information of the target object at the first moment is determined.
  5. 根据权利要求1所述方法,其中,所述方法还包括:为任一运行模式生成相匹配的预设运行栅格;The method according to claim 1, wherein the method further comprises: generating a matching preset operation grid for any operation mode;
    所述为任一运行模式生成相匹配的预设运行栅格,包括:获取具有所述运行模式的多个参考对象中每个参考对象的样本轨迹;The generating a matching preset operating grid for any operation mode includes: acquiring a sample trajectory of each reference object among a plurality of reference objects having the operation mode;
    针对每个样本轨迹,确定所述样本轨迹对应的多个样本时刻,基于所述第一预设时长,确定每个样本时刻对应的未来参考时刻,并基于所述样本轨迹,确定在每个未来参考时刻,所述样本轨迹对应的参考对象的样本位置信息;For each sample trajectory, determine a plurality of sample moments corresponding to the sample trajectory, determine a future reference moment corresponding to each sample moment based on the first preset duration, and determine a reference time in each future based on the sample trajectory At the reference moment, the sample position information of the reference object corresponding to the sample trajectory;
    基于确定的样本位置信息,确定每个参考对象在对应的每个未来参考时刻的位置点;Based on the determined sample position information, determine the position point of each reference object at each corresponding future reference moment;
    基于确定的每个位置点,生成与所述运行模式相匹配的预设运行栅格。Based on each determined position point, a preset operation grid matching the operation mode is generated.
  6. 根据权利要求5所述方法,其中,所述基于确定的每个位置点,确定与所述运行模式相匹配的预设运行栅格,包括:The method according to claim 5, wherein said determining a preset operation grid matching said operation mode based on each determined position point comprises:
    基于确定的每个位置点,和对应的参考对象在每个位置点处的速度确定与所述运行模式相匹配的预设运行栅格。Based on each determined position point and the speed of the corresponding reference object at each position point, a preset operation grid matching the operation mode is determined.
  7. 根据权利要求6所述方法,其中,所述基于确定的每个位置点,和对应的参考对象在每个位置点处的速度,确定与所述运行模式相匹配的预设运行栅格,包括:The method according to claim 6, wherein, based on each determined position point and the speed of the corresponding reference object at each position point, determining a preset operation grid matching the operation mode comprises :
    基于对应的参考对象在每个位置点处的速度,确定每个位置点的颜色;determining the color of each location point based on the velocity of the corresponding reference object at each location point;
    基于每个位置点的位置信息和颜色,生成包括每个位置点的图片;Generate a picture including each location point based on the location information and color of each location point;
    基于每个位置点的颜色和位置信息,按照预设条件,对所述图片上的位置点进行分割,得到包括至少一个运行子栅格的预设运行栅格;其中,所述预设条件包括以下至少一项;任一运行子栅格中的位置点的数量在预设数值范围内;位于所述运行子栅格中的位置点在所有位置点中的占比大于预设占比;同一运行子栅格中的不同位置点对应的速度的差值小于预设值。Based on the color and position information of each position point, according to preset conditions, the position points on the picture are segmented to obtain a preset running grid including at least one running sub-grid; wherein the preset conditions include At least one of the following: the number of location points in any running sub-grid is within a preset value range; the ratio of the location points in the running sub-grid to all the location points is greater than the preset ratio; the same The speed difference corresponding to different position points in the running sub-grid is smaller than the preset value.
  8. 根据权利要求7所述方法,其中,所述方法还包括:确定所述预设数值范围;The method according to claim 7, wherein the method further comprises: determining the preset value range;
    所述确定所述预设数值范围包括:The determination of the preset value range includes:
    确定所述运行模式对应的对象平均速度;determining an average speed of an object corresponding to the mode of operation;
    基于所述对象平均速度,确定所述运行模式对应的所述预设数值范围。Based on the average speed of the object, the preset value range corresponding to the operation mode is determined.
  9. 根据权利要求1至8任一项所述方法,其中,所述基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹,包括:The method according to any one of claims 1 to 8, wherein the operation of the target object from the first moment to the second moment is determined based on the target operation sub-grid and the operation information track, including:
    基于所述目标运行子栅格中每个位置点的位置信息,确定所述目标对象在第二时刻的终点位置信息;determining the terminal position information of the target object at the second moment based on the position information of each position point in the target running sub-grid;
    基于所述终点位置信息和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。Based on the terminal location information and the running information, the running trajectory of the target object from the first moment to the second moment is determined.
  10. 根据权利要求1至9任一项所述方法,其中,在确定所述目标对象在第二时刻所处的目标运行子栅格之后,并且在确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹之前,还包括:The method according to any one of claims 1 to 9, wherein after determining the target operation sub-grid where the target object is located at the second moment, and after determining that the target object is from the first moment to the second moment Before the running trajectory between the two moments, it also includes:
    获取在确定所述目标运行子栅格之前,确定多个历史运行子栅格;所 述多个历史运行子栅格中的第一个历史运行子栅格为非抖动子栅格;Before obtaining the target operation sub-grid, determine a plurality of historical operation sub-grids; the first historical operation sub-grid in the plurality of historical operation sub-grids is a non-jittering sub-grid;
    基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格;determining whether the target operating sub-grid is a dithering sub-grid based on the plurality of historical operating sub-grids;
    在确定所述目标运行子栅格为抖动子栅格的情况下,将所述第一个历史运行子栅格作为最终的目标运行子栅格。When it is determined that the target running sub-grid is a jittering sub-grid, the first historical running sub-grid is used as the final target running sub-grid.
  11. 根据权利要求10所述方法,其中,所述方法还包括:The method according to claim 10, wherein the method further comprises:
    在确定所述目标运行子栅格为非抖动子栅格的情况下,将确定的所述目标运行子栅格作为最终的目标运行子栅格。If it is determined that the target operating sub-grid is a non-jittering sub-grid, the determined target operating sub-grid is used as the final target operating sub-grid.
  12. 根据权利要求10或11所述方法,其中,所述基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格,包括:The method according to claim 10 or 11, wherein the determining whether the target running sub-grid is a jittering sub-grid based on the multiple historical running sub-grids comprises:
    在所述目标运行子栅格与所述第一个历史运行子栅格为同一个子栅格的情况下,确定所述目标运行子栅格为非抖动子栅格。If the target running sub-grid is the same sub-grid as the first historical running sub-grid, it is determined that the target running sub-grid is a non-jittering sub-grid.
  13. 根据权利要求10或11所述方法,其中,所述基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格,包括:The method according to claim 10 or 11, wherein the determining whether the target running sub-grid is a jittering sub-grid based on the multiple historical running sub-grids comprises:
    在所述目标运行子栅格与所述第一个历史运行子栅格不为同一个子栅格,并且所述多个历史运行子栅格中抖动子栅格的数量大于预设数量的情况下,确定所述目标运行子栅格为非抖动子栅格。When the target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of jittering sub-grids among the multiple historical running sub-grids is greater than a preset number , determine that the target running sub-grid is a non-jittering sub-grid.
  14. 根据权利要求10或11所述方法,其中,所述基于所述多个历史运行子栅格,确定所述目标运行子栅格是否为抖动子栅格,还包括:The method according to claim 10 or 11, wherein the determining whether the target running sub-grid is a jittering sub-grid based on the plurality of historical running sub-grids further comprises:
    在所述目标运行子栅格与所述第一个历史运行子栅格不为同一个子栅格,并且所述多个历史运行子栅格中抖动子栅格的数量小于或等于预设数量的情况下,确定所述目标运行子栅格为抖动子栅格。The target running sub-grid is not the same sub-grid as the first historical running sub-grid, and the number of dithering sub-grids among the multiple historical running sub-grids is less than or equal to a preset number of In this case, it is determined that the target running sub-grid is a dithering sub-grid.
  15. 一种轨迹预测装置,包括:A trajectory prediction device, comprising:
    信息获取部分,被配置为获取目标对象在第一时刻的运行信息;The information acquisition part is configured to acquire the operation information of the target object at the first moment;
    定位预处理部分,被配置为确定与所述目标对象的运行模式相匹配的预设运行栅格;所述预设运行栅格包括至少一个运行子栅格;所述运行子栅格包括至少一个参考对象在多个未来参考时刻的位置点;所述未来参考时刻是以样本时刻为起点,经过第一预设时长后的时刻;所述参考对象与所述目标对象具有相同的运行模式;The positioning preprocessing part is configured to determine a preset running grid that matches the running mode of the target object; the preset running grid includes at least one running sub-grid; the running sub-grid includes at least one The position points of the reference object at a plurality of future reference moments; the future reference moment is the moment after the first preset time period starting from the sample moment; the reference object has the same operating mode as the target object;
    定位部分,被配置为基于所述运行信息,确定所述目标对象在第二时刻所处的目标运行子栅格;其中,所述第二时刻为所述第一时刻经过所述第一预设时长后的时刻;The positioning part is configured to determine the target operation sub-grid where the target object is located at a second moment based on the operation information; wherein the second moment is when the first moment passes through the first preset time after
    轨迹预测部分,被配置为基于所述目标运行子栅格和所述运行信息,确定所述目标对象从第一时刻到所述第二时刻之间的运行轨迹。The trajectory prediction part is configured to determine the trajectory of the target object from the first moment to the second moment based on the target operation sub-grid and the operation information.
  16. 一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至14任一所述的轨迹预测方法的步骤。An electronic device, comprising: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory through the bus , when the machine-readable instructions are executed by the processor, the steps of the trajectory prediction method according to any one of claims 1 to 14 are executed.
  17. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1至14任一项所述的轨迹预测方法的步骤。A computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the trajectory prediction method according to any one of claims 1 to 14 are executed.
  18. 一种计算机程序产品,所述计算机程序产品包括计算机程序或指令,在所述计算机程序或指令在计算机上运行的情况下,使得所述计算机执行权利要求1至14中任一项所述的轨迹预测方法的步骤。A computer program product comprising a computer program or instructions which, when run on a computer, causes the computer to carry out the locus of any one of claims 1 to 14 The steps of the prediction method.
PCT/CN2022/084204 2021-09-30 2022-03-30 Track prediction method and apparatus, electronic device, and storage medium WO2023050749A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111160491.2A CN113879333B (en) 2021-09-30 2021-09-30 Track prediction method, track prediction device, electronic equipment and storage medium
CN202111160491.2 2021-09-30

Publications (1)

Publication Number Publication Date
WO2023050749A1 true WO2023050749A1 (en) 2023-04-06

Family

ID=79004799

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084204 WO2023050749A1 (en) 2021-09-30 2022-03-30 Track prediction method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN113879333B (en)
WO (1) WO2023050749A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113879333B (en) * 2021-09-30 2023-08-22 深圳市商汤科技有限公司 Track prediction method, track prediction device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180130671A (en) * 2017-05-30 2018-12-10 현대모비스 주식회사 Apparatus and method for controlling automatic driving using 3d grid map
CN109969172A (en) * 2017-12-26 2019-07-05 华为技术有限公司 Control method for vehicle, equipment and computer storage medium
CN110085056A (en) * 2019-04-24 2019-08-02 华南理工大学 Vehicle lane-changing instantaneous risk recognition methods under a kind of highway bus or train route cooperative surroundings
EP3552904A1 (en) * 2018-04-10 2019-10-16 Bayerische Motoren Werke Aktiengesellschaft Method, device and computer program product for predicting the development of a traffic scene involving several participants
CN111595352A (en) * 2020-05-14 2020-08-28 陕西重型汽车有限公司 Track prediction method based on environment perception and vehicle driving intention
CN113879333A (en) * 2021-09-30 2022-01-04 深圳市商汤科技有限公司 Trajectory prediction method and apparatus, electronic device, and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382768B (en) * 2018-12-29 2023-11-14 华为技术有限公司 Multi-sensor data fusion method and device
RU2723237C1 (en) * 2019-08-20 2020-06-09 Постников Роман Владимирович Methods and devices for constructing accurate trajectory of object movement
WO2021175434A1 (en) * 2020-03-05 2021-09-10 Cambridge Enterprise Limited System and method for predicting a map from an image
CN111784728B (en) * 2020-06-29 2023-08-22 杭州海康威视数字技术股份有限公司 Track processing method, device, equipment and storage medium
CN112000756A (en) * 2020-08-21 2020-11-27 上海商汤智能科技有限公司 Method and device for predicting track, electronic equipment and storage medium
CN112597822B (en) * 2020-12-11 2023-08-15 国汽(北京)智能网联汽车研究院有限公司 Vehicle track determination method and device, electronic equipment and computer storage medium
CN112327888B (en) * 2021-01-07 2021-03-30 中智行科技有限公司 Path planning method and device, electronic equipment and storage medium
CN112923942B (en) * 2021-01-22 2022-11-25 北京中交兴路信息科技有限公司 Method and device for vehicle reference driving route between starting point and end point

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180130671A (en) * 2017-05-30 2018-12-10 현대모비스 주식회사 Apparatus and method for controlling automatic driving using 3d grid map
CN109969172A (en) * 2017-12-26 2019-07-05 华为技术有限公司 Control method for vehicle, equipment and computer storage medium
EP3552904A1 (en) * 2018-04-10 2019-10-16 Bayerische Motoren Werke Aktiengesellschaft Method, device and computer program product for predicting the development of a traffic scene involving several participants
CN110085056A (en) * 2019-04-24 2019-08-02 华南理工大学 Vehicle lane-changing instantaneous risk recognition methods under a kind of highway bus or train route cooperative surroundings
CN111595352A (en) * 2020-05-14 2020-08-28 陕西重型汽车有限公司 Track prediction method based on environment perception and vehicle driving intention
CN113879333A (en) * 2021-09-30 2022-01-04 深圳市商汤科技有限公司 Trajectory prediction method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN113879333B (en) 2023-08-22
CN113879333A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN111625950B (en) Automatic driving simulation scene reconstruction method, device, equipment and medium
Ishihara et al. Multi-task learning with attention for end-to-end autonomous driving
Munigety et al. Towards behavioral modeling of drivers in mixed traffic conditions
US11919545B2 (en) Scenario identification for validation and training of machine learning based models for autonomous vehicles
WO2019047595A1 (en) Evaluation method and device for comfort level of end-to-end-based automatic driving system
WO2023207742A1 (en) Method and system for detecting anomalous traffic behavior
CN112200131A (en) Vision-based vehicle collision detection method, intelligent terminal and storage medium
WO2023050749A1 (en) Track prediction method and apparatus, electronic device, and storage medium
McDuff et al. Causalcity: Complex simulations with agency for causal discovery and reasoning
Siebinga et al. A human factors approach to validating driver models for interaction-aware automated vehicles
CN111079507A (en) Behavior recognition method and device, computer device and readable storage medium
WO2023092982A1 (en) State detection method and apparatus, and computer device, storage medium and program product
WO2023273467A1 (en) True value data determination method and apparatus, neural network training method and apparatus, and travel control method and apparatus
Chen et al. Level 2 autonomous driving on a single device: Diving into the devils of openpilot
Krüger et al. Interaction-aware trajectory prediction based on a 3D spatio-temporal tensor representation using convolutional–recurrent neural networks
Srinivasan et al. Comparing merging behaviors observed in naturalistic data with behaviors generated by a machine learned model
Rong et al. Big data intelligent tourism management platform design based on abnormal behavior identification
Müller et al. Safe and psychologically pleasant traffic signal control with reinforcement learning using action masking
Behera et al. Estimation of linear motion in dense crowd videos using Langevin model
CN111597707A (en) Processing method, device and equipment of simulation scene and storage medium
Sun et al. Information categorization based on driver behavior for urban lane-changing maneuvers
US11042274B2 (en) Extracting demonstrations from in-situ video content
CN113302589A (en) Coordination component interface control framework
CN116883915B (en) Target detection method and system based on front and rear frame image association
Paduraru et al. Pedestrian motion in simulation applications using deep learning

Legal Events

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

Ref document number: 22874150

Country of ref document: EP

Kind code of ref document: A1