CN110198439A - Method and apparatus for testing the image recognition performance of ADAS camera automatically - Google Patents

Method and apparatus for testing the image recognition performance of ADAS camera automatically Download PDF

Info

Publication number
CN110198439A
CN110198439A CN201810158885.6A CN201810158885A CN110198439A CN 110198439 A CN110198439 A CN 110198439A CN 201810158885 A CN201810158885 A CN 201810158885A CN 110198439 A CN110198439 A CN 110198439A
Authority
CN
China
Prior art keywords
objects
target
target object
object information
information
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
Application number
CN201810158885.6A
Other languages
Chinese (zh)
Inventor
唐晓文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Continental Automotive Systems Shanghai Co Ltd
Original Assignee
Continental Automotive Systems Shanghai Co Ltd
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 Continental Automotive Systems Shanghai Co Ltd filed Critical Continental Automotive Systems Shanghai Co Ltd
Priority to CN201810158885.6A priority Critical patent/CN110198439A/en
Publication of CN110198439A publication Critical patent/CN110198439A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)

Abstract

Embodiment of the invention discloses the method and apparatus of the image recognition performance for testing ADAS camera automatically.In method, simulated environment is generated, simulated environment includes multiple target objects, and each target object in multiple target objects has target object information.Simulated environment is presented.Receive the identification object information of the multiple identification objects identified by ADAS camera from simulated environment.The identification object information of multiple identification objects is compared with the target object information of multiple target objects respectively.

Description

用于自动测试ADAS相机的图像识别性能的方法和装置Method and device for automatically testing image recognition performance of ADAS cameras

技术领域technical field

本发明涉及车辆技术领域,具体地,涉及一种用于自动测试ADAS相机的图像识别性能的方法和装置。The invention relates to the field of vehicle technology, in particular to a method and device for automatically testing the image recognition performance of an ADAS camera.

背景技术Background technique

汽车在当今社会中的广泛普及使人们的生活更加便利,然而伴随汽车数量的急剧增加,各种道路安全事故频发,人们开始日益关注汽车驾驶的安全性。目前,已在部分车辆安装高级驾驶辅助系统(ADAS,Advanced Driver Assistance System),也可称为主动安全系统,其利用安装在车辆上的传感器,在汽车行驶过程中感应周围的环境,收集数据,进行静态、动态物体的辨识、侦测和追踪。此外,ADAS还结合导航仪地图数据,进行系统的运算与分析,从而预先让驾驶者察觉到可能发生的危险,���效增加汽车的舒适性和安全性。The widespread popularity of cars in today's society has made people's lives more convenient. However, with the rapid increase in the number of cars and the frequent occurrence of various road safety accidents, people have begun to pay more and more attention to the safety of car driving. At present, Advanced Driver Assistance System (ADAS, Advanced Driver Assistance System) has been installed in some vehicles, which can also be called active safety system. Identify, detect and track static and dynamic objects. In addition, ADAS also combines the map data of the navigator to carry out systematic calculation and analysis, so as to let the driver perceive possible dangers in advance, and effectively increase the comfort and safety of the car.

ADAS的功能例如包括基于前视摄像头实现的车道偏离报警、前方防碰撞报警、行人及障碍物检测、交通标志识别等。为了保证ADAS系统性能的优良,在产品开发过程中需要进行大量的测试评价,国际上已有相关的测试标准产生,如ISO26262及SAE相关标准等。The functions of ADAS include, for example, lane departure warning based on the forward-looking camera, forward collision avoidance warning, pedestrian and obstacle detection, traffic sign recognition, etc. In order to ensure the excellent performance of the ADAS system, a large number of tests and evaluations are required in the product development process, and relevant international test standards have been produced, such as ISO26262 and SAE related standards.

发明内容Contents of the invention

本发明的实施例提供了一种用于自动测试ADAS相机的图像识别性能的方法和装置。该方法能够通过生成模拟安装有ADAS相机的车辆的驾驶的仿真环境以及自动化的测试流程来对ADAS相机的图像识别效果进行测评。Embodiments of the present invention provide a method and device for automatically testing the image recognition performance of an ADAS camera. The method can evaluate the image recognition effect of the ADAS camera by generating a simulation environment for simulating the driving of the vehicle equipped with the ADAS camera and an automated test process.

根据本发明的一个方面,提供了一种用于自动测试ADAS相机的图像识别性能的方法。在方法中,生成仿真环境,仿真环境包括多个目标对象,多个目标对象中的每个目标对象具有目标对象信息。呈现仿真环境。接收由ADAS相机从仿真环境识别的多个识别对象的识别对象信息。以及将多个识别对象的识别对象信息分别与多个目标对象的目标对象信息进行比较。According to one aspect of the present invention, a method for automatically testing the image recognition performance of an ADAS camera is provided. In the method, a simulation environment is generated, the simulation environment includes a plurality of target objects, each target object of the plurality of target objects has target object information. Present the simulation environment. Recognized object information of a plurality of recognized objects recognized by the ADAS camera from the simulated environment is received. And comparing the identification object information of the plurality of identification objects with the target object information of the plurality of target objects respectively.

根据本发明的另一方面,提供了一种用于自动测试ADAS相机的图像识别性能的装置。装置包括控制器,其包括处理器和存储器。处理器可生成仿真环境,仿真环境包括多个目标对象,存储器可存储多个目标对象中的每个目标对象的目标对象信息。显示器可呈现仿真环境。ADAS相机可从仿真环境识别多个识别对象,并将多个识别对象的识别对象信息发送至控制器的处理器。控制器的处理器还可接收由ADAS相机识别的多个识别对象的识别对象信息,并将多个识别对象的识别对象信息分别与多个目标对象的目标对象信息进行比较。According to another aspect of the present invention, a device for automatically testing the image recognition performance of an ADAS camera is provided. The apparatus includes a controller including a processor and memory. The processor can generate a simulation environment, the simulation environment includes a plurality of target objects, and the memory can store target object information of each of the plurality of target objects. The display may present a simulated environment. The ADAS camera can recognize a plurality of recognition objects from the simulation environment, and send recognition object information of the plurality of recognition objects to a processor of the controller. The processor of the controller may also receive recognition object information of a plurality of recognition objects recognized by the ADAS camera, and compare the recognition object information of the plurality of recognition objects with target object information of a plurality of target objects, respectively.

根据本发明的实施例,能够确保测试数据的广泛性、多样性、均衡性,使测试结果更加客观公正全面,同时节省人工成本。According to the embodiments of the present invention, the extensiveness, diversity and balance of test data can be ensured, the test results can be made more objective, fair and comprehensive, and labor costs can be saved at the same time.

附图说明Description of drawings

为了更清楚地说明本发明的技术方案,下面将对实施例的附图进行简单说明。应当知道,以下描述的附图仅仅是本发明的一些实施例,而非对本发明的限制,其中:In order to illustrate the technical solutions of the present invention more clearly, the accompanying drawings of the embodiments will be briefly described below. It should be known that the accompanying drawings described below are only some embodiments of the present invention, rather than limiting the present invention, wherein:

图1是根据本发明的实施例的用于自动测试ADAS相机的图像识别性能的方法的流程图;Fig. 1 is the flow chart of the method for automatically testing the image recognition performance of ADAS camera according to an embodiment of the present invention;

图2是根据本发明的实施例的仿真环境的示例性示意图;Fig. 2 is an exemplary schematic diagram of a simulation environment according to an embodiment of the present invention;

图3是根据本发明的实施例的用于自动测试ADAS相机的图像识别性能的装置的示意图。FIG. 3 is a schematic diagram of an apparatus for automatically testing the image recognition performance of an ADAS camera according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的实施例的目的、技术方案和优点更加清楚,下面将结合附图,对本发明的实施例的技术方案进行清楚、完整的描述。显然,所描述的实施例仅仅是本发明的一部分实施例,而并非全部的实施例。基于所描述的实施例,本领域的普通技术人员在无需创造性劳动的前提下所获得的所有其它实施例,也都属于本发明的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the described embodiments, all other embodiments obtained by those skilled in the art without creative efforts also fall within the scope of the present invention.

由于ADAS的很多功能都是基于其摄像头的图像识别来实现,所以需要对ADAS摄像头(以下可称为ADAS相机)的图像识别性能进行测试。为了保证测试结果的公正性,测试样本应尽量符合正态分布原理,即需要覆盖各种各样的天气和光照条件和不同的图像背景环境,满足广泛性,多样性,均衡性要求。如果测试数据集90%的数据为正常天气环境下采集的,只有极少数为恶劣天气的数据,那么这样的测试结果即使正确率达到99.999%也不符合真实的客观实际性能。目前,该测试主要基于实车测试和样本测试集测试两种方法来实现。Since many functions of ADAS are realized based on the image recognition of its camera, it is necessary to test the image recognition performance of the ADAS camera (hereinafter referred to as ADAS camera). In order to ensure the fairness of the test results, the test samples should conform to the principle of normal distribution as much as possible, that is, they need to cover a variety of weather and lighting conditions and different image background environments, and meet the requirements of breadth, diversity, and balance. If 90% of the data in the test data set is collected under normal weather conditions, and only a small amount of data is collected under severe weather conditions, then such test results will not conform to the real objective actual performance even if the correct rate reaches 99.999%. At present, the test is mainly implemented based on two methods: real vehicle test and sample test set test.

在实车测试中,在测试车辆上安装ADAS相机,并由专人驾驶该车辆在公路上进行���试。在采集到包含ADAS图像识别处理结果(含物体标记框)的视频后,通过人工地看视频的方式来辨别所识别的图像中的物体是否与实际画面里的物体一致。进一步地,人工统计图像识别的正确识别率,误检率等。然而,由于这种方法需要人工开车去采集数据并且人工辨别图像是否识别成功,所以是非常耗时且耗人力的。此外,因为实际道路影响因素繁多,情况异常复杂,所以实车测试不可能覆盖所有的场景。如果采集车辆所在的某个城市一直是很好的天气,则采集到的测试样本不能满足样本的广泛性和多样性要求。而如果要满足广泛性,多样性,均衡性要求,就需要在雨雪天气或者某类天气环境的地区采集数据,这种方法采集数据成本过高。此外,在ADAS算法未成熟前进行实际道路测试,不能快速进行算法改进,使得开发周期大大增加。In the real vehicle test, an ADAS camera is installed on the test vehicle, and a special person drives the vehicle on the road for a road test. After collecting the video containing the ADAS image recognition processing results (including the object mark frame), manually watch the video to identify whether the object in the recognized image is consistent with the object in the actual picture. Further, the correct recognition rate and false detection rate of the image recognition are manually counted. However, since this method requires manual driving to collect data and manual identification of whether the image is recognized successfully, it is very time-consuming and labor-intensive. In addition, because there are many factors affecting the actual road and the situation is extremely complicated, it is impossible for the real vehicle test to cover all scenarios. If the weather in a certain city where the vehicle is collected has always been good, the collected test samples cannot meet the requirements for the breadth and diversity of the samples. However, if you want to meet the requirements of breadth, diversity, and balance, you need to collect data in areas with rainy and snowy weather or certain types of weather conditions. The cost of collecting data in this way is too high. In addition, the actual road test is carried out before the ADAS algorithm is mature, and the algorithm cannot be improved quickly, which greatly increases the development cycle.

另一方面,在样本测试集测试中,需要人工采集准备一些包含检测物体的原始图像数据文件作为样本测试集。之后,在电脑上运行图像识别算法对整个数据集做检测,并计算得出某些全局性的KPI指标,比如正确识别率,误检率等。然而,这种方法同样存在以上问题,其样本测试集是通过数据采集获得,很难保证广泛性,��样性,均衡性要求。On the other hand, in the sample test set test, it is necessary to manually collect and prepare some original image data files containing detected objects as the sample test set. After that, run the image recognition algorithm on the computer to detect the entire data set, and calculate some global KPI indicators, such as correct recognition rate, false detection rate, etc. However, this method also has the above problems. The sample test set is obtained through data collection, and it is difficult to guarantee the requirements of extensiveness, diversity, and balance.

此外,在以上测试过程中,如果发现某个物体没有被检测出来,则需要人工添加该物体的图片到训练数据集中进行再次训练和修复问题,耗费大量时间和人力。In addition, in the above test process, if an object is found not to be detected, it is necessary to manually add the picture of the object to the training data set for retraining and repairing the problem, which consumes a lot of time and manpower.

图1示出了根据本发明的实施例的用于自动测试ADAS相机的图像识别性能的方法的流程图。FIG. 1 shows a flowchart of a method for automatically testing the image recognition performance of an ADAS camera according to an embodiment of the present invention.

在步骤S110中,生成用于模拟安装有ADAS相机的车辆在道路上驾驶的仿真环境。例如,可通过虚拟仿真软件生成具有不同道路条件的仿真环境(如城市、山区道路等),并且可进一步设定仿真环境的天气参数(阴天、暴雪、暴雨等)和光照参数(光照过强、过暗、适中等),以增强测试样本的多样性和泛化性。此外,虚拟仿真软件还可对该车辆进行驾驶控制,例如控制油门、方向盘、刹车等,以模拟车辆在仿真环境中的自动驾驶。In step S110 , a simulation environment for simulating driving of a vehicle equipped with an ADAS camera on a road is generated. For example, simulation environments with different road conditions (such as cities, mountain roads, etc.) can be generated by virtual simulation software, and the weather parameters (cloudy, snowstorm, rainstorm, etc.) , too dark, moderate, etc.) to enhance the diversity and generalization of test samples. In addition, the virtual simulation software can also control the driving of the vehicle, such as controlling the accelerator, steering wheel, brakes, etc., to simulate the automatic driving of the vehicle in the simulation environment.

仿真环境可包括多个目标对象,例如交通载具、行人和交通标志等。具体地,交通载具包括车辆、轿车、卡车、自行车、拖车、三轮车、摩托车、助动车、甚至婴儿车等,交通标志包括红绿灯、道路指示牌、车道指示线等。此外,每个目标对象均具有目标对象信息,例如在仿真环境的图像中的目标对象的类型、坐标位置、大小、属性信息等。属性信息例如包括道路指示牌上面的字、车辆的车牌号、建筑物的铭牌等The simulation environment can include multiple target objects, such as vehicles, pedestrians, and traffic signs. Specifically, traffic vehicles include vehicles, cars, trucks, bicycles, trailers, tricycles, motorcycles, mopeds, and even baby carriages, etc., and traffic signs include traffic lights, road signs, lane indicator lines, etc. In addition, each target object has target object information, such as the type, coordinate position, size, attribute information, etc. of the target object in the image of the simulation environment. Attribute information includes, for example, words on road signs, license plate numbers of vehicles, nameplates of buildings, etc.

图2示出一种仿真环境的示例性示意图。如图2所示,仿真环境中的目标对象包括若干辆车、道路指示牌、建筑物等。Fig. 2 shows an exemplary schematic diagram of a simulation environment. As shown in Figure 2, the target objects in the simulation environment include several vehicles, road signs, buildings and so on.

在步骤S120中,采用显示器呈现所生成的仿真环境。In step S120, a display is used to present the generated simulation environment.

在步骤S130中,接收由ADAS相机从仿真环境中识别到的多个识别对象的识别对象信息。识别对象可以是所识别出的目标对象,例如交通载具、人和交通标志等。具体地,将ADAS相机与显示器通过机械支架固定,并将ADAS识别图像的像素坐标系与提供仿真环境的软件的坐标系相匹配。ADAS相机识别显示器上显示的图像,并以与显示图像相同的帧率处理识别到的识别对象的识别对象信息。In step S130, the recognition object information of the plurality of recognition objects recognized by the ADAS camera from the simulation environment is received. The recognition object may be a recognized target object, such as a vehicle, a person, a traffic sign, and the like. Specifically, the ADAS camera and the display are fixed through a mechanical bracket, and the pixel coordinate system of the ADAS recognition image is matched with the coordinate system of the software that provides the simulation environment. The ADAS camera recognizes the image displayed on the monitor and processes the recognition object information of the recognized recognition object at the same frame rate as the displayed image.

如图2所示的示例,ADAS相机可识别出在图像中间偏下部位的一辆车,在图像上方中间及右侧的道路指示牌、在图像中部的其它若干辆车、在图像下部的车道标识线、在图像右侧的建筑物等。以此方式,接收到以上识别对象的识别对象信息,例如各识别对象的对象类型、在图像中的位置坐标、大小、属性信息等。As shown in Figure 2, the ADAS camera can identify a car in the middle and lower part of the image, road signs in the middle and right of the upper image, several other vehicles in the middle of the image, and the lane in the lower part of the image Marking lines, buildings on the right side of the image, etc. In this way, the recognition object information of the above recognition objects is received, such as the object type, position coordinates, size, attribute information, etc. of each recognition object in the image.

在步骤S140中,将多个识别对象的识别对象信息分别与多个目标对象的目标对象信息进行比较。In step S140, the identification object information of the plurality of identification objects is compared with the target object information of the plurality of target objects respectively.

在本发明的实施例中,如果接收到ADAS相机识别出的各识别对象的识别信息分别与所记录的各目标对象的目标对象信息一致,则ADAS相机的该次图像识别成功。如果某个目标对象的目标对象信息与和其对应的识别到的识别对象信息不一致,则ADAS相机针对该目标对象识别错误,存入负样本的数据源,并将识别错误的目标对象的目标对象信息存储,以备再次训练。此外,也可将识别错误时的仿真环境的图像存储。另一方面,当至少一个目标对象未被识别到时,将未识别到的目标对象及其目标对象信息存储,从而自动作为再次训练的数据源。In the embodiment of the present invention, if the identification information of each recognition object recognized by the ADAS camera is consistent with the recorded target object information of each target object, the image recognition of the ADAS camera is successful. If the target object information of a target object is inconsistent with the corresponding recognized object information, the ADAS camera will identify the target object incorrectly, store it in the data source of the negative sample, and will identify the target object of the wrong target object The information is stored for retraining. In addition, an image of the simulation environment at the time of recognition error may be stored. On the other hand, when at least one target object is not recognized, the unrecognized target object and its target object information are stored, so as to be automatically used as a data source for retraining.

此外,可以对识别到的识别对象进行计数。在识别对象的数量达到阈值数量时,测试过程结束。根据成功识别的识别对象的数量与目标对象的总数量,计算ADAS相机的图像识别的成功率,从而测试出ADAS相机的图像识别性能。Furthermore, it is possible to count the identified identification objects. When the number of recognized objects reaches a threshold number, the testing process ends. According to the number of successfully recognized recognition objects and the total number of target objects, the success rate of image recognition of the ADAS camera is calculated, so as to test the image recognition performance of the ADAS camera.

在本发明的实施例中,在一个测试过程结束后,可保存相关的测试结果,并重新生成仿真环境。具体地,可改变天气和光照条件、变更规划行驶路径,更换目标对象等,从而再次执行新一轮测试。由此,经过多轮测试,确保测试数据的广泛性,多样性,均衡性要求。In the embodiment of the present invention, after a test process is finished, related test results can be saved and the simulation environment can be regenerated. Specifically, the weather and light conditions can be changed, the planned driving route can be changed, the target object can be replaced, etc., so as to perform a new round of testing again. Therefore, after multiple rounds of testing, the requirements for the breadth, diversity, and balance of test data are ensured.

根据本发明实施例的方法可以通过采用高画质的虚拟仿真环境和自动化标准化测试流程,自定义测试场地、天气等条件。由此,可以对图像识别结果进行公正全面的测评,从而降低人工成本,确保测试数据的广泛性,多样性,均衡性要求,使测试结果更加客观公正全面。当测试过程中发现算法软件出现漏检和误检时,也能自动地收集相关信息作为再次训练的数据源。The method according to the embodiment of the present invention can customize conditions such as test site and weather by adopting a high-quality virtual simulation environment and an automated standardized test process. As a result, the image recognition results can be fairly and comprehensively evaluated, thereby reducing labor costs, ensuring the extensiveness, diversity, and balance requirements of the test data, and making the test results more objective, fair and comprehensive. When the algorithm software is found to have missed or false detections during the test, relevant information can also be automatically collected as a data source for retraining.

图3是根据本发明的实施例的用于自动测试ADAS相机的图像识别性能的装置300的示意图。装置300包括控制器310、显示器320、ADAS相机330、以及若干配件和电源设备(图中未示出)。FIG. 3 is a schematic diagram of an apparatus 300 for automatically testing the image recognition performance of an ADAS camera according to an embodiment of the present invention. Apparatus 300 includes a controller 310, a display 320, an ADAS camera 330, and several accessories and power supplies (not shown).

控制器310例如是PC主机电脑,该主机配置需要支持高画质仿真软件流畅运行。控制器310可包括处理器312和存储器314。处理器312可通过虚拟仿真软件生成仿真环境,从而模拟安装有ADAS相机的车辆在道路上行驶时的外部环境,并且仿真环境中可包括多个目标对象。仿真环境的参数包括周围的目标对象的目标对象信息、车辆运行参数、天气信息、光照信息等。目标对象信息包括目标对象的类型、位置坐标、大小等。此外,处理器312可模拟控制车辆的自动驾驶,例如油门、方向盘、刹车灯,例如可自动避免在仿真环境中的车辆碰撞,从而不需要实车驾驶也能获得接近真实环境的画面信息。存储器314可存储多个目标对象中的每个目标对象的目标对象信息、以及仿真环境中的其它参数等。The controller 310 is, for example, a PC host computer, and the configuration of the host computer needs to support high-quality simulation software to run smoothly. The controller 310 may include a processor 312 and a memory 314 . The processor 312 can generate a simulation environment through virtual simulation software, thereby simulating the external environment when the vehicle equipped with the ADAS camera is driving on the road, and the simulation environment can include multiple target objects. The parameters of the simulation environment include target object information of surrounding target objects, vehicle operating parameters, weather information, illumination information, and the like. The target object information includes the type, position coordinates, size, etc. of the target object. In addition, the processor 312 can simulate and control the automatic driving of the vehicle, such as accelerator, steering wheel, and brake lights, for example, it can automatically avoid vehicle collisions in the simulated environment, so that the screen information close to the real environment can be obtained without real vehicle driving. The memory 314 may store target object information of each of the plurality of target objects, and other parameters in the simulation environment, and the like.

显示器320与控制器310信息通信连接。显示器320接收由控制器310生成的仿真环境,并将其以视频形式呈现出来。显示器320例如是高清画质大屏幕显示器。The display 320 is connected in information communication with the controller 310 . The display 320 receives the simulated environment generated by the controller 310 and presents it in video form. The display 320 is, for example, a high-definition quality large-screen display.

ADAS相机320通过机械支架固定,从而使其与显示器320之间的位置保持不变。ADAS相机330可从显示器320呈现的仿真环境中识别多个识别对象。对ADAS相机320进行预标定,使其识别图像的像素坐标系与控制器310提供的图像的坐标系相匹配。The ADAS camera 320 is fixed by a mechanical bracket, so that the position between it and the display 320 remains unchanged. The ADAS camera 330 may recognize a plurality of recognition objects from the simulated environment presented by the display 320 . The ADAS camera 320 is pre-calibrated so that the pixel coordinate system of the recognized image matches the coordinate system of the image provided by the controller 310 .

另一方面,ADAS相机320还与控制器310通信连接,例如通过德国Vector公司的CANOE(CAN Open Environment)设备连接,从而建立CAN Bus(CAN总线)数据通信。由此,ADAS相机320可将多个识别对象的识别对象信息发送至控制器310的处理器312。On the other hand, the ADAS camera 320 is also communicatively connected with the controller 310 , for example, through a CANOE (CAN Open Environment) device of Vector, Germany, so as to establish a CAN Bus (CAN bus) data communication. Thus, the ADAS camera 320 may send identification object information of a plurality of identification objects to the processor 312 of the controller 310 .

控制器310的处理器312可接收由ADAS相机330识别的多个识别对象的识别对象信息,并将多个识别对象的识别对象信息分别与多个目标对象的目标对象信息进行比较。The processor 312 of the controller 310 may receive recognition object information of a plurality of recognition objects recognized by the ADAS camera 330 and compare the recognition object information of the plurality of recognition objects with target object information of a plurality of target objects, respectively.

在本发明的实施例中,在接收到ADAS相机识别出的各识别对象的识别信息分别与由虚拟仿真软件生成的仿真环境中的各目标对象的目标对象信息一致时,则处理器312可确定ADAS相机的图像识别成功。在某个目标对象的目标对象信息与识别到的识别对象信息不一致时,则处理器312可确定ADAS相机针对该目标对象识别错误,并将识别错误的目标对象的目标对象信息存储在存储器314中,并存入负样本的数据源。此外,当至少一个目标对象未被识别到时,处理器312同样可将未识别到的目标对象的目标对象信息存储,从而自动作为再次训练的数据源。In the embodiment of the present invention, when the identification information of each identification object recognized by the ADAS camera is respectively consistent with the target object information of each target object in the simulation environment generated by the virtual simulation software, the processor 312 can determine The image recognition of the ADAS camera was successful. When the target object information of a certain target object is inconsistent with the recognized recognition object information, the processor 312 may determine that the ADAS camera has misrecognized the target object, and stores the target object information of the wrongly recognized target object in the memory 314 , and store it in the data source of negative samples. In addition, when at least one target object is not recognized, the processor 312 may also store the target object information of the unrecognized target object, so as to automatically serve as a data source for retraining.

另一方面,处理器312可以对识别到的识别对象进行计数。在识别对象的数量达到阈值数量时,测试过程结束。处理器312根据成功识别的识别对象的数量与目标对象的总数量,计算ADAS相机的图像识别的成功率,从而测试出ADAS相机的图像识别性能。On the other hand, the processor 312 may count the identified identification objects. When the number of recognized objects reaches a threshold number, the testing process ends. The processor 312 calculates the success rate of the image recognition of the ADAS camera according to the number of successfully recognized recognition objects and the total number of target objects, so as to test the image recognition performance of the ADAS camera.

在本发明的实施例中,在一个测试过程结束后,存储器314可保存相关的测试结果,并且处理器312可重新生成仿真环境。具体地,可改变天气和光照条件、变更规划行驶路径,更换目标对象模型等。然后,再次执行新一轮测试。由此,经过多轮测试,确保测试数据的广泛性,多样性,均衡性要求。In an embodiment of the present invention, after a test process is finished, the memory 314 can save the relevant test results, and the processor 312 can regenerate the simulation environment. Specifically, the weather and light conditions can be changed, the planned driving route can be changed, and the target object model can be replaced. Then, perform a new round of testing again. Therefore, after multiple rounds of testing, the requirements for the breadth, diversity, and balance of test data are ensured.

根据本发明实施例的装置可以通过采用高画质的虚拟仿真环境和自动化标准化测试流程,自定义测试场地、天气等条件。由此,可以对图像识别结果进行公正全面的测评,从而降低人工成本,确保测试数据的广泛性,多样性,均衡性要求,使测试结果更加客观公正全面。当测试过程中发现算法软件出现漏检和误检时,也能自动地收集相关信息作为再次训练的数据源。The device according to the embodiment of the present invention can customize conditions such as test site and weather by adopting a high-quality virtual simulation environment and an automated standardized test process. As a result, the image recognition results can be fairly and comprehensively evaluated, thereby reducing labor costs, ensuring the extensiveness, diversity, and balance requirements of the test data, and making the test results more objective, fair and comprehensive. When the algorithm software is found to have missed or false detections during the test, relevant information can also be automatically collected as a data source for retraining.

由于在仿真环境中目标对象的目标对象参数是已知的,所以处理器明确知道识别对象的真值属性,因此可以实现自动化判定。仿真环境可支持多种场景切换,可以任意改变天气(降雨、降雪、雷电等)、光照(黄昏、夜晚等)、路况等环境变量,还可以更换不同的目标对象(交通载具、行人、交通标志等)。测试数据更具广泛性,多样性,均衡性,最后的测试结果更接近真实性能。因此,模拟场景比用实车在真实道路行驶录制视频速度更快成本更低。Since the target object parameters of the target object are known in the simulation environment, the processor clearly knows the truth-value attribute of the recognized object, so automatic judgment can be realized. The simulation environment can support a variety of scene switching, and can arbitrarily change the weather (rainfall, snowfall, lightning, etc.), light (dusk, night, etc.), road conditions and other environmental variables, and can also change different target objects (traffic vehicles, pedestrians, traffic logo, etc.). The test data is more extensive, diverse, and balanced, and the final test results are closer to real performance. Therefore, simulating a scene is faster and cheaper than recording a video of a real car driving on a real road.

以上对本发明的若干实施方式进行了详细描述,但本发明的保护范围并不限于此。显然,对于本领域的普通技术人员来说,在不脱离本发明的精神和范围的情况下,可以对本发明的实施例进行各种修改、替换或变形。本发明的保护范围由所附权利要求限定。Several embodiments of the present invention have been described in detail above, but the protection scope of the present invention is not limited thereto. Apparently, those skilled in the art can make various modifications, substitutions or variations to the embodiments of the present invention without departing from the spirit and scope of the present invention. The protection scope of the present invention is defined by the appended claims.

Claims (14)

1.一种用于自动测试ADAS相机的图像识别性能的方法,包括:1. A method for automatically testing the image recognition performance of an ADAS camera, comprising: 生成仿真环境,所述仿真环境包括多个目标对象,所述多个目标对象中的每个目标对象具有目标对象信息;generating a simulation environment, the simulation environment including a plurality of target objects, each target object in the plurality of target objects having target object information; 呈现所述仿真环境;presenting the simulated environment; 接收由所述ADAS相机从所述仿真环境识别的多个识别对象的识别对象信息;以及receiving identification object information of a plurality of identification objects identified by the ADAS camera from the simulated environment; and 将所述多个识别对象的识别对象信息分别与所述多个目标对象的目标对象信息进行比较。The identification object information of the plurality of identification objects is compared with the target object information of the plurality of target objects respectively. 2.根据权利要求1所述的方法,其中,2. The method of claim 1, wherein, 所述目标对象信息包括所述目标对象的对象类型和位置坐标;The target object information includes an object type and position coordinates of the target object; 所述识别对象信息包括所述识别对象的对象类型和位置坐标。The identification object information includes the object type and position coordinates of the identification object. 3.根据权利要求1所述的方法,还包括:3. The method of claim 1, further comprising: 当所述多个目标对象中的至少一个被识别错误时,将识别错误的目标对象的目标对象信息存储。When at least one of the plurality of target objects is misrecognized, target object information of the misidentified target object is stored. 4.根据权利要求1所述的方法,还包括:4. The method of claim 1, further comprising: 当所述多个目标对象中的至少一个未被识别时,将未识别到的目标对象的目标对象信息存储。When at least one of the plurality of target objects is not identified, storing target object information of the unidentified target object. 5.根据权利要求1所述的方法,其中,5. The method of claim 1, wherein, 所述仿真环境基于天气信息、光照信息、道路信息和目标对象而生成。The simulation environment is generated based on weather information, illumination information, road information and target objects. 6.根据权利要求1所述的方法,其中,6. The method of claim 1, wherein, 所述目标对象包括交通载具、人、交通标志中的至少一种。The target object includes at least one of a vehicle, a person, and a traffic sign. 7.根据权利要求1所述的方法,还包括7. The method of claim 1, further comprising 对所述多个识别对象进行计数;counting the plurality of identified objects; 在所述多个识别对象的数量达到阈值数量时,测试过程结束。When the number of the plurality of identified objects reaches a threshold number, the testing process ends. 8.一种用于自动测试ADAS相机的图像识别性能的装置,包括:8. A device for automatically testing the image recognition performance of an ADAS camera, comprising: 控制器,其包括处理器和存储器,其中,所述处理器被配置为生成仿真环境,所述仿真环境包括多个目标对象,所述存储器被配置为存储所述多个目标对象中的每个目标对象的目标对象信息;a controller comprising a processor and a memory, wherein the processor is configured to generate a simulation environment including a plurality of target objects, and the memory is configured to store each of the plurality of target objects target audience information; 显示器,其被配置为呈现所述仿真环境;a display configured to present the simulated environment; ADAS相机,其被配置为从所述仿真环境识别多个识别对象,并将所述多个识别对象的识别对象信息发送至所述控制器的处理器;an ADAS camera configured to recognize a plurality of recognition objects from the simulation environment, and send recognition object information of the plurality of recognition objects to a processor of the controller; 所述控制器的处理器进一步被配置为接收由所述ADAS相机识别的多个识别对象的识别对象信息,并将所述多个识别对象的识别对象信息分别与所述多个目标对象的目标对象信息进行比较。The processor of the controller is further configured to receive identification object information of a plurality of identification objects identified by the ADAS camera, and compare the identification object information of the plurality of identification objects with the target objects of the plurality of target objects, respectively. Object information is compared. 9.根据权利要求8所述的装置,其中,9. The apparatus of claim 8, wherein, 所述目标对象信息包括所述目标对象的对象类型和位置坐标;The target object information includes an object type and position coordinates of the target object; 所述识别对象信息包括所述识别对象的对象类型和位置坐标。The identification object information includes the object type and position coordinates of the identification object. 10.根据权利要求8所述的装置,所述控制器的处理器进一步被配置为:当所述多个目标对象中的至少一个被识别错误时,将识别错误的目标对象的目标对象信息存储。10. The apparatus according to claim 8, the processor of the controller is further configured to: when at least one of the plurality of target objects is misidentified, store the target object information of the misidentified target object . 11.根据权利要求8所述的装置,所述控制器的处理器进一步被配置为:11. The apparatus of claim 8, the processor of the controller further configured to: 当所述多个目标对象中的至少一个未被识别时,将未识别到的目标对象的目标对象信息存储。When at least one of the plurality of target objects is not identified, storing target object information of the unidentified target object. 12.根据权利要求8所述的装置,其中,12. The apparatus of claim 8, wherein, 所述仿真环境基于天气信息、光照信息、道路信息和目标对象而生成。The simulation environment is generated based on weather information, illumination information, road information and target objects. 13.根据权利要求8所述的装置,其中,13. The apparatus of claim 8, wherein, 所述目标对象包括交通载具、人、交通标志中的至少一种。The target object includes at least one of a vehicle, a person, and a traffic sign. 14.根据权利要求8所述的装置,所述控制器的处理器进一步被配置为:14. The apparatus of claim 8, the processor of the controller further configured to: 对所述多个识别对象进行计数;counting the plurality of identified objects; 在所述多个识别对象的数量达到阈值数量时,测试过程结束。When the number of the plurality of identified objects reaches a threshold number, the testing process ends.
CN201810158885.6A 2018-02-26 2018-02-26 Method and apparatus for testing the image recognition performance of ADAS camera automatically Pending CN110198439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810158885.6A CN110198439A (en) 2018-02-26 2018-02-26 Method and apparatus for testing the image recognition performance of ADAS camera automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810158885.6A CN110198439A (en) 2018-02-26 2018-02-26 Method and apparatus for testing the image recognition performance of ADAS camera automatically

Publications (1)

Publication Number Publication Date
CN110198439A true CN110198439A (en) 2019-09-03

Family

ID=67750634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810158885.6A Pending CN110198439A (en) 2018-02-26 2018-02-26 Method and apparatus for testing the image recognition performance of ADAS camera automatically

Country Status (1)

Country Link
CN (1) CN110198439A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110823596A (en) * 2019-11-06 2020-02-21 北京地平线机器人技术研发有限公司 Test method and device, electronic equipment and computer readable storage medium
CN116434042A (en) * 2023-02-23 2023-07-14 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Identify quality testing methods, devices, computer equipment and storage media
CN112766030B (en) * 2019-10-21 2024-05-10 通用汽车环球科技运作有限责任公司 System and method for LED flicker and banding detection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105352741A (en) * 2015-11-16 2016-02-24 重庆交通大学 Brake performance evaluation method based on virtual road load conditions and system thereof
CN105388021A (en) * 2015-10-21 2016-03-09 重庆交通大学 ADAS virtual development and test system
WO2016179097A1 (en) * 2015-05-04 2016-11-10 Stella Maris Methods for treating mitochondrial damage diseases
CN205847406U (en) * 2016-07-27 2016-12-28 长沙麦斯森信息科技有限公司 A kind of ADAS test of heuristics device based on forward sight photographic head
CN206691107U (en) * 2017-03-08 2017-12-01 深圳市速腾聚创科技有限公司 Pilotless automobile system and automobile

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016179097A1 (en) * 2015-05-04 2016-11-10 Stella Maris Methods for treating mitochondrial damage diseases
CN105388021A (en) * 2015-10-21 2016-03-09 重庆交通大学 ADAS virtual development and test system
CN105352741A (en) * 2015-11-16 2016-02-24 重庆交通大学 Brake performance evaluation method based on virtual road load conditions and system thereof
CN205847406U (en) * 2016-07-27 2016-12-28 长沙麦斯森信息科技有限公司 A kind of ADAS test of heuristics device based on forward sight photographic head
CN206691107U (en) * 2017-03-08 2017-12-01 深圳市速腾聚创科技有限公司 Pilotless automobile system and automobile

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112766030B (en) * 2019-10-21 2024-05-10 通用汽车环球科技运作有限责任公司 System and method for LED flicker and banding detection
CN110823596A (en) * 2019-11-06 2020-02-21 北京地平线机器人技术研发有限公司 Test method and device, electronic equipment and computer readable storage medium
CN116434042A (en) * 2023-02-23 2023-07-14 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Identify quality testing methods, devices, computer equipment and storage media

Similar Documents

Publication Publication Date Title
CN110069986B (en) A hybrid model-based traffic signal recognition method and system
CN107031656B (en) Virtual sensor data generation for wheel immobilizer detection
CN107195024B (en) Universal vehicle operation data record system and processing method
CN110188482B (en) Test scene creating method and device based on intelligent driving
CN112163543A (en) Method and system for detecting illegal lane occupation of vehicle
CN107067718A (en) Traffic accident responsibility appraisal procedure, traffic accident responsibility apparatus for evaluating and traffic accident responsibility assessment system
CN111477030B (en) Vehicle collaborative risk avoiding method, vehicle end platform, cloud end platform and storage medium
JP2002083297A (en) Object recognition method and object recognition device
US20140152697A1 (en) Method and apparatus for providing augmented reality
CN103548069B (en) For the method and apparatus identifying possible colliding object
CN112785850A (en) Method and device for identifying vehicle lane change without lighting
CN111985373A (en) Safety warning method, device and electronic device based on traffic intersection recognition
CN108470459A (en) Ring road speed limit suggestion device and method
CN105046207B (en) A method of judging traffic lights when the line of sight is blocked
JP2023104982A (en) accident analyzer
CN102941851A (en) System for improving the reliability of the recognition of traffic lane and method thereof
CN108875458A (en) Detection method, device, electronic equipment and the video camera that vehicular high beam lamp is opened
JP2019079203A (en) Image generation device and image generation method
CN110198439A (en) Method and apparatus for testing the image recognition performance of ADAS camera automatically
CN207691936U (en) A kind of vehicle-mounted AR-HUD systems
CN107393311B (en) A kind of license plate tamper Detection device and method
CN111967384A (en) Vehicle information processing method, device, equipment and computer readable storage medium
CN115273030A (en) Image detection method and device, computer equipment and storage medium
CN113591554A (en) Line pressing detection method and violation detection method
WO2021237738A1 (en) Automatic driving method and apparatus, and distance determination method and apparatus

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190903