Motor line does not give way the camera system and method for behavior in accordance with the law through crossing
Technical field
The present invention relates to traffic administration field, specifically a kind of motor line does not give way behavior in accordance with the law through crossing
Camera system and method.
Background technology
With the fast development of social economy, road traffic is increasingly busy, and the contradiction of motor vehicle and pedestrian is protruded very much, in
State's formula is gone across the road and has caused common people to pay close attention to, and how to ensure that pedestrian goes across the road on the premise of safety, and improving road efficiency is
Focus of concern.Ensure that pedestrains safety, the best approach of raising road efficiency are using pedestrian underground underpass
Or overpass mode separates people's car, it can only be controlled using pedestrian crossing lamp not have conditional place, such road
Traffic efficiency will decline.
Vehicle supervision department all uses no signal to improve road efficiency in the less section of pedestrian's street crossing demand
The crossing of lamp control, motor vehicle should follow the People's Republic of China (PRC) in the crossing controlled by no signal lamp
The 47th article of regulation of the law on road traffic safety:" when motor line is through crossing, should Reduced Speed Now;Pedestrian is met to lead to
Crossing is crossed, should Stop and give way.”
But, country driver is seldom slowed down when operating motor vehicles pass through crossing at present, and actively Stop and give way for energy
Motor vehicle it is just less, in order to ensure pedestrains safety, solve motor vehicle Stop and give way in accordance with the law problem, propose in the prior art
A kind of motor vehicle zebra stripes do not give precedence to the scheme of pedestrian behavior capturing system, and patent document CN102592450B discloses one kind
Motor vehicle zebra stripes do not give precedence to pedestrian behavior capturing system, including:Pedestrian image collecting unit, for gathering the row on zebra stripes
People's image;Motor vehicle image acquisition unit, for gathering the motor vehicle image on the car lane by the zebra stripes;Pedestrian
Detection unit, the pedestrian image for being gathered according to the pedestrian image collecting unit detects pedestrian's number;Motor vehicle detecting
With capture unit, for the motor vehicle image real-time detection motor vehicle gathered according to the motor vehicle image acquisition unit, when
Pedestrian's number that motor vehicle is located on the zebra stripes and the pedestrian detection unit is detected is detected to be more than or equal in advance
When determining thresholding, at least three evidence-obtaining photographs are extracted in the motor vehicle image gathered from the motor vehicle image acquisition unit.
Although the program can be captured to the motor vehicle not given way, in the technical scheme, it is primarily present following
Problem:First, the program can not record whether motor vehicle crossing of passing through slows down, and this is the premise for preventing traffic accident to occur
Condition;Secondly, the distance between everyone current direct of travel of accurate recording and longitudinal maneuver car are unable in the program, because
This can not accomplish to prevent in advance and strict law enforcement.
The content of the invention
Therefore, the technical problems to be solved by the invention be motor line of the prior art through crossing when can not
Accurately supervised in accordance with the law, easily judged by accident, influence road efficiency, so as to propose a kind of motor line through crossing not in accordance with the law
Give way the camera system and method for behavior.
A kind of motor line is provided is not given way in accordance with the law behavior through crossing in order to solve the above technical problems, of the invention
Camera system and method.
The present invention provides the camera system that a kind of motor line does not give way behavior through crossing in accordance with the law, including crossing
And it is arranged on the crossing stop line after crossing, also include:
Video tracking unit:Each row passed through on the continuous motor vehicle and crossing for tracking crossing of passing through
People;
Data processing unit:Including the judgment sub-unit that gives way, judge whether there is walk on the crossing, if any
Walk, then determine whether that motor vehicle crosses stop line, if motor vehicle crosses stop line, then detect the pedestrian with
The distance between described motor vehicle, such as less than predetermined threshold value, then take pictures to the motor vehicle.
Preferably, the data processing unit also includes deceleration judgment sub-unit:Judge that motor line is pre- through crossing
Whether slow down when accusing tag line to the crossing stop line, do not slow down such as, then the motor vehicle is taken pictures.
Preferably, the video tracking subelement includes video acquisition subelement and image recognition tracking subelement, described
Video acquisition subelement includes camera, for gathering the motor vehicle of crossing of passing through and the video image of pedestrian, the figure
As recognition and tracking subelement recognizes the image that the video acquisition subelement is collected, and recognize motor vehicle therein and pedestrian
Image, and movement locus to each motor vehicle and each pedestrian continuously tracked.
Preferably, also including synchronised clock, for single to the video acquisition subelement and described image recognition and tracking
Unit synchronizes treatment, to improve the accuracy of detection to reducing speed of motor vehicle process.
Preferably, also including being arranged on the street pedestrian Accreditation Waiting Area of crossing both sides;Set after crossing stop line
It is equipped with crossing advance notice tag line;Predicted in the crossing and be provided between tag line and the crossing stop line
Some equidistant tag lines;Some range marker points are set on the crossing.
The present invention also provides the photographic method that a kind of motor line does not give way behavior through crossing in accordance with the law, including:
Each pedestrian passed through on the continuous each motor vehicle and crossing for tracking crossing of passing through;
Judge whether there is walk on the crossing, if any walk, then determine whether that motor vehicle is crossed
Whether stop line, if motor vehicle crosses stop line, then detect and judge the distance between the pedestrian and described motor vehicle
Less than the threshold value of setting, such as less than given threshold is then taken pictures to the motor vehicle.
Preferably, judge whether there is walk on the crossing, if any walk, then determine whether motor-driven
Whether car crosses stop line, if motor vehicle crosses stop line, then detects the distance between the pedestrian and described motor vehicle
Less than the threshold value of setting, such as less than given threshold, then the process taken pictures to the motor vehicle, including:
If motor vehicle crosses stop line, the pedestrian is then clapped the motor vehicle in the front of the motor vehicle
According to;
If motor vehicle crosses stop line, when pedestrian's direct of travel is close to motor vehicle direct of travel, then its distance is judged
Whether less than institute's predetermined threshold value under the conditions of being somebody's turn to do, if it is less, being taken pictures to the motor vehicle;
If motor vehicle crosses stop line, when pedestrian's direct of travel is remote from motor vehicle direct of travel, then its distance is judged
Whether less than institute's predetermined threshold value under the conditions of being somebody's turn to do, if it is less, being taken pictures to the motor vehicle.
Preferably, tag line to the crossing stop line is also predicted by crossing including judging the motor vehicle
When whether slow down, such as do not slow down, then the motor vehicle is taken pictures.
Preferably, judge the motor vehicle by crossing predict tag line to the crossing stop line when whether
The process of deceleration, including:
The video tracking element keeps track predicts the motor vehicle of tag line by the crossing,
The data processing unit obtains moment of the motor vehicle by some equidistant tag lines successively;
Obtain time of the motor vehicle by distance between every section of equidistant tag line;
By the change of relatively more described time, judge whether the speed of the motor vehicle successively decreases.
Preferably, also include:Whether have pedestrian, if any pedestrian, then if judging the street pedestrian Accreditation Waiting Area of crossing both sides
Whether the motor vehicle that judgement is passed through near the street pedestrian Accreditation Waiting Area track crosses stop line, if crossing stop line, is clapped
According to.
Above-mentioned technical proposal of the invention has advantages below compared to existing technology,
(1) present invention provides the camera system and method that a kind of motor line does not give way behavior through crossing in accordance with the law, bag
Video tracking unit and data processing unit are included, if there is pedestrian to pass through, when distance of the motor vehicle with pedestrian on direct of travel is small
When threshold value, if motor vehicle crosses stop line, it is taken pictures, for follow-up traffic violations punishment provides foundation.The party
Case can with it is simple and convenient acquisition motor line through crossing when the illegal activities for not avoiding pedestrian, as long as on direct of travel
The distance between motor vehicle and pedestrian are less than threshold value and motor vehicle crosses stop line, then illustrate the motor vehicle by crossing
When run into pedestrian and avoided, violate traffic law, by the effective supervision to this behavior, can substantially reduce motor-driven
The illegal activities of pedestrian are not avoided when garage is through crossing, safety when improving pedestrian by no signal lamp control crossing
Property.
(2) present invention provides the camera system and method that a kind of motor line does not give way behavior through crossing in accordance with the law, also
Whether slow down when determining whether motor line through crossing, by the program can to motor line through crossing when
Speed carries out effective detection, if not slowing down according to the rules, it can be punished in accordance with the law, increases law enforcement dynamics, improves row
The security of people's street crossing.
(3) present invention provides the camera system and method that a kind of motor line does not give way behavior through crossing in accordance with the law, also
Including synchronised clock so that video acquisition subelement and described image recognition and tracking subelement synchronization, improve to reducing speed of motor vehicle
The accurate detection of process.
(4) present invention provides the camera system and method that a kind of motor line does not give way behavior through crossing in accordance with the law, leads to
Cross to be predicted between tag line and the crossing stop line in the crossing and be provided with some equidistant tag lines and detect
Whether motor vehicle slows down, so as to the moderating process of the motor vehicle to crossing of passing through accurately is detected.
(5) present invention provides the camera system and method that a kind of motor line does not give way behavior through crossing in accordance with the law, right
In the distance between the pedestrian of crossing of passing through and motor vehicle when judging, with reference to the direct of travel of pedestrian, when pedestrian is located at
Motor vehicle front or pedestrian forward direction motor vehicle front advance when, judge if motor vehicle crosses stop line motor vehicle with
Whether the distance between pedestrian is less than given threshold, when pedestrian has moved away from motor vehicle and is more than given threshold, illustrates pedestrian
It has been passed through that, then need not have been judged.Judged by point situation, motor vehicle is reasonably supervised, more conform to actual feelings
Condition.
Brief description of the drawings
In order that present disclosure is more likely to be clearly understood, below according to specific embodiment of the invention and combine
Accompanying drawing, the present invention is further detailed explanation, wherein
Fig. 1 be the embodiment of the present invention 1 motor line do not given way in accordance with the law through crossing behavior camera system structure
Block diagram;
Fig. 2 be the embodiment of the present invention 1 motor line do not given way in accordance with the law through crossing behavior photographic method flow
Figure;
Fig. 3 be the embodiment of the present invention 2 motor line do not given way in accordance with the law through crossing behavior camera system structure
Block diagram;
Fig. 4 be the embodiment of the present invention 2 motor line do not given way in accordance with the law through crossing behavior photographic method flow
Figure.
Specific embodiment
Embodiment 1:
The present embodiment provides the camera system that a kind of motor line does not give way behavior through crossing in accordance with the law, as shown in figure 1,
Be arranged on the road of the crossing of no signal lamp control, including crossing and people's row for being arranged on after crossing it is horizontal
Road stop line, also including being arranged on the video tracking unit and data processing unit at crossing, the video tracking unit, continuous tracking
Pass through each pedestrian passed through on the motor vehicle and crossing of crossing.The video tracking unit is by being arranged on crossing
Image tracking system realize, including camera and the soft of continuous tracking treatment is carried out to the image that the camera is obtained
Part.Whether the data processing unit includes the judgment sub-unit that gives way, and judges there is walk on the crossing, if any pedestrian
It is current, then judge whether motor vehicle crosses stop line, if crossing stop line, detect and judge that the pedestrian is motor-driven with described
Whether the distance between car is less than predetermined threshold value, and predetermined threshold value selects 5 meters, (threshold value in other embodiments in the present embodiment
Could be arranged to 2-10 meters), if motor vehicle crosses stop line and less than given threshold, the motor vehicle is taken pictures.Herein
The foundation of judgement is exactly whether distance of the pedestrian on direct of travel between motor vehicle is less than threshold value, because either pedestrian exists
The front of motor vehicle still not yet other positions, as long as distance is less than given threshold and crosses stop line, then illustrate motor vehicle
From pedestrian too close to, motor vehicle is stopped avoidance pedestrian not after crossing stop line, therefore just the behavior captured.When
When pedestrian has already passed through the track that motor vehicle is travelled, if pedestrian is close with the distance of motor vehicle, motor vehicle is really crossed and stopped
Only line, then also illustrate that motor vehicle does not avoid pedestrian when pedestrian passes through crossing, and such case is abnormally dangerous, falls within traffic
In violation of rules and regulations, it is necessary to be captured.
A kind of motor line in the present embodiment do not given way in accordance with the law through crossing behavior camera system it is corresponding motor-driven
Garage does not give way the photographic method of behavior in accordance with the law through crossing, as shown in Fig. 2 comprising the following steps:
The pedestrian passed through on S1, the continuous motor vehicle and crossing for tracking crossing of passing through.By being arranged on road
The image tracking system of mouth is continuously tracked to each pedestrian of crossing and the motor vehicle of the crossing of passing through.Pass through
A camera for being arranged on crossing is capable of achieving.
S2, judge whether there is walk on the crossing, if any walk, judge whether motor vehicle crosses stopping
Line, if crossing stop line, judges the distance between the pedestrian and described motor vehicle, if less than given threshold, such as less than
5 meters of predetermined threshold value, then take pictures to the motor vehicle.Pedestrian and motor vehicle can effectively be known by image tracking system
Not, and do not stopped by above-mentioned judgement and avoided the automotive number plate of pedestrian, be that subsequently traffic violation is punished
Foundation is provided.
Motor line in the present embodiment does not give way the camera system and method for behavior in accordance with the law through crossing, can be simple
The illegal activities for not avoiding pedestrian when convenient acquisition motor line is through crossing, as long as motor vehicle is less than with the distance of pedestrian
Threshold value and motor vehicle crosses stop line, then illustrate that the motor vehicle runs into pedestrian and avoided when by crossing, violates
Traffic law, by the effective supervision to this behavior, row is not avoided when can substantially reduce motor line through crossing
Traffic accident caused by people, improves the security that pedestrian walks on crossing.
Embodiment 2:
The camera system that a kind of motor line does not give way behavior through crossing in accordance with the law is provided in the present embodiment, such as Fig. 3 institutes
Show, the system is arranged on crossing but is not provided with the road of traffic lights, including crossing and be arranged on
Crossing stop line after crossing, street pedestrian Accreditation Waiting Area is provided with crossing both sides, is stopped in crossing
Crossing advance notice tag line is provided with after line, is predicted between tag line and the crossing stop line in the crossing
Some equidistant tag lines are provided with, some range marker points are also provided with the crossing.
The camera system also includes being arranged on the video tracking unit and data processing unit at crossing, video tracking subelement
Including video acquisition subelement and image recognition tracking subelement, the video acquisition subelement includes camera, for gathering
Pass through the motor vehicle of crossing and the video image of pedestrian, described image recognition and tracking subelement recognizes video acquisition
The image that unit is collected, and the image of motor vehicle therein and pedestrian is recognized, and to the motor vehicle and the motion rail of pedestrian
Mark is tracked.Additionally, also include synchronised clock, for single to the video acquisition subelement and described image recognition and tracking
Unit synchronizes treatment, to improve to reducing speed of motor vehicle process accuracy of detection.
Data processing unit includes giving way outside judgment sub-unit, also including deceleration judgment sub-unit, for judging the machine
Whether motor-car slows down when predicting tag line to the crossing stop line by crossing, does not slow down such as, then motor-driven to this
Car is taken pictures.By the program can to motor line through crossing when speed effectively supervised, if not according to rule
It is fixed to slow down, then it can be punished in accordance with the law, law enforcement dynamics is increased, improve the security of walk.
Wherein, the judgment sub-unit that gives way is included with lower module:
First judge module:If motor vehicle crosses stop line, the pedestrian in the front of the motor vehicle, then to the machine
Motor-car is taken pictures;
Second judge module:If motor vehicle crosses stop line, when pedestrian's direct of travel is close to motor vehicle direct of travel,
Then judge that whether its distance, less than institute's predetermined threshold value under the conditions of being somebody's turn to do, is traditionally arranged to be 3-9 meters, if it is less, to the motor vehicle
Taken pictures;
3rd judge module:If motor vehicle crosses stop line, when pedestrian's direct of travel is remote from motor vehicle direct of travel,
Then judge that whether its distance, less than institute's predetermined threshold value under the conditions of being somebody's turn to do, is traditionally arranged to be 2-5 meters, if it is less, to the motor vehicle
Taken pictures.
In other implementations, the 4th judge module can also be included, the street pedestrian of crossing both sides is judged
Whether Accreditation Waiting Area has pedestrian, if any pedestrian, then judges whether the motor vehicle passed through near the street pedestrian Accreditation Waiting Area track is crossed
Stop line, such as judges whether the motor vehicle in first track of the street pedestrian Accreditation Waiting Area crosses stop line, if crossing,
Then taken pictures.
Wherein, deceleration judgment sub-unit is included with lower module:
Tracking module:The video tracking element keeps track predicts the motor vehicle of tag line by the crossing,
Moment extraction module:Moment of the motor vehicle by some equidistant tag lines is obtained successively;
Time extraction module:Obtain time of the motor vehicle by distance between every section of equidistant tag line;
Velocity variations module:By the change of relatively more described time, judge whether the speed of the motor vehicle successively decreases.
The corresponding motor line of camera system in the present embodiment does not give way the photographic method of behavior in accordance with the law through crossing,
As shown in figure 4, including following process:
S1, tracking pass through crossing motor vehicle and crossing on pass through pedestrian.
S2, when there is motor vehicle to drive towards crossing, judge that the motor vehicle predicts tag line to institute by crossing
Whether slow down when stating crossing stop line, do not slow down such as, then the motor vehicle is taken pictures, judge that the motor vehicle passes through institute
The process whether slowed down when stating crossing, including:
S21:The video tracking element keeps track predicts the motor vehicle of tag line by the crossing,
S22:The data processing unit obtains moment of the motor vehicle by some equidistant tag lines successively;
S23:Obtain time of the motor vehicle by distance between every section of equidistant tag line;
S24:By the change of relatively more described time, judge whether the speed of the motor vehicle successively decreases.
Herein, by the crossing predict be provided between tag line and the crossing stop line it is some etc.
Measure whether motor vehicle slows down away from tag line, so as to the speed of the motor vehicle to crossing of passing through effectively is supervised
S3, when motor vehicle crosses stop line, judge whether there is walk on the crossing, it is logical if any pedestrian
OK, judge the distance between the pedestrian and described motor vehicle, such as less than predetermined threshold value, then the motor vehicle is taken pictures, have
Body process includes:
If S31, motor vehicle cross stop line, the pedestrian is then carried out in the front of the motor vehicle to the motor vehicle
Take pictures evidence obtaining, subsequently punished.
If S32, motor vehicle cross stop line, when pedestrian's direct of travel is close to motor vehicle direct of travel, then it is judged
Between distance whether less than should under the conditions of institute's predetermined threshold value, if it is less, being taken pictures to the motor vehicle.If pedestrian is not yet
Runway into where motor vehicle, but to motor vehicle traveling direction running, if now pedestrian from the track farther out, machine
Motor-car can pass through, if motor-car of disembarking is nearer, motor vehicle then should after stop line parking waiting.At this point it is possible to set one
Threshold value, such as 3-9 meter.The distance in one or two track can also be set used as threshold value, that is to say, that if vehicle crosses stopping
During line, there is pedestrian in first lane, then the motor vehicle in second lane does not allow to cross stop line and passes through, should be after stop line
Parking waiting, and the motor vehicle P Passable in third lane.So, just distinguish whether need parking waiting according to distance,
Improve the traffic efficiency of road and ensure that traffic safety.
If S33, motor vehicle cross stop line, when pedestrian's direct of travel is remote from motor vehicle direct of travel, then it is judged
Whether distance is less than institute's predetermined threshold value under the conditions of being somebody's turn to do, if it is less, being taken pictures to the motor vehicle.
Now, it is when pedestrian leaves the motor line classical prescription judgement backward, because motor vehicle is after crossing is entered
When being less than certain threshold value with the distance of pedestrian, illustrate that motor vehicle is not avoided in walk or the pedestrian such as not yet is away from motor vehicle
Just by crossing, this kind of situation also danger close, if therefore after pedestrian is away from motor vehicle between vehicle and pedestrian away from
During from less than threshold value under the conditions of this, also vehicle is taken pictures.On the ratio that threshold value now can be set under the conditions of one
Threshold value it is smaller, as long as because pedestrian have left this runway, vehicle can be current, can typically set threshold value
It is 2-4 meters.
Above-mentioned judgment mode can to greatest extent improve traffic volume under the premise that security is guaranteed.
Whether in this step, can also determine whether the street pedestrian Accreditation Waiting Area of crossing both sides has pedestrian, if any
Pedestrian, then judge whether the motor vehicle passed through near the street pedestrian Accreditation Waiting Area track crosses stop line, if crossing, is clapped
According to.As long as pedestrian has pedestrian in Accreditation Waiting Area, when the motor line in the track beside pedestrian Accreditation Waiting Area sails to stop line, should
Avoidance pedestrian allows it to pass through, and for the motor vehicle in other tracks away from the track, P Passable, which also improves
Traffic efficiency.
Additionally, some range marker points can also be set on the crossing, given way by these range marker points
The motor vehicle of warp know distance how far when need parking waiting, such as these range marker points can be lane line, such as motor vehicle exists
When third lane is travelled and reaches stop line, if pedestrian is introduced into second lane, the motor vehicle can slow down by pavement,
If in second lane and when moving towards third lane, the motor vehicle then cannot pass through stop line to pedestrian, need to stop after stop line
Car is waited.By the range marker point can be pass through motor vehicle whether need to be parked in stop line after etc. foundation to be supplied.
Camera system and method that a kind of motor line does not give way behavior through crossing in accordance with the law are provided in the present embodiment, are led to
Video tracking testing equipment is crossed continuously to track the pedestrian for passing through crossing or be prepared for into crossing
Detection, meanwhile, continuous tracing detection is carried out by passed through to the preparation motor vehicle of crossing of video tracking testing equipment.Work as machine
Motor-car pass through speed reduction marking when, whether system energy means for automatic monitoring motor-car is run slowly, if do not run slowly, immediately
The motor vehicle is taken pictures;When passing through crossing if pedestrian, system automatic decision motor vehicle passes through stop line
When the location of pedestrian, it is just vertical if being in the front of motor vehicle or being limited in distance in the left and right sides of motor vehicle
Take pictures.
Obviously, above-described embodiment is only intended to clearly illustrate example, and not to the restriction of implementation method.It is right
For those of ordinary skill in the art, can also make on the basis of the above description other multi-forms change or
Change.There is no need and unable to be exhaustive to all of implementation method.And the obvious change thus extended out or
Among changing still in the protection domain of the invention.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger
Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.