CN114818967A - Target object classification method, device, vehicle and system - Google Patents
Target object classification method, device, vehicle and system Download PDFInfo
- Publication number
- CN114818967A CN114818967A CN202210510869.5A CN202210510869A CN114818967A CN 114818967 A CN114818967 A CN 114818967A CN 202210510869 A CN202210510869 A CN 202210510869A CN 114818967 A CN114818967 A CN 114818967A
- Authority
- CN
- China
- Prior art keywords
- current
- data
- category
- historical
- current target
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/24323—Tree-organised classifiers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/20—Ensemble learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/01—Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Software Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及自动驾驶技术领域,具体而言,涉及一种目标物分类方法、装置、车辆、系统、计算机可读存储介质及处理器。The present application relates to the technical field of automatic driving, and in particular, to a target object classification method, device, vehicle, system, computer-readable storage medium, and processor.
背景技术Background technique
为实现精准的无人驾驶,对无人驾驶车辆周围环境的感知是极为重要的,主要是对无人驾驶车辆周围环境中的目标物(包括社会车辆、行人、建筑物、路牌等)进行识别,包括对目标物的类别和位置进行识别。In order to achieve accurate unmanned driving, the perception of the surrounding environment of unmanned vehicles is extremely important, mainly to identify the targets (including social vehicles, pedestrians, buildings, street signs, etc.) in the surrounding environment of unmanned vehicles. , including identifying the type and location of the target.
现有的方案常采用激光雷达采集的点云数据对目标物进行分类,但是由于激光雷达采集的点云数据具有稀疏性和无序性,使得采用激光雷达难以对目标物进行精准分类。Existing solutions often use point cloud data collected by lidar to classify objects. However, due to the sparseness and disorder of point cloud data collected by lidar, it is difficult to accurately classify targets by using lidar.
发明内容SUMMARY OF THE INVENTION
本申请的主要目的在于提供一种目标物分类方法、装置、车辆、系统、计算机可读存储介质及处理器,以解决现有技术中采用激光雷达难以对目标物进行精准分类的问题。The main purpose of the present application is to provide a target object classification method, device, vehicle, system, computer-readable storage medium and processor, so as to solve the problem that it is difficult to accurately classify the target objects by using laser radar in the prior art.
为了实现上述目的,根据本申请的一个方面,提供了一种目标物分类方法,该方法包括:获取当前全局数据,所述当前全局数据包括当前目标物鸟瞰图和所述当前目标物所位于的道路信息,所述道路信息包括道路种类,所述道路种类为车行道、人行道或者人行横道;获取所述当前目标物的当前局部数据,其中所述当前局部数据是融合图像数据和点云数据得到的,所述图像数据是采用图像传感器获取的,所述点云数据是采用激光雷达获取的;至少根据所述当前全局数据和所述当前局部数据,确定所述当前目标物的类别。In order to achieve the above object, according to an aspect of the present application, a method for classifying objects is provided, the method comprising: acquiring current global data, where the current global data includes a bird's-eye view of the current object and a location where the current object is located. Road information, the road information includes road types, which are roadways, sidewalks or crosswalks; obtain current local data of the current target, wherein the current local data is obtained by fusing image data and point cloud data The image data is acquired by an image sensor, and the point cloud data is acquired by a lidar; the category of the current target is determined at least according to the current global data and the current local data.
进一步地,至少根据所述当前全局数据和所述当前局部数据,确定所述当前目标物的类别包括:根据所述当前全局数据确定所述当前目标物的粗类别,所述粗类别包括车辆和行人;根据所述当前目标物的粗类别和所述当前目标物的当前局部数据,确定所述当前目标物的细类别,所述细类别包括小汽车、公交车、救护车和施工车。Further, determining the category of the current target object at least according to the current global data and the current local data includes: determining a rough category of the current target object according to the current global data, where the rough category includes vehicles and Pedestrian; according to the rough category of the current target object and the current local data of the current target object, determine the fine category of the current target object, and the fine category includes cars, buses, ambulances and construction vehicles.
进一步地,根据所述当前全局数据确定所述当前目标物的粗类别包括:根据所述当前目标物鸟瞰图确定所述当前目标物的投影的大小;根据所述当前目标物的投影的大小和所述当前目标物所位于的道路信息,确定所述当前目标物的粗类别。Further, determining the rough category of the current target according to the current global data includes: determining the size of the projection of the current target according to the bird's-eye view of the current target; according to the size of the projection of the current target and The road information on which the current target is located determines the rough category of the current target.
进一步地,根据所述当前目标物的粗类别和所述当前目标物的当前局部数据,确定所述当前目标物的细类别包括:从所述当前目标物的当前局部数据中提取出所述当前目标物的细节特征;根据所述当前目标物的粗类别和所述当前目标物的细节特征,确定所述当前目标物的细类别。Further, according to the coarse category of the current target object and the current local data of the current target object, determining the fine category of the current target object includes: extracting the current target object from the current local data of the current target object. The detailed feature of the target object; according to the coarse category of the current target object and the detailed feature of the current target object, the fine category of the current target object is determined.
进一步地,根据所述当前全局数据确定所述当前目标物的粗类别,所述粗类别包括车辆和行人,包括:构建全局模型,其中,所述全局模型是使用多组训练数据训练得到的,所述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据以及所述历史全局数据对应的历史目标物的粗类别;将所述当前全局数据输入至所述全局模型中进行运算,得到所述当前目标物的粗类别;根据所述当前目标物的粗类别和所述当前目标物的当前局部数据,确定所述当前目标物的细类别,包括:构建局部模型,其中,所述全局模型是使用多组训练数据训练得到的,所述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史局部数据、根据所述全局模型确定的历史目标物的粗类别、以及历史目标物的细类别;将所述当前目标物的粗类别和所述当前目标物的当前局部数据,输入至所述局部模型中进行运算,得到所述当前目标物的细类别。Further, determining the rough category of the current target object according to the current global data, where the rough category includes vehicles and pedestrians, includes: constructing a global model, wherein the global model is obtained by training with multiple sets of training data, Each set of training data in the multiple sets of training data includes: obtained within a historical time period: historical global data and a rough category of historical objects corresponding to the historical global data; inputting the current global data into the Perform operations in the global model to obtain the rough category of the current target; determine the fine category of the current target according to the rough category of the current target and the current local data of the current target, including: constructing a local model, wherein the global model is obtained by training using multiple sets of training data, and each set of training data in the multiple sets of training data includes acquired within a historical time period: historical local data, determined according to the global model The coarse category of the historical target and the fine category of the historical target; the coarse category of the current target and the current local data of the current target are input into the local model for operation, and the current target is obtained. Subcategory of the target.
进一步地,至少根据所述当前全局数据和所述当前局部数据,确定所述当前目标物的类别包括:获取所述当前目标物的温度信息;根据所述温度信息、所述当前全局数据和所述当前局部数据,确定所述当前目标物的类别。Further, determining the category of the current target object at least according to the current global data and the current local data includes: acquiring temperature information of the current target object; The current local data is used to determine the category of the current target.
进一步地,获取所述当前目标物的当前局部数据包括:获取所述图像传感器的坐标系与所述激光雷达的坐标系之间的旋转矩阵和平移向量;根据所述旋转矩阵和所述平移向量,将所述图像数据和所述点云数据进行融合,得到所述当前局部数据。Further, acquiring the current local data of the current target includes: acquiring a rotation matrix and a translation vector between the coordinate system of the image sensor and the coordinate system of the lidar; according to the rotation matrix and the translation vector , the image data and the point cloud data are fused to obtain the current local data.
进一步地,至少根据所述全局数据和所述局部数据,确定所述目标物的类别包括:构建神经网络模型,其中,所述神经网络模型是使用多组训练数据训练得到的,所述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据、历史局部数据以及与所述历史全局数据和历史局部数据对应的历史目标物的类别;根据所述神经网络模型,确定与所述全局数据和所述局部数据对应的所述当前目标物的类别。Further, determining the category of the target object at least according to the global data and the local data includes: constructing a neural network model, wherein the neural network model is obtained by using multiple sets of training data, and the multiple sets of training data are used for training. Each group of training data in the training data includes: historical global data, historical local data, and historical target categories corresponding to the historical global data and historical local data obtained in a historical time period; according to the neural network model , and determine the category of the current target object corresponding to the global data and the local data.
进一步地,至少根据所述全局数据和所述局部数据,确定所述目标物的类别包括:构建随机森林模型,其中,所述随机森林模型是使用多组训练数据训练得到的,所述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据、历史局部数据以及与所述历史全局数据和历史局部数据对应的历史目标物的类别;根据所述随机森林模型,确定与所述全局数据和所述局部数据对应的所述当前目标物的类别。Further, determining the category of the target object according to at least the global data and the local data includes: constructing a random forest model, wherein the random forest model is obtained by training with multiple sets of training data, and the multiple sets of training data are used for training. Each group of training data in the training data includes: historical global data, historical local data, and historical target categories corresponding to the historical global data and historical local data obtained within a historical time period; according to the random forest model , and determine the category of the current target object corresponding to the global data and the local data.
进一步地,构建所述随机森林模型包括:采用所述历史全局数据、所述历史局部数据中的第一种数据组合和所述历史目标物的类别,训练得到第一决策树;采用所述历史全局数据、所述历史局部数据中的第二种数据组合和所述历史目标物的类别,训练得到第二决策树;采用所述历史全局数据、所述历史局部数据中的第三种数据组合和所述历史目标物的类别,训练得到第三决策树;将所述第一决策树、所述第二决策树和所述第三决策树进行整合,得到所述随机森林模型。Further, constructing the random forest model includes: using the historical global data, the first data combination in the historical local data, and the historical target category, and training to obtain a first decision tree; using the historical data The second decision tree is obtained by training the global data, the second data combination in the historical local data and the category of the historical target; using the third data combination in the historical global data and the historical local data and the category of the historical target object, a third decision tree is obtained by training; the first decision tree, the second decision tree and the third decision tree are integrated to obtain the random forest model.
根据本申请的另一方面,提供了一种目标物分类装置,该装置包括:第一获取单元、第二获取单元和确定单元;所述第一获取单元用于获取当前全局数据,所述当前全局数据包括当前目标物鸟瞰图和所述当前目标物所位于的道路信息,所述道路信息包括道路种类,所述道路种类为车行道、人行道或者人行横道;所述第二获取单元用于获取所述当前目标物的当前局部数据,其中所述当前局部数据是融合图像数据和点云数据得到的,所述图像数据是采用图像传感器获取的,所述点云数据是采用激光雷达获取的;所述确定单元用于至少根据所述当前全局数据和所述当前局部数据,确定所述当前目标物的类别。According to another aspect of the present application, an apparatus for classifying objects is provided, the apparatus includes: a first acquiring unit, a second acquiring unit and a determining unit; the first acquiring unit is configured to acquire current global data, the current The global data includes a bird's-eye view of the current target and road information on which the current target is located, the road information includes a road type, and the road type is a roadway, a sidewalk or a crosswalk; the second acquisition unit is used to acquire The current local data of the current target, wherein the current local data is obtained by fusing image data and point cloud data, the image data is obtained by using an image sensor, and the point cloud data is obtained by using a lidar; The determining unit is configured to determine the category of the current target at least according to the current global data and the current local data.
进一步地,所述确定单元包括:第一确定模块和第二确定模块,所述第一确定模块用于根据所述当前全局数据确定所述当前目标物的粗类别,所述粗类别包括车辆和行人;所述第二确定模块用于根据所述当前目标物的粗类别和所述当前目标物的当前局部数据,确定所述当前目标物的细类别,所述细类别包括小汽车、公交车、救护车和施工车。Further, the determining unit includes: a first determining module and a second determining module, the first determining module is configured to determine a rough category of the current target object according to the current global data, and the rough category includes vehicles and Pedestrian; the second determination module is configured to determine the fine category of the current target object according to the rough category of the current target object and the current local data of the current target object, and the fine category includes cars, buses , ambulances and construction vehicles.
根据本申请的另一方面,还提供了一种车辆,该车辆包括一个或多个处理器,存储器以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述一个或多个处理器执行,所述一个或多个程序包括用于执行上述任意一种所述的方法。According to another aspect of the present application, there is also provided a vehicle comprising one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory, and configured to be executed by the one or more processors, the one or more programs comprising for performing any of the methods described above.
根据本申请的另一方面,还提供了一种系统,该系统包括车辆以及安装在车辆上的图像传感器和激光雷达,所述车辆包括控制器,所述控制器用于执行上述任意一种所述的方法。According to another aspect of the present application, there is also provided a system including a vehicle and an image sensor and a lidar mounted on the vehicle, the vehicle including a controller configured to execute any one of the above Methods.
根据本申请的另一方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质包括存储的程序,其中,在所述程序运行时控制所述计算机可读存储介质所在设备执行上述任意一种所述的方法。According to another aspect of the present application, a computer-readable storage medium is also provided, and the computer-readable storage medium includes a stored program, wherein when the program runs, the device where the computer-readable storage medium is located is controlled to execute any of the methods described above.
根据本申请的另一方面,还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述任意一种所述的方法。According to another aspect of the present application, a processor is also provided, and the processor is configured to run a program, wherein when the program is run, any one of the above-mentioned methods is executed.
应用本申请的技术方案,通过获取当前全局数据,当前全局数据包括当前目标物鸟瞰图和上述当前目标物所位于的道路信息,获取当前目标物的当前局部数据,然后至少根据当前全局数据和上述当前局部数据,确定上述当前目标物的类别。可以实现对当前目标物的类别的精确确定。Applying the technical solution of the present application, by acquiring current global data, the current global data includes a bird's-eye view of the current target object and the road information on which the above-mentioned current target object is located, the current local data of the current target object is obtained, and then at least according to the current global data and the above-mentioned The current local data determines the category of the current target. Accurate determination of the class of the current target can be achieved.
附图说明Description of drawings
构成本申请的一部分的说明书附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The accompanying drawings that form a part of the present application are used to provide further understanding of the present application, and the schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute improper limitations on the present application. In the attached image:
图1示出了根据本申请的实施例的目标物分类方法的流程图;1 shows a flowchart of a method for classifying objects according to an embodiment of the present application;
图2示出了根据本申请的实施例的目标物分类装置的示意图。FIG. 2 shows a schematic diagram of an apparatus for classifying objects according to an embodiment of the present application.
具体实施方式Detailed ways
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances for the embodiments of the application described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
应该理解的是,当元件(诸如层、膜、区域、或衬底)描述为在另一元件“上”时,该元件可直接在该另一元件上,或者也可存在中间元件。而且,在说明书以及权利要求书中,当描述有元件“连接”至另一元件时,该元件可“直接连接”至该另一元件,或者通过第三元件“连接”至该另一元件。It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Also, in the specification and claims, when an element is described as being "connected" to another element, the element can be "directly connected" to the other element or "connected" to the other element through a third element.
为了便于描述,以下对本申请实施例涉及的部分名词或术语进行说明:For the convenience of description, some nouns or terms involved in the embodiments of the present application are described below:
正如背景技术所述,现有的方案常采用激光雷达采集的点云数据对目标物进行分类,但是由于激光雷达采集的点云数据具有稀疏性和无序性,使得采用激光雷达难以对目标物进行精准分类,为了解决现有技术中采用激光雷达难以对目标物进行精准分类的问题,提出了一种目标物分类方法、装置、车辆、系统、计算机可读存储介质及处理器。As mentioned in the background art, the existing solutions often use point cloud data collected by lidar to classify objects. However, due to the sparseness and disorder of point cloud data collected by lidar, it is difficult to use lidar to classify objects. For accurate classification, in order to solve the problem that it is difficult to accurately classify targets by using lidar in the prior art, a target classification method, device, vehicle, system, computer-readable storage medium and processor are proposed.
根据本申请的实施例,提供了一种目标物分类方法。According to the embodiments of the present application, a method for classifying objects is provided.
图1是根据本申请的实施例的目标物分类方法的流程图。如图1所示,该方法包括以下步骤:FIG. 1 is a flowchart of a target object classification method according to an embodiment of the present application. As shown in Figure 1, the method includes the following steps:
步骤S101,获取当前全局数据,上述当前全局数据包括当前目标物鸟瞰图和上述当前目标物所位于的道路信息,上述道路信息包括道路种类,上述道路种类为车行道、人行道或者人行横道;Step S101, obtaining current global data, the current global data includes a bird's-eye view of the current target and road information where the current target is located, the road information includes a road type, and the road type is a roadway, a sidewalk or a crosswalk;
上述步骤中,当前目标物鸟瞰图可以是通过雷达获取的。In the above steps, the bird's-eye view of the current target may be obtained by radar.
具体地,车行道即行车道,供各种车辆在同一路面宽度内混合行驶的路幅,其宽度为车行道宽度,又称为单幅路宽度。Specifically, the roadway is the roadway, and the width of the road for various vehicles to drive together within the same road width is the width of the roadway, also known as the width of a single road.
具体地,人行道是指道路中用路缘石或护栏以及其他类似设施加以分割的专供行人通行的部分,一般宽度为四米左右。Specifically, the sidewalk refers to the part of the road that is divided by curbs or guardrails and other similar facilities for pedestrians, and generally has a width of about four meters.
具体地,人行横道是指在车行道上用斑马线等标线或其他方法标识的规定行人横穿车道的步行范围。是防止车辆快速行驶时伤及行人而在车道上标线指定需减速让行人过街的地方。Specifically, a pedestrian crossing refers to a prescribed walking range for pedestrians to cross the lane marked by markings such as zebra crossings or other methods on the roadway. It is to prevent pedestrians from being injured when the vehicle is moving fast, and the markings on the lane designate the place to slow down to allow pedestrians to cross the street.
步骤S102,获取上述当前目标物的当前局部数据,其中上述当前局部数据是融合图像数据和点云数据得到的,上述图像数据是采用图像传感器获取的,上述点云数据是采用激光雷达获取的;Step S102, obtaining the current local data of the current target, wherein the current local data is obtained by fusing image data and point cloud data, the image data is obtained by using an image sensor, and the point cloud data is obtained by using a laser radar;
步骤S103,至少根据上述当前全局数据和上述当前局部数据,确定上述当前目标物的类别。Step S103, at least according to the current global data and the current local data, determine the category of the current target object.
上述方案中,通过获取当前全局数据,当前全局数据包括当前目标物鸟瞰图和上述当前目标物所位于的道路信息,获取当前目标物的当前局部数据,然后至少根据当前全局数据和上述当前局部数据,确定上述当前目标物的类别。可以实现对当前目标物的类别的精确确定。In the above scheme, by obtaining the current global data, the current global data includes the bird's-eye view of the current target and the road information on which the current target is located, and the current local data of the current target is obtained, and then at least according to the current global data and the above-mentioned current local data. , to determine the category of the current target. Accurate determination of the class of the current target can be achieved.
需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps shown in the flowcharts of the accompanying drawings may be executed in a computer system, such as a set of computer-executable instructions, and, although a logical sequence is shown in the flowcharts, in some cases, Steps shown or described may be performed in an order different from that herein.
在本申请的一种实施例中,至少根据上述当前全局数据和上述当前局部数据,确定上述当前目标物的类别包括:根据上述当前全局数据确定上述当前目标物的粗类别,上述粗类别包括车辆和行人;根据上述当前目标物的粗类别和上述当前目标物的当前局部数据,确定上述当前目标物的细类别,上述细类别包括小汽车、公交车、救护车和施工车。由于当前全局数据中包括了当前目标物鸟瞰图和当前目标物所位于的道路信息,所以可以根据当前全局数据大致确定当前目标物的粗类别,然后在确定粗类别的前提下,再结合局部数据就可以实现对当前目标物的类别精确的确定。In an embodiment of the present application, determining the category of the current object according to at least the current global data and the current local data includes: determining a rough category of the current object according to the current global data, where the rough category includes vehicles and pedestrians; according to the coarse category of the current target object and the current local data of the current target object, the fine category of the current target object is determined, and the fine category includes cars, buses, ambulances and construction vehicles. Since the current global data includes the bird's-eye view of the current target and the road information where the current target is located, the rough category of the current target can be roughly determined according to the current global data, and then combined with the local data on the premise of determining the rough category It is possible to accurately determine the category of the current target.
在本申请的一种实施例中,根据上述当前全局数据确定上述当前目标物的粗类别包括:根据上述当前目标物鸟瞰图确定上述当前目标物的投影面积的大小;根据上述当前目标物的投影面积的大小和上述当前目标物所位于的道路信息,确定上述当前目标物的粗类别。投影面积的大小指的是正投影在路面上的投影的面积。具体地,从当前目标物鸟瞰图发现当前目标物的投影的面积较大,且发现位于行车道上可以初步判断是车辆,进而根据当前局部数据再确定是小汽车、公交车、救护车还是施工车。具体地,从当前目标物鸟瞰图发现当前目标物的投影的面积较小,且发现位于人行道上可以初步判断是行人,进而根据当前局部数据再确定是单独的行人、乘着滑板或者代步的行人还是推婴儿车的行人。In an embodiment of the present application, determining the rough category of the current target according to the current global data includes: determining the size of the projected area of the current target according to the bird's-eye view of the current target; The size of the area and the road information on which the current target object is located determine the rough category of the current target object. The size of the projected area refers to the projected area of the orthographic projection on the road surface. Specifically, it is found from the bird's-eye view of the current target that the projected area of the current target is large, and it is found that it is located on the driving lane, and it can be preliminarily determined as a vehicle, and then it is determined whether it is a car, a bus, an ambulance or a construction vehicle according to the current local data. . Specifically, it is found from the bird's-eye view of the current target that the projected area of the current target is small, and it can be preliminarily judged that it is a pedestrian when it is found on the sidewalk, and then it is determined that it is a single pedestrian, a pedestrian on a skateboard or a pedestrian based on the current local data. Or a pedestrian with a stroller.
在本申请的一种实施例中,根据上述当前目标物的粗类别和上述当前目标物的当前局部数据,确定上述当前目标物的细类别包括:从上述当前目标物的当前局部数据中提取出上述当前目标物的细节特征;根据上述当前目标物的粗类别和上述当前目标物的细节特征,确定上述当前目标物的细类别。具体地,由于小汽车、公交车、救护车还是施工车的细节特征是不同的,所以在确定粗类别的前提下,再结合当前目标物的细节特征,可以实现对当前目标物的细类别的确定。In an embodiment of the present application, determining the fine category of the current object according to the rough category of the current object and the current partial data of the current object includes: extracting from the current partial data of the current object The detailed feature of the current target object; according to the coarse category of the current target object and the detailed feature of the current target object, the fine category of the current target object is determined. Specifically, since the detailed characteristics of cars, buses, ambulances and construction vehicles are different, on the premise of determining the coarse category, combined with the detailed characteristics of the current target, it is possible to realize the detailed characteristics of the current target. Sure.
在一些实施例中,根据上述当前全局数据确定上述当前目标物的粗类别,上述粗类别包括车辆和行人,包括:构建全局模型,其中,上述全局模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据以及上述历史全局数据对应的历史目标物的粗类别;将所述当前全局数据输入至所述全局模型中进行运算,得到所述当前目标物的粗类别;根据上述当前目标物的粗类别和上述当前目标物的当前局部数据,确定上述当前目标物的细类别,包括:构建局部模型,其中,上述全局模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史局部数据、根据上述全局模型确定的历史目标物的粗类别、以及历史目标物的细类别;将上述当前目标物的粗类别和上述当前目标物的当前局部数据,输入至上述局部模型中进行运算,得到上述当前目标物的细类别。即将全局模型的输出结果作为局部模型的输入,以使得将全局数据和局部数据进行更好的融合,进一步地保证了目标物分类的准确性。In some embodiments, determining the rough category of the current target object according to the current global data, where the rough category includes vehicles and pedestrians, includes: constructing a global model, wherein the global model is obtained by training using multiple sets of training data, and the above Each set of training data in the multiple sets of training data includes: the historical global data and the rough category of the historical target object corresponding to the historical global data obtained in the historical time period; the current global data is input into the global model Perform operations to obtain the rough category of the current target; determine the fine category of the current target according to the rough category of the current target and the current local data of the current target, including: constructing a local model, wherein the global The model is obtained by training with multiple sets of training data, and each set of training data in the multiple sets of training data includes: historical local data, the coarse category of the historical target determined according to the above-mentioned global model, and The fine classification of historical objects; the coarse classification of the current object and the current local data of the current object are input into the local model for operation to obtain the fine classification of the current object. The output of the global model is used as the input of the local model, so that the global data and the local data are better integrated, which further ensures the accuracy of target classification.
在本申请的一种实施例中,至少根据上述当前全局数据和上述当前局部数据,确定上述当前目标物的类别包括:获取上述当前目标物的温度信息;根据上述温度信息、上述当前全局数据和上述当前局部数据,确定上述当前目标物的类别。在是车辆的情况下,可以根据车辆的温度确定是启动的车辆还是未启动的车辆。再例如,在检测到温度处于人体体温范围内的情况下,确定是行人是概率大大提高。In an embodiment of the present application, determining the category of the current target object at least according to the current global data and the current local data includes: acquiring temperature information of the current target object; according to the temperature information, the current global data and the The above-mentioned current local data determines the type of the above-mentioned current target object. In the case of a vehicle, it may be determined whether it is an activated vehicle or a non-activated vehicle according to the temperature of the vehicle. For another example, in the case where it is detected that the temperature is within the body temperature range, the probability of determining that it is a pedestrian is greatly increased.
具体地,可以采用温度传感器(例如,红外温度探测仪等)获取当前目标物的温度信息。Specifically, a temperature sensor (eg, an infrared temperature detector, etc.) can be used to obtain the temperature information of the current target.
在本申请的一种实施例中,获取上述当前目标物的当前局部数据包括:获取上述图像传感器的坐标系与上述激光雷达的坐标系之间的旋转矩阵和平移向量;根据上述旋转矩阵和上述平移向量,将上述图像数据和上述点云数据进行融合,得到上述当前局部数据。通过坐标变换实现将图像传感器的坐标系与激光雷达的坐标系统一在同一个坐标系下,进而实现图像数据和上述点云数据的融合。In an embodiment of the present application, acquiring the current local data of the current target includes: acquiring a rotation matrix and a translation vector between the coordinate system of the image sensor and the coordinate system of the lidar; Translate the vector, and fuse the above image data and the above point cloud data to obtain the above current local data. Through coordinate transformation, the coordinate system of the image sensor and the coordinate system of the lidar are placed in the same coordinate system, thereby realizing the fusion of the image data and the above point cloud data.
在本申请的一种实施例中,至少根据上述全局数据和上述局部数据,确定上述目标物的类别包括:构建神经网络模型,其中,上述神经网络模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据、历史局部数据以及与上述历史全局数据和历史局部数据对应的历史目标物的类别;根据上述神经网络模型,确定与上述全局数据和上述局部数据对应的上述目标物的类别。采用神经网络算法可以实现对目标物的类别的精确确定。In an embodiment of the present application, determining the category of the object according to at least the global data and the local data includes: constructing a neural network model, wherein the neural network model is obtained by training using multiple sets of training data, and the above Each set of training data in the multiple sets of training data includes: historical global data, historical local data, and the categories of historical objects corresponding to the above-mentioned historical global data and historical local data obtained in a historical time period; according to the above-mentioned neural network model , to determine the category of the target object corresponding to the global data and the local data. The neural network algorithm can be used to accurately determine the category of the target.
在本申请的一种实施例中,至少根据上述全局数据和上述局部数据,确定上述目标物的类别包括:构建随机森林模型,其中,上述随机森林模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据、历史局部数据以及与上述历史全局数据和历史局部数据对应的历史目标物的类别;根据上述随机森林模型,确定与上述全局数据和上述局部数据对应的上述目标物的类别。由于随机森林算法训练数据选择的随机性,可以保证对目标物的类别的精确确定。In an embodiment of the present application, determining the category of the object according to at least the global data and the local data includes: constructing a random forest model, wherein the random forest model is obtained by training using multiple sets of training data, and the above Each set of training data in the multiple sets of training data includes: historical global data, historical local data, and categories of historical objects corresponding to the above-mentioned historical global data and historical local data obtained in a historical time period; according to the above random forest model , to determine the category of the target object corresponding to the global data and the local data. Due to the randomness of the training data selection of the random forest algorithm, the accurate determination of the category of the target object can be guaranteed.
在本申请的一种实施例中,构建上述随机森林模型包括:采用上述历史全局数据、上述历史局部数据中的第一种数据组合和上述历史目标物的类别,训练得到第一决策树;采用上述历史全局数据、上述历史局部数据中的第二种数据组合和上述历史目标物的类别,训练得到第二决策树;采用上述历史全局数据、上述历史局部数据中的第三种数据组合和上述历史目标物的类别,训练得到第三决策树;将上述第一决策树、上述第二决策树和上述第三决策树进行整合,得到上述随机森林模型。即先采用不同的参数训练得到不同的决策树,然后将不同的决策树进行融合,得到精准的随机森林模型。In an embodiment of the present application, constructing the above random forest model includes: using the above-mentioned historical global data, the first data combination in the above-mentioned historical local data, and the above-mentioned historical target category, and training to obtain a first decision tree; using The above-mentioned historical global data, the second type of data combination in the above-mentioned historical local data, and the above-mentioned historical target category are trained to obtain a second decision tree; the third type of data combination in the above-mentioned historical global data, the above-mentioned historical local data and the above-mentioned historical global data are used. A third decision tree is obtained through training; the above-mentioned first decision tree, the above-mentioned second decision tree and the above-mentioned third decision tree are integrated to obtain the above-mentioned random forest model. That is, different decision trees are obtained by training with different parameters, and then different decision trees are fused to obtain an accurate random forest model.
本申请实施例还提供了一种目标物分类装置,需要说明的是,本申请实施例的目标物分类装置可以用于执行本申请实施例所提供的用于目标物分类方法。以下对本申请实施例提供的目标物分类装置进行介绍。The embodiment of the present application further provides a target object classification apparatus. It should be noted that the target object classification apparatus of the embodiment of the present application may be used to execute the method for target object classification provided by the embodiment of the present application. The apparatus for classifying objects provided in the embodiments of the present application will be introduced below.
图2是根据本申请的实施例的目标物分类装置的示意图。如图2所示,该装置包括:第一获取单元10、第二获取单元20和确定单元30;FIG. 2 is a schematic diagram of a target object classification apparatus according to an embodiment of the present application. As shown in FIG. 2 , the apparatus includes: a first obtaining unit 10, a second obtaining unit 20 and a determining unit 30;
上述第一获取单元10用于获取当前全局数据,上述当前全局数据包括当前目标物鸟瞰图和上述当前目标物所位于的道路信息,上述道路信息包括道路种类,上述道路种类为车行道、人行道或者人行横道;The above-mentioned first obtaining unit 10 is used to obtain the current global data. The above-mentioned current global data includes a bird's-eye view of the current target object and the road information on which the above-mentioned current target object is located. The above-mentioned road information includes a road type, and the above-mentioned road type is a roadway and a sidewalk. or a pedestrian crossing;
上述步骤中,当前目标物鸟瞰图可以是通过雷达获取的。In the above steps, the bird's-eye view of the current target may be obtained by radar.
具体地,车行道即行车道,供各种车辆在同一路面宽度内混合行驶的路幅,其宽度为车行道宽度,又称为单幅路宽度。Specifically, the roadway is the roadway, and the width of the road for various vehicles to drive together within the same road width is the width of the roadway, also known as the width of a single road.
具体地,人行道是指道路中用路缘石或护栏以及其他类似设施加以分割的专供行人通行的部分,一般宽度为四米左右。Specifically, the sidewalk refers to the part of the road that is divided by curbs or guardrails and other similar facilities for pedestrians, and generally has a width of about four meters.
具体地,人行横道是指在车行道上用斑马线等标线或其他方法标识的规定行人横穿车道的步行范围。是防止车辆快速行驶时伤及行人而在车道上标线指定需减速让行人过街的地方。Specifically, a pedestrian crossing refers to a prescribed walking range for pedestrians to cross the lane marked by markings such as zebra crossings or other methods on the roadway. It is to prevent pedestrians from being injured when the vehicle is moving fast, and the markings on the lane designate the place to slow down to allow pedestrians to cross the street.
上述第二获取单元20用于获取上述当前目标物的当前局部数据,其中上述当前局部数据是融合图像数据和点云数据得到的,上述图像数据是采用图像传感器获取的,上述点云数据是采用激光雷达获取的;The above-mentioned second obtaining unit 20 is used to obtain the current local data of the above-mentioned current target, wherein the above-mentioned current local data is obtained by fusing image data and point cloud data, the above-mentioned image data is obtained by using an image sensor, and the above-mentioned point cloud data is obtained by using an image sensor. obtained by lidar;
上述确定单元30用于至少根据上述当前全局数据和上述当前局部数据,确定上述当前目标物的类别。The determining unit 30 is configured to determine the category of the current target object at least according to the current global data and the current local data.
上述方案中,第一获取单元获取当前全局数据,当前全局数据包括当前目标物鸟瞰图和上述当前目标物所位于的道路信息,第二获取单元获取当前目标物的当前局部数据,确定单元至少根据当前全局数据和上述当前局部数据,确定上述当前目标物的类别。可以实现对当前目标物的类别的精确确定。In the above solution, the first acquisition unit acquires current global data, the current global data includes a bird's-eye view of the current target and road information on which the current target is located, the second acquisition unit acquires the current local data of the current target, and the determination unit at least according to The current global data and the above-mentioned current local data determine the type of the above-mentioned current target object. Accurate determination of the class of the current target can be achieved.
在本申请的一种实施例中,上述确定单元包括:第一确定模块和第二确定模块,上述第一确定模块用于根据上述当前全局数据确定上述当前目标物的粗类别,上述粗类别包括车辆和行人;上述第二确定模块用于根据上述当前目标物的粗类别和上述当前目标物的当前局部数据,确定上述当前目标物的细类别,上述细类别包括小汽车、公交车、救护车和施工车。由于当前全局数据中包括了当前目标物鸟瞰图和当前目标物所位于的道路信息,所以可以根据当前全局数据大致确定当前目标物的粗类别,然后在确定粗类别的前提下,再结合局部数据就可以实现对当前目标物的类别精确的确定。In an embodiment of the present application, the determination unit includes: a first determination module and a second determination module, the first determination module is configured to determine the rough category of the current target according to the current global data, and the rough category includes Vehicles and pedestrians; the second determining module is used to determine the fine category of the current target according to the rough category of the current target and the current local data of the current target, and the fine category includes cars, buses, and ambulances and construction vehicles. Since the current global data includes the bird's-eye view of the current target and the road information where the current target is located, the rough category of the current target can be roughly determined according to the current global data, and then combined with the local data on the premise of determining the rough category It is possible to accurately determine the category of the current target.
在本申请的一种实施例中,上述第一确定模块包括:第一确定子模块和第二确定子模块,上述第一确定子模块用于根据上述当前目标物鸟瞰图确定上述当前目标物的投影面积的大小;上述第二确定子模块用于根据上述当前目标物的投影面积的大小和上述当前目标物所位于的道路信息,确定上述当前目标物的粗类别。投影面积的大小指的是正投影在路面上的投影的面积。具体地,从当前目标物鸟瞰图发现当前目标物的投影的面积较大,且发现位于行车道上可以初步判断是车辆,进而根据当前局部数据再确定是小汽车、公交车、救护车还是施工车。具体地,从当前目标物鸟瞰图发现当前目标物的投影的面积较小,且发现位于人行道上可以初步判断是行人,进而根据当前局部数据再确定是单独的行人、乘着滑板或者代步的行人还是推婴儿车的行人。In an embodiment of the present application, the above-mentioned first determination module includes: a first determination sub-module and a second determination sub-module, and the above-mentioned first determination sub-module is configured to determine the current target object according to the bird's-eye view of the above-mentioned current target object. The size of the projected area; the second determining sub-module is configured to determine the rough category of the current target according to the size of the projected area of the current target and the road information on which the current target is located. The size of the projected area refers to the projected area of the orthographic projection on the road surface. Specifically, it is found from the bird's-eye view of the current target that the projected area of the current target is large, and it is found that it is located on the driving lane, and it can be preliminarily determined as a vehicle, and then it is determined whether it is a car, a bus, an ambulance or a construction vehicle according to the current local data. . Specifically, it is found from the bird's-eye view of the current target that the projected area of the current target is small, and it can be preliminarily judged that it is a pedestrian when it is found on the sidewalk, and then it is determined that it is a single pedestrian, a pedestrian on a skateboard or a pedestrian based on the current local data. Or a pedestrian with a stroller.
在本申请的一种实施例中,上述第二确定模块包括:提取子模块和第三确定子模块,上述提取子模块用于从上述当前目标物的当前局部数据中提取出上述当前目标物的细节特征;上述第三确定子模块用于根据上述当前目标物的粗类别和上述当前目标物的细节特征,确定上述当前目标物的细类别。具体地,由于小汽车、公交车、救护车还是施工车的细节特征是不同的,所以在确定粗类别的前提下,再结合当前目标物的细节特征,可以实现对当前目标物的细类别的确定。In an embodiment of the present application, the second determination module includes: an extraction sub-module and a third determination sub-module, and the extraction sub-module is used to extract the current local data of the current target from the current local data of the current target. Detailed features; the third determining sub-module is configured to determine the fine category of the current target according to the coarse category of the current target and the detailed feature of the current target. Specifically, since the detailed characteristics of cars, buses, ambulances and construction vehicles are different, on the premise of determining the coarse category, combined with the detailed characteristics of the current target, it is possible to realize the detailed characteristics of the current target. Sure.
在一些实施例中,第一确定模块包括第一构建子模块和第一运算子模块,第一构建子模块用于构建全局模型,其中,上述全局模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据以及上述历史全局数据对应的历史目标物的粗类别;第一运算子模块用于将所述当前全局数据输入至所述全局模型中进行运算,得到所述当前目标物的粗类别;第二确定模块包括第二构建子模块和第二运算子模块,第二构建子模块用于构建局部模型,其中,上述全局模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史局部数据、根据上述全局模型确定的历史目标物的粗类别、以及历史目标物的细类别;第二运算子模块用于将上述当前目标物的粗类别和上述当前目标物的当前局部数据,输入至上述局部模型中进行运算,得到上述当前目标物的细类别。即将全局模型的输出结果作为局部模型的输入,以使得将全局数据和局部数据进行更好的融合,进一步地保证了目标物分类的准确性。In some embodiments, the first determination module includes a first construction sub-module and a first operation sub-module, and the first construction sub-module is used to construct a global model, wherein the above-mentioned global model is obtained by training using multiple sets of training data, and the above-mentioned Each group of training data in the multiple sets of training data includes: the historical global data and the rough category of the historical target object corresponding to the historical global data obtained in the historical time period; the first operation sub-module is used for the current global data. Input into the global model for operation to obtain the rough category of the current target; the second determination module includes a second construction sub-module and a second operation sub-module, and the second construction sub-module is used to construct a local model, wherein, The above-mentioned global model is obtained by training with multiple sets of training data, and each set of training data in the above-mentioned multiple sets of training data includes: historical local data, the coarse category of the historical target determined according to the above-mentioned global model. , and the detailed classification of historical objects; the second operation sub-module is used to input the rough classification of the above-mentioned current objects and the current local data of the above-mentioned current objects into the above-mentioned local model for operation, and obtain the details of the above-mentioned current objects. category. The output of the global model is used as the input of the local model, so that the global data and the local data are better integrated, which further ensures the accuracy of target classification.
在本申请的一种实施例中,上述确定单元包括:第一获取模块和第三确定模块,上述第一获取模块用于获取上述当前目标物的温度信息;上述第三确定模块用于根据上述温度信息、上述当前全局数据和上述当前局部数据,确定上述当前目标物的类别。在是车辆的情况下,可以根据车辆的温度确定是启动的车辆还是未启动的车辆。再例如,在检测到温度处于人体体温范围内的情况下,确定是行人是概率大大提高。In an embodiment of the present application, the determination unit includes: a first acquisition module and a third determination module, the first acquisition module is used to acquire the temperature information of the current target; the third determination module is used to The temperature information, the current global data and the current local data determine the category of the current target. In the case of a vehicle, it may be determined whether it is an activated vehicle or a non-activated vehicle according to the temperature of the vehicle. For another example, in the case where it is detected that the temperature is within the body temperature range, the probability of determining that it is a pedestrian is greatly increased.
在本申请的一种实施例中,上述确定单元还包括:第二获取模块和处理模块,上述第二获取模块用于获取上述图像传感器的坐标系与上述激光雷达的坐标系之间的旋转矩阵和平移向量;上述处理模块用于根据上述旋转矩阵和上述平移向量,将上述图像数据和上述点云数据进行融合,得到上述当前局部数据。通过坐标变换实现将图像传感器的坐标系与激光雷达的坐标系统一在同一个坐标系下,进而实现图像数据和上述点云数据的融合。In an embodiment of the present application, the determination unit further includes: a second acquisition module and a processing module, where the second acquisition module is configured to acquire a rotation matrix between the coordinate system of the image sensor and the coordinate system of the lidar and translation vector; the above-mentioned processing module is configured to fuse the above-mentioned image data and the above-mentioned point cloud data according to the above-mentioned rotation matrix and the above-mentioned translation vector to obtain the above-mentioned current local data. Through coordinate transformation, the coordinate system of the image sensor and the coordinate system of the lidar are placed in the same coordinate system, thereby realizing the fusion of the image data and the above point cloud data.
在本申请的一种实施例中,上述确定单元还包括:第一构建模块和第四确定模块,上述第一构建模块用于构建神经网络模型,其中,上述神经网络模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据、历史局部数据以及与上述历史全局数据和历史局部数据对应的历史目标物的类别;上述第四确定模块用于根据上述神经网络模型,确定与上述全局数据和上述局部数据对应的上述目标物的类别。采用神经网络算法可以实现对目标物的类别的精确确定。In an embodiment of the present application, the determining unit further includes: a first building module and a fourth determining module, where the first building module is used to build a neural network model, wherein the neural network model uses multiple sets of training data Obtained by training, each group of training data in the above-mentioned multiple groups of training data includes the historical global data, historical local data and the categories of historical objects corresponding to the above-mentioned historical global data and historical local data obtained within a historical time period; The fourth determining module is configured to determine the category of the target object corresponding to the global data and the local data according to the neural network model. The neural network algorithm can be used to accurately determine the category of the target.
在本申请的一种实施例中,上述确定单元还包括:第二构建模块和第五确定模块,上述第二构建模块用于构建随机森林模型,其中,上述随机森林模型是使用多组训练数据训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的:历史全局数据、历史局部数据以及与上述历史全局数据和历史局部数据对应的历史目标物的类别;上述第五确定模块用于根据上述随机森林模型,确定与上述全局数据和上述局部数据对应的上述目标物的类别。由于随机森林算法训练数据选择的随机性,可以保证对目标物的类别的精确确定。In an embodiment of the present application, the determining unit further includes: a second building module and a fifth determining module, where the second building module is used to build a random forest model, wherein the random forest model uses multiple sets of training data Obtained by training, each group of training data in the above-mentioned multiple groups of training data includes the historical global data, historical local data and the categories of historical objects corresponding to the above-mentioned historical global data and historical local data obtained within a historical time period; The fifth determining module is configured to determine the category of the target object corresponding to the global data and the local data according to the random forest model. Due to the randomness of the training data selection of the random forest algorithm, the accurate determination of the category of the target object can be guaranteed.
在本申请的一种实施例中,上述第二构建模块包括:第一训练子模块、第二训练子模块、第三训练子模块和整合子模块,上述第一训练子模块用于采用上述历史全局数据、上述历史局部数据中的第一种数据组合和上述历史目标物的类别,训练得到第一决策树;上述第二训练子模块用于采用上述历史全局数据、上述历史局部数据中的第二种数据组合和上述历史目标物的类别,训练得到第二决策树;上述第三训练子模块用于采用上述历史全局数据、上述历史局部数据中的第三种数据组合和上述历史目标物的类别,训练得到第三决策树;上述整合子模块用于将上述第一决策树、上述第二决策树和上述第三决策树进行整合,得到上述随机森林模型。即先采用不同的参数训练得到不同的决策树,然后将不同的决策树进行融合,得到精准的随机森林模型。In an embodiment of the present application, the above-mentioned second building module includes: a first training sub-module, a second training sub-module, a third training sub-module and an integration sub-module, and the above-mentioned first training sub-module is used for adopting the above-mentioned history The global data, the first data combination in the above-mentioned historical local data, and the category of the above-mentioned historical target are trained to obtain a first decision tree; the above-mentioned second training submodule is used for using the above-mentioned historical global data and the first in the above-mentioned historical local data. The two data combinations and the categories of the above-mentioned historical targets are trained to obtain a second decision tree; the above-mentioned third training sub-module is used for using the above-mentioned historical global data, the third data combination in the above-mentioned historical local data, and the above-mentioned historical target objects. The third decision tree is obtained by training; the integration sub-module is used to integrate the first decision tree, the second decision tree and the third decision tree to obtain the random forest model. That is, different decision trees are obtained by training with different parameters, and then different decision trees are fused to obtain an accurate random forest model.
所述目标物分类装置包括处理器和存储器,上述获取单元、第二获取单元和确定单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The target object classification device includes a processor and a memory, the above-mentioned acquisition unit, the second acquisition unit and the determination unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions. .
处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来解决现有技术中采用激光雷达难以对目标物进行精准分类的问题。The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and by adjusting the kernel parameters, the problem that it is difficult to accurately classify targets by using lidar in the prior art can be solved.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least one memory chip.
根据本申请的另一方面,还提供了一种车辆,该车辆包括一个或多个处理器,存储器以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述一个或多个处理器执行,所述一个或多个程序包括用于执行上述目标物分类方法。According to another aspect of the present application, there is also provided a vehicle comprising one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory, And configured to be executed by the one or more processors, the one or more programs include a method for performing the above-described object classification.
根据本申请的另一方面,还提供了一种系统,该系统包括车辆以及安装在车辆上的图像传感器和激光雷达,所述车辆包括控制器,所述控制器用于执行上述目标物分类方法。According to another aspect of the present application, there is also provided a system including a vehicle and an image sensor and a lidar mounted on the vehicle, the vehicle including a controller for executing the above-mentioned method for classifying objects.
本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质包括存储的程序,其中,在所述程序运行时控制所述计算机可读存储介质所在设备执行所述目标物分类方法。An embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, wherein when the program runs, a device where the computer-readable storage medium is located is controlled to perform the target object classification method.
本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行所述目标物分类方法。An embodiment of the present invention provides a processor for running a program, wherein the target object classification method is executed when the program is run.
本发明实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现至少以下步骤:获取当前全局数据,所述当前全局数据包括当前目标物鸟瞰图和所述当前目标物所位于的道路信息,所述道路信息包括道路种类,所述道路种类为车行道、人行道或者人行横道;获取所述当前目标物的当前局部数据,其中所述当前局部数据是融合图像数据和点云数据得到的,所述图像数据是采用图像传感器获取的,所述点云数据是采用激光雷达获取的;至少根据所述当前全局数据和所述当前局部数据,确定所述当前目标物的类别。本文中的设备可以是服务器、PC、PAD、手机等。An embodiment of the present invention provides a device. The device includes a processor, a memory, and a program stored in the memory and running on the processor. When the processor executes the program, the processor implements at least the following steps: acquiring current global data, the current global data The data includes a bird's-eye view of the current target and road information on which the current target is located, the road information includes a road type, and the road type is a roadway, a sidewalk or a crosswalk; obtain the current local data of the current target , wherein the current local data is obtained by fusing image data and point cloud data, the image data is obtained by using an image sensor, and the point cloud data is obtained by using lidar; at least according to the current global data and all The current local data is used to determine the category of the current target. The devices in this article can be servers, PCs, PADs, mobile phones, and so on.
本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有至少如下方法步骤的程序:获取当前全局数据,所述当前全局数据包括当前目标物鸟瞰图和所述当前目标物所位于的道路信息,所述道路信息包括道路种类,所述道路种类为车行道、人行道或者人行横道;获取所述当前目标物的当前局部数据,其中所述当前局部数据是融合图像数据和点云数据得到的,所述图像数据是采用图像传感器获取的,所述点云数据是采用激光雷达获取的;至少根据所述当前全局数据和所述当前局部数据,确定所述当前目标物的类别。The present application also provides a computer program product that, when executed on a data processing device, is suitable for executing a program initialized with at least the following method steps: acquiring current global data, where the current global data includes a bird's-eye view of the current target and all the road information on which the current target object is located, the road information includes the road type, and the road type is a roadway, a sidewalk or a crosswalk; obtain the current local data of the current target object, wherein the current local data is a fusion The image data and point cloud data are obtained, the image data is obtained by using an image sensor, and the point cloud data is obtained by using lidar; at least according to the current global data and the current local data, determine the current Type of target.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.
从以上的描述中,可以看出,本申请上述的实施例实现了如下技术效果:From the above description, it can be seen that the above-mentioned embodiments of the present application achieve the following technical effects:
1)、本申请的目标物分类方法,通过获取当前全局数据,当前全局数据包括当前目标物鸟瞰图和上述当前目标物所位于的道路信息,获取当前目标物的当前局部数据,然后至少根据当前全局数据和上述当前局部数据,确定上述当前目标物的类别。可以实现对当前目标物的类别的精确确定。1), the target object classification method of the present application, by obtaining the current global data, the current global data includes the current target object bird's-eye view and the road information where the above-mentioned current target object is located, obtain the current local data of the current target object, and then at least according to the current The global data and the above-mentioned current local data determine the type of the above-mentioned current target object. Accurate determination of the class of the current target can be achieved.
2)、本申请的目标物分类装置,第一获取单元获取当前全局数据,当前全局数据包括当前目标物鸟瞰图和上述当前目标物所位于的道路信息,第二获取单元获取当前目标物的当前局部数据,确定单元至少根据当前全局数据和上述当前局部数据,确定上述当前目标物的类别。可以实现对当前目标物的类别的精确确定。2), the target object classification device of the present application, the first acquisition unit acquires current global data, the current global data includes the current target object bird's eye view and the road information where the current target object is located, and the second acquisition unit acquires the current target object. Local data, the determining unit determines the category of the current target object at least according to the current global data and the current local data. Accurate determination of the class of the current target can be achieved.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210510869.5A CN114818967A (en) | 2022-05-11 | 2022-05-11 | Target object classification method, device, vehicle and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210510869.5A CN114818967A (en) | 2022-05-11 | 2022-05-11 | Target object classification method, device, vehicle and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114818967A true CN114818967A (en) | 2022-07-29 |
Family
ID=82514318
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210510869.5A Pending CN114818967A (en) | 2022-05-11 | 2022-05-11 | Target object classification method, device, vehicle and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114818967A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106709475A (en) * | 2017-01-22 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Obstacle recognition method and device, computer equipment and readable storage medium |
| CN107862340A (en) * | 2017-11-16 | 2018-03-30 | 深圳市华尊科技股份有限公司 | A kind of model recognizing method and device |
| CN108319907A (en) * | 2018-01-26 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of vehicle identification method, device and storage medium |
| CN109101861A (en) * | 2017-06-20 | 2018-12-28 | 百度在线网络技术(北京)有限公司 | Obstacle identity recognition methods, device, equipment and storage medium |
| CN111583337A (en) * | 2020-04-25 | 2020-08-25 | 华南理工大学 | Omnibearing obstacle detection method based on multi-sensor fusion |
| CN113076830A (en) * | 2021-03-22 | 2021-07-06 | 上海欧菲智能车联科技有限公司 | Environment passing area detection method and device, vehicle-mounted terminal and storage medium |
-
2022
- 2022-05-11 CN CN202210510869.5A patent/CN114818967A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106709475A (en) * | 2017-01-22 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Obstacle recognition method and device, computer equipment and readable storage medium |
| CN109101861A (en) * | 2017-06-20 | 2018-12-28 | 百度在线网络技术(北京)有限公司 | Obstacle identity recognition methods, device, equipment and storage medium |
| CN107862340A (en) * | 2017-11-16 | 2018-03-30 | 深圳市华尊科技股份有限公司 | A kind of model recognizing method and device |
| CN108319907A (en) * | 2018-01-26 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of vehicle identification method, device and storage medium |
| CN111583337A (en) * | 2020-04-25 | 2020-08-25 | 华南理工大学 | Omnibearing obstacle detection method based on multi-sensor fusion |
| CN113076830A (en) * | 2021-03-22 | 2021-07-06 | 上海欧菲智能车联科技有限公司 | Environment passing area detection method and device, vehicle-mounted terminal and storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 邓旭冉;闵少波;徐静远;李攀登;谢洪涛;张勇东;: "深度细粒度图像识别研究综述", 南京信息工程大学学报(自然科学版), no. 06, 28 November 2019 (2019-11-28) * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109584578B (en) | Method and device for recognizing a driving lane | |
| CN110155053B (en) | Method and apparatus for providing information for driving a vehicle | |
| US20210403001A1 (en) | Systems and methods for generating lane data using vehicle trajectory sampling | |
| WO2017020466A1 (en) | Urban road recognition method, apparatus, storage medium and device based on laser point cloud | |
| US20220381569A1 (en) | Optimization of autonomous vehicle route calculation using a node graph | |
| US11726772B2 (en) | Firmware update mechanism of a power distribution board | |
| US12136167B2 (en) | Mapping data to generate simulation road paint geometry | |
| US20230147874A1 (en) | Obstacle detection based on other vehicle behavior | |
| US20180165526A1 (en) | Gatoreye system for smart transportation | |
| US20230050467A1 (en) | Ground height-map based elevation de-noising | |
| WO2023179030A1 (en) | Road boundary detection method and apparatus, and electronic device, storage medium and computer program product | |
| CN115143952A (en) | Method and device for automatic driving vehicle localization based on visual assistance | |
| CN108332761B (en) | Method and equipment for using and creating road network map information | |
| US12399277B2 (en) | Object tracking using semantic attributes | |
| US12072419B2 (en) | Procedurally generated three-dimensional environment for use in autonomous vehicle simulations | |
| US12272188B2 (en) | Determining a coverage of autonomous vehicle simulation tests | |
| CN109711341B (en) | A virtual lane line recognition method and device, equipment and medium | |
| CN114818967A (en) | Target object classification method, device, vehicle and system | |
| US12422521B2 (en) | Weather station for sensor calibration | |
| US12482272B2 (en) | Pseudo-random sequences for self-supervised learning of traffic scenes | |
| US20230185993A1 (en) | Configurable simulation test scenarios for autonomous vehicles | |
| US12275435B2 (en) | Autonomous vehicle control based on changing weather conditions | |
| US20240232457A1 (en) | Test validation | |
| US20240230909A9 (en) | Light-based time-of-flight sensor simulation | |
| US20240010208A1 (en) | Map-assisted target detection for sensor calibration |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |