CN-115527175-B - Simulation scene database construction method and system
Abstract
The invention provides a method and a system for constructing a simulation scene database, wherein the method comprises the steps of receiving road image data acquired by crowdsourcing; the method comprises the steps of identifying image data through an intelligent camera, outputting road perception information and traffic flow perception information, constructing OpenDrive roads and Openscenario traffic flows according to the road perception information and the traffic flow perception information, acquiring target motion state description information in Openscenario traffic flows, classifying and summarizing target motion scenes, and forming a simulation scene database. According to the scheme, the simulation scene database can be quickly built, the simulation data acquisition cost is reduced, and the acquired data volume is ensured.
Inventors
- ZHOU FENGMING
- HAO JIANGBO
- ZOU YUANJIE
Assignees
- 武汉光庭信息技术股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220831
Claims (8)
- 1. The method for constructing the simulation scene database is characterized by comprising the following steps of: receiving road image data acquired by crowdsourcing; Identifying the image data through the intelligent camera, and outputting road perception information and traffic flow perception information; The intelligent camera is used for displaying the image data on a screen, and a distance increasing mirror is arranged between the intelligent camera and the same horizontal line of the screen, so that the image scene picture in the screen is identified through the intelligent camera; constructing OpenDrive roads and Openscenario traffic flows according to the road perception information and the traffic flow perception information; and acquiring Openscenario the target motion state description information in the traffic flow, classifying and summarizing the target motion scenes, and forming a simulation scene database.
- 2. The method of claim 1, wherein the road image data is a view angle image of a vicinity of an automobile rearview mirror.
- 3. The method of claim 1, wherein constructing OpenDrive roads and Openscenario traffic flows from the road awareness information and the traffic flow awareness information comprises: Storing each frame of information perceived by the camera in a dictionary driving way, converting the dictionary into an xml structure through a Python built-in package, and modifying the xml structure into a file with a preset format; Creating a dictionary, setting Entities and Storyboard fields in the dictionary, wherein Entities field is used for writing description information of the vehicle and the target object, storyboard field is used for writing initial state information of the vehicle and the target object and state information of the vehicle and the target object after movement; A traffic flow scene file is generated based on Entities fields and Storyboar fields.
- 4. A simulation scene database construction system, comprising at least: the data receiving module is used for receiving the road image data acquired by crowdsourcing; the image recognition module is used for recognizing the image data through the intelligent camera and outputting road perception information and traffic flow perception information; The intelligent camera is used for displaying the image data on a screen, and a distance increasing mirror is arranged between the intelligent camera and the same horizontal line of the screen, so that the image scene picture in the screen is identified through the intelligent camera; The scene construction module is used for constructing OpenDrive roads and Openscenario traffic flows according to the road perception information and the traffic flow perception information; and the classification summarizing module is used for acquiring Openscenario the target motion state description information in the traffic flow, classifying and summarizing the target motion scenes and forming a simulation scene database.
- 5. The system of claim 4, wherein the road image data is a view angle image of a vicinity of an automobile rearview mirror.
- 6. The system of claim 4, wherein constructing OpenDrive roads and Openscenario traffic flows from the road awareness information and the traffic flow awareness information comprises: Storing each frame of information perceived by the camera in a dictionary driving way, converting the dictionary into an xml structure through a Python built-in package, and modifying the xml structure into a file with a preset format; Creating a dictionary, setting Entities and Storyboard fields in the dictionary, wherein Entities field is used for writing description information of the vehicle and the target object, storyboard field is used for writing initial state information of the vehicle and the target object and state information of the vehicle and the target object after movement; A traffic flow scene file is generated based on Entities fields and Storyboar fields.
- 7. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of a method for constructing a database of simulated scenes according to any of claims 1-3 when executing the computer program.
- 8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed implements the steps of a simulation scenario database construction method according to any one of claims 1 to 3.
Description
Simulation scene database construction method and system Technical Field The invention belongs to the field of automatic driving simulation test, and particularly relates to a simulation scene database construction method and system. Background The automatic driving simulation test technology can accelerate the development process in the whole vehicle development flow, greatly reduces the development cost, has strong reproducibility and editable scene, and is increasingly important in automatic driving development. The simulation test is complementary with the real vehicle test as one of the main means of intelligent network connection automobile product test, and is also paid attention to gradually. How to build a simulation scene database of the system has become a key precondition for automatic driving research and development. At present, the construction of a simulation scene database needs to be carried out by collecting scene data in the field through a collection vehicle, the reliability of the simulation data can be guaranteed by the method, but the collection cost is high, the collected data volume is limited, and complex and diversified traffic flow scene construction is difficult to realize. Disclosure of Invention In view of the above, the embodiment of the invention provides a method and a system for constructing a simulation scene database, which are used for solving the problems of high simulation data acquisition cost and limited data volume. In a first aspect of an embodiment of the present invention, a method for constructing a simulation scene database is provided, including: receiving road image data acquired by crowdsourcing; Identifying the image data through the intelligent camera, and outputting road perception information and traffic flow perception information; constructing OpenDrive roads and Openscenario traffic flows according to the road perception information and the traffic flow perception information; and acquiring Openscenario the target motion state description information in the traffic flow, classifying and summarizing the target motion scenes, and forming a simulation scene database. In a second aspect of the embodiment of the present invention, there is provided a simulation scenario database construction system, including: the data receiving module is used for receiving the road image data acquired by crowdsourcing; the image recognition module is used for recognizing the image data through the intelligent camera and outputting road perception information and traffic flow perception information; The scene construction module is used for constructing OpenDrive roads and Openscenario traffic flows according to the road perception information and the traffic flow perception information; and the classification summarizing module is used for acquiring Openscenario the target motion state description information in the traffic flow, classifying and summarizing the target motion scenes and forming a simulation scene database. In a third aspect of the embodiments of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect of the embodiments of the present invention when the computer program is executed by the processor. In a fourth aspect of the embodiments of the present invention, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method provided by the first aspect of the embodiments of the present invention. In the embodiment of the invention, the road image data is acquired by crowdsourcing, the intelligent camera is used for identifying the roads and traffic flows in the images, the simulation scene is constructed, and the scene database is formed by classifying and summarizing the identified target behaviors, so that the acquisition quantity of the simulation scene data can be ensured, the acquisition cost can be effectively reduced, and the acquisition processing of the low-cost and diversified simulation scene data is realized. Drawings In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings described below are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art. FIG. 1 is a schematic flow chart of a method for constructing a database of simulation scenes according to an embodiment of the present invention; FIG. 2 is a schematic diagram illustrating image data sensing and recognition according to an embodiment of the present invention; FIG. 3 is a schematic diagram o