[go: up one dir, main page]

CN102903239B - Method and system for detecting illegal left-and-right steering of vehicle at traffic intersection - Google Patents

Method and system for detecting illegal left-and-right steering of vehicle at traffic intersection Download PDF

Info

Publication number
CN102903239B
CN102903239B CN201210367248.2A CN201210367248A CN102903239B CN 102903239 B CN102903239 B CN 102903239B CN 201210367248 A CN201210367248 A CN 201210367248A CN 102903239 B CN102903239 B CN 102903239B
Authority
CN
China
Prior art keywords
vehicle
movement locus
traffic intersection
regulations
virtual location
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
CN201210367248.2A
Other languages
Chinese (zh)
Other versions
CN102903239A (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.)
Anke Robot Co ltd
Jiangsu Zhongke Intelligent System Co ltd
Original Assignee
China Security and Surveillance Technology PRC Inc
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 China Security and Surveillance Technology PRC Inc filed Critical China Security and Surveillance Technology PRC Inc
Priority to CN201210367248.2A priority Critical patent/CN102903239B/en
Publication of CN102903239A publication Critical patent/CN102903239A/en
Application granted granted Critical
Publication of CN102903239B publication Critical patent/CN102903239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a method and a system for detecting illegal left-and-right steering of a vehicle at traffic intersection. The method comprises the following steps of: decoding monitoring video streaming in real time from the traffic intersection so as to obtain a video image; distinguishing vehicles passing through the traffic intersection and detecting the moving trails of the vehicles; and presetting at least one virtual position on a steering lane of the video image so as to judge that the vehicle has illegal steering when the steering is not allowed by a signal lamp at the traffic intersection and the moving trail of the vehicle passes through the virtual position. According to the invention, by adopting the method for intelligently analyzing the video, the virtual loop is drawn on the monitoring video, the moving trail of the vehicle is tracked and analyzed through characteristics, and whether the vehicle has illegal steering is judged through the preset virtual loop so as to reduce the workload of manual check and control; and simultaneously, as the touch capture is achieved through the video virtual loop, the way that an induction loop is embedded in a pavement in the traditional technology is avoided, and the pavement does not need to be dig.

Description

Traffic intersection left and right vehicle wheel steering detection method violating the regulations and system
Technical field
The present invention relates to intelligent transportation field, relate in particular to a kind of traffic intersection left and right vehicle wheel steering detection method violating the regulations and system.
Background technology
Along with the fast development of national Construction of Highway Traffic and popularizing of motor vehicles, rise year by year with the event of traffic violations, the unlawful practice day particularly occurring is at the parting of the ways more serious, this has caused greatly to people's life security and threatens, thereby cause the great attention of traffic department, dropped into a large amount of manpower and materials crossroad is monitored, but this class event generation frequently brings huge pressure to traffic department, also has higher requirement.In order to solve these comparatively distinct issues, informatization, raising work scientific and technological content, improvement way to manage, reinforcement law-enforcing supervision, the raising traffic public security water Peer Mode of accelerating to carry out automobile control aspect are adopted.
In present technology, for the detection turning to violating the regulations of traffic intersection left and right vehicle wheel, generally adopt the method for landfill inductive coil, vehicle is triggered to candid photograph, but cannot carry out process tracking to vehicle; And ground inductive coil needs excavated pavement, affects city look and feel.
Summary of the invention
The features and advantages of the present invention are partly statement in the following description, or can be apparent from this description, or can learn by putting into practice the present invention.
Can only trigger candid photograph to vehicle for overcoming traditional ground inductive coil, cannot carry out process tracking to vehicle, need excavated pavement, affect the problem of city look and feel, the invention provides a kind of traffic intersection left and right vehicle wheel steering detection method violating the regulations and system, adopt the method for intelligent video analysis, on monitor video, draw virtual coil, analyze the movement locus of vehicle by signature tracking, detect and whether pass through predefined virtual coil, judge that whether vehicle breaks rules and regulations to turn to, and alleviates the workload of artificial check and control; Because the triggering of vehicle is captured by the mode of video virtual coil, avoid the mode of conventional art landfill inductive coil on road surface simultaneously, need not break road breaking face.
It is as follows that the present invention solves the problems of the technologies described above adopted technical scheme:
According to an aspect of the present invention, provide a kind of traffic intersection left and right vehicle wheel steering detection method of breaking rules and regulations, comprise the following steps:
Obtain video image from the monitoring video flow decoding of traffic intersection in real time;
Vehicle through traffic intersection is identified, and vehicle is carried out to movement locus detection; Vehicle is carried out to movement locus and detect and comprise vehicle is carried out to mark, and adopt the average conversion method based on color characteristic to follow the tracks of respectively to the vehicle of mark, obtain the movement locus of vehicle; Average conversion method based on color characteristic comprises the following steps:
S31, video image is carried out to color space conversion;
S32, carry out color layering calculating;
S33, calculation template characteristic model;
S34, at present frame initial position calculated candidate target signature model;
The weights of S35, computational data point;
S36, according to the weights calculated candidate target reposition of data point;
If S37 candidate target reposition and previous candidate target position are less than 1 pixel or reach maximum iteration time, stop; Otherwise, candidate target reposition is substituted to previous candidate target position, forward step S34 to;
On the added turning lane of video image, preset at least one virtual location, do not allow to turn to and the movement locus of vehicle during by virtual location at traffic intersection signal lamp, judge that vehicle has occurred to break rules and regulations to turn to.
According to one embodiment of present invention, preset two virtual locations on the added turning lane of video image, wherein first virtual location is arranged on the beginning that turns in track, and second virtual location is arranged in added turning lane or turns to end; Start vehicle to carry out movement locus detection during by the first virtual location at vehicle, if the movement locus of vehicle by the second virtual location, judges vehicle, violating the regulations turning to occurred.
According to one embodiment of present invention, vehicle is identified and comprised the following steps:
S11, obtained video image is carried out to background modeling;
S12, determining after background distributions according to background modeling, carrying out moving Object Segmentation and morphology processing, obtaining motion target area;
If S13 moving target by the first virtual location, starts vehicle to carry out movement locus detection.
Preferably, background modeling adopts multi-modal Gaussian Background model.
According to another aspect of the present invention, provide a kind of traffic intersection left and right vehicle wheel to break rules and regulations to turn to detection system, comprising:
Monitoring unit, for carrying out video monitoring to the vehicle of traffic intersection;
Decoding unit, obtains video image for the monitoring video flow decoding from traffic intersection in real time;
Vehicle identification and movement locus detecting unit, for the vehicle through traffic intersection is identified, and carry out movement locus detection to vehicle; This vehicle identification and movement locus detecting unit be also for vehicle is carried out to mark, and adopt the average conversion method based on color characteristic to follow the tracks of respectively to the vehicle of mark, obtains the movement locus of vehicle; This vehicle identification and movement locus detecting unit also for video image being carried out to color space conversion, color layering calculating, calculation template characteristic model, at the weights of present frame initial position calculated candidate target signature model, computational data point, according to the weights calculated candidate target reposition of data point, judge that candidate target reposition and previous candidate target position are less than 1 pixel or reach maximum iteration time, stop; Otherwise, candidate target reposition is substituted to previous candidate target position;
The detecting unit that turns to violating the regulations, for preset at least one virtual location on the added turning lane of video image, and during by virtual location, judge that vehicle has occurred to break rules and regulations to turn at traffic intersection signal lamp does not allow to turn to and vehicle identification and movement locus detecting unit detect vehicle movement track.
According to one embodiment of present invention, break rules and regulations to turn to detecting unit on the added turning lane of video image, to preset two virtual locations, wherein first virtual location is arranged on the beginning that turns in track, and second virtual location is arranged in added turning lane or turns to end; Vehicle identification and movement locus detecting unit start vehicle to carry out movement locus detection during by the first virtual location at vehicle, and the detecting unit that turns to violating the regulations during by the second virtual location, judge that vehicle has occurred to break rules and regulations to turn at the movement locus of vehicle.
According to one embodiment of present invention, vehicle identification and movement locus detecting unit carry out background modeling to obtained video image; Determine after background distributions according to background modeling, carry out moving Object Segmentation and morphology processing, obtain motion target area; In the time that moving target passes through the first virtual location, start vehicle to carry out movement locus detection.
The traffic intersection left and right vehicle wheel of the present invention steering detection method of breaking rules and regulations, adopt the method for intelligent video analysis, on monitor video, draw virtual coil (virtual location is set), analyze the movement locus of vehicle by signature tracking, detect and whether pass through predefined virtual coil, judge that whether vehicle breaks rules and regulations to turn to, and alleviates the workload of artificial check and control; Because the triggering of vehicle is captured by the mode of video virtual coil, avoid the mode of conventional art landfill inductive coil on road surface simultaneously, need not break road breaking face.
By reading instructions, those of ordinary skills will understand feature and the content of these technical schemes better.
Accompanying drawing explanation
Below by describing particularly the present invention with reference to accompanying drawing and in conjunction with example, advantage of the present invention and implementation will be more obvious, wherein content shown in accompanying drawing is only for explanation of the present invention, and do not form the restriction of going up in all senses of the present invention, in the accompanying drawings:
Fig. 1 is the left and right of the embodiment of the present invention overhaul flow chart that turns to violating the regulations;
Fig. 2 is the left and right of the embodiment of the present invention detection system structural representation that turns to violating the regulations;
Fig. 3 is the mean-shift trace flow figure based on color characteristic of the embodiment of the present invention.
Embodiment
Can only trigger candid photograph to vehicle for overcoming traditional ground inductive coil, cannot carry out process tracking to vehicle, need excavated pavement, affect city look and feel, the invention provides a kind of conversion of the average based on color characteristic (mean-shift) tracking, also replaced the method for the landfill inductive coil on former destruction road surface simultaneously by the method for video virtual coil.
As shown in Figure 1, the traffic intersection left and right vehicle wheel of the embodiment of the present invention steering detection method of breaking rules and regulations, comprises the following steps:
Video image is obtained in S1, the decoding of the real-time monitoring video flow from traffic intersection;
S2, to identifying through the vehicle of traffic intersection, and vehicle is carried out to movement locus detection;
S3, on the added turning lane of video image, preset at least one virtual location, do not allow to turn to and the movement locus of vehicle during by virtual location at traffic intersection signal lamp, judge that vehicle has occurred to break rules and regulations to turn to.
In a preferred embodiment of the invention, on the added turning lane of video image, preset two virtual locations, wherein first virtual location is arranged on the beginning that turns in track, and second virtual location is arranged in added turning lane or turns to end's (be preferably arranged on and turn to end); Start vehicle to carry out movement locus detection during by the first virtual location at vehicle, if the movement locus of vehicle by the second virtual location, judges vehicle, violating the regulations turning to occurred.
In the embodiment of the present invention, vehicle is identified and comprised the following steps:
S11, obtained video image is carried out to background modeling;
S12, determining after background distributions according to background modeling, carrying out moving Object Segmentation and morphology processing, obtaining motion target area;
If S13 moving target by the first virtual location, starts vehicle to carry out movement locus detection.
Preferably, background modeling adopts multi-modal Gaussian Background model.
Preferably, vehicle is carried out to movement locus and detect and comprise vehicle is carried out to mark, and adopt the average conversion method based on color characteristic to follow the tracks of respectively to the vehicle of mark, obtain the movement locus of vehicle.
Preferably, the average conversion method based on color characteristic comprises the following steps:
S31, video image is carried out to color space conversion;
S32, carry out color layering calculating;
S33, calculation template characteristic model;
S34, at present frame initial position calculated candidate target signature model;
The weights of S35, computational data point;
S36, according to the weights calculated candidate target reposition of data point.
If S37 candidate target reposition and previous candidate target position are less than 1 pixel or reach maximum iteration time, stop; Otherwise, candidate target reposition is substituted to previous candidate target position, forward step S34 to.
The method of the present embodiment realizes and mainly comprising: Gaussian Background modeling, target following, result are judged; Gaussian Background modeling can be determined the approximate region of detection; Vehicle tracking mainly uses mean-shift method based on color characteristic to follow the tracks of the center position of vehicle, and position is coupled together to formation movement locus of object; Result judges it is whether to judge whether to occur left and right by two predefined virtual coils by judgment object track to turn.
General traffic lights has three arrows, and left arrow when red represents to forbid turning left, and right arrow when red represents to forbid turning right, and intermediate representation stops, and the present invention can detect when left and right arrow is bright.When general camera is taken at the parting of the ways, what use is full-view camera, track that vehicle travels at the beginning (with camera just to) and can photograph with the track that track intersects, can be shown on image, virtual location (or claiming virtual coil) is exactly that the track place (turning to beginning) starting in image manually marks a position, the track place (turning to end) that intersects in the track of travelling at the beginning with vehicle is same to be marked a position and (certainly all draws at image place, if judgement is turned right, on the track of turning right, draw a virtual location, if judgement is turned left, need on the track of turning left, draw a virtual location, be that single judgement is turned left or turned right and all needs two virtual locations, judgement simultaneously needs three virtual locations of picture).If the track of car is by two virtual locations, car has occurred to break rules and regulations to turn left or turn right when red light (in the situation that of left side red light or the right when red).
The present invention is in red light, Real-time Obtaining video flowing, if have vehicle through; follow the tracks of by the method for video virtual coil, detect the moving region of vehicle by Gaussian Background modeling, vehicle is carried out to mark, use the mean-shift method based on color characteristic to follow the tracks of respectively to the vehicle of mark, obtain the movement locus of vehicle, if detect that movement locus passes through predefined virtual coil, think that vehicle generation left/right is violating the regulations to turn to, otherwise be not.Below several steps of the embodiment of the present invention are described in detail successively:
The first step, obtain video data from live video stream decoding
1) video decode upgrades up-to-date decode component and decoding relation table automatically;
2) automatically search corresponding decode component;
3) automatically building complete decoding link according to decode component decodes;
4) each frame that video decode and playing device produce decoding sends to follow-up unit and carries out analyzing and processing.
Second step, virtual coil trigger
Can set in advance a virtual location (or virtual coil), if there is vehicle process, start to follow the tracks of by the first virtual coil; Virtual coil is just equivalent to a switch, when vehicle just starts track algorithm by the first virtual coil time, if not by just not following the tracks of, with saving resource.
1) movement background modeling, adopts multi-modal Gaussian Background modeling in the present embodiment, can certainly adopt other movement background modeling method;
The video image that adopts multi-modal Gaussian Background model to take hard-wired video camera in the present embodiment carries out background modeling, and each pixel is set up to 3 background models, and concrete step is: the pixel of supposing the t two field picture of input is I t, μ i, t-1be the average of the pixel value of i the Gaussian distribution of (t-1) two field picture, it is that each pixel value is added and divided by the number of pixel, σ that the average of pixel value equals i, t-1be the standard deviation of the pixel value of i the Gaussian distribution of (t-1) two field picture, D is for meeting formula | I ti, t-1|≤D. σ i, t-1preset parameter, this parameter can be obtained by practical experience, wherein, μ i,t=(1-α) μ i, t-1+ ρ I t,
Figure DEST_PATH_BDF0000000110710000081
ρ=α/ω i,t, α is learning rate, 0≤α≤1, and ρ is parameter learning rate, ω i,tthe weights of i Gaussian distribution of t two field picture.All weights that normalization calculates, and each gauss of distribution function is pressed to ω i,t/ σ i,tarrange from big to small, if i 1, i 2... i krepresent each Gaussian distribution, by i 1, i 2... i kaccording to ω i,t/ σ i,torder is from big to small arranged, if a front M Gaussian distribution meets formula:
Σ k = i 1 i M ω k , t ≥ τ
This M Gaussian distribution is considered to background distributions, and wherein, τ is weight threshold, can obtain according to actual conditions, conventionally τ value 0.7.
2) moving Object Segmentation and morphology processing
After having determined background distributions, the background model that present frame is corresponding with the background distributions of this present frame is subtracted each other, obtain the moving region of present frame, binaryzation and morphology processing are carried out in the moving region obtaining, make to cut apart the fuzzy motion target area obtaining more complete, independent.
3), if moving target triggers the first virtual coil, start to follow the tracks of.
The 3rd step, vehicle is carried out to the mark line trace of going forward side by side, adopt average conversion (mean-shift) method based on color characteristic
Conventionally by color histogram, (after color histogram normalization, each component is equivalent to a probability to Mean-shift track algorithm, theirs and be 1, same, this component is that the gray-scale value of the pixel of this one deck also has a probability) describe as clarification of objective, set up probability density function, by the similarity (being that central point probability is similar) between similarity function tolerance object module and candidate target, by asking the maximal value of similarity function to obtain the average drifting vector about target, thereby tracking problem is converted into the pattern matching problem based on average drifting, final iterative search is to the position of target.
When starting to enter camera to the marking of cars once, wait for bus leave camera after this mark just can reuse.Such as a car is labeled as 1, be all 1 from entering camera to leaving camera, when vehicle leaves after camera, carry out again a car, this mark 1 can be used to this car of mark, has avoided the unconfined increase of mark.
Concerning the finite sequence S in n dimension Euclidean space X, the sample average at x ∈ X place, sample number strong point is defined as:
m ( x ) = Σ s ∈ S K ( s - x ) w ( s ) s Σ s ∈ S K ( s - x ) w ( s )
Wherein, K is kernel function; W is the weight function of sample.Difference m (x)-x is called as Mean-shift vector, repeatedly data point is moved until the process restraining is called as Mean-shift algorithm towards Mean-shift direction vector.As shown in Figure 3, the concrete steps of tracking are as follows:
S101, vehicle is carried out to mark
Because may there be several cars a video image the inside simultaneously by virtual coil, such as having parallel San Tiao road on the road starting, San Tiao has car on road, for fear of the confusion between car and car, so vehicle is carried out to mark.
S102, color space conversion
RGB color space model is realized very desirable to hardware, but some difference of color of it and human intelligible, and the mode that hsv color space adopts tone, saturation degree and three kinds of features of brightness to combine represents color space, meet preferably the perception of the mankind to color, can directly obtain valuable information from image itself, carrying out Shot Detection with hsv color space has good efficiency and effect.
We need to come colo(u)r breakup in hsv color space, thus first by image from RGB color space conversion to hsv color space:
H = arccos ( R - G ) + ( R - B ) 2 ( R - G ) * ( R - G ) + ( R - B ) * ( G - * B ) ( B ≤ G ) 2 π - arccos ( R - G ) + ( R - B ) 2 ( R - G ) * ( R - G ) + ( R - B ) * ( G - * B ) ( B > G )
S = max ( R , G , B ) - min ( R , G , B ) max ( R + G + B )
V = max ( R , G , B ) 255
S103, color layering are calculated
Have the just vector of the representative dimension that is how many of how many layer, such as points 72 layers, just can form one 72 proper vector of tieing up, there are how many points every layer of the inside, and the value of the corresponding component of proper vector is exactly how many.This step is in order to extract color characteristic.
Color layering is exactly that color space is mapped in certain subset, thereby improves image retrieval speed.General color of image system nearly 2 24plant color, and the color that human eye can really be distinguished is limited, therefore, in the time carrying out image processing, need to carries out layering to color space, the dimension size of layering is extremely important, and layering dimension is higher, and retrieval precision is just higher, but retrieval rate can decline thereupon.
Color layering is divided into the color layering of equivalent spacing and the layering of non-equivalent spacing color, if because the dimension of equivalent spacing layering is too low, precision can decline greatly, can cause again calculation of complex if too high, by analysis and experiment, we select the layering of non-equivalent spacing color, step is as follows:
According to people's perception, tone H is divided into 8 parts, saturation degree S and brightness V are divided into 3 parts, according to color space and people, the subjective perception characteristic of color are quantized to layering, and formula is as follows:
H = 0 if h ∈ [ 316,20 ] 1 if h ∈ [ 21,40 ] 2 if h ∈ [ 41,75 ] 3 if h ∈ [ 76,155 ] 4 if h ∈ [ 156,190 ] 5 if h ∈ [ 191,270 ] 6 if h ∈ [ 271,195 ] 7 if h ∈ [ 296,315 ]
S = 0 if s ∈ [ 0,0.2 ] 1 if s ∈ [ 0.2,0.7 ] 2 if s ∈ [ 0.7,1 ]
V = 0 if v ∈ [ 0,0.2 ] 1 if v ∈ [ 0.2,0.7 ] 2 if v ∈ [ 0.7,1 ]
According to above method, color space is divided into 72 kinds of colors.
C) three components are fused into one-component:
Y=HQsQv+SQv+V
Tone, saturation degree and brightness during to people's recognition image impact effect different, so the weight of each component is also different.Wherein, QS and QV are respectively the quantification progression of S and V, in problem experiment, get QS=3, QV=3.Therefore be actually
Y=9H+3S+V
Like this, H, S, tri-components of V merge in vector Y, the span of Y be [0,1 ..., 71].
S104, calculation template characteristic model
We have extracted the color characteristic of target above, component and be 1 after color characteristic normalization (each component divided by component and), the probability of each component is the value after normalization, the gray-scale value of the each pixel of image changes into the probable value of the component at pixel place, and each pixel has a probable value, substitute gray-scale value by probable value; The probable value that this step is equivalent to each pixel is used about the kernel function of target's center's point and is represented (this is a kind of mathematical formulae), and pixel value has been changed into probable value, final should similar iteration of carrying out below according to the probability of same object same pixel.
q u ( y 0 ) = C h Σ i = 1 n h k ( | | y 0 - x i h | | 2 ) δ [ b ( x i ) - u ]
Wherein, y 0for the center of To Template; { x i, i=1,2 ..., n hit is each location of pixels in template; Function b is R 2→ 1,2 ..., m} mapping, carries out the quantification of m level the color of relevant position pixel; δ is delta function; C hbe normaliztion constant, k (x) is kernel function; H is the kernel function bandwidth of manually setting.
S105, calculated candidate target signature model (our target is to trace into target, finds central point,, using the central point of present frame target as initial value, finds next candidate's central point by iteration, finally finds the central point at the actual place of target)
At present frame initial position calculated candidate target signature model:
p u ( y 1 ) = C h Σ i = 1 n h k ( | | y 1 - x i h | | 2 ) δ [ b ( x i ) - u ]
Wherein, y 1it is present frame tracking window center.
The weights of S106, computational data point
This is according to two conditions that probability similarity is best above, by calculating similarity, obtains with Lagrangian the iteration weight that parameter value obtains.Computational data point x iweights formula as follows:
w i = Σ u = 0 m - 1 q u p u δ [ b ( x i ) - u ]
S107, calculated candidate target reposition
Mean-shift makes a little to move according to greatest gradient direction, the direction that maximum possible moves, and this formula is exactly the next point obtaining according to gradient direction.Calculated candidate target reposition formula is as follows:
y 2 = Σ i = 1 n h x i w i g ( | | y 2 - x i h | | 2 ) Σ i = 1 n k w i g ( | | y 2 - x i h | | 2 )
G (x) is the negative inverse of kernel function; G (x)=-k ' is (x).
S108, threshold decision
Mainly according to tracking target central point one by one pixel move, in the time that mobile pixel is greater than 1 point, continue iteration, until stop while satisfying condition.
If || y 2-y 1|| < ε or reached maximum iteration time, stop, otherwise y 1← y 2, use the value of y2 to substitute the value of y1, upgrade candidate target position, forward step S105 to.The selection of ε should make y 1with y 2spacing be less than 1 pixel, the position of current goal and the positional distance of candidate target are less than 1.Threshold value is a pixel distance, and in fact, the process of general control polyalgorithm iteration is less than left and right 15 times.
Obtaining behind a series of positions, drawing line by method of interpolation, be movement locus.
The 4th step, result are judged
The movement locus of car, by predefined second virtual coil, thinks that left/right has occurred to be turned to.In the time that red signal is effective, if there is movement locus to pass through predefined two virtual coils, thinks violating the regulations turning to occurred.
As shown in Figure 2, the embodiment of the present invention provides a kind of traffic intersection left and right vehicle wheel to break rules and regulations to turn to detection system simultaneously, comprising:
Monitoring unit 11, for carrying out video monitoring to the vehicle of traffic intersection;
Decoding unit 12, obtains video image for the monitoring video flow decoding from traffic intersection in real time;
Vehicle identification and movement locus detecting unit 13, for the vehicle through traffic intersection is identified, and carry out movement locus detection to vehicle;
The detecting unit 14 that turns to violating the regulations, for preset at least one virtual location on the added turning lane of video image, and during by virtual location, judge that vehicle has occurred to break rules and regulations to turn at traffic intersection signal lamp does not allow to turn to and vehicle identification and movement locus detecting unit detect vehicle movement track.
According to a preferred embodiment of the invention, break rules and regulations to turn to detecting unit 14 on the added turning lane of video image, to preset two virtual locations, wherein first virtual location is arranged on the beginning that turns in track, and second virtual location is arranged in added turning lane or turns to end; Vehicle identification and movement locus detecting unit 13 start vehicle to carry out movement locus detection during by the first virtual location at vehicle, and the detecting unit 14 that turns to violating the regulations during by the second virtual location, judge that vehicle has occurred to break rules and regulations to turn at the movement locus of vehicle.
According to a preferred embodiment of the invention, vehicle identification and movement locus detecting unit 13 carry out background modeling to obtained video image; Determine after background distributions according to background modeling, carry out moving Object Segmentation and morphology processing, obtain motion target area; In the time that moving target passes through the first virtual location, start vehicle to carry out movement locus detection.
According to a preferred embodiment of the invention, vehicle identification and movement locus detecting unit 13 carry out mark to vehicle, and adopt the average conversion method based on color characteristic to follow the tracks of respectively to the vehicle of mark, obtain the movement locus of vehicle.
The traffic intersection left and right vehicle wheel of the present embodiment breaks rules and regulations to turn to detection system can adopt specifically described method above, is not repeated in this description at this.
Adopt the method for the invention, compared with prior art, by virtual coil and the conversion of the average based on color characteristic (mean-shift) tracking, solve the left and right vehicle wheel test problems that turns to violating the regulations, avoid classic method landfill inductive coil to trigger candid photograph to vehicle, cannot carry out to vehicle a difficult problem for process tracking, also solve the problem on former landfill inductive coil destruction road surface simultaneously, save manpower and materials.Utilize the present invention, it is capable of automatic alarm when vehicle peccancy turns to, but rely on traditional ground inductive coil, can only trigger candid photograph to vehicle, cannot carry out process tracking to vehicle, method and system provided by the invention, has simultaneously also been solved traditional approach and need to have been destroyed the problem of the landfill inductive coil on road surface by the method for video virtual coil.
With reference to the accompanying drawings of the preferred embodiments of the present invention, those skilled in the art do not depart from the scope and spirit of the present invention above, can have multiple flexible program to realize the present invention.For example, illustrate as the part of an embodiment or the feature described can be used for another embodiment to obtain another embodiment.These are only the better feasible embodiment of the present invention, not thereby limit to interest field of the present invention, the equivalence that all utilizations instructions of the present invention and accompanying drawing content are done changes, within being all contained in interest field of the present invention.

Claims (7)

1. a traffic intersection left and right vehicle wheel steering detection method violating the regulations, is characterized in that, comprises the following steps:
Obtain video image from the monitoring video flow decoding of traffic intersection in real time;
Vehicle through traffic intersection is identified, and vehicle is carried out to movement locus detection; Describedly vehicle is carried out to movement locus detect and comprise vehicle is carried out to mark, and adopt the average conversion method based on color characteristic to follow the tracks of respectively to the vehicle of mark, obtain the movement locus of vehicle; The described average conversion method based on color characteristic comprises the following steps:
S31, video image is carried out to color space conversion;
S32, carry out color layering calculating;
S33, calculation template characteristic model;
S34, at present frame initial position calculated candidate target signature model;
The weights of S35, computational data point;
S36, according to the weights calculated candidate target reposition of data point;
If S37 candidate target reposition and previous candidate target position are less than 1 pixel or reach maximum iteration time, stop; Otherwise, candidate target reposition is substituted to previous candidate target position, forward step S34 to;
On the added turning lane of video image, preset at least one virtual location, do not allow to turn to and the movement locus of vehicle during by described virtual location at traffic intersection signal lamp, judge that vehicle has occurred to break rules and regulations to turn to.
2. traffic intersection left and right vehicle wheel according to claim 1 steering detection method violating the regulations, it is characterized in that, on the added turning lane of video image, preset two virtual locations, wherein first virtual location is arranged on the beginning that turns in track, and second virtual location is arranged in added turning lane or turns to end; Start vehicle to carry out movement locus detection during by described the first virtual location at vehicle, if the movement locus of vehicle by described the second virtual location, judges vehicle, violating the regulations turning to occurred.
3. traffic intersection left and right vehicle wheel according to claim 2 steering detection method violating the regulations, is characterized in that, described vehicle is identified and comprised the following steps:
S11, obtained video image is carried out to background modeling;
S12, determining after background distributions according to background modeling, carrying out moving Object Segmentation and morphology processing, obtaining motion target area;
If S13 moving target, by described the first virtual location, starts vehicle to carry out movement locus detection.
4. traffic intersection left and right vehicle wheel according to claim 3 steering detection method violating the regulations, is characterized in that, described background modeling adopts multi-modal Gaussian Background model.
5. traffic intersection left and right vehicle wheel is violating the regulations turns to a detection system, it is characterized in that, comprising:
Monitoring unit, for carrying out video monitoring to the vehicle of traffic intersection;
Decoding unit, obtains video image for the monitoring video flow decoding from traffic intersection in real time;
Vehicle identification and movement locus detecting unit, for the vehicle through traffic intersection is identified, and carry out movement locus detection to vehicle; Described vehicle identification and movement locus detecting unit be also for vehicle is carried out to mark, and adopt the average conversion method based on color characteristic to follow the tracks of respectively to the vehicle of mark, obtains the movement locus of vehicle; Described vehicle identification and movement locus detecting unit also for video image being carried out to color space conversion, color layering calculating, calculation template characteristic model, at the weights of present frame initial position calculated candidate target signature model, computational data point, according to the weights calculated candidate target reposition of data point, judge that candidate target reposition and previous candidate target position are less than 1 pixel or reach maximum iteration time, stop; Otherwise, candidate target reposition is substituted to previous candidate target position;
The detecting unit that turns to violating the regulations, for preset at least one virtual location on the added turning lane of video image, and during by described virtual location, judge that vehicle has occurred to break rules and regulations to turn at traffic intersection signal lamp does not allow to turn to and described vehicle identification and movement locus detecting unit detect vehicle movement track.
6. the traffic intersection left and right vehicle wheel according to claim 5 detection system that turns to violating the regulations, it is characterized in that, described breaking rules and regulations turns to detecting unit on the added turning lane of video image, to preset two virtual locations, wherein first virtual location is arranged on the beginning that turns in track, and second virtual location is arranged in added turning lane or turns to end; Described vehicle identification and movement locus detecting unit start vehicle to carry out movement locus detection during by described the first virtual location at vehicle, the described detecting unit that turns to violating the regulations, in the time that the movement locus of vehicle passes through described the second virtual location, judges that violating the regulations turning to occurred vehicle.
7. traffic intersection left and right vehicle wheel according to claim 6 is violating the regulations turns to detection system, it is characterized in that, described vehicle identification and movement locus detecting unit carry out background modeling to obtained video image; Determine after background distributions according to background modeling, carry out moving Object Segmentation and morphology processing, obtain motion target area; In the time that moving target passes through described the first virtual location, start vehicle to carry out movement locus detection.
CN201210367248.2A 2012-09-27 2012-09-27 Method and system for detecting illegal left-and-right steering of vehicle at traffic intersection Active CN102903239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210367248.2A CN102903239B (en) 2012-09-27 2012-09-27 Method and system for detecting illegal left-and-right steering of vehicle at traffic intersection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210367248.2A CN102903239B (en) 2012-09-27 2012-09-27 Method and system for detecting illegal left-and-right steering of vehicle at traffic intersection

Publications (2)

Publication Number Publication Date
CN102903239A CN102903239A (en) 2013-01-30
CN102903239B true CN102903239B (en) 2014-05-14

Family

ID=47575449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210367248.2A Active CN102903239B (en) 2012-09-27 2012-09-27 Method and system for detecting illegal left-and-right steering of vehicle at traffic intersection

Country Status (1)

Country Link
CN (1) CN102903239B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309356B (en) * 2013-06-24 2016-02-17 深圳市科松电子有限公司 On-vehicle machines people
CN103325258A (en) * 2013-06-24 2013-09-25 武汉烽火众智数字技术有限责任公司 Red light running detecting device and method based on video processing
KR102203410B1 (en) * 2014-10-20 2021-01-18 삼성에스디에스 주식회사 Method and Apparatus for Setting Region of Interest
CN108269404A (en) * 2016-12-30 2018-07-10 上海泓鎏智能科技有限公司 Number plate consistent verification device and verification method before and after vehicle
CN106843054A (en) * 2017-02-23 2017-06-13 深圳市地铁集团有限公司 A kind of civil engineering monitor control system based on internet
CN108734967B (en) * 2017-04-20 2021-09-28 杭州海康威视数字技术股份有限公司 Method, device and system for monitoring illegal vehicle
CN107038869B (en) * 2017-05-08 2020-01-21 钟辉 Traffic operation violation distinguishing system
CN107516423B (en) * 2017-07-20 2020-06-23 济南中维世纪科技有限公司 Video-based vehicle driving direction detection method
CN109003455B (en) * 2018-06-22 2021-03-30 安徽科力信息产业有限责任公司 Method and device for reminding vehicle owner of illegal parking behavior
CN109003338A (en) * 2018-06-22 2018-12-14 南京慧尔视智能科技有限公司 A kind of Roadside Parking self-clocking charging method and device
CN108922175B (en) * 2018-06-22 2021-10-01 大连理工大学 Method and device for recording illegal acts of multiple motor vehicles crossing the solid line
CN108806270B (en) * 2018-06-22 2021-05-07 安徽科力信息产业有限责任公司 Method and device for recording illegal behavior of continuously changing lanes of multiple motor vehicles
CN108932853B (en) * 2018-06-22 2021-03-30 安徽科力信息产业有限责任公司 Method and device for recording illegal parking behaviors of multiple motor vehicles
CN108932851B (en) * 2018-06-22 2021-03-30 安徽科力信息产业有限责任公司 Method and device for recording illegal parking behaviors of motor vehicle
CN108847032A (en) * 2018-08-21 2018-11-20 北京深瞐科技有限公司 A kind of traffic violation recognition methods and device
CN111696365A (en) * 2019-03-11 2020-09-22 杭州海康威视数字技术股份有限公司 Vehicle tracking system
CN110097759A (en) * 2019-04-28 2019-08-06 南京师范大学 A kind of motor vehicle violation behavioral value method based on video geography fence
CN110929676A (en) * 2019-12-04 2020-03-27 浙江工业大学 A real-time detection method for illegal U-turn based on deep learning
CN111145551A (en) * 2020-01-03 2020-05-12 南京邮电大学 Intersection traffic planning system based on CNN detection follows chapter rate
CN111583660B (en) * 2020-05-22 2021-09-10 济南博观智能科技有限公司 Vehicle steering behavior detection method, device, equipment and storage medium
CN111968378A (en) * 2020-07-07 2020-11-20 浙江大华技术股份有限公司 Motor vehicle red light running snapshot method and device, computer equipment and storage medium
US12106660B2 (en) 2021-06-30 2024-10-01 State Farm Mutual Automobile Insurance Company High speed determination of intersection traversal without road data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324183B (en) * 2011-09-19 2013-10-30 华中科技大学 Method for detecting and shooting vehicle based on composite virtual coil
CN102521983B (en) * 2011-12-23 2013-10-16 北京易华录信息技术股份有限公司 Vehicle violation detection system based on high definition video technology and method thereof
CN102622884B (en) * 2012-03-22 2015-04-29 杭州电子科技大学 Vehicle illegal turning behavior detection method based on tracking

Also Published As

Publication number Publication date
CN102903239A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN102903239B (en) Method and system for detecting illegal left-and-right steering of vehicle at traffic intersection
CN107729818B (en) Multi-feature fusion vehicle re-identification method based on deep learning
CN103778786B (en) A kind of break in traffic rules and regulations detection method based on remarkable vehicle part model
CN106652465B (en) Method and system for identifying abnormal driving behaviors on road
CN103116987B (en) Traffic flow statistic and violation detection method based on surveillance video processing
CN103268489B (en) Automotive number plate recognition methods based on sliding window search
CN107239778B (en) Efficient and accurate license plate recognition method
CN106935035A (en) Parking offense vehicle real-time detection method based on SSD neutral nets
Romdhane et al. An improved traffic signs recognition and tracking method for driver assistance system
CN113850123A (en) Video-based highway monitoring method and device, storage medium and monitoring system
CN106127143A (en) A kind of highway parking offense detection method
CN104134222A (en) Traffic flow monitoring image detecting and tracking system and method based on multi-feature fusion
CN110738857A (en) vehicle violation evidence obtaining method, device and equipment
CN104978567A (en) Vehicle detection method based on scenario classification
CN113011331B (en) Method and device for detecting whether motor vehicle gives way to pedestrians, electronic equipment and medium
CN113033352B (en) Real-time mobile traffic violation detection method based on combination of improved target semantic segmentation and target detection model
CN113903008A (en) Ramp exit vehicle violation identification method based on deep learning and trajectory tracking
CN105574502A (en) Automatic detection method for violation behaviors of self-service card sender
CN115601717A (en) Deep learning-based traffic violation classification detection method and SoC chip
CN116311166A (en) Traffic obstacle recognition method and device and electronic equipment
CN107635188A (en) A kind of video frequency vehicle trace analysis method based on Docker platforms
CN104318760A (en) Crossing violation behavior intelligent detection method and system based on analog model
CN115352454A (en) An interactive auxiliary safety driving system
Coronado et al. Detection and classification of road signs for automatic inventory systems using computer vision
CN117456482A (en) Abnormal event identification method and system for traffic monitoring scene

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518034 Guangdong province Shenzhen city Futian District District Shennan Road Press Plaza room 1306

Patentee after: ANKE ROBOT CO.,LTD.

Address before: 518034 Guangdong province Shenzhen city Futian District District Shennan Road Press Plaza room 1306

Patentee before: ANKE SMART CITY TECHNOLOGY (PRC) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20171101

Address after: 215000 Suzhou Industrial Park, Jiangsu Town, the only ting new road, No. 99

Patentee after: JIANGSU ZHONGKE INTELLIGENT SYSTEM Co.,Ltd.

Address before: 518034 Guangdong province Shenzhen city Futian District District Shennan Road Press Plaza room 1306

Patentee before: ANKE ROBOT CO.,LTD.

TR01 Transfer of patent right