CN114724131A - A vehicle tracking method, device, electronic device and storage medium - Google Patents
A vehicle tracking method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN114724131A CN114724131A CN202210357310.3A CN202210357310A CN114724131A CN 114724131 A CN114724131 A CN 114724131A CN 202210357310 A CN202210357310 A CN 202210357310A CN 114724131 A CN114724131 A CN 114724131A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- trajectory
- segments
- license plate
- video streams
- 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
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000001514 detection method Methods 0.000 claims abstract description 43
- 238000012545 processing Methods 0.000 claims abstract description 30
- 238000001914 filtration Methods 0.000 claims description 16
- 230000004927 fusion Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 238000007689 inspection Methods 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 239000013598 vector Substances 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000003064 k means clustering Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 102100025444 Gamma-butyrobetaine dioxygenase Human genes 0.000 description 1
- 101000934612 Homo sapiens Gamma-butyrobetaine dioxygenase Proteins 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
Abstract
本申请涉及一种车辆追踪方法、装置、电子设备及存储介质,方法通过对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别结果,获取每个所述视频流对应的轨迹段;根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果,基于包围盒信息以及车牌识别结果得到轨迹段,并基于轨迹段进行多轨迹段合并,提升车辆追踪的准确性与鲁棒性。
The present application relates to a vehicle tracking method, device, electronic device and storage medium. The method obtains the bounding box information of the vehicle in each of the video streams by performing vehicle detection processing on a plurality of video streams. Perform license plate recognition processing to obtain the license plate recognition results of vehicles in each of the video streams; based on the bounding box information of the vehicles in each of the video streams and the license plate recognition results, obtain the corresponding license plate recognition results for each of the video streams. Track segment; according to the license plate recognition result contained in each of the track segments, fuse a plurality of the track segments to generate a vehicle tracking result, obtain the track segment based on the bounding box information and the license plate recognition result, and based on the track The multi-track segment is merged to improve the accuracy and robustness of vehicle tracking.
Description
技术领域technical field
本申请涉及计算机领域,尤其涉及一种车辆追踪方法、装置、电子设备及存储介质。The present application relates to the field of computers, and in particular, to a vehicle tracking method, device, electronic device and storage medium.
背景技术Background technique
新基建给智慧安防带来了新的机遇。目前智慧工业园区安监控防系统主要在道路节点近距离高清拍摄,然后对拍摄得到的视频,利用车牌识别进行违章、违法抓拍、车辆追踪,提升了管控效率。然而,工业园区面积较大,在雨雾天气或路口排队的情况下,车牌很容易模糊或被遮挡,导致只依靠车牌识别进行跨相机连续车辆跟踪效果不够理想。The new infrastructure has brought new opportunities to smart security. At present, the security monitoring and defense system of the smart industrial park mainly shoots high-definition images at close distances of road nodes, and then uses license plate recognition to perform illegal, illegal capture, and vehicle tracking on the video obtained, which improves the efficiency of management and control. However, due to the large area of the industrial park, the license plate is easily blurred or obscured in rainy and foggy weather or queuing at intersections, which makes it unsatisfactory to rely only on license plate recognition for continuous vehicle tracking across cameras.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种车辆追踪方法、装置、电子设备及存储介质,以解决相关技术中,通过车牌识别进行跨相机连续车辆跟踪,导致跟踪效果不够理想的问题。The present application provides a vehicle tracking method, device, electronic device and storage medium to solve the problem of unsatisfactory tracking effect caused by continuous vehicle tracking across cameras through license plate recognition in the related art.
第一方面,本申请提供了一种车辆追踪方法,所述车辆追踪方法,包括:对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别结果,获取每个所述视频流对应的轨迹段;根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果。In a first aspect, the present application provides a vehicle tracking method. The vehicle tracking method includes: performing vehicle detection processing on multiple video streams to obtain bounding box information of vehicles in each of the video streams; Perform license plate recognition processing on the video stream to obtain the license plate recognition result of the vehicle in each of the video streams; based on the bounding box information of the vehicle in each of the video streams and the license plate recognition result, obtain each of the video track segments corresponding to the stream; and according to the license plate recognition results included in each of the track segments, fuse a plurality of the track segments to generate a vehicle tracking result.
在本申请的一些示例中,根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果,包括:确定每个所述轨迹段中包含的所述车辆识别结果是否准确;当结果准确的所述轨迹段占所有所述轨迹段的比值不低于目标比值时,直接基于所述车牌识别结果对多个所述轨迹段进行融合,以生成车辆追踪结果。In some examples of the present application, according to the license plate recognition result included in each of the trajectory segments, fusing a plurality of the trajectory segments to generate a vehicle tracking result includes: determining the Whether the included vehicle recognition results are accurate; when the ratio of the trajectory segments with accurate results to all the trajectory segments is not lower than the target ratio, directly fuse a plurality of the trajectory segments based on the license plate recognition results, to generate vehicle tracking results.
在本申请的一些示例中,根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果,包括:确定每个所述轨迹段中包含的所述车辆识别结果是否准确;当结果准确的所述轨迹段占所有所述轨迹段的比值低于目标比值时,确定每个所述轨迹段内车辆的运动方向;根据每个所述轨迹段的运动方向对每个所述轨迹段进行过滤,以过滤掉运动方向不同的所述轨迹段;将过滤后剩余的所述轨迹段进行融合,以生成车辆追踪结果。In some examples of the present application, according to the license plate recognition result included in each of the trajectory segments, fusing a plurality of the trajectory segments to generate a vehicle tracking result includes: determining the Whether the included vehicle identification results are accurate; when the ratio of the track segments with accurate results to all the track segments is lower than the target ratio, determine the moving direction of the vehicle in each of the track segments; according to each of the track segments The movement direction of the trajectory segment filters each of the trajectory segments to filter out the trajectory segments with different moving directions; the remaining trajectory segments after filtering are fused to generate a vehicle tracking result.
在本申请的一些示例中,确定每个所述轨迹段内车辆的运动方向,包括:获取每个所述轨迹段内包含的每个时间戳;根据每个所述轨迹段内所述时间戳的先后顺序,以及车辆在每个所述时间戳对应的位置,确定每个所述轨迹段内车辆的运动方向。In some examples of the present application, determining the moving direction of the vehicle in each of the trajectory segments includes: acquiring each timestamp included in each of the trajectory segments; according to the timestamps in each of the trajectory segments and the position of the vehicle corresponding to each of the time stamps to determine the moving direction of the vehicle in each of the track segments.
在本申请的一些示例中,根据每个所述轨迹段的运动方向对每个所述轨迹段进行过滤,以过滤掉运动方向不同的所述轨迹段,包括:将多个所述视频流内包含的车辆依次作为目标车辆,确定所述目标车辆的运动方向;确定所述目标车辆对应的所述轨迹段,并将确定的所述轨迹段内车辆的运动方向与所述目标车辆的运动方向进行比较;当确定的任一所述轨迹段内车辆的运动方向与所述目标车辆的运动方向差别达到目标差值时,去除达到所述目标差值的所述轨迹段,以过滤掉运动方向不同的所述轨迹段。In some examples of the present application, filtering each of the trajectory segments according to the moving direction of each of the trajectory segments, so as to filter out the trajectory segments with different moving directions, includes: adding multiple video streams into The included vehicles are taken as target vehicles in turn, and the movement direction of the target vehicle is determined; the trajectory segment corresponding to the target vehicle is determined, and the movement direction of the vehicle in the determined trajectory segment is compared with the movement direction of the target vehicle. compare; when the difference between the motion direction of the vehicle in any of the determined trajectory segments and the motion direction of the target vehicle reaches the target difference value, remove the trajectory segment that reaches the target difference value to filter out the motion direction different of the trajectory segments.
在本申请的一些示例中,将过滤后剩余的所述轨迹段进行融合,以生成车辆追踪结果,包括:对过滤后剩余的且具有相同的所述车牌识别结果的所述轨迹段进行合并,得到至少两条合并轨迹段;获取所有所述合并轨迹段之间的相似度,根据所有所述合并轨迹段之间的相似度进行轨迹融合,以生成车辆追踪结果。In some examples of the present application, fusing the remaining trajectory segments after filtering to generate a vehicle tracking result includes: merging the remaining trajectory segments after filtering and having the same license plate recognition result, Obtain at least two merged track segments; obtain the similarity between all the merged track segments, and perform track fusion according to the similarity among all the merged track segments to generate a vehicle tracking result.
在本申请的一些示例中,基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别,获取每个所述视频流对应的轨迹段,包括:对所述包围盒信息进行车辆重识别处理,得到每个车辆对应的车辆特征;分别将每个所述视频流内车辆的所述包围盒信息、所述车辆特征和所述车牌识别结果进行融合,得到每个所述视频流对应的轨迹段。In some examples of the present application, acquiring the trajectory segment corresponding to each of the video streams based on the bounding box information of the vehicle in each of the video streams and the license plate recognition includes: performing the process on the bounding box information. Vehicle re-identification processing to obtain the vehicle characteristics corresponding to each vehicle; respectively fuse the bounding box information, the vehicle characteristics and the license plate recognition results of the vehicles in each of the video streams to obtain each of the video The trajectory segment corresponding to the stream.
第二方面,本申请提供了一种车辆追踪装置,所述车辆追踪装置,包括:检测模块,所述检查模块用于对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;确定模块,所述确定模块用于基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别,获取每个所述视频流对应的轨迹段;融合模块,所述融合模块用于根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果。In a second aspect, the present application provides a vehicle tracking device. The vehicle tracking device includes: a detection module, where the inspection module is configured to perform vehicle detection processing on a plurality of video streams to obtain vehicles in each of the video streams. the bounding box information, perform license plate recognition processing on a plurality of the video streams, and obtain the license plate recognition results of the vehicles in each of the video streams; a determination module, the determination module is used to identify the vehicle based on each of the video streams. The bounding box information and the license plate recognition are used to obtain the trajectory segment corresponding to each of the video streams; the fusion module is configured to, according to the license plate recognition result contained in each of the trajectory segments, identify multiple The trajectory segments are fused to generate vehicle tracking results.
第三方面,提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
存储器,用于存放计算机程序;memory for storing computer programs;
处理器,用于执行存储器上所存放的程序时,实现第一方面任一项实施例所述的车辆追踪方法的步骤。The processor is configured to implement the steps of the vehicle tracking method described in any one of the embodiments of the first aspect when executing the program stored in the memory.
第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面任一项实施例所述的车辆追踪方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the vehicle tracking method according to any one of the embodiments of the first aspect.
本申请实施例提供的上述技术方案与现有技术相比具有如下优点:Compared with the prior art, the above-mentioned technical solutions provided in the embodiments of the present application have the following advantages:
本方案可以应用于在深度学习技术领域进行计算机视觉处理,本申请实施例提供的该方法,通过对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别结果,获取每个所述视频流对应的轨迹段;根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果,基于包围盒信息以及车牌识别结果得到轨迹段,并基于轨迹段进行多轨迹段合并,提升车辆追踪的准确性与鲁棒性。This solution can be applied to computer vision processing in the field of deep learning technology. The method provided by the embodiment of the present application obtains the bounding box information of the vehicle in each video stream by performing vehicle detection processing on multiple video streams, so as to obtain the bounding box information of the vehicle in each of the video streams. Perform license plate recognition processing on a plurality of the video streams to obtain the license plate recognition results of the vehicles in each of the video streams; based on the bounding box information of the vehicles in each of the video streams and the license plate recognition results, obtain each The trajectory segment corresponding to the video stream; according to the license plate recognition result contained in each of the trajectory segments, a plurality of the trajectory segments are fused to generate a vehicle tracking result, which is obtained based on the bounding box information and the license plate recognition result Track segments, and combine multiple track segments based on track segments to improve the accuracy and robustness of vehicle tracking.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. In other words, on the premise of no creative labor, other drawings can also be obtained from these drawings.
图1为本申请实施例提供的一种可选地车辆追踪方法的流程示意图;1 is a schematic flowchart of an optional vehicle tracking method provided by an embodiment of the present application;
图2为本申请实施例提供再的一种可选地车辆追踪方法的基本流程图;FIG. 2 provides a basic flow chart of another optional vehicle tracking method according to an embodiment of the present application;
图3为本申请实施例提供的一种轨迹融合的基本示意图;FIG. 3 is a basic schematic diagram of a trajectory fusion provided by an embodiment of the present application;
图4为本申请实施例提供的一种车辆追踪装置的基本结构示意图;FIG. 4 is a schematic diagram of the basic structure of a vehicle tracking device provided by an embodiment of the present application;
图5为本申请实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this 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 protection scope of the present application.
图1为本申请实施例提供的一种车辆追踪方法的流程示意图,如图1所示,所述车辆追踪方法包括但不限于:FIG. 1 is a schematic flowchart of a vehicle tracking method provided by an embodiment of the application. As shown in FIG. 1 , the vehicle tracking method includes but is not limited to:
S101、对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;S101. Perform vehicle detection processing on multiple video streams to obtain bounding box information of vehicles in each of the video streams, and perform license plate recognition processing on multiple video streams to obtain license plate recognition of vehicles in each of the video streams result;
S102、基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别结果,获取每个所述视频流对应的轨迹段;S102, based on the bounding box information of the vehicle in each of the video streams and the license plate recognition result, obtain a trajectory segment corresponding to each of the video streams;
S103、根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果。S103. According to the license plate recognition result included in each of the trajectory segments, fuse a plurality of the trajectory segments to generate a vehicle tracking result.
应当理解的是,本实施例提供的车辆追踪方法应用于多相机车辆跟踪系统,该多相机车辆跟踪系统包括但不限于:多个相机;其中,每个相机都能够进行高清拍摄,以清晰的获取拍摄画面,同时,本实施例并不限定多相机车辆跟踪系统中各个相机的型号、功能,可以由相关人员灵活设置,例如,相机在具有高清拍摄功能的同时,还具有录音、声音外放、红外扫描等功能。It should be understood that the vehicle tracking method provided in this embodiment is applied to a multi-camera vehicle tracking system, where the multi-camera vehicle tracking system includes, but is not limited to, multiple cameras; Obtain the shooting images. At the same time, this embodiment does not limit the model and function of each camera in the multi-camera vehicle tracking system, and can be set flexibly by relevant personnel. For example, the camera has the function of high-definition shooting, and also has recording and sound playback. , infrared scanning and other functions.
可以理解的是,多个视频流为上述多相机车辆跟踪系统中的相机拍摄而成,每个视频流中具有至少一辆车,且多个视频流中,各个视频流可以是不同时间段不同相机拍摄得到的,例如,一工业园区中存在N条路段,每条路段对应一个相机,当任一车辆行驶到任一个路段时,则该路段的相机拍摄该车辆形成一视频流,当车辆行驶到其他路段时,则由其他路段对应的相机拍摄该车辆形成一视频流,达到多个视频流中,各个视频流是不同时间段不同相机拍摄得到的;It can be understood that the multiple video streams are captured by the cameras in the above-mentioned multi-camera vehicle tracking system, each video stream has at least one vehicle, and among the multiple video streams, each video stream may be different in different time periods. For example, there are N road sections in an industrial park, and each road section corresponds to a camera. When any vehicle travels to any road section, the camera on this road section captures the vehicle to form a video stream. When reaching other road sections, the camera corresponding to the other road sections will take pictures of the vehicle to form a video stream, reaching multiple video streams, each video stream being captured by different cameras in different time periods;
在一些示例中,多个视频流中,各个视频流还可以是不同时间段相同相机拍摄得到的,例如,存在一路段,该路段设置有一相机,在一时间段中,该车辆行驶经过该路段,相机拍摄该车辆形成一视频流,在又一时间段中,该车辆再次行驶经过该路段,相机拍摄该车辆形成一视频流,达到多个视频流中,各个视频流还可以是不同时间段相同相机拍摄得到的;In some examples, among the multiple video streams, each video stream may also be captured by the same camera in different time periods. For example, there is a road segment, and a camera is set on the road segment. In a time period, the vehicle travels through the road segment. , the camera shoots the vehicle to form a video stream, and in another time period, the vehicle drives through the road section again, the camera shoots the vehicle to form a video stream, and reaches multiple video streams, and each video stream can also be in different time periods taken by the same camera;
在一些示例中,各个视频流还可以是相同时间段不同相机拍摄得到的,例如:存在一路段,该路段上不同位置设置有多个相机,当任一车辆行驶到该路段时,则该路段的多个相机拍摄该车辆形成多个视频流,达到多个视频流中,各个视频流是同一时间段不同相机拍摄得到的。In some examples, each video stream may also be captured by different cameras in the same time period. For example, there is a road segment, and multiple cameras are set at different positions on the road segment. When any vehicle travels to the road segment, the road segment is The vehicle is captured by multiple cameras to form multiple video streams, and each video stream is captured by different cameras in the same time period.
承接上例,也即多个视频流中包含的视频流的类型可以为以下至少之一:不同时间段相同相机拍摄得到的视频流,不同时间段不同相机拍摄得到的视频流,相同时间段不同相机拍摄得到的视频流。Following the above example, that is, the types of video streams contained in multiple video streams can be at least one of the following: video streams captured by the same camera in different time periods, video streams captured by different cameras in different time periods, different in the same time period The video stream captured by the camera.
在本实施例的一些示例中,对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,包括:将所述多个视频流输入到车辆检测模型中,以使得车辆检测模型对多个视频流进行车辆检测处理,得到每个视频流内包含的车辆的包围盒信息;其中,各个视频流,经每秒采样一帧后输入到车辆检测模型中,车辆检测模型输出一帧内每个车辆的BBox包围盒信息,直到将视频流内每一帧都处理完成。In some examples of this embodiment, performing vehicle detection processing on multiple video streams to obtain bounding box information of vehicles in each of the video streams includes: inputting the multiple video streams into a vehicle detection model to The vehicle detection model performs vehicle detection processing on multiple video streams, and obtains the bounding box information of vehicles contained in each video stream; among them, each video stream is input into the vehicle detection model after sampling one frame per second. The model outputs the BBox information of each vehicle in a frame until every frame in the video stream is processed.
可以理解的是,在一些示例中,该车辆检测模型输出的分支包括三个分支:一个是输出预测到的目标框的位置,也即车辆BBox包围盒信息(LOC),一个输出该目标是前景(真实目标)还是背景(无效目标)(Obj),一个输出该目标是哪种目标的概率(即该目标为车辆的概率),应当理解的是,在一些示例中,车辆检测模型在输出后,需要去除目标为车辆的概率低于预设概率的结果,其中预设概率可以由相关人员灵活设置,例如,预设概率为25%-0.45%,优选的,预设概率为35%,也即,车辆检测模型在输出后,去除目标为车辆的概率低于35%的包围盒信息,也即,并非是每一帧都能输出一个准确的车辆包围盒信息;It can be understood that, in some examples, the output branch of the vehicle detection model includes three branches: one is to output the position of the predicted target box, that is, the vehicle BBox bounding box information (LOC), and the other is to output the target is the foreground. (true target) or background (invalid target) (Obj), a probability of what kind of target the target is output (i.e. the probability that the target is a vehicle), it should be understood that in some examples, the vehicle detection model after the output , it is necessary to remove the result that the probability that the target is a vehicle is lower than the preset probability, wherein the preset probability can be flexibly set by the relevant personnel, for example, the preset probability is 25%-0.45%, preferably, the preset probability is 35%, or That is, after the vehicle detection model is output, the bounding box information whose probability of the target being a vehicle is lower than 35% is removed, that is, not every frame can output an accurate vehicle bounding box information;
承接上例,可以理解的是,对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息之前,所述方法还包括:预训练初始车辆检测模型,以得到车辆检测模型,本示例通过目标检测数据集来预训练初始车辆检测模型,其中目标检测数据集可以为开源数据集,例如开源MS-COCO数据集;其中,初始车辆检测模型可以是基于YOLOX、Yolov5、yolo、Yolov4、Yolov3等框架提出的模型,本实施例并不限制初始车辆检测模型的框架,可以由相关人员灵活设置,只要能得到车辆的包围盒信息即可;Following the above example, it can be understood that before the vehicle detection processing is performed on multiple video streams to obtain the bounding box information of the vehicles in each of the video streams, the method further includes: pretraining an initial vehicle detection model to obtain the vehicle detection model. Detection model, in this example, the initial vehicle detection model is pre-trained through the target detection data set, where the target detection data set can be an open source data set, such as the open source MS-COCO data set; wherein, the initial vehicle detection model can be based on YOLOX, Yolov5, The model proposed by the frameworks such as yolo, Yolov4, Yolov3, etc., this embodiment does not limit the framework of the initial vehicle detection model, which can be flexibly set by relevant personnel, as long as the bounding box information of the vehicle can be obtained;
在一些示例中,为了使得训练得到的车辆检测模型能够更准确的对使用场景的车辆进行更加准确、快速的识别,还可以通过使用场景对应的自由数据集对车辆检测模型进行微调,具体的,例如,该车辆追踪方法使用在工业园区内,为了使得车辆检测模型能够更加准确、快速的识别工业园区内的车辆,通过工业园区内分布的监控相机,采集在工业园区内出现的多个车辆的图像和视频数据作为自有数据集(优选的,自有数据集中包含500段视频,2000-10000张图片),通过该自有数据集对车辆检测模型进行微调(Fine-tune),得到微调后的更加适用该工业园区的车辆检测器模型,进而更加准确的在从该工业园区内拍摄得到的不同的视频流中检测出车辆的包围盒信息。In some examples, in order to enable the trained vehicle detection model to more accurately and quickly identify the vehicle in the usage scenario, the vehicle detection model can also be fine-tuned by using the free dataset corresponding to the scenario. Specifically, For example, the vehicle tracking method is used in an industrial park. In order to enable the vehicle detection model to more accurately and quickly identify vehicles in the industrial park, the monitoring cameras distributed in the industrial park are used to collect the data of multiple vehicles appearing in the industrial park. Image and video data are used as their own data set (preferably, the own data set contains 500 videos, 2000-10000 pictures), and the vehicle detection model is fine-tuned through the own data set (Fine-tune), after the fine-tuning is obtained It is more suitable for the vehicle detector model of the industrial park, and then more accurately detects the bounding box information of vehicles in different video streams captured from the industrial park.
在本实施例的一些示例中,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果,包括:将所述多个视频流输入到车牌识别模型,以使得车牌识别模型对多个视频流内的车辆进行车牌识别处理,得到车牌识别结果;可以理解的是,同样的,对每个视频流经每秒采样一帧后输入到车牌识别模型中,车牌识别模型输出一帧内每个车辆的车牌识别结果,直到将视频流内每一帧都处理完成。In some examples of this embodiment, performing license plate recognition processing on a plurality of the video streams to obtain a license plate recognition result of a vehicle in each of the video streams includes: inputting the plurality of video streams into a license plate recognition model, In order to make the license plate recognition model perform license plate recognition processing on vehicles in multiple video streams, and obtain license plate recognition results; it is understandable that, similarly, each video stream is sampled one frame per second and then input into the license plate recognition model. The license plate recognition model outputs the license plate recognition results of each vehicle in a frame until every frame in the video stream is processed.
应当理解的是,在一些示例中,并不是每一帧的车牌识别结果都能得到准确的车牌信息,基于不同的拍摄清晰度以及不同的拍摄角度,视频流的部分帧能够识别出准确的车牌,视频流的部分帧不能识别出准确的车牌。其中为了更好的对使用场景下的车辆进行车牌识别,同样可以通过使用场景的自有数据集对训练完成的车辆识别模型进行微调,在此不再赘述。It should be understood that, in some examples, not every frame of the license plate recognition result can obtain accurate license plate information. Based on different shooting resolutions and different shooting angles, some frames of the video stream can identify accurate license plates. , some frames of the video stream cannot identify the exact license plate. Among them, in order to better perform license plate recognition on vehicles in use scenarios, the trained vehicle recognition model can also be fine-tuned by using the scene's own data set, which will not be repeated here.
在本实施例的一些示例中,基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别结果,获取每个所述视频流对应的轨迹段,包括:In some examples of this embodiment, based on the bounding box information of the vehicle in each of the video streams and the license plate recognition result, acquiring a trajectory segment corresponding to each of the video streams includes:
对所述包围盒信息进行车辆重识别处理,得到每个车辆对应的车辆特征(ReID特征);Perform vehicle re-identification processing on the bounding box information to obtain vehicle features (ReID features) corresponding to each vehicle;
分别将每个所述视频流内车辆的所述包围盒信息、所述车辆特征和所述车牌识别结果进行融合,得到每个所述视频流对应的轨迹段。The bounding box information, the vehicle feature and the license plate recognition result of the vehicles in each of the video streams are respectively fused to obtain a trajectory segment corresponding to each of the video streams.
可以理解的是,对每个视频流内车辆对应的包围盒信息进行车辆重识别处理包括:将每个视频流内车辆对应的包围盒信息输入到车辆重识别模型中,以使得车辆重识别模型对包围盒信息进行车辆重识别处理,得到车辆特征;其中车辆重识别模型是根据车辆外观特征从多个不同相机中辨识出相同的车辆。例如,一个路口有4个相机从不同角度都拍到了同一辆轿车,车辆重识别模型要在这4张图像中都识别出同一个车辆。It can be understood that, performing vehicle re-identification processing on the bounding box information corresponding to the vehicle in each video stream includes: inputting the bounding box information corresponding to the vehicle in each video stream into the vehicle re-identification model, so that the vehicle re-identification model The vehicle re-identification process is performed on the bounding box information to obtain vehicle characteristics; the vehicle re-identification model is to identify the same vehicle from multiple different cameras according to the vehicle appearance characteristics. For example, at an intersection, there are 4 cameras that capture the same car from different angles, and the vehicle re-identification model needs to recognize the same vehicle in these 4 images.
在一些示例中,车辆重识别模型为通过在开源数据集上预训练基于transformer的初始车辆重识别模型得到的模型,本实施例并不限制该初始车辆重识别模型的基础框架固定为transformer,可以由相关人员灵活设置,同样的,开源数据集也不受本实施例的限制,例如开源数据集为VeRi数据集。在一些示例中,在开源数据集上预训练基于transformer的初始车辆重识别模型后,为了使得训练完成的车辆重识别模型在当前场景下能够更加准确的在不同相机间检索出相同的车辆,同样可以通过自有数据集对预训练完成的车辆识别模型进行微调,以得到能够更加准确的识别车辆特征的车辆检索模型。In some examples, the vehicle re-identification model is a model obtained by pre-training a transformer-based initial vehicle re-identification model on an open source data set. This embodiment does not limit the basic framework of the initial vehicle re-identification model to be a transformer. It can be set flexibly by relevant personnel. Similarly, the open source data set is not limited by this embodiment, for example, the open source data set is the VeRi data set. In some examples, after pre-training the initial vehicle re-identification model based on the transformer on the open source dataset, in order to enable the trained vehicle re-identification model to more accurately retrieve the same vehicle between different cameras in the current scene, the same The pre-trained vehicle recognition model can be fine-tuned through its own data set to obtain a vehicle retrieval model that can more accurately identify vehicle features.
可以理解的是,将每个视频流内车辆对应的包围盒信息、车辆特征以及车牌识别结果输入到单相机车辆跟踪模型,单相机车辆跟踪模型对上述信息进行融合解析,得到每个视频流对应的轨迹段tracklets,每个轨迹段中包含包围盒信息、帧的timestamp、车辆特征和车牌识别结果,以及为每辆车生成的车辆ID,该车辆ID具有唯一标示性。It can be understood that the bounding box information, vehicle features and license plate recognition results corresponding to the vehicles in each video stream are input into the single-camera vehicle tracking model, and the single-camera vehicle tracking model fuses and analyzes the above information to obtain the corresponding information of each video stream. Each track segment contains bounding box information, frame timestamps, vehicle features and license plate recognition results, as well as a vehicle ID generated for each vehicle, which is uniquely identified.
承接上例,同样的,通过预训练初始单相机车辆跟踪模型得到单相机车辆跟踪模型,在一些示例中,为了使得单相机车辆跟踪模型更加适应使用场景,还可以通过根据使用场景拍摄得到的自有数据集对该单相机车辆跟踪模型进行微调,例如,在自有数据集上fine-tune Deep-SORT模型得到单相机车辆跟踪模型。Continuing the above example, similarly, the single-camera vehicle tracking model is obtained by pre-training the initial single-camera vehicle tracking model. In some examples, in order to make the single-camera vehicle tracking model more suitable for the usage scenario, it is also possible to obtain the auto-tracking model obtained by shooting according to the usage scenario. There are datasets that fine-tune the single-camera vehicle tracking model, for example, fine-tune the Deep-SORT model on the own dataset to obtain a single-camera vehicle tracking model.
在本实施例的一些示例中,根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果,包括:确定每个所述轨迹段中包含的所述车辆识别结果是否准确(也即判断车辆识别结果是否包括准确的车牌信息);当结果准确的所述轨迹段占所有所述轨迹段的比值不低于目标比值时,直接基于所述车牌识别结果对多个所述轨迹段进行融合,以生成车辆追踪结果。其中,通过对每个轨迹段进行确定,确定每个所述轨迹段中包含的所述车辆识别结果是否准确,确定车牌识别结果准确的轨迹段的数量记为A,所有轨迹段的数量记为B,然后将A/B的值与目标比值进行比较,进而确定结果准确的所述轨迹段占所有所述轨迹段的比值是否低于目标比值;在结果准确的所述轨迹段占所有所述轨迹段的比值不低于目标比值时,直接基于所述车牌识别结果对多个所述轨迹段进行融合,以生成车辆追踪结果;直接基于所述车牌识别结果对多个所述轨迹段进行融合,以生成车辆追踪结果具体的是,将具有相同车牌识别结果的轨迹段进行融合,生成车辆追踪结果,需要注意的是,在对多个所述轨迹段进行融合时,会删除其中不包含准确车牌识别结果的轨迹段丢弃;其中目标比值可以由相关人员灵活设置,优选的,目标比值设置为85%至95%中的任一,优选的,目标比值为90%。In some examples of this embodiment, according to the license plate recognition result included in each of the trajectory segments, fusing a plurality of the trajectory segments to generate a vehicle tracking result includes: determining each of the trajectory segments Whether the vehicle recognition result contained in the The license plate recognition result fuses a plurality of the trajectory segments to generate a vehicle tracking result. Wherein, by determining each trajectory segment, it is determined whether the vehicle recognition result contained in each of the trajectory segments is accurate, the number of trajectory segments with accurate license plate recognition results is determined as A, and the number of all trajectory segments is recorded as B, then compare the value of A/B with the target ratio, and then determine whether the ratio of the trajectory segment with accurate results to all the trajectory segments is lower than the target ratio; if the trajectory segment with accurate results accounts for all the trajectory segments When the ratio of the trajectory segments is not lower than the target ratio, fuse a plurality of the trajectory segments directly based on the license plate recognition result to generate a vehicle tracking result; fuse a plurality of the trajectory segments directly based on the license plate recognition result , to generate the vehicle tracking result. Specifically, the trajectory segments with the same license plate recognition result are fused to generate the vehicle tracking result. It should be noted that when merging multiple said trajectory segments, it will delete the ones that do not contain accurate The trajectory segment of the license plate recognition result is discarded; the target ratio can be flexibly set by relevant personnel, preferably, the target ratio is set to any of 85% to 95%, and preferably, the target ratio is 90%.
承接上例,例如,确定每个所述轨迹段中包含的车辆识别结果是否准确,如果超过90%的轨迹段的车牌识别结果都包含准确的车牌信息,基于车牌进行多相机tracklets的合并(剩下不包含准确车牌信息的tracklets丢弃,得到多相机跟踪轨迹。Following the previous example, for example, it is determined whether the vehicle recognition results contained in each of the trajectory segments are accurate. If the license plate recognition results of more than 90% of the trajectory segments contain accurate license plate information, the multi-camera tracklets are merged based on the license plates (the remaining ones). Tracklets that do not contain accurate license plate information are discarded to obtain multi-camera tracking trajectories.
在本实施例的一些示例中,根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果,包括:确定每个所述轨迹段中包含的所述车辆识别结果是否准确;当结果准确的所述轨迹段占所有所述轨迹段的比值低于目标比值时,确定每个所述轨迹段内车辆的运动方向;根据每个所述轨迹段的运动方向对每个所述轨迹段进行过滤,以过滤掉运动方向不同的所述轨迹段;将过滤后剩余的所述轨迹段进行融合,以生成车辆追踪结果。具体的,根据每个轨迹段中的timestamp计算该车辆在该轨迹中的运动方向,如果该车辆在该轨迹段中的运动方向与下一时刻对应轨迹段中该车辆的运动方向差别较大,则基于运动方向过滤掉该条tracklet。具体的,例如,目标比值为90%,若结果准确的所述轨迹段占所有所述轨迹段的比值低于90%时,则定每个所述轨迹段内车辆的运动方向;根据每个所述轨迹段的运动方向对每个所述轨迹段进行过滤,以过滤掉运动方向不同的所述轨迹段;将过滤后剩余的所述轨迹段进行融合,以生成车辆追踪结果。In some examples of this embodiment, according to the license plate recognition result included in each of the trajectory segments, fusing a plurality of the trajectory segments to generate a vehicle tracking result includes: determining each of the trajectory segments determine whether the vehicle identification result contained in the vehicle identification result is accurate; when the ratio of the track segments with accurate results to all the track segments is lower than the target ratio, determine the moving direction of the vehicle in each track segment; according to each track segment Each of the trajectory segments is filtered according to the moving direction of the trajectory segments to filter out the trajectory segments with different moving directions; the remaining trajectory segments after filtering are fused to generate a vehicle tracking result. Specifically, the movement direction of the vehicle in the trajectory is calculated according to the timestamp in each trajectory segment. If the movement direction of the vehicle in the trajectory segment is significantly different from the movement direction of the vehicle in the corresponding trajectory segment at the next moment, Then filter out the tracklet based on the motion direction. Specifically, for example, if the target ratio is 90%, if the ratio of the track segments with accurate results to all the track segments is less than 90%, then the moving direction of the vehicle in each track segment is determined; according to each track segment The moving direction of the trajectory segments filters each of the trajectory segments to filter out the trajectory segments with different moving directions; the remaining trajectory segments after filtering are fused to generate a vehicle tracking result.
在本实施例的一些示例中,确定每个所述轨迹段内车辆的运动方向,包括:获取每个所述轨迹段内包含的每个时间戳;根据每个所述轨迹段内所述时间戳的先后顺序,以及车辆在每个所述时间戳对应的位置,确定每个所述轨迹段内车辆的运动方向。例如:第10号车,在一轨迹段中第一时刻在位置1,第二时刻在位置2,且第二时刻为第一时刻的后一时刻,则可以跟踪位置计算出第10号车辆的车辆运动方向,并将其作为该轨迹段的运动方向;In some examples of this embodiment, determining the moving direction of the vehicle in each of the trajectory segments includes: acquiring each timestamp included in each of the trajectory segments; according to the time in each of the trajectory segments The sequence of the stamps and the position of the vehicle corresponding to each of the time stamps determine the moving direction of the vehicle in each of the track segments. For example: car No. 10, in a track segment, the first moment is at position 1, the second moment is at position 2, and the second moment is the moment after the first moment, then the tracking position can be calculated to calculate the number of vehicle No. 10. Vehicle movement direction, and use it as the movement direction of the trajectory segment;
在本实施例的一些示例中,根据每个所述轨迹段的运动方向对每个所述轨迹段进行过滤,以过滤掉运动方向不同的所述轨迹段,包括:将多个所述视频流内包含的车辆依次作为目标车辆,确定所述目标车辆的运动方向;确定所述目标车辆对应的所述轨迹段,并将确定的所述轨迹段内车辆的运动方向与所述目标车辆的运动方向进行比较;当确定的任一所述轨迹段内车辆的运动方向与所述目标车辆的运动方向差别达到目标差值时,去除达到所述目标差值的所述轨迹段,以过滤掉运动方向不同的所述轨迹段。具体的,例如,第10号车,在一轨迹段中第一时刻在位置1,第二时刻在位置2,且第二时刻为第一时刻的后一时刻,则可以跟踪位置计算出第10号车辆的车辆运动方向,并将其作为该轨迹段的运动方向;第10号车在另一轨迹段中,第三时刻在位置3、第四时刻在位置4,且第三时刻为第二时刻的后一时刻,且第四时刻为第三时刻的后一时刻,此时可以计算出第10号车的车辆运动方向,并将其作为该轨迹段的运动方向,将两个轨迹段的运动方向进行比较,若两个轨迹段的运动方向差别较大,则过滤掉第一时刻至第二时刻的轨迹段,若两个轨迹段的运动方向差别较小,则保留两个轨迹段;In some examples of this embodiment, filtering each of the trajectory segments according to the moving direction of each of the trajectory segments, so as to filter out the trajectory segments with different moving directions, includes: filtering a plurality of the video streams The vehicles contained in the vehicle are taken as target vehicles in turn, and the movement direction of the target vehicle is determined; the trajectory segment corresponding to the target vehicle is determined, and the movement direction of the vehicle in the determined trajectory segment and the movement of the target vehicle When the difference between the motion direction of the vehicle in any of the determined trajectory segments and the motion direction of the target vehicle reaches the target difference value, remove the trajectory segment that reaches the target difference value to filter out motion the trajectory segments in different directions. Specifically, for example, for the No. 10 car, in a trajectory segment, the first moment is at position 1, the second moment is at position 2, and the second moment is a moment after the first moment, then the tracking position can be calculated to calculate the 10th car. The vehicle movement direction of the vehicle No. 1 is taken as the movement direction of the trajectory segment; the vehicle No. 10 is in another trajectory segment, the third moment is at position 3, the fourth moment is at position 4, and the third moment is the second The moment after the moment, and the fourth moment is the moment after the third moment, at this time, the vehicle movement direction of the No. 10 car can be calculated and used as the movement direction of the trajectory segment. The movement directions are compared. If the movement directions of the two trajectory segments are significantly different, the trajectory segments from the first moment to the second moment are filtered out. If the movement directions of the two trajectory segments are slightly different, the two trajectory segments are retained;
在一些示例中,由于轨迹段若是较短,则无法形成有效的运动方向,因此,对于较短的轨迹段可以做丢弃处理,具体的,可以根据轨迹段的时间戳进行统计,若如果该轨迹段跨越时间不超过阈值,则认为该条轨迹段较短,则丢弃该轨迹段,其中,该轨迹段对应的阈值可以根据实际使用场景灵活设置,例如,根据阈值过滤掉较短的tracklet,该阈值设置为180帧,由于每2秒采样一帧,也即阈值为6分钟。In some examples, if the trajectory segment is short, it cannot form an effective direction of motion. Therefore, the short trajectory segment can be discarded. Specifically, statistics can be performed according to the timestamp of the trajectory segment. If the segment spanning time does not exceed the threshold, the track segment is considered to be short, and the track segment is discarded. The threshold corresponding to the track segment can be flexibly set according to the actual usage scenario. For example, short tracklets are filtered out according to the threshold. The threshold is set to 180 frames, and since a frame is sampled every 2 seconds, the threshold is 6 minutes.
在本实施例的一些示例中,将过滤后剩余的所述轨迹段进行融合,以生成车辆追踪结果,包括:对过滤后剩余的且具有相同的所述车牌识别结果的所述轨迹段进行合并,得到至少两条合并轨迹段;获取所有所述合并轨迹段之间的相似度,根据所有所述合并轨迹段之间的相似度进行轨迹融合,以生成车辆追踪结果。具体的,对具有相同车牌的tracklet进行合并,得到至少两条合并轨迹段,然后分别计算各条合并轨迹段的相似度,其中计算各条合并轨迹段的相似度包括但不限于:In some examples of this embodiment, fusing the remaining track segments after filtering to generate a vehicle tracking result includes: merging the remaining track segments after filtering and having the same license plate recognition result , obtain at least two merged track segments; obtain the similarity between all the merged track segments, and perform track fusion according to the similarity among all the merged track segments to generate a vehicle tracking result. Specifically, the tracklets with the same license plate are merged to obtain at least two merged track segments, and then the similarity of each merged track segment is calculated respectively, wherein calculating the similarity of each merged track segment includes but is not limited to:
首先,对每条合并轨迹段中包含的所有帧的车辆特征求均值,得到该合并轨迹段的车辆特征,也即2048维的向量;可以理解的是,一条轨迹段跨越很多帧,包含至少一个车辆目标,每个车辆目标都有ReID车辆特征,将一帧中所有ReID特征相加得到该帧特征,将所有帧特征求平均得到该轨迹段的车辆特征;First, average the vehicle features of all frames contained in each merged trajectory segment to obtain the vehicle characteristics of the merged trajectory segment, that is, a 2048-dimensional vector; it is understandable that a trajectory segment spans many frames and contains at least one Vehicle target, each vehicle target has a ReID vehicle feature, add all the ReID features in a frame to obtain the frame feature, and average all the frame features to obtain the vehicle feature of the trajectory segment;
然后,计算各合并轨迹段向量间的余弦相似度,得到各合并轨迹段之间的相似度矩阵,通过该相似度矩阵得到各条合并轨迹段的相似度。Then, the cosine similarity between the vectors of each combined trajectory segment is calculated to obtain a similarity matrix between each combined trajectory segment, and the similarity of each combined trajectory segment is obtained through the similarity matrix.
根据所有所述合并轨迹段之间的相似度进行轨迹融合,以生成车辆追踪结果包括:在通过上述方法得到的相似度矩阵中首先进行相邻相机间k-均值聚类,得到相近相机合并后的轨迹,然后进行所有相机间的K-均值聚类得到,得到融合后的多相机轨迹,将融合后的多相机轨迹作为车辆追踪结果。Performing trajectory fusion according to the similarity between all the merged trajectory segments to generate the vehicle tracking result includes: firstly performing k-means clustering between adjacent cameras in the similarity matrix obtained by the above method, and obtaining a similar camera after merging , and then perform K-means clustering among all cameras to obtain the fused multi-camera trajectory, and use the fused multi-camera trajectory as the vehicle tracking result.
本实施例提供的车辆追踪方法,通过对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别结果,获取每个所述视频流对应的轨迹段;根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果,基于包围盒信息以及车牌识别结果得到轨迹段,并基于轨迹段进行多轨迹段合并,提升车辆追踪的准确性与鲁棒性。The vehicle tracking method provided in this embodiment obtains the bounding box information of the vehicle in each of the video streams by performing vehicle detection processing on a plurality of video streams, and performs license plate recognition processing on the plurality of video streams to obtain each of the video streams. The license plate recognition result of the vehicle in the video stream; based on the bounding box information of the vehicle in each video stream and the license plate recognition result, obtain the trajectory segment corresponding to each of the video streams; according to each of the trajectory The license plate recognition result contained in the segment is fused to generate a vehicle tracking result, a trajectory segment is obtained based on the bounding box information and the license plate recognition result, and multiple trajectory segments are merged based on the trajectory segment to improve the vehicle. Accuracy and robustness of tracking.
为了更好的理解本发明,本实施例提供一种更为具体的示例对本发明进行说明,本示例提供一种车辆追踪方法,车辆追踪方法应用于车辆追踪系统,该系统使用分散在工业园区内的监控相机设备,自动跟踪各运行车辆。In order to better understand the present invention, this embodiment provides a more specific example to illustrate the present invention. This example provides a vehicle tracking method. The vehicle tracking method is applied to a vehicle tracking system. The system uses scattered in industrial parks. The surveillance camera equipment automatically tracks each running vehicle.
具体的,首先准备各个数据集及各个模型:Specifically, first prepare each dataset and each model:
自有数据集:采用布置在工业园区内多个相机采集到的图像和视频数据,其中自有数据集包括:500段视频,图像数据规模约2000-10000张。此处车辆追踪方法面向的场景为工业园区,货车居多,因此,自有数据集为采用布置在工业园区内的相机拍摄到的各种车辆图像(小轿车、货车、卡车等),规模较小,2000-10000张,然后通过相关人员对自有数据集进行手工标注,其中标注包括车牌标注。Self-owned data set: Image and video data collected by multiple cameras arranged in the industrial park are used. The self-owned data set includes: 500 videos, and the image data scale is about 2000-10000 pieces. The scene of the vehicle tracking method here is an industrial park, where there are many trucks. Therefore, the self-owned data set is a variety of vehicle images (cars, trucks, trucks, etc.) captured by cameras arranged in the industrial park, and the scale is small. , 2000-10000, and then manually label the own data set by relevant personnel, including the license plate label.
然后,在开源MS-COCO目标检测数据集上预训练基于YOLOX的初始车辆检测模型,并在自有数据集上fine-tune,微调得到车辆检测器模型,此处微调的目的是训练出一个很好的适应工业园区的车辆检测模型,能准确的检测进出工业园区内的各种车辆。Then, pre-train the initial vehicle detection model based on YOLOX on the open source MS-COCO target detection data set, and fine-tune it on its own data set to fine-tune the vehicle detector model. The purpose of fine-tuning here is to train a very good vehicle detection model. A vehicle detection model that is well adapted to the industrial park can accurately detect various vehicles entering and leaving the industrial park.
在开源VeRi数据集上预训练基于transformer的初始车辆重识别模型,并在自有数据集上fine-tune,得到车辆ReID模型(车辆重识别模型),目的是根据车辆外观特征从多个不同相机中辨识出相同的车辆。如:一个路口有4个相机从不同角度都拍到了同一辆轿车,系统要在这4张图像中都识别出同一个车辆id。此处微调的目的是训练出一个很好的能适应工业园区场景的车辆ReID模型,能准确的在不同相机间检索出相同的车辆。Pre-train the initial vehicle re-identification model based on the transformer on the open source VeRi data set, and fine-tune it on the own data set to obtain the vehicle ReID model (vehicle re-identification model), the purpose is based on the appearance of the vehicle. identified the same vehicle. For example, there are 4 cameras at an intersection that capture the same car from different angles, and the system needs to identify the same vehicle id in these 4 images. The purpose of fine-tuning here is to train a good vehicle ReID model that can adapt to the industrial park scene, and can accurately retrieve the same vehicle between different cameras.
在自有数据集上fine-tune单相机车辆跟踪模型(Deep-SORT模型)得到单相机车辆跟踪轨迹,此处微调目的是得到一个更能适应工业园区场景的单相机跟踪模型。The single-camera vehicle tracking model (Deep-SORT model) is fine-tuned on the own dataset to obtain the single-camera vehicle tracking trajectory. The purpose of fine-tuning here is to obtain a single-camera tracking model that is more suitable for the industrial park scene.
在自有数据集上训练基于ResNet50的车牌识别模型。Train a ResNet50-based license plate recognition model on our own dataset.
如图2所示,图2为车辆追踪方法的基本流程图,该车辆追踪方法的流程包含两路分支,实线和虚线。虚线为常用基于车牌识别的分支,实线为基于ReID特征的分支。As shown in FIG. 2 , FIG. 2 is a basic flow chart of a vehicle tracking method. The flow of the vehicle tracking method includes two branches, a solid line and a dashed line. The dotted line is the commonly used branch based on license plate recognition, and the solid line is the branch based on ReID features.
首先获取分布在园区内的多路相机视频流,经每秒采样一帧后输入到车辆检测模型和车牌识别模型。车辆检测器模型,输出每个车辆的BBox包围盒信息。车牌识别模型输出每辆车的车牌识别结果。该车辆检测模型的输出其实包含三个分支,一个是输出预测到的目标框的位置,也即每个车辆的BBox包围盒信息(LOC),一个输出该目标是前景(真实目标)还是背景(无效目标)(Obj),一个输出该目标是哪种目标的概率(在车辆检测器中,即是该目标是车辆的概率,CLS),(检测信心分数是代表检出的该目标是真实车辆的概率,等于OBJ*CLS,可以用于过滤可信度不高的检测结果,在一些示例中取,去除可信度低于0.35的结果)First, the video streams of multiple cameras distributed in the park are obtained, and after sampling one frame per second, they are input to the vehicle detection model and the license plate recognition model. A vehicle detector model that outputs BBox information for each vehicle. The license plate recognition model outputs the license plate recognition results for each vehicle. The output of the vehicle detection model actually contains three branches, one is to output the position of the predicted target frame, that is, the BBox bounding box information (LOC) of each vehicle, and the other is to output whether the target is the foreground (real target) or the background ( Invalid target) (Obj), a probability of outputting what kind of target the target is (in the vehicle detector, that is, the probability that the target is a vehicle, CLS), (the detection confidence score represents the detected target is a real vehicle The probability of , equal to OBJ*CLS, can be used to filter the detection results with low reliability, in some examples, remove the results with a reliability lower than 0.35)
然后,把上一步得到的车辆目标检测结果经裁剪后送入车辆ReID模型,车辆ReID模型输出每辆车的ReID特征,该特征维度为2048。Then, the vehicle target detection result obtained in the previous step is cut and sent to the vehicle ReID model, and the vehicle ReID model outputs the ReID feature of each vehicle, and the feature dimension is 2048.
再然后将得到的车辆BBox信息、ReID特征和车牌识别结果输入到基于deep-SORT的单相机车辆跟踪模型,得到单相机跟踪tracklets(轨迹段),该tracklets包含车辆ID、帧的timestamp(时间戳)、BBox、ReID特征和车牌识别结果。Then, the obtained vehicle BBox information, ReID features and license plate recognition results are input into the single-camera vehicle tracking model based on deep-SORT, and single-camera tracking tracklets (track segments) are obtained. The tracklets contain vehicle ID, frame timestamp (timestamp). ), BBox, ReID features, and license plate recognition results.
最后,根据轨迹段进行多相机跟踪轨迹融合,多相机跟踪轨迹融合分成以下两种情况:Finally, the multi-camera tracking trajectory fusion is performed according to the trajectory segment. The multi-camera tracking trajectory fusion is divided into the following two cases:
第一种,如果超过90%的tracklets都包含准确的车牌识别结果,则进入虚线路径,直接基于车牌进行多相机tracklets的合并,也即将相同车牌的tracklets合并(剩下小于10%不包含准确车牌信息的tracklets丢弃,得到多相机跟踪轨迹。First, if more than 90% of the tracklets contain accurate license plate recognition results, enter the dotted path and merge multi-camera tracklets directly based on the license plate, that is, merge tracklets with the same license plate (the remaining less than 10% do not contain accurate license plates) The tracklets of information are discarded to obtain multi-camera tracking trajectories.
第二种,如果tracklets中包含较少的车牌信息,则进入如图3所示的轨迹融合。Second, if the tracklets contain less license plate information, enter the track fusion as shown in Figure 3.
轨迹融合,首先根据timestamp计算车辆在该轨迹中的运动方向,如果运动方向差别较大,则基于运动方向过滤掉该条tracklet。根据阈值,对于较短的tracklets也一并丢弃。具体的,针对每条tracklet,针对每条轨迹进行,而每条轨迹又包含车辆ID,timestamp,BBOX等,比如,第10号车,当前时刻在位置1,下一时刻在位置2,则可以跟踪位置计算出车辆运动方向)当前是多相机轨迹融合准备阶段,针对的结果还是单相机跟踪的结果。对单相机跟踪输出的轨迹做一下过滤。可以理解的是,一条轨迹已经包含帧的时间戳,根据时间戳进行统计,如果该轨迹跨越时间不超过6分钟,则认为该条轨迹较短,并丢弃。Track fusion, first calculate the moving direction of the vehicle in the track according to the timestamp. If the moving direction is very different, filter out the tracklet based on the moving direction. Depending on the threshold, shorter tracklets are also discarded. Specifically, for each tracklet, for each track, and each track contains vehicle ID, timestamp, BBOX, etc., for example, the No. 10 car, the current moment is at position 1, and the next moment is at position 2, you can Tracking position to calculate the direction of vehicle movement) is currently in the preparation stage of multi-camera trajectory fusion, and the target result is still the result of single-camera tracking. Filter the trajectories output by the single-camera tracking. It is understandable that a track already contains the timestamp of the frame, and statistics are made according to the timestamp. If the track spans less than 6 minutes, the track is considered to be short and discarded.
过滤完成后对具有相同车牌的tracklet进行合并,得到合并tracklet。After filtering, the tracklets with the same license plate are merged to obtain a merged tracklet.
然后计算剩余各条合并tracklet的相似度。具体的:第一、对每条tracklet的中包含的所有帧的ReID特征求均值,得到该条tracklet的ReID特征,也即2048维的向量。第二、计算各tracklet向量间的余弦相似度,得到各tracklet之间的相似度矩阵。Then calculate the similarity of the remaining merged tracklets. Specifically: First, average the ReID features of all frames contained in each tracklet to obtain the ReID feature of the tracklet, that is, a 2048-dimensional vector. Second, calculate the cosine similarity between the tracklet vectors, and obtain the similarity matrix between the tracklets.
可以理解的是,计算各条tracklet的相似度。由于tracklet中已包含所有ReID特征,将该tracklet中所有ReID特征求均值即得到该条tracklet的特征,表达形式也是一个2048维的向量。然后,计算tracklet间的相似度矩阵。两条不同tracklet T1和T2间的余旋相似度由以下公式计算得到,其中f(T1)表示轨迹T1的特征,f(T2)表示轨迹T2的特征。It can be understood that the similarity of each tracklet is calculated. Since the tracklet already contains all the ReID features, the average of all the ReID features in the tracklet will get the feature of the tracklet, and the expression form is also a 2048-dimensional vector. Then, the similarity matrix between tracklets is calculated. The cospin similarity between two different tracklets T 1 and T 2 is calculated by the following formula, where f(T 1 ) represents the feature of the track T 1 and f(T 2 ) represents the feature of the track T 2 .
由此,可以得到所有n条轨迹间的相似度矩阵M:From this, the similarity matrix M between all n trajectories can be obtained:
对计算相似度得到的相似度矩阵中首先进行相邻相机间k-均值聚类,得到相近相机合并后的轨迹。然后对合并后的轨迹结果进行所有相机间的K-均值聚类得到,得到融合后的多相机轨迹。In the similarity matrix obtained by calculating the similarity, k-means clustering between adjacent cameras is firstly performed to obtain the combined trajectory of similar cameras. Then, perform K-means clustering among all cameras on the merged trajectory results to obtain the fused multi-camera trajectory.
承接上例,具体的,依据上一步中的相似度矩阵首先进行相邻相机间的层次聚类(Agglomerative clustering),使用complete link方式,将第一距离阈值设置为0.4-0.6中的一个值(距离阈值可以由相关人员根据实际人员灵活设置,优选的,第一距离阈值为0.5),得到初步融合轨迹。层次聚类是一种自下而上的迭代聚类算法,首先将每一个轨迹样本都看成一个簇,然后按照一定的规则,将相似度高的簇进行合并,直到所有样本都形成一个簇或达到某一个条件时(若两个簇距离小于第一距离阈值0.5,则这两个簇将会合并成一个),算法结束;然后对上一步结果设置第二距离阈值为0.85-0.95(该第二距离阈值以由相关人员根据实际人员灵活设置,优选的,第二距离阈值为0.9)再进行跨相机的层次聚类,得到融合后的多相机轨迹。此时距离阈值为0.9。Continuing the above example, specifically, according to the similarity matrix in the previous step, first perform the hierarchical clustering (Agglomerative clustering) between adjacent cameras, and use the complete link method to set the first distance threshold to a value in the range of 0.4-0.6 ( The distance threshold can be flexibly set by the relevant personnel according to the actual personnel, preferably, the first distance threshold is 0.5) to obtain a preliminary fusion trajectory. Hierarchical clustering is a bottom-up iterative clustering algorithm. First, each trajectory sample is regarded as a cluster, and then clusters with high similarity are merged according to certain rules until all samples form a cluster. Or when a certain condition is reached (if the distance between the two clusters is less than the first distance threshold of 0.5, the two clusters will be merged into one), the algorithm ends; then the second distance threshold is set to 0.85-0.95 (the The second distance threshold is flexibly set by the relevant personnel according to the actual personnel. Preferably, the second distance threshold is 0.9) and then perform cross-camera hierarchical clustering to obtain the fused multi-camera trajectory. At this time, the distance threshold is 0.9.
本实施例提供的车辆追踪方法,通过实线和虚线分支相互协作。如果车牌识别效果理想,直接完成多相机跟踪;阴雨天气或遮挡情况,车牌识别效果不理想,借助ReID特征进行多相机轨迹合并,提升跟踪系统准确率和鲁棒性。The vehicle tracking method provided in this embodiment cooperates with each other through the branches of the solid line and the dashed line. If the license plate recognition effect is ideal, the multi-camera tracking can be completed directly; in rainy weather or occlusion, the license plate recognition effect is not ideal, and the ReID feature is used to merge the multi-camera trajectories to improve the accuracy and robustness of the tracking system.
基于相同的构思,本实施例提供一种车辆追踪装置,如图4所示,所述车辆追踪装置,包括:Based on the same concept, this embodiment provides a vehicle tracking device. As shown in FIG. 4 , the vehicle tracking device includes:
检测模块,所述检查模块用于对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;A detection module, the inspection module is used to perform vehicle detection processing on a plurality of video streams, obtain the bounding box information of vehicles in each of the video streams, and perform license plate recognition processing on the plurality of video streams to obtain each of the video streams. License plate recognition results of vehicles in the video stream;
确定模块,所述确定模块用于基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别,获取每个所述视频流对应的轨迹段;a determination module, configured to acquire a trajectory segment corresponding to each of the video streams based on the bounding box information of the vehicle in each of the video streams and the license plate recognition;
融合模块,所述融合模块用于根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果。A fusion module, configured to fuse a plurality of the trajectory segments according to the license plate recognition result included in each of the trajectory segments to generate a vehicle tracking result.
应当理解的是,本实施例提供的车辆追踪装置的各个模块能够组合实现上述车辆追踪方法的各个步骤,达到与上述车辆追踪方法相同的技术效果,在此不在赘述。It should be understood that each module of the vehicle tracking device provided in this embodiment can implement the various steps of the above-mentioned vehicle tracking method in combination to achieve the same technical effect as the above-mentioned vehicle tracking method, which is not repeated here.
如图5所示,本申请实施例提供了一种电子设备,包括处理器111、通信接口112、存储器113和通信总线114,其中,处理器111,通信接口112,存储器113通过通信总线114完成相互间的通信,As shown in FIG. 5 , an embodiment of the present application provides an electronic device, including a
存储器113,用于存放计算机程序;a
在本申请一个实施例中,处理器111,用于执行存储器113上所存放的程序时,实现前述任意一个方法实施例提供的车辆追踪方法,包括:In an embodiment of the present application, the
对多个视频流进行车辆检测处理,得到每个所述视频流内车辆的包围盒信息,对多个所述视频流进行车牌识别处理,得到每个所述视频流内车辆的车牌识别结果;Perform vehicle detection processing on a plurality of video streams to obtain bounding box information of vehicles in each of the video streams, and perform license plate recognition processing on a plurality of the video streams to obtain license plate recognition results of vehicles in each of the video streams;
基于每个所述视频流内车辆的所述包围盒信息和所述车牌识别结果,获取每个所述视频流对应的轨迹段;Obtaining a trajectory segment corresponding to each of the video streams based on the bounding box information of the vehicle in each of the video streams and the license plate recognition result;
根据每个所述轨迹段中包含的所述车牌识别结果,对多个所述轨迹段进行融合,以生成车辆追踪结果。According to the license plate recognition result contained in each of the trajectory segments, a plurality of the trajectory segments are fused to generate a vehicle tracking result.
本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如前述任意一个方法实施例提供的车辆追踪方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the vehicle tracking method provided by any one of the foregoing method embodiments.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these Any such actual relationship or sequence exists between entities or operations. Moreover, 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 that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210357310.3A CN114724131A (en) | 2022-04-01 | 2022-04-01 | A vehicle tracking method, device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210357310.3A CN114724131A (en) | 2022-04-01 | 2022-04-01 | A vehicle tracking method, device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114724131A true CN114724131A (en) | 2022-07-08 |
Family
ID=82241299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210357310.3A Pending CN114724131A (en) | 2022-04-01 | 2022-04-01 | A vehicle tracking method, device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114724131A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114998815A (en) * | 2022-08-04 | 2022-09-02 | 江苏三棱智慧物联发展股份有限公司 | Traffic vehicle identification tracking method and system based on video analysis |
CN115394089A (en) * | 2022-07-29 | 2022-11-25 | 天翼云科技有限公司 | A method for fusion display of vehicle information, a non-inductive traffic system and a storage medium |
CN115830079A (en) * | 2023-02-15 | 2023-03-21 | 天翼交通科技有限公司 | Method, device and medium for tracking trajectory of traffic participant |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020000251A1 (en) * | 2018-06-27 | 2020-01-02 | 潍坊学院 | Method for identifying video involving violation at intersection based on coordinated relay of video cameras |
CN111368692A (en) * | 2020-02-28 | 2020-07-03 | 北京爱笔科技有限公司 | Information fusion method and device, parking position positioning method and system |
CN111626277A (en) * | 2020-08-03 | 2020-09-04 | 杭州智诚惠通科技有限公司 | Vehicle tracking method and device based on over-station inter-modulation index analysis |
CN112069969A (en) * | 2020-08-31 | 2020-12-11 | 河北省交通规划设计院 | A method and system for cross-mirror vehicle tracking in expressway surveillance video |
CN113834496A (en) * | 2021-08-25 | 2021-12-24 | 深圳市跨越新科技有限公司 | Road data missing track matching method, system, terminal device and storage medium |
-
2022
- 2022-04-01 CN CN202210357310.3A patent/CN114724131A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020000251A1 (en) * | 2018-06-27 | 2020-01-02 | 潍坊学院 | Method for identifying video involving violation at intersection based on coordinated relay of video cameras |
CN111368692A (en) * | 2020-02-28 | 2020-07-03 | 北京爱笔科技有限公司 | Information fusion method and device, parking position positioning method and system |
CN111626277A (en) * | 2020-08-03 | 2020-09-04 | 杭州智诚惠通科技有限公司 | Vehicle tracking method and device based on over-station inter-modulation index analysis |
CN112069969A (en) * | 2020-08-31 | 2020-12-11 | 河北省交通规划设计院 | A method and system for cross-mirror vehicle tracking in expressway surveillance video |
CN113834496A (en) * | 2021-08-25 | 2021-12-24 | 深圳市跨越新科技有限公司 | Road data missing track matching method, system, terminal device and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115394089A (en) * | 2022-07-29 | 2022-11-25 | 天翼云科技有限公司 | A method for fusion display of vehicle information, a non-inductive traffic system and a storage medium |
CN114998815A (en) * | 2022-08-04 | 2022-09-02 | 江苏三棱智慧物联发展股份有限公司 | Traffic vehicle identification tracking method and system based on video analysis |
CN115830079A (en) * | 2023-02-15 | 2023-03-21 | 天翼交通科技有限公司 | Method, device and medium for tracking trajectory of traffic participant |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Choudhury et al. | Vehicle detection and counting using haar feature-based classifier | |
CN104244113B (en) | A kind of video abstraction generating method based on depth learning technology | |
CN114724131A (en) | A vehicle tracking method, device, electronic device and storage medium | |
CN103020624B (en) | All-purpose road monitor video smart tags, retrieval back method and device thereof | |
CN112836683B (en) | License plate recognition method, device, equipment and medium for portable camera equipment | |
CN104318327A (en) | Predictive parsing method for track of vehicle | |
Zhao et al. | Good practices and a strong baseline for traffic anomaly detection | |
Kejriwal et al. | Vehicle detection and counting using deep learning basedYOLO and deep SORT algorithm for urban traffic management system | |
CN103646257A (en) | Video monitoring image-based pedestrian detecting and counting method | |
Bui et al. | Video-based traffic flow analysis for turning volume estimation at signalized intersections | |
CN114937248A (en) | Method, apparatus, electronic device, storage medium for vehicle tracking across cameras | |
Yaghoobi Ershadi et al. | Vehicle tracking and counting system in dusty weather with vibrating camera conditions | |
CN110889347B (en) | Density traffic flow counting method and system based on space-time counting characteristics | |
Mendes et al. | Vehicle Tracking and Origin-Destination Counting System for Urban Environment. | |
Chauhan et al. | Vehicle detection, tracking and counting using linear quadratic estimation technique | |
Cheng | Highway traffic flow estimation for surveillance scenes damaged by rain | |
CN118608566A (en) | A method for tracking and identifying vehicles in a parking lot | |
Shah et al. | Accident forecasting in CCTV traffic camera videos | |
CN112700653A (en) | Method, device and equipment for judging illegal lane change of vehicle and storage medium | |
Qasem et al. | Detection and Counting Vehicles in Parking Area using EasyOCR and DeepSORT | |
KR102586639B1 (en) | CCTV video-based moving vehicle speed estimation method | |
CN114494968B (en) | A method and device for identifying abnormal intrusion behavior in a restricted area | |
Kugele et al. | How many events make an object? improving single-frame object detection on the 1 mpx dataset | |
Abdullah et al. | Contour Based Tracking for Driveway Entrance Counting System | |
Ranjitha et al. | Edge Intelligence for Traffic Flow Detection: A Deep Learning Approach |
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 |