[go: up one dir, main page]

CN109934161B - Vehicle identification and detection method and system based on convolutional neural network - Google Patents

Vehicle identification and detection method and system based on convolutional neural network Download PDF

Info

Publication number
CN109934161B
CN109934161B CN201910182868.0A CN201910182868A CN109934161B CN 109934161 B CN109934161 B CN 109934161B CN 201910182868 A CN201910182868 A CN 201910182868A CN 109934161 B CN109934161 B CN 109934161B
Authority
CN
China
Prior art keywords
vehicle
vehicles
image
center
recognized
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.)
Active
Application number
CN201910182868.0A
Other languages
Chinese (zh)
Other versions
CN109934161A (en
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.)
Glance Tianjin Visual Technology Co ltd
Original Assignee
Tianjin Seweilansi Technology 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 Tianjin Seweilansi Technology Co ltd filed Critical Tianjin Seweilansi Technology Co ltd
Priority to CN201910182868.0A priority Critical patent/CN109934161B/en
Publication of CN109934161A publication Critical patent/CN109934161A/en
Application granted granted Critical
Publication of CN109934161B publication Critical patent/CN109934161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Traffic Control Systems (AREA)
  • Alarm Systems (AREA)

Abstract

The invention relates to a vehicle identification and detection method and system based on a convolutional neural network, which are characterized by comprising the following steps: extracting a vehicle picture sample and marking; carrying out region segmentation and category analysis training on the marked picture sample; extracting a group of random continuous images to be identified in the video to be identified; predicting the positions and types of vehicles in all images to be recognized; outputting a motion state of the vehicle; the invention adopts the vehicle identification system to carry out intelligent and automatic management on related vehicles, controls and manages urban traffic by adopting modern technical means, controls the running state of each vehicle in real time, can conveniently realize vehicle dispatching, can guide the dangerous vehicle to track and treat when danger occurs, and lays a solid foundation for timely dredging and efficient monitoring by management departments.

Description

基于卷积神经网络的车辆识别与检测方法及系统Vehicle recognition and detection method and system based on convolutional neural network

技术领域technical field

本发明涉及车辆识别与管理技术领域,尤其涉及一种基于卷积神经网络的车辆识别与检测方法及系统。The invention relates to the technical field of vehicle identification and management, in particular to a method and system for vehicle identification and detection based on a convolutional neural network.

背景技术Background technique

随着社会经济的快速发展,各个国家主要城市的汽车数量与日俱增,车辆违规停放是导致交通拥堵的重大原因之一,因此各个国家都通过相应的法律法规明确规定,在特定地点、场所以及道路禁止停车,目前交通部门对违规停放行为的监管主要采取人工进行巡逻的方式,因此通过人工巡逻的方式进行违规停放的监管需要大量的人力物力,很少有一款设备能够同时满足实时性、准确性以及有效性的要求。With the rapid development of social economy, the number of cars in major cities in various countries is increasing day by day. Illegal parking of vehicles is one of the major causes of traffic congestion. Parking. At present, the traffic department mainly adopts manual patrol to supervise illegal parking. Therefore, the supervision of illegal parking by manual patrol requires a lot of manpower and material resources. Few devices can satisfy real-time performance, accuracy and Validity requirements.

除此之外,近年来诸如油罐车、危险化学品运输车、泥头车、军警车等特种车辆的拥有量也随之不断的增加,为了对行驶中的车辆位置进行确定,广泛采用通过利用来自GPS(Global Positioning System:全球定位系统)的电波信号来进行定位的方法。但是这种利用GPS对车辆进行定位的精度含有几十米左右的误差,很难以更高精度进行详细的位置确定,因此,传统的特种车辆管理模式已难以满足实际需要,监管效率低,存在安全隐患。In addition, in recent years, the number of special vehicles such as oil tank trucks, hazardous chemical transport vehicles, dump trucks, and military and police vehicles has also increased. In order to determine the position of a moving vehicle, widely used A method of positioning by using radio signals from the GPS (Global Positioning System: Global Positioning System). However, the accuracy of using GPS to locate the vehicle contains an error of about tens of meters, and it is difficult to determine the detailed position with higher accuracy. Hidden danger.

基于视频图像处理的交通信息采集作为一种重要的检测技术,已受到国内外的广泛重视,随着社会经济的发展和科学技术的进步,视频检测技术也取得了迅猛的发展,视频检测产品在经历了模拟、数字两个重要发展阶段之后,现在已经处于高清发展阶段,目前市场已经出现了高清视频检测产品,交通视频检测传感器通过位于道路上方的视频采集设备得到交通场景图像,利用计算机图像处理、人工智能、模式识别等技术自动分析处理场景图像信息,从而获取交通信息。由于它是一种非接触式交通信息采集设备,可以在不影响车辆运行情况下进行设备的安装、调试与维护,而无需封闭路段,同时,视频检测传感器可以同时检测多个车道并在广域场景下进行交通监控,具有成本低、信息全面直观、易于维护和安装等特点,因此在智能交通系统中具有较高的应用前景。As an important detection technology, traffic information collection based on video image processing has been widely valued at home and abroad. With the development of society and economy and the progress of science and technology, video detection technology has also achieved rapid development. Video detection products in After experiencing the two important development stages of analog and digital, it is now in the high-definition development stage. At present, high-definition video detection products have appeared in the market. The traffic video detection sensor obtains traffic scene images through the video acquisition equipment located above the road, and uses computer image processing , artificial intelligence, pattern recognition and other technologies to automatically analyze and process scene image information to obtain traffic information. Because it is a non-contact traffic information collection device, it can be installed, debugged and maintained without affecting the operation of the vehicle without closing the road section. At the same time, the video detection sensor can detect multiple lanes at the same time. Traffic monitoring in the scene has the characteristics of low cost, comprehensive and intuitive information, easy maintenance and installation, etc., so it has a high application prospect in intelligent transportation systems.

发明内容Contents of the invention

本发明所要解决的技术问题是克服现有技术中存在的不足,提供一种基于卷积神经网络的车辆识别与检测方法及系统。The technical problem to be solved by the present invention is to overcome the deficiencies in the prior art and provide a method and system for vehicle identification and detection based on convolutional neural network.

本发明是通过以下技术方案予以实现:The present invention is achieved through the following technical solutions:

一种基于卷积神经网络的车辆识别与检测方法,其特征在于,包括以下步骤:A kind of vehicle identification and detection method based on convolution neural network, it is characterized in that, comprises the following steps:

a.提取一组不同种类车辆特定形态的图片样本,将图片样本中全部种类车辆进行标记;a. Extract a group of image samples of specific forms of different types of vehicles, and mark all types of vehicles in the image samples;

b.使用mask-rcnn将已标记的图片样本进行区域分割和种类分析训练;b. Use mask-rcnn to perform region segmentation and category analysis training on marked image samples;

c.与视频监控端建立通讯连接,提取待识别视频中一组随机连续的待识别图像;c. Establish a communication connection with the video monitoring terminal to extract a group of random and continuous images to be recognized in the video to be recognized;

d.通过mask-rcnn语义分割预测出所有待识别图像中车辆位置以及种类;d. Predict the position and type of vehicles in all images to be recognized through mask-rcnn semantic segmentation;

e.通过视频的运动跟踪输出车辆的运动状态;e. Output the motion state of the vehicle through video motion tracking;

f.将运动状态绑定车辆监控业务逻辑,输出监控结果及指令。f. Bind the motion state to the vehicle monitoring business logic, and output monitoring results and instructions.

根据上述技术方案,优选地,所述待识别图像为待识别视频中随机提取的时间段内连续选取的一组图像。According to the above technical solution, preferably, the images to be recognized are a group of images selected continuously within a time period randomly extracted from the video to be recognized.

根据上述技术方案,优选地,步骤e包括:通过物体追踪算法追踪相邻帧的待识别图像中所有车辆位置;根据车辆追踪情况输出车辆的运动状态。According to the above technical solution, preferably, step e includes: using an object tracking algorithm to track the positions of all vehicles in the image to be recognized in adjacent frames; and outputting the motion state of the vehicle according to the vehicle tracking situation.

根据上述技术方案,优选地,步骤f包括:当车辆在特定区域运动状态为静止时,向监控端发送提醒指令。According to the above technical solution, preferably, step f includes: when the vehicle is stationary in a specific area, sending a reminder instruction to the monitoring terminal.

根据上述技术方案,优选地,步骤f包括:当车辆的静止时间超过预设时长时,向监控端发送提醒指令。According to the above technical solution, preferably, step f includes: sending a reminder instruction to the monitoring terminal when the stationary time of the vehicle exceeds a preset duration.

一种基于卷积神经网络的车辆识别与检测系统,其特征在于,包括:标记单元,用于提取一组不同种类车辆特定形态的图片样本,将图片样本中全部种类车辆进行标记;训练单元,用于使用mask-rcnn将已标记的图片样本进行区域分割和种类分析训练;提取单元,用于与视频监控端建立通讯连接,提取待识别视频中一组随机连续的待识别图像;车辆信息识别单元,用于通过mask-rcnn语义分割预测出所有待识别图像中车辆位置以及种类;车辆位移识别单元,用于通过视频的运动跟踪输出车辆的运动状态;监控单元,用于将运动状态绑定车辆监控业务逻辑,输出监控结果及指令。A vehicle recognition and detection system based on a convolutional neural network, characterized in that it includes: a marking unit for extracting a group of picture samples of specific forms of different types of vehicles, and marking all types of vehicles in the picture samples; the training unit, It is used to use mask-rcnn to perform region segmentation and category analysis training on marked image samples; the extraction unit is used to establish a communication connection with the video monitoring terminal and extract a group of random and continuous images to be recognized in the video to be recognized; vehicle information recognition The unit is used to predict the position and type of vehicles in all images to be recognized through mask-rcnn semantic segmentation; the vehicle displacement recognition unit is used to output the motion state of the vehicle through video motion tracking; the monitoring unit is used to bind the motion state Vehicle monitoring business logic, output monitoring results and instructions.

根据上述技术方案,优选地,所述车辆位移识别单元包括:追踪模块,用于通过物体追踪算法追踪相邻帧的待识别图像中所有车辆位置;输出模块,用于根据车辆追踪情况输出车辆的运动状态。According to the above technical solution, preferably, the vehicle displacement recognition unit includes: a tracking module, which is used to track the positions of all vehicles in the image to be recognized in adjacent frames through an object tracking algorithm; an output module, which is used to output the position of the vehicle according to the vehicle tracking situation state of motion.

根据上述技术方案,优选地,所述监控单元包括:第一判断模块,用于当车辆在特定区域运动状态为静止时,向监控端发送提醒指令。According to the above technical solution, preferably, the monitoring unit includes: a first judging module, configured to send a reminder instruction to the monitoring terminal when the vehicle is stationary in a specific area.

根据上述技术方案,优选地,所述监控单元包括:第二判断模块,用于当车辆的静止时间超过预设时长时,向监控端发送提醒指令。According to the above technical solution, preferably, the monitoring unit includes: a second judging module, configured to send a reminder instruction to the monitoring terminal when the stationary time of the vehicle exceeds a preset duration.

本发明的有益效果是:The beneficial effects of the present invention are:

通过视频监控端记录的图像,提取视频片段进行识别分析,通过视频的运动跟踪识别车辆的运动状态,对满足特定条件的车辆状态通过Internet把信息指令传输到车辆监控管理中心,采用车辆识别系统对相关车辆进行智能化、自动化管理,为采用现代化的技术手段控制和管理城市交通,实时掌控每辆车的运行状态,可方便实现车辆调度,在危险发生时,能够引导救险车跟踪与处置,对管理部门及时疏导、高效监控打下坚实的基础。Through the images recorded by the video monitoring terminal, the video clips are extracted for identification and analysis, and the motion state of the vehicle is identified through the motion tracking of the video. For the vehicle state that meets specific conditions, the information instruction is transmitted to the vehicle monitoring management center through the Internet, and the vehicle identification system is used to identify the vehicle. Relevant vehicles are intelligently and automatically managed. In order to control and manage urban traffic with modern technical means, and to control the running status of each vehicle in real time, it is convenient to realize vehicle scheduling. When danger occurs, it can guide emergency vehicles to track and deal with it. Lay a solid foundation for timely guidance and efficient monitoring of the management department.

附图说明Description of drawings

图1是本发明的工作过程示意图。Fig. 1 is a schematic diagram of the working process of the present invention.

具体实施方式Detailed ways

为了使本技术领域的技术人员更好地理解本发明的技术方案,下面结合附图和最佳实施例对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and preferred embodiments.

如图所示,本发明公开了一种一种基于卷积神经网络的车辆识别与检测方法,其特征在于,包括以下步骤:a.提取一组不同种类车辆特定形态的图片样本,将图片样本中全部种类车辆进行标记,利用VIA图像标记算法框架精细标记截取的含有各种车辆特定形态的图片样本中所有车辆的轮廓,形成多个闭合的多边形围成的轮廓,同时标记车辆种类名称,并将标记的信息导出成json文件;b.使用mask-rcnn将已标记的图片样本进行区域分割和种类分析训练,本例中使用tensorflow框架下mask-rcnn算法训练json文件样本;c.与视频监控端建立通讯连接,提取待识别视频中一组随机连续的待识别图像,本例中的视频监控端可以是监控摄像头,用于监控普通车辆是否侵入特定区域,亦可以是卫星拍摄的视频,用于监控特种车辆在不同环境中的运动状态;d.通过mask-rcnn语义分割预测出所有待识别图像中车辆位置以及种类;e.通过视频的运动跟踪输出车辆的运动状态;f.将运动状态绑定车辆监控业务逻辑,输出监控结果及指令。通过视频监控端记录的图像,提取视频片段进行识别分析,通过视频的运动跟踪识别车辆的运动状态,对满足特定条件的车辆状态通过Internet把信息指令传输到车辆监控管理中心,采用车辆识别系统对相关车辆进行智能化、自动化管理,为采用现代化的技术手段控制和管理城市交通,实时掌控每辆车的运行状态,可方便实现车辆调度,在危险发生时,能够引导救险车跟踪与处置,对管理部门及时疏导、高效监控打下坚实的基础。As shown in the figure, the present invention discloses a vehicle recognition and detection method based on a convolutional neural network, which is characterized in that it includes the following steps: a. extracting a group of picture samples of specific forms of different types of vehicles, and taking the picture samples All types of vehicles in the vehicle are marked, and the contours of all vehicles in the intercepted picture samples containing various vehicle specific forms are finely marked using the VIA image marking algorithm framework, forming a contour surrounded by multiple closed polygons, and marking the name of the vehicle type at the same time, and Export the marked information into a json file; b. Use mask-rcnn to perform region segmentation and type analysis training on the marked image samples. In this example, use the mask-rcnn algorithm under the tensorflow framework to train the json file samples; c. Combine with video monitoring The terminal establishes a communication connection and extracts a group of random and continuous images to be recognized in the video to be recognized. The video monitoring terminal in this example can be a surveillance camera for monitoring whether ordinary vehicles have invaded a specific area, or it can be a video shot by a satellite. It is used to monitor the motion state of special vehicles in different environments; d. Predict the position and type of vehicles in all images to be recognized through mask-rcnn semantic segmentation; e. Output the motion state of vehicles through video motion tracking; f. Bind vehicle monitoring business logic, output monitoring results and instructions. Through the images recorded by the video monitoring terminal, the video clips are extracted for identification and analysis, and the motion state of the vehicle is identified through the motion tracking of the video. For the vehicle state that meets specific conditions, the information instruction is transmitted to the vehicle monitoring management center through the Internet, and the vehicle identification system is used to identify the vehicle. Relevant vehicles are intelligently and automatically managed. In order to control and manage urban traffic with modern technical means, and to control the running status of each vehicle in real time, it is convenient to realize vehicle scheduling. When danger occurs, it can guide emergency vehicles to track and deal with it. Lay a solid foundation for timely guidance and efficient monitoring of the management department.

根据上述实施例,优选地,所述待识别图像为待识别视频中随机提取的时间段内连续选取的一组图像,本例中利用图像算法框架opencv导入待识别视频,从此视频中提取一定时间段,提取的时间段跟运算速度和观察时间有关,可以无限长但不可以过短,随机连续选取一组图像作为待识别图像。According to the above-mentioned embodiment, preferably, the image to be identified is a group of images continuously selected in the time period randomly extracted from the video to be identified. In this example, the image algorithm framework opencv is used to import the video to be identified, and a certain amount of images is extracted from the video. Time period, the extracted time period is related to the calculation speed and observation time, it can be infinitely long but not too short, a group of images is randomly selected continuously as the image to be recognized.

根据上述实施例,优选地,步骤e包括:通过物体追踪算法追踪相邻帧的待识别图像中所有车辆位置,从待识别图像中的第一帧开始,观察相邻帧图像所有车辆位置,利用矩阵算法计算各车辆轮廓所在的质心,以第一张图像的每个车辆的质心为圆心,以预设像素为半径依次搜索,查看在下一帧中各车辆位移情况,判断物体与质心所在物体的形状差异是否在一定范围,如果是则认为当前的物体是上一张图像质心所在物体产生位移后的物体,反之则认为是不同类车辆;根据车辆追踪情况输出车辆的运动状态,如果在一定时间内同一车辆质心未发生移动,则认为该车辆处于静止状态。According to the above-mentioned embodiment, preferably, step e includes: using an object tracking algorithm to track the positions of all vehicles in the images to be recognized in adjacent frames, starting from the first frame in the image to be recognized, observing the positions of all vehicles in the images of adjacent frames, using The matrix algorithm calculates the center of mass of each vehicle outline, takes the center of mass of each vehicle in the first image as the center, and searches in turn with the preset pixel as the radius, checks the displacement of each vehicle in the next frame, and judges the distance between the object and the object where the center of mass is located Whether the shape difference is within a certain range, if it is, the current object is considered to be the object after the displacement of the object where the center of mass of the previous image is located, otherwise it is considered to be a different type of vehicle; output the motion state of the vehicle according to the vehicle tracking situation, if within a certain period of time If the center of mass of the same vehicle does not move, the vehicle is considered to be at rest.

根据上述实施例,优选地,步骤f包括:当车辆在特定区域运动状态为静止时,向监控端发送提醒指令,当车辆在禁停位置处于静止状态时,系统发送提醒指令至交通管理中心,使交通管理者能快速判断车辆的运动状态,能提高道路监控视频的智能化水平,为交通管理者提供及时、有效的事故处理手段与依据。According to the above-mentioned embodiment, preferably, step f includes: when the vehicle is stationary in a specific area, sending a reminder instruction to the monitoring terminal; when the vehicle is in a stationary state at a prohibited parking position, the system sends a reminder instruction to the traffic management center, It enables traffic managers to quickly judge the movement status of vehicles, improves the intelligence level of road surveillance video, and provides traffic managers with timely and effective means and basis for handling accidents.

根据上述实施例,优选地,步骤f包括:当车辆的静止时间超过预设时长时,向监控端发送提醒指令,设置合理的车辆静止时长报警阈值,当特种车辆在某些特定环境中停留时间超过报警阈值时,系统向监控端发送提醒指令,便于实时掌控每辆车的运行状态,在危险发生时,能够引导救险车跟踪与处置,对管理部门及时疏导、高效监控打下坚实的基础。According to the above-mentioned embodiment, preferably, step f includes: when the stationary time of the vehicle exceeds the preset duration, sending a reminder instruction to the monitoring terminal, setting a reasonable alarm threshold for the stationary duration of the vehicle, When the alarm threshold is exceeded, the system sends a reminder command to the monitoring terminal, which is convenient for real-time control of the running status of each vehicle. When danger occurs, it can guide the rescue vehicle to track and deal with it, laying a solid foundation for the management department to guide and monitor efficiently.

本发明还公开了一种基于卷积神经网络的车辆识别与检测系统,其特征在于,包括:标记单元,用于提取一组不同种类车辆特定形态的图片样本,将图片样本中全部种类车辆进行标记;训练单元,用于使用mask-rcnn将已标记的图片样本进行区域分割和种类分析训练;提取单元,用于与视频监控端建立通讯连接,提取待识别视频中一组随机连续的待识别图像;车辆信息识别单元,用于通过mask-rcnn语义分割预测出所有待识别图像中车辆位置以及种类;车辆位移识别单元,用于通过视频的运动跟踪输出车辆的运动状态;监控单元,用于将运动状态绑定车辆监控业务逻辑,输出监控结果及指令。The present invention also discloses a vehicle identification and detection system based on convolutional neural network, which is characterized in that it includes: a marking unit, used to extract a group of picture samples of different types of vehicles with specific forms, and perform all types of vehicles in the picture samples Marking; training unit, used to use mask-rcnn to perform region segmentation and type analysis training on marked image samples; extraction unit, used to establish a communication connection with the video monitoring terminal, and extract a group of random and continuous images to be identified in the video to be identified Image; vehicle information recognition unit, used to predict the position and type of vehicles in all images to be recognized through mask-rcnn semantic segmentation; vehicle displacement recognition unit, used to output the motion state of the vehicle through video motion tracking; monitoring unit, used for Bind the motion state to the vehicle monitoring business logic, and output monitoring results and instructions.

根据上述实施例,优选地,所述车辆位移识别单元包括:追踪模块,用于通过物体追踪算法追踪相邻帧的待识别图像中所有车辆位置;输出模块,用于根据车辆追踪情况输出车辆的运动状态。According to the above-mentioned embodiment, preferably, the vehicle displacement identification unit includes: a tracking module, used to track the positions of all vehicles in the images to be identified in adjacent frames through an object tracking algorithm; an output module, used to output the position of the vehicle according to the vehicle tracking situation state of motion.

根据上述实施例,优选地,所述监控单元包括:第一判断模块,用于当车辆在特定区域运动状态为静止时,向监控端发送提醒指令。According to the above embodiment, preferably, the monitoring unit includes: a first judging module, configured to send a reminder instruction to the monitoring terminal when the vehicle is stationary in a specific area.

根据上述实施例,优选地,所述监控单元包括:第二判断模块,用于当车辆的静止时间超过预设时长时,向监控端发送提醒指令。According to the above embodiment, preferably, the monitoring unit includes: a second judging module, configured to send a reminder instruction to the monitoring terminal when the stationary time of the vehicle exceeds a preset duration.

通过视频监控端记录的图像,提取视频片段进行识别分析,通过视频的运动跟踪识别车辆的运动状态,对满足特定条件的车辆状态通过Internet把信息指令传输到车辆监控管理中心,采用车辆识别系统对相关车辆进行智能化、自动化管理,为采用现代化的技术手段控制和管理城市交通,实时掌控每辆车的运行状态,可方便实现车辆调度,在危险发生时,能够引导救险车跟踪与处置,对管理部门及时疏导、高效监控打下坚实的基础。Through the images recorded by the video monitoring terminal, the video clips are extracted for identification and analysis, and the motion state of the vehicle is identified through the motion tracking of the video. For the vehicle state that meets specific conditions, the information instruction is transmitted to the vehicle monitoring management center through the Internet, and the vehicle identification system is used to identify the vehicle. Relevant vehicles are intelligently and automatically managed. In order to control and manage urban traffic with modern technical means, and to control the running status of each vehicle in real time, it is convenient to realize vehicle scheduling. When danger occurs, it can guide emergency vehicles to track and deal with it. Lay a solid foundation for timely guidance and efficient monitoring of the management department.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (3)

1.一种基于卷积神经网络的车辆识别与检测方法,其特征在于,包括以下步骤:1. A vehicle identification and detection method based on convolutional neural network, is characterized in that, comprises the following steps: a.提取一组不同种类车辆特定形态的图片样本,将图片样本中全部种类车辆进行标记;a. Extract a group of image samples of specific forms of different types of vehicles, and mark all types of vehicles in the image samples; b.使用mask-rcnn将已标记的图片样本进行区域分割和种类分析训练;b. Use mask-rcnn to perform region segmentation and category analysis training on marked image samples; c.与视频监控端建立通讯连接,提取待识别视频中一组随机连续的待识别图像;c. Establish a communication connection with the video monitoring terminal to extract a group of random and continuous images to be recognized in the video to be recognized; d.通过mask-rcnn语义分割预测出所有待识别图像中车辆位置以及种类;d. Predict the position and type of vehicles in all images to be recognized through mask-rcnn semantic segmentation; e.通过物体追踪算法追踪相邻帧的待识别图像中所有车辆位置,从待识别图像中的第一帧开始,观察相邻帧图像所有车辆位置,利用矩阵算法计算各车辆轮廓所在的质心,以第一张图像的每个车辆的质心为圆心,以预设像素为半径依次搜索,查看在下一帧中各车辆位移情况,判断物体与质心所在物体的形状差异是否在预设范围,如果是则认为当前的物体是上一张图像质心所在物体产生位移后的物体,反之则认为是不同类车辆;根据车辆追踪情况输出车辆的运动状态,如果在预设时间内同一车辆质心未发生移动,则认为该车辆处于静止状态;e. Use the object tracking algorithm to track the position of all vehicles in the image to be recognized in the adjacent frame, start from the first frame in the image to be recognized, observe the positions of all the vehicles in the image of the adjacent frame, and use the matrix algorithm to calculate the centroid of each vehicle outline, Take the center of mass of each vehicle in the first image as the center of the circle, search in turn with the preset pixel as the radius, check the displacement of each vehicle in the next frame, and judge whether the shape difference between the object and the object where the center of mass is located is within the preset range, if so It is considered that the current object is the object after the displacement of the object where the center of mass of the previous image is located, otherwise it is considered to be a different type of vehicle; the motion state of the vehicle is output according to the vehicle tracking situation, if the center of mass of the same vehicle does not move within the preset time, the vehicle is considered to be at rest; f.将运动状态绑定车辆监控业务逻辑,输出监控结果及指令,其中,当车辆的静止时间超过预设时长时,向监控端发送提醒指令,设置合理的车辆静止时长报警阈值,当车辆在某些特定环境中停留时间超过报警阈值时,系统向监控端发送提醒指令。f. Bind the motion state to the vehicle monitoring business logic, and output the monitoring results and instructions. Among them, when the vehicle’s stationary time exceeds the preset duration, a reminder instruction is sent to the monitoring terminal, and a reasonable alarm threshold for the vehicle’s stationary duration is set. When the vehicle is stationary When the residence time in some specific environments exceeds the alarm threshold, the system will send a reminder command to the monitoring terminal. 2.根据权利要求1所述一种基于卷积神经网络的车辆识别与检测方法,其特征在于,所述待识别图像为待识别视频中随机提取的时间段内连续选取的一组图像。2. A method for vehicle identification and detection based on convolutional neural networks according to claim 1, wherein the images to be identified are a group of images selected continuously within a time period randomly extracted from the video to be identified. 3.一种基于卷积神经网络的车辆识别与检测系统,其特征在于,包括:3. A vehicle identification and detection system based on convolutional neural network, characterized in that, comprising: 标记单元,用于提取一组不同种类车辆特定形态的图片样本,将图片样本中全部种类车辆进行标记;The marking unit is used to extract a group of picture samples of specific forms of different types of vehicles, and mark all types of vehicles in the picture samples; 训练单元,用于使用mask-rcnn将已标记的图片样本进行区域分割和种类分析训练;The training unit is used to perform region segmentation and category analysis training on marked image samples using mask-rcnn; 提取单元,用于与视频监控端建立通讯连接,提取待识别视频中一组随机连续的待识别图像;The extraction unit is used to establish a communication connection with the video monitoring terminal to extract a group of random and continuous images to be identified in the video to be identified; 车辆信息识别单元,用于通过mask-rcnn语义分割预测出所有待识别图像中车辆位置以及种类;The vehicle information recognition unit is used to predict the position and type of vehicles in all images to be recognized through mask-rcnn semantic segmentation; 车辆位移识别单元,用于通过物体追踪算法追踪相邻帧的待识别图像中所有车辆位置,从待识别图像中的第一帧开始,观察相邻帧图像所有车辆位置,利用矩阵算法计算各车辆轮廓所在的质心,以第一张图像的每个车辆的质心为圆心,以预设像素为半径依次搜索,查看在下一帧中各车辆位移情况,判断物体与质心所在物体的形状差异是否在预设范围,如果是则认为当前的物体是上一张图像质心所在物体产生位移后的物体,反之则认为是不同类车辆;根据车辆追踪情况输出车辆的运动状态,如果在预设时间内同一车辆质心未发生移动,则认为该车辆处于静止状态;The vehicle displacement recognition unit is used to track the position of all vehicles in the image to be recognized in the adjacent frame through the object tracking algorithm, start from the first frame in the image to be recognized, observe the positions of all the vehicles in the image of the adjacent frame, and use the matrix algorithm to calculate the position of each vehicle The center of mass of the outline is located in the first image, with the center of mass of each vehicle in the first image as the center, and the preset pixel is used as the radius to search in turn, check the displacement of each vehicle in the next frame, and judge whether the shape difference between the object and the object where the center of mass is located is within the preset Set the range, if it is, the current object is considered to be the object after the displacement of the object where the center of mass of the previous image is located, otherwise it is considered to be a different type of vehicle; output the motion state of the vehicle according to the vehicle tracking situation, if the same vehicle within the preset time If the center of mass does not move, the vehicle is considered to be at rest; 监控单元,用于将运动状态绑定车辆监控业务逻辑,输出监控结果及指令,其中,当车辆的静止时间超过预设时长时,向监控端发送提醒指令,设置合理的车辆静止时长报警阈值,当车辆在某些特定环境中停留时间超过报警阈值时,系统向监控端发送提醒指令。The monitoring unit is used to bind the motion state to the vehicle monitoring business logic, output monitoring results and instructions, wherein, when the vehicle's stationary time exceeds the preset duration, send a reminder instruction to the monitoring terminal, and set a reasonable vehicle stationary duration alarm threshold, When the vehicle stays in some specific environment for more than the alarm threshold, the system will send a reminder command to the monitoring terminal.
CN201910182868.0A 2019-03-12 2019-03-12 Vehicle identification and detection method and system based on convolutional neural network Active CN109934161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910182868.0A CN109934161B (en) 2019-03-12 2019-03-12 Vehicle identification and detection method and system based on convolutional neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910182868.0A CN109934161B (en) 2019-03-12 2019-03-12 Vehicle identification and detection method and system based on convolutional neural network

Publications (2)

Publication Number Publication Date
CN109934161A CN109934161A (en) 2019-06-25
CN109934161B true CN109934161B (en) 2023-04-28

Family

ID=66986885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910182868.0A Active CN109934161B (en) 2019-03-12 2019-03-12 Vehicle identification and detection method and system based on convolutional neural network

Country Status (1)

Country Link
CN (1) CN109934161B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112180913A (en) * 2020-09-01 2021-01-05 芜湖酷哇机器人产业技术研究院有限公司 Special vehicle identification method
CN112686923A (en) * 2020-12-31 2021-04-20 浙江航天恒嘉数据科技有限公司 Target tracking method and system based on double-stage convolutional neural network
CN113469158B (en) * 2021-09-06 2021-11-19 智广海联(天津)大数据技术有限公司 Method and system for identifying illegal hazardous chemical substance transport vehicle based on convolutional neural network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968886A (en) * 2010-09-09 2011-02-09 西安电子科技大学 Cell Tracking Method Based on Particle Filter and Mean Shift Based on Centroid Tracking Framework
CN103617410A (en) * 2013-08-30 2014-03-05 重庆大学 Highway tunnel parking detection method based on video detection technology
CN104070525A (en) * 2014-06-18 2014-10-01 大连大学 Space manipulator continuous trajectory tracking method
CN104282020A (en) * 2014-09-22 2015-01-14 中海网络科技股份有限公司 Vehicle speed detection method based on target motion track
CN104615142A (en) * 2014-12-19 2015-05-13 重庆大学 Flight controller for civil small UAV (Unmanned Aerial Vehicle)
CN109300165A (en) * 2018-09-14 2019-02-01 南京邮电大学 A Novel Target Tracking and Localization Method Based on Pixel Features

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109145769A (en) * 2018-08-01 2019-01-04 辽宁工业大学 The target detection network design method of blending image segmentation feature
CN108710875B (en) * 2018-09-11 2019-01-08 湖南鲲鹏智汇无人机技术有限公司 A kind of take photo by plane road vehicle method of counting and device based on deep learning
CN109359538B (en) * 2018-09-14 2020-07-28 广州杰赛科技股份有限公司 Training method of convolutional neural network, gesture recognition method, device and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968886A (en) * 2010-09-09 2011-02-09 西安电子科技大学 Cell Tracking Method Based on Particle Filter and Mean Shift Based on Centroid Tracking Framework
CN103617410A (en) * 2013-08-30 2014-03-05 重庆大学 Highway tunnel parking detection method based on video detection technology
CN104070525A (en) * 2014-06-18 2014-10-01 大连大学 Space manipulator continuous trajectory tracking method
CN104282020A (en) * 2014-09-22 2015-01-14 中海网络科技股份有限公司 Vehicle speed detection method based on target motion track
CN104615142A (en) * 2014-12-19 2015-05-13 重庆大学 Flight controller for civil small UAV (Unmanned Aerial Vehicle)
CN109300165A (en) * 2018-09-14 2019-02-01 南京邮电大学 A Novel Target Tracking and Localization Method Based on Pixel Features

Also Published As

Publication number Publication date
CN109934161A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN111833598B (en) A method and system for automatic monitoring of highway UAV traffic incidents
Tian et al. An automatic car accident detection method based on cooperative vehicle infrastructure systems
CN110717433A (en) A traffic violation analysis method and device based on deep learning
CN113850123A (en) Video-based highway monitoring method and device, storage medium and monitoring system
CN105160899B (en) A kind of illegal managing device of Internet of Things intelligent transportation
CN109934161B (en) Vehicle identification and detection method and system based on convolutional neural network
CN107067730B (en) Network appointment vehicle-man-vehicle inconsistency monitoring method based on bayonet equipment
CN106448267B (en) Road traffic accident chain based on car networking blocks system
CN104282154A (en) Vehicle overload monitoring system and method
CN111489555A (en) A traffic operation state prediction method, device and system
CN109410583A (en) Traffic information collection and analysis system and operation method based on automobile data recorder
Wang et al. Vision-based highway traffic accident detection
CN117292578A (en) Traffic early warning method and system for transport vehicle crossing road
CN112257683A (en) Cross-mirror tracking method for vehicle running track monitoring
Pratama et al. Smart video surveillance system for level crossing: a systematic literature review
CN209486891U (en) Shared bicycle illegal parking detection system
CN209087137U (en) Traffic information collection and analysis system based on automobile data recorder
CN114494998A (en) Intelligent analysis method and system for vehicle data
CN114792411A (en) Method, system, device and storage medium for pedestrian detection in bus yielding
CN107958591A (en) A kind of roadside parking management system based on street lamp
CN117894187A (en) Highway intellectual detection system early warning system
Chen Intelligent Traffic Monitoring and Management Based on Computer Vision Technology
Algiriyage Traffic flow estimation based on deep learning for emergency traffic management using CCTV images
CN109427190A (en) Car tracing method and device
CN119296142B (en) Water station anti-human interference early warning method based on lightweight pre-trained visual large model

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250124

Address after: Room 386, R&D Building, Star Enterprise No.1 Park, No. 3, Haitai Development Sixth Road, Huayuan Industrial Zone (Outer Ring), Binhai High tech Zone, Xiqing District, Tianjin 300392

Patentee after: Glance (Tianjin) Visual Technology Co.,Ltd.

Country or region after: China

Address before: Building 2-301-4, Building 16, No. 2 Haitai Chuangxin 6th Road, Huayuan Industrial Zone (Huanwai), Binhai High tech Zone, Xiqing District, Tianjin, 300000

Patentee before: TIANJIN SEWEILANSI TECHNOLOGY Co.,Ltd.

Country or region before: China