Summary of the invention
For this reason, technical matters to be solved by this invention is that motor line of the prior art accurately can not carry out supervising in accordance with the law, easily judges by accident, affect road efficiency when crossing, thus proposes a kind of motor line and not give way the camera system of behavior and method through crossing in accordance with the law.
For solving the problems of the technologies described above, of the present inventionly provide a kind of motor line not give way the camera system of behavior and method through crossing in accordance with the law.
The invention provides a kind of motor line not give way through crossing the camera system of behavior, the crossing stop line after comprising crossing and being arranged on crossing in accordance with the law, also comprise:
Video tracking unit: Continuous Tracking is passed through each pedestrian current on the motor vehicle of crossing and crossing;
Data processing unit: comprise the judgment sub-unit that gives way, judge whether described crossing has walk, if any walk, then judge whether that stop line crossed by motor vehicle, if there is motor vehicle to cross stop line, then detecting the distance between described pedestrian and described motor vehicle, as being less than predetermined threshold value, then this motor vehicle being taken pictures.
Preferably, described data processing unit also comprises deceleration judgment sub-unit: judge whether motor line slows down to during described crossing stop line through crossing advance notice tag line, as do not slowed down, then takes pictures to this motor vehicle.
Preferably, described video tracking subelement comprises video acquisition subelement and subelement is followed the tracks of in image recognition, described video acquisition subelement comprises camera, for the video image of the motor vehicle and pedestrian that gather crossing of passing through, the image that described in subelement identification, video acquisition subelement collects is followed the tracks of in described image recognition, and identification motor vehicle wherein and the image of pedestrian, and Continuous Tracking is carried out to the movement locus of each motor vehicle described and each pedestrian.
Preferably, also comprising synchronous clock, synchronously processing, to improve the accuracy of detection to reducing speed of motor vehicle process for following the tracks of subelement to described video acquisition subelement and described image recognition.
Preferably, the street pedestrian Accreditation Waiting Area being arranged on crossing both sides is also comprised; Crossing advance notice tag line is provided with after crossing stop line; Some equidistant tag lines are provided with between described crossing advance notice tag line and described crossing stop line; Described crossing arranges some range markers point.
The photographic method that the present invention also provides a kind of motor line not give way behavior through crossing in accordance with the law, comprising:
Continuous Tracking is passed through each pedestrian current on each motor vehicle of crossing and crossing;
Judge whether described crossing has walk, if any walk, then judge whether that stop line crossed by motor vehicle, if there is motor vehicle to cross stop line, then detect and judge whether the distance between described pedestrian and described motor vehicle is less than the threshold value of setting, as being less than setting threshold value, then this motor vehicle is taken pictures.
Preferably, judge whether described crossing has walk, if any walk, then judge whether that stop line crossed by motor vehicle, if there is motor vehicle to cross stop line, then whether the distance detected between described pedestrian and described motor vehicle is less than the threshold value of setting, as being less than setting threshold value, then to the process that this motor vehicle is taken pictures, comprising:
If when stop line crossed by motor vehicle, described pedestrian in the dead ahead of described motor vehicle, then takes pictures to this motor vehicle;
If stop line crossed by motor vehicle, when pedestrian's direct of travel is close to motor vehicle direct of travel, then judges that whether its distance is less than institute's predetermined threshold value under this condition, if be less than, then this motor vehicle is taken pictures;
If stop line crossed by motor vehicle, when pedestrian's direct of travel is away from motor vehicle direct of travel, then judges that whether its distance is less than institute's predetermined threshold value under this condition, if be less than, then this motor vehicle is taken pictures.
Preferably, also comprising and judge that described motor vehicle is predicted tag line by crossing and whether slowed down to during described crossing stop line, as do not slowed down, then this motor vehicle being taken pictures.
Preferably, judge that described motor vehicle predicts tag line to the process of whether slowing down during described crossing stop line by crossing, comprising:
Described video tracking element keeps track predicts the motor vehicle of tag line by described crossing,
Described data processing unit obtains the moment of this motor vehicle by described some equidistant tag lines successively;
Obtain the time of this motor vehicle by the spacing of every section of equidistant tag line;
By the change of more described time, judge whether the speed of this motor vehicle successively decreases.
Preferably, also comprise: judge whether the street pedestrian Accreditation Waiting Area of crossing both sides has pedestrian, if any pedestrian, then judge whether the motor vehicle of passing through near this track, street pedestrian Accreditation Waiting Area crosses stop line, if cross stop line, then takes pictures.
Technique scheme of the present invention has the following advantages compared to existing technology,
(1) the invention provides a kind of motor line not give way the camera system of behavior and method through crossing in accordance with the law, comprise video tracking unit and data processing unit, if there is pedestrian to pass through, when motor vehicle and the pedestrian distance on direct of travel is less than threshold value, if stop line crossed by motor vehicle, then it is taken pictures, for follow-up traffic violations punishment provides foundation.The program can the illegal activities of not dodging pedestrian of simple and convenient acquisition motor line when crossing, as long as the distance on direct of travel between motor vehicle and pedestrian is less than threshold value and stop line crossed by motor vehicle, then illustrate that this motor vehicle is dodging by running into pedestrian during crossing, violate traffic law, by the effective supervision to this behavior, greatly can reduce the illegal activities that motor line does not dodge pedestrian when crossing, improve pedestrian by security during no signal lamp control crossing.
(2) the invention provides a kind of motor line not give way the camera system of behavior and method through crossing in accordance with the law, also judge whether motor line slows down when crossing further, by the program can to motor line through crossing time speed effectively detect, if do not slow down according to the rules, then can punish it in accordance with the law, strengthen law enforcement dynamics, improve the security of pedestrian's street crossing.
(3) the invention provides a kind of motor line not give way the camera system of behavior and method through crossing in accordance with the law, also comprise synchronous clock, make video acquisition subelement and described image recognition follow the tracks of subelement synchronous, improve the accurate detection to reducing speed of motor vehicle process.
(4) the invention provides a kind of motor line not give way the camera system of behavior and method through crossing in accordance with the law, detect motor vehicle whether slow down by being provided with some equidistant tag lines between described crossing advance notice tag line and described crossing stop line, thus the moderating process of the motor vehicle of crossing of passing through accurately is detected.
(5) the invention provides a kind of motor line not give way the camera system of behavior and method through crossing in accordance with the law, for the distance between the pedestrian of crossing of passing through and motor vehicle when judging, in conjunction with the direct of travel of pedestrian, when advancing in the dead ahead that pedestrian is positioned at motor vehicle dead ahead or pedestrian's forward motor vehicle, if stop line crossed by motor vehicle, judge whether the distance between motor vehicle and pedestrian is less than setting threshold value, when pedestrian away from motor vehicle and be greater than setting threshold value time, illustrate that pedestrian passes through, then without the need to judging.Judged by point situation, motor vehicle is reasonably supervised, more tallies with the actual situation.
Embodiment
embodiment 1:
The camera system that the present embodiment provides a kind of motor line not give way behavior through crossing in accordance with the law, as shown in Figure 1, be arranged on the road of the crossing that no signal lamp controls, crossing stop line after comprising crossing and being arranged on crossing, also comprise the video tracking unit and data processing unit that are arranged on crossing, this video tracking unit, Continuous Tracking is passed through each pedestrian current on the motor vehicle of crossing and crossing.This video tracking unit is realized by the image tracking system being arranged on crossing, comprises camera and the image that this camera obtains is carried out to the software of Continuous Tracking process.This data processing unit comprises the judgment sub-unit that gives way, judge whether described crossing has walk, if any walk, then judge whether motor vehicle crosses stop line, if cross stop line, then detect and judge whether the distance between described pedestrian and described motor vehicle is less than predetermined threshold value, in the present embodiment, predetermined threshold value selects 5 meters, (in other embodiment, threshold value can be set to 2-10 rice), if motor vehicle crosses stop line and be less than setting threshold value, then this motor vehicle is taken pictures.The foundation herein judged is exactly whether the distance of pedestrian on direct of travel and between motor vehicle is less than threshold value, owing to being no matter pedestrian in the dead ahead of motor vehicle or not yet other positions, as long as distance is less than setting threshold value and crosses stop line, then illustrate motor vehicle from pedestrian too close to, motor vehicle does not stop and dodges pedestrian after crossing stop line, therefore just captures the behavior.When the track that pedestrian has travelled through motor vehicle, if when the distance of pedestrian and motor vehicle is very near, motor vehicle really crosses stop line, then also illustrate and do not dodge pedestrian pedestrian by motor vehicle during crossing, this situation is abnormally dangerous, also belongs to traffic violations, needs to capture.
A kind of motor line in the present embodiment not to give way through crossing the photographic method of behavior through crossing motor line corresponding to the camera system of behavior that do not give way in accordance with the law in accordance with the law, as shown in Figure 2, comprises the steps:
S1, Continuous Tracking are passed through pedestrian current on the motor vehicle of crossing and crossing.Continuous Tracking is carried out by the motor vehicle of image tracking system to each pedestrian of crossing and this crossing of passing through being arranged on crossing.Can be realized by the camera being arranged on crossing.
S2, judge whether this crossing has walk, if any walk, judge whether motor vehicle crosses stop line, if cross stop line, judge the distance between described pedestrian and described motor vehicle, if be less than setting threshold value, as being less than predetermined threshold value 5 meters, then this motor vehicle is taken pictures.Effectively can be identified pedestrian and motor vehicle by image tracking system, and do not stopped by above-mentioned judgement and dodge the automotive number plate of pedestrian, punishment be carried out to traffic violation for follow-up foundation is provided.
Motor line in the present embodiment not to give way the camera system of behavior and method through crossing in accordance with the law, can the illegal activities of not dodging pedestrian of simple and convenient acquisition motor line when crossing, as long as the distance of motor vehicle and pedestrian is less than threshold value and stop line crossed by motor vehicle, then illustrate that this motor vehicle is dodging by running into pedestrian during crossing, violate traffic law, by the effective supervision to this behavior, greatly can reduce motor line when crossing, not dodge the traffic hazard that pedestrian causes, improve the security that pedestrian walks on crossing.
embodiment 2:
A kind of motor line does not give way behavior in accordance with the law camera system through crossing is provided in the present embodiment, as shown in Figure 3, this Operation system setting has crossing but is not arranging on the road of traffic lights, crossing stop line after comprising crossing and being arranged on crossing, crossing both sides are provided with street pedestrian Accreditation Waiting Area, crossing advance notice tag line is provided with after crossing stop line, some equidistant tag lines are provided with between described crossing advance notice tag line and described crossing stop line, described crossing also arranges some range markers point.
This camera system also comprises the video tracking unit and data processing unit that are arranged on crossing, video tracking subelement comprises video acquisition subelement and subelement is followed the tracks of in image recognition, described video acquisition subelement comprises camera, for the video image of the motor vehicle and pedestrian that gather crossing of passing through, the image that described in subelement identification, video acquisition subelement collects is followed the tracks of in described image recognition, and identification motor vehicle wherein and the image of pedestrian, and the movement locus of described motor vehicle and pedestrian is followed the tracks of.In addition, also comprising synchronous clock, synchronously processing, to improve reducing speed of motor vehicle process accuracy of detection for following the tracks of subelement to described video acquisition subelement and described image recognition.
Data processing unit comprises and gives way outside judgment sub-unit, also comprises deceleration judgment sub-unit, for judging whether described motor vehicle is slowed down to during described crossing stop line by crossing advance notice tag line, as do not slowed down, then takes pictures to this motor vehicle.By the program can to motor line through crossing time speed effectively supervise, if do not slow down according to the rules, then can punish it in accordance with the law, strengthen law enforcement dynamics, improve the security of walk.
Wherein, the judgment sub-unit that gives way comprises with lower module:
First judge module: if stop line crossed by motor vehicle, described pedestrian in the dead ahead of described motor vehicle, then takes pictures to this motor vehicle;
Second judge module: if stop line crossed by motor vehicle, when pedestrian's direct of travel is close to motor vehicle direct of travel, then judges that whether its distance is less than institute's predetermined threshold value under this condition, is traditionally arranged to be 3-9 rice, if be less than, then takes pictures to this motor vehicle;
3rd judge module: if stop line crossed by motor vehicle, when pedestrian's direct of travel is away from motor vehicle direct of travel, then judges that whether its distance is less than institute's predetermined threshold value under this condition, is traditionally arranged to be 2-5 rice, if be less than, then takes pictures to this motor vehicle.
In other implementations, the 4th judge module can also be comprised, judge whether the street pedestrian Accreditation Waiting Area of crossing both sides has pedestrian, if any pedestrian, then judge whether the motor vehicle of passing through near this track, street pedestrian Accreditation Waiting Area crosses stop line, as whether the motor vehicle judged in the Article 1 track of this street pedestrian Accreditation Waiting Area crosses stop line, if cross, then take pictures.
Wherein, deceleration judgment sub-unit comprises with lower module:
Tracking module: described video tracking element keeps track predicts the motor vehicle of tag line by described crossing,
Moment extraction module: obtain the moment of this motor vehicle by described some equidistant tag lines successively;
Time extraction module: obtain the time of this motor vehicle by the spacing of every section of equidistant tag line;
Velocity variations module: by the change of more described time, judges whether the speed of this motor vehicle successively decreases.
The motor line that camera system in the present embodiment is corresponding does not give way through crossing the photographic method of behavior in accordance with the law, as shown in Figure 4, comprises following process:
The pedestrian that S1, tracking lines are current on the motor vehicle and crossing of crossing.
S2, when there being motor vehicle to drive towards crossing, judge whether described motor vehicle is slowed down to during described crossing stop line by crossing advance notice tag line, as do not slowed down, then takes pictures to this motor vehicle, judge that described motor vehicle is by the process of whether slowing down during described crossing, comprising:
S21: described video tracking element keeps track predicts the motor vehicle of tag line by described crossing,
S22: described data processing unit obtain successively this motor vehicle by described some equidistant tag lines time
Carve;
S23: obtain the time of this motor vehicle by the spacing of every section of equidistant tag line;
S24: by the change of more described time, judges whether the speed of this motor vehicle successively decreases.
Herein, carry out measuring machine motor-car whether slow down by being provided with some equidistant tag lines between described crossing advance notice tag line and described crossing stop line, thus the speed of the motor vehicle of crossing of passing through effectively is supervised
S3, when stop line crossed by motor vehicle, judge whether described crossing has walk, if any walk, judge the distance between described pedestrian and described motor vehicle, as being less than predetermined threshold value, then take pictures to this motor vehicle, detailed process comprises:
If stop line crossed by S31 motor vehicle, described pedestrian in the dead ahead of described motor vehicle, then to take pictures evidence obtaining to this motor vehicle, follow-uply punishes.
If stop line crossed by S32 motor vehicle, when pedestrian's direct of travel is close to motor vehicle direct of travel, then judge whether its spacing is less than institute's predetermined threshold value under this condition, if be less than, then takes pictures to this motor vehicle.If pedestrian not yet ingress engine Motor Car Institute runway, but to advance direction running to motor vehicle, if now pedestrian is away from this track, then motor vehicle can pass through, if motor-car of disembarking is comparatively near, motor vehicle then should after stop line parking waiting.Now, a threshold value can be set, as 3-9 rice.The distance in one or two track also can be set as threshold value, if when that is stop line crossed by vehicle, in first lane, have pedestrian, then the motor vehicle in second lane does not allow to cross stop line and passes through, should after stop line parking waiting, and the motor vehicle P Passable in third lane.Like this, just separate the need of parking waiting according to distance regions, improve the traffic efficiency of road and ensure that traffic safety.
If stop line crossed by S33 motor vehicle, when pedestrian's direct of travel is away from motor vehicle direct of travel, then judges that whether its distance is less than institute's predetermined threshold value under this condition, if be less than, then this motor vehicle is taken pictures.
Now, leave this motor line classical prescription judgement backward as pedestrian, due to motor vehicle after entering crossing, be less than certain threshold value with the distance of pedestrian time, illustrate that motor vehicle is not dodged when walk or not yet etc. pedestrian just passes through crossing away from motor vehicle, this kind of situation also danger close, if therefore when the distance after pedestrian is away from motor vehicle between vehicle and pedestrian is less than the threshold value under this condition, also will take pictures to vehicle.Threshold value on the ratio that threshold value now can be arranged under a condition is smaller, as long as because pedestrian have left this runway, vehicle is P Passable, generally threshold value can be set to 2-4 rice.
Above-mentioned judgment mode under the premise that security is guaranteed, can improve traffic volume to greatest extent.
In this step, can also judge whether the street pedestrian Accreditation Waiting Area of crossing both sides has pedestrian further, if any pedestrian, then judge whether the motor vehicle of passing through near this track, street pedestrian Accreditation Waiting Area crosses stop line, if cross, then takes pictures.As long as pedestrian has pedestrian in Accreditation Waiting Area, when the motor line being positioned at the track on side, pedestrian Accreditation Waiting Area sails to stop line, pedestrian should be dodged and allow it pass through, and for away from the motor vehicle in other tracks in this track, P Passable, which also improves traffic efficiency.
In addition, described crossing also can arrange some range markers point, by these range marker points give way through motor vehicle know and need parking waiting when distance how far, if these range marker points can be lane lines, if motor vehicle is when third lane travels and arrives stop line, if pedestrian does not enter second lane, then this motor vehicle can slow down and pass through walkway, if pedestrian is at second lane and when moving towards third lane, this motor vehicle then can not pass stop line, need after stop line parking waiting.Can for motor vehicle of passing through be the need of the foundation to be supplied such as being parked in after stop line by this range marker point.
There is provided a kind of motor line not give way the camera system of behavior and method through crossing in the present embodiment in accordance with the law, by video tracking checkout equipment to carrying out Continuous Tracking detection by crossing or the pedestrian that preparing to enter crossing, meanwhile, by video tracking checkout equipment, Continuous Tracking detection is carried out to the motor vehicle of crossing of preparing to pass through.When motor line is through speed reduction marking, whether system energy means for automatic monitoring motor-car runs slowly, if do not run slowly, takes pictures immediately to this motor vehicle; If when having pedestrian by crossing, system automatic decision motor vehicle, by position during stop line residing for pedestrian, if be in the dead ahead of motor vehicle or limit in distance in the left and right sides of motor vehicle, is just taken pictures immediately.
Obviously, above-described embodiment is only for clearly example being described, and the restriction not to embodiment.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without the need to also giving all embodiments.And thus the apparent change of extending out or variation be still among the protection domain of the invention.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.