Movatterモバイル変換


[0]ホーム

URL:


CN109359573A - A kind of warning method and device based on the separation of accurate people's vehicle - Google Patents

A kind of warning method and device based on the separation of accurate people's vehicle
Download PDF

Info

Publication number
CN109359573A
CN109359573ACN201811160160.7ACN201811160160ACN109359573ACN 109359573 ACN109359573 ACN 109359573ACN 201811160160 ACN201811160160 ACN 201811160160ACN 109359573 ACN109359573 ACN 109359573A
Authority
CN
China
Prior art keywords
people
vehicle
image
training
warning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811160160.7A
Other languages
Chinese (zh)
Inventor
高旭麟
薛超
付邦鹏
焦胜峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Tiandi Weiye Investment Management Co ltd
Original Assignee
Tianjin Tiandi Weiye Investment Management 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 Tiandi Weiye Investment Management Co ltdfiledCriticalTianjin Tiandi Weiye Investment Management Co ltd
Priority to CN201811160160.7ApriorityCriticalpatent/CN109359573A/en
Publication of CN109359573ApublicationCriticalpatent/CN109359573A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of warning methods based on the separation of accurate people's vehicle, this method passes through the moving region in background modeling technology acquisition warning region first, candidate region is determined using mass detection method, then inspection image is taken off according to candidate region, with deep learning detection network to inspection image detection, the differentiation of people's vehicle to triggering warning alarm target is realized in target category and exact position in last output area.This method has stronger Shandong nation property to the differentiation of target category and the accurate positioning of position, can also accurately filter out warning alarm caused by inhuman, vehicle.

Description

A kind of warning method and device based on the separation of accurate people's vehicle
Technical field
The invention belongs to field of video monitoring, and in particular to the warning side based on the separation of accurate people's vehicle in a kind of video monitoringMethod and device.
Background technique
With the development of science and technology and society, more and more extensive, the existing camera vigilance performance of video monitoring system applicationIt is increasingly unable to satisfy the demand of practical application, is mainly reflected in, the demand under current warning scene not only needs phase equipmentThere is the detection function to moving target, it is also necessary to which camera automatically can accurately divide the moving object detectedA kind of class, since to trigger the target of alarm be mostly people or vehicle under warning scene, it is therefore desirable to the attribute of method to alarm targetIt carries out accurately identifying classification, existing warning camera can be identified to a certain extent using the detection classification method such as cascade, svmAlarm target attribute out, but because its requirement to scene is very stringent, and recognition accuracy is lower, is difficult wide popularization and application.
Summary of the invention
The object of the present invention is to provide a kind of warning method and devices based on the separation of accurate people's vehicle, for guarding against monitoring fieldThe target alarmed under scape triggering is fast and accurately positioned and is identified, helping the target of monitoring personnel analysis triggering alarm is that people goes backIt is vehicle.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of warning method based on the separation of accurate people's vehicle, comprising:
1) moving region in warning region is obtained using background modeling technology, determines candidate using mass detection methodThe ROI of inspection image is taken off in region according to candidate region;
2) the inspection image taken off is sent into trained deep learning and detects network, the people in image, vehicle are examinedIt surveys and identifies, export its boundary rectangle, classification and confidence level.
Further, the specific method of step 1) obtains foreground image including the use of background modeling technology, is examined using agglomerateAdjacent foreground point is carried out subject fusion, and takes its boundary rectangle as motion mass, and according to motion mass by survey methodThe ratio that prospect points account for total pixel number in size ratio and agglomerate excludes the agglomerate to differ greatly with people, vehicle, remainingAs candidate region, inspection image is taken off according to candidate region.
Further, the method for the step 2) detection includes:
201) people's vehicle training dataset is constructed;
202) according to people's vehicle feature construction deep learning training network architecture;
203) configuration training parameter starts to train;
204) people's vehicle is detected with training pattern.
Further, the specific method of step 201) building people's vehicle training dataset includes: to guard against phase from magnanimityMachine is captured in image, and people, the vehicle image under different angle, different light conditions with triggering warning alert if are obtained, will be formerBeginning 1920X1080 pixel image zooms to 1080X720,540X360, three groups of multi-scale images is obtained, to every sub-picture with minimumSide intercepts two square-shaped images as training image, then using mark from left and right to each image respectively as side lengthTool marks people, the position of vehicle and classification in the picture, generates the mark file of xml format, and image is saved and is used as data set,Taking 80% data, remainder data is as test set as training dataset.
Further, step 202) the method packet according to people's vehicle feature construction deep learning training network architectureInclude: the network of building is divided into feature extraction and uses since the second layer more with detection two parts, feature extraction network is mergedThe alternate convolutional network structure of Conv3*3 and conv1*1,64 feature map that one layer is obtained, is divided into two groups every groupEach 32, the filter of 128 3*3 of the second layer is also divided into two groups, respectively does convolution fortune with corresponding feature mapIt calculates, then is together in series the feature map that two groups of convolution algorithms obtain to obtain new featuer with the filter of 1*1Input of the map as detection layers and next layer of convolution, back layer calculation are identical with this, and the detection parts that merge collect difference moreThe feature map of size, using prediction block position (x, y, w, h) and confidence level confidence with true value position intoRow calculates loss, obtains mbox_loss, final output makes penalty values the smallest (x, y, w, h) and confidence, and passes throughClassification belonging to the confidence vector determination target frame of output.
Another aspect of the present invention additionally provides a kind of surveillance device based on the separation of accurate people's vehicle, comprising:
Module is taken off, for obtaining the moving region in warning region using background modeling technology, uses mass detection sideMethod determines candidate region, and the ROI of inspection image is taken off according to candidate region;
Deep learning module, the inspection image for will take off is sent into trained deep learning and detects network, to imageIn people, vehicle detect and identify, export its boundary rectangle, classification and confidence level.
Further, the module of taking off is specifically used for: obtaining foreground image using background modeling technology, is examined using agglomerateAdjacent foreground point is carried out subject fusion, and takes its boundary rectangle as motion mass, and according to motion mass by survey methodThe ratio that prospect points account for total pixel number in size ratio and agglomerate excludes the agglomerate to differ greatly with people, vehicle, remainingAs candidate region, inspection image is taken off according to candidate region.
Further, the deep learning module includes:
Data set unit, for constructing people's vehicle training dataset;
Architectural elements, for according to people's vehicle feature construction deep learning training network architecture;
Training unit starts to train for configuring training parameter;
Detection unit, for being detected using training pattern to people's vehicle.
Further, data set unit is specifically used for: it is captured in image from magnanimity warning camera, acquisition different angle,There is people, the vehicle image of triggering warning alert if under different light conditions, original 1920X1080 pixel image is zoomed to1080X720,540X360 obtain three groups of multi-scale images, to every sub-picture using minimum edge as side length, scheme respectively to eachAs, as training image, then marking the position of people, vehicle in the picture using annotation tool from left and right two square-shaped images of interceptionIt sets and classification, generates the mark file of xml format, image is saved and is used as data set, take 80% data as training dataCollection, remainder data is as test set.
Further, architectural elements are specifically used for: the network of building is divided into feature extraction and merges detection two parts with more,Feature extraction network uses the alternate convolutional network structure of Conv3*3 and conv1*1 since the second layer, and one layer is obtained64 feature map, are divided into two groups every group each 32, the filter of 128 3*3 of the second layer are also divided into two groups, respectivelyConvolution algorithm is done with corresponding feature map, the feature for then two groups of convolution algorithms being obtained with the filter of 1*1Map is together in series to obtain input of the new featuer map as detection layers and next layer of convolution, back layer calculation and thisIdentical, the detection parts that merge collect various sizes of feature map more, utilize the position (x, y, w, h) of prediction block and confidenceIt spends confidence and carries out calculating loss with the position of true value, obtain mbox_loss, final output makes penalty values the smallest(x, y, w, h) and confidence, and pass through classification belonging to the confidence vector determination target frame of output.
Compared with prior art, the present invention have it is following the utility model has the advantages that
The present invention has stronger Shandong nation property to the differentiation of target category and the accurate positioning of position, can also accurate mistakeFilter warning alarm caused by inhuman, vehicle.
Detailed description of the invention
Fig. 1 is the deep learning training network architecture schematic diagram of the embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phaseMutually combination.
The present invention proposes a kind of warning method based on the separation of accurate people's vehicle, and the technical scheme comprises the following steps:
1. obtaining the moving region in warning region using background modeling technology, candidate is determined using mass detection methodThe ROI of inspection image is taken off in region according to candidate region;
2. the inspection image taken off, which is sent into trained deep learning, detects network, the people in image, vehicle are examinedIt surveys and identifies, export its boundary rectangle, classification and confidence level;
Foreground image is obtained using background modeling technology in the step 1, using mass detection method, adjacent prospectPoint carries out subject fusion, and takes its boundary rectangle as motion mass.If regular-shape motion agglomerate is expressed as (x, y, w, h), prospectProspect points n1, total pixel number n2 are contained in image corresponding region, then select the agglomerate for meeting the following conditions as candidateInspection image is taken off according to candidate region in region;
0.15<(w/h)<2 and (n1/n2)>0.3
The inspection image taken off is sent into trained deep learning in the step 2 and detects network, in image people,Vehicle is detected and is identified, its boundary rectangle, classification and confidence level are exported.It is embodied as follows:
1) people's vehicle training dataset is constructed;
To make model that there is good generalized ability, various scenes are adapted to, captures in image, obtains from magnanimity warning cameraThere is people, the vehicle image of triggering warning alert if, since the warning image of acquisition is mostly under different angle, different light conditionsThe image of (1920X1080) pixel zooms to original image for the multiple dimensioned recognition capability for enhancing network model(1080X720), (540X360) obtain three groups of multi-scale images, while for convenience of network training, to every sub-picture with minimum edgeAs side length, two square-shaped images are intercepted as training image, then using mark work from left and right to each image respectivelyTool marks people, the position of vehicle and classification in the picture, generates the mark file of xml format, image is saved in JPEGImagesFile, xml mark file is put into Annotations file, as data set, takes 80% data as training dataCollection, remainder data is as test set;
2) according to people's vehicle feature construction deep learning training network architecture;
Such as Fig. 1, the network of building is divided into feature extraction and opens with detection two parts, feature extraction network is merged from the second layer moreBegin to be divided into two using the alternate convolutional network structure of Conv3*3 and conv1*1,64 feature map that one layer is obtainedGroup every group each 32, the filter of 128 3*3 of the second layer is also divided into two groups, respectively with corresponding feature map volumeProduct operation, then the feature map that two groups of convolution algorithms obtain is together in series to obtain new with the filter of 1*1Input of the featuer map as detection layers and next layer of convolution, back layer calculation are identical with this, mostly fusion detection partVarious sizes of feature map is collected, the position l (x, y, w, h) (output of mbox_loc) and confidence level of prediction block are utilizedConfidence (output of mbox_cof) carries out calculating loss with true value g (x, y, w, h), obtains mbox_loss, calculates publicFormula are as follows:
Wherein p indicates target generic,Indicate i-th of prediction block and j-th true frame about classification k whetherMatch, otherwise matching as 1 is 0.
Final output makes penalty values the smallest (x, y, w, h) and confidence, and passes through the confidence of outputClassification belonging to vector determination target frame.
3) configuration training parameter starts to train;
The adjustment of network inputs parameter is most important to accuracy rate and the recall rate improvement of model, and the network mainly adjusted is defeatedEntering parameter has image preprocessing parameter, brightness is done to image, the adjustment of coloration, saturation degree achieve the purpose that data enhance, andTraining parameter batchsize, learning rate obtain the optimum value of bachsize by repetition training, and learning rate is adopted in training processWith the method adaptively adjusted, formula is adjusted.
D is that constant takes 10-5
4) people's vehicle is detected with training pattern;
Using trained model to inspection image detection output inspection image in the position (x, y, w, h) of people or vehicle with setReliability.Retain size properly and confidence level reaches the target of threshold value as output.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the inventionWithin mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

4. a kind of warning method based on the separation of accurate people's vehicle according to claim 3, which is characterized in that step 201) instituteThe specific method for stating building people's vehicle training dataset includes: to capture in image from magnanimity warning camera, obtains different angle, differenceThere is people, the vehicle image of triggering warning alert if under light conditions, original 1920X1080 pixel image is zoomed to1080X720,540X360 obtain three groups of multi-scale images, to every sub-picture using minimum edge as side length, scheme respectively to eachAs, as training image, then marking the position of people, vehicle in the picture using annotation tool from left and right two square-shaped images of interceptionIt sets and classification, generates the mark file of xml format, image is saved and is used as data set, take 80% data as training dataCollection, remainder data is as test set.
5. a kind of warning method based on the separation of accurate people's vehicle according to claim 3, which is characterized in that step 202) instituteIt states and is divided into feature extraction according to the network that the method for people's vehicle feature construction deep learning training network architecture includes: building and melts moreDetection two parts are closed, feature extraction network uses the alternate convolutional network knot of Conv3*3 and conv1*1 since the second layerStructure, 64 feature map that one layer is obtained are divided into two groups every group each 32, by the filter of 128 3*3 of the second layerTwo groups are also divided into, respectively does convolution algorithm with corresponding feature map, then uses the filter of 1*1 by two groups of convolution algorithmsObtained feature map is together in series to obtain input of the new featuer map as detection layers and next layer of convolution, behindLayer calculation is identical with this, and the detection parts that merge collect various sizes of feature map more, utilizes the position of prediction block(x, y, w, h) and confidence level confidence carry out calculating loss with the position of true value, obtain mbox_loss, final outputSo that penalty values the smallest (x, y, w, h) and confidence, and pass through the confidence vector determination target frame institute of outputThe classification of category.
9. a kind of surveillance device based on the separation of accurate people's vehicle according to claim 8, which is characterized in that data set unitIt is specifically used for: is captured in image from magnanimity warning camera, obtaining has triggering warning alarm under different angle, different light conditionsOriginal 1920X1080 pixel image is zoomed to 1080X720,540X360 by the people of condition, vehicle image, obtain three groups it is multiple dimensionedImage intercepts two square-shaped image conducts from left and right to each image respectively to every sub-picture using minimum edge as side lengthTraining image then marks people, the position of vehicle and classification using annotation tool in the picture, generates the mark file of xml format,Image is saved and is used as data set, taking 80% data, remainder data is as test set as training dataset.
10. a kind of surveillance device based on the separation of accurate people's vehicle according to claim 8, which is characterized in that architectural elementsBe specifically used for: the network of building is divided into feature extraction and adopts since the second layer more with detection two parts, feature extraction network is mergedWith the alternate convolutional network structure of Conv3*3 and conv1*1,64 feature map that one layer is obtained, be divided into two groups it is everyGroup each 32, the filter of 128 3*3 of the second layer is also divided into two groups, respectively does convolution fortune with corresponding feature mapIt calculates, then is together in series the feature map that two groups of convolution algorithms obtain to obtain new featuer with the filter of 1*1Input of the map as detection layers and next layer of convolution, back layer calculation are identical with this, and the detection parts that merge collect difference moreThe feature map of size, using prediction block position (x, y, w, h) and confidence level confidence with true value position intoRow calculates loss, obtains mbox_loss, final output makes penalty values the smallest (x, y, w, h) and confidence, and passes throughClassification belonging to the confidence vector determination target frame of output.
CN201811160160.7A2018-09-302018-09-30A kind of warning method and device based on the separation of accurate people's vehiclePendingCN109359573A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811160160.7ACN109359573A (en)2018-09-302018-09-30A kind of warning method and device based on the separation of accurate people's vehicle

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811160160.7ACN109359573A (en)2018-09-302018-09-30A kind of warning method and device based on the separation of accurate people's vehicle

Publications (1)

Publication NumberPublication Date
CN109359573Atrue CN109359573A (en)2019-02-19

Family

ID=65348668

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811160160.7APendingCN109359573A (en)2018-09-302018-09-30A kind of warning method and device based on the separation of accurate people's vehicle

Country Status (1)

CountryLink
CN (1)CN109359573A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111753606A (en)*2019-07-042020-10-09杭州海康威视数字技术股份有限公司 A method and device for upgrading an intelligent model

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101123721A (en)*2007-09-302008-02-13湖北东润科技有限公司An intelligent video monitoring system and its monitoring method
CN102254396A (en)*2011-07-062011-11-23北京国铁华晨通信信息技术有限公司Intrusion detection method and device based on video
CN106339723A (en)*2016-08-302017-01-18天津天地伟业数码科技有限公司Video based river illegal dredging detection method
CN107316007A (en)*2017-06-072017-11-03浙江捷尚视觉科技股份有限公司A kind of monitoring image multiclass object detection and recognition methods based on deep learning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101123721A (en)*2007-09-302008-02-13湖北东润科技有限公司An intelligent video monitoring system and its monitoring method
CN102254396A (en)*2011-07-062011-11-23北京国铁华晨通信信息技术有限公司Intrusion detection method and device based on video
CN106339723A (en)*2016-08-302017-01-18天津天地伟业数码科技有限公司Video based river illegal dredging detection method
CN107316007A (en)*2017-06-072017-11-03浙江捷尚视觉科技股份有限公司A kind of monitoring image multiclass object detection and recognition methods based on deep learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨远飞: "基于并行和切片的深度卷积网络设计研究", 《微电子学与计算机》*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111753606A (en)*2019-07-042020-10-09杭州海康威视数字技术股份有限公司 A method and device for upgrading an intelligent model
WO2021000956A1 (en)*2019-07-042021-01-07杭州海康威视数字技术股份有限公司Method and apparatus for upgrading intelligent model

Similar Documents

PublicationPublication DateTitle
CN108062349B (en) Video surveillance method and system based on video structured data and deep learning
CN110738127B (en)Helmet identification method based on unsupervised deep learning neural network algorithm
CN110942545B (en)Dense person entrance guard control system and method based on face recognition and video fence
JP6549797B2 (en) Method and system for identifying head of passerby
CN103824070B (en)A kind of rapid pedestrian detection method based on computer vision
CN106203274B (en)Real-time pedestrian detection system and method in video monitoring
CN112084963B (en) A monitoring and early warning method, system and storage medium
CN103324937B (en)The method and apparatus of label target
CN111325048B (en)Personnel gathering detection method and device
CN103473529B (en)A kind of method and device of various visual angles capture recognition of face
CN109711370A (en)A kind of data anastomosing algorithm based on WIFI detection and face cluster
CN108986158A (en)A kind of across the scene method for tracing identified again based on target and device and Computer Vision Platform
CN107316007A (en)A kind of monitoring image multiclass object detection and recognition methods based on deep learning
CN109711322A (en)A kind of people&#39;s vehicle separation method based on RFCN
KR101092472B1 (en) Video indexing system using surveillance camera and indexing method
WO2023155482A1 (en)Identification method and system for quick gathering behavior of crowd, and device and medium
KR20160109761A (en)Method and System for Recognition/Tracking Construction Equipment and Workers Using Construction-Site-Customized Image Processing
CN108960124A (en)The image processing method and device identified again for pedestrian
CN112069997B (en) A DenseHR-Net-based UAV autonomous landing target extraction method and device
CN101968848A (en)Video monitoring method and system and video monitoring alarm system
WO2018086231A1 (en)Method and system for video sequence alignment
CN110516600A (en)A kind of bus passenger flow detection method based on Face datection
Tao et al.Smoky vehicle detection based on range filtering on three orthogonal planes and motion orientation histogram
CN117727148A (en)Multi-sensing technology fused high-speed railway perimeter intrusion alarm front-end optimization method and system
Ua-Areemitr et al.Low-cost road traffic state estimation system using time-spatial image processing

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20190219

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp