A kind of vehicle congestion detection method for early warning, apparatus and systemTechnical field
The present invention relates to field of intelligent transportation technology, in particular to a kind of vehicle congestion detects method for early warning, device and isSystem.
Background technique
As city automobile ownership is higher and higher, congestion in road situation is increasingly severe.In intersection, a directionWhen congestion is serious, continues to drive into crossing and be detained if letting alone vehicle, will affect other direction wagon flows and also blocked.According to country" law on road traffic safety implementing regulations " the 53rd article of regulation:, should when motor vehicle meets front cross crossing traffic obstructionIt is successively parked in other than crossing and waits, crossing must not be entered.That is, rushing green light behavior is specific disobey under congestion in road stateZhang Hangwei.But under actual conditions, due to the cognition that each driver is not unified to road ahead jam situation, so being difficult to realize gather aroundUnder stifled state, the punishment of green light behavior is rushed, so that such act of violating regulations is substantially prohibited and more than.More seriously,If longitudinal lane gets congestion, and the vehicle on lateral left turn lane continues to drive into crossing and be detained, then may cause in length and breadthThe jam situation of both direction.
Such as: a kind of congestion detection method based on video analysis of single camera, congestion hair are proposed in the prior artThe warning sign in this direction is lighted after life.After warning sign lights, green light follow-up is carried out to the motor vehicle for still driving into crossing and breaks rules and regulations to grabIt claps.This scheme judges that congestion is according to entrance vehicle flowrate and to export the difference of vehicle flowrate greater than certain threshold value.Crossing congestion is comeIt says, entrance, that is, stop line nearby drives into crossing vehicle, and exports near remotely located zebra stripes.When one subnormal green light starts,Exit is that vehicle, entrance vehicle flowrate do not increase persistently, when starts to detect congestion with this condition, in scheme simultaneouslyIt does not provide, it is more ambiguous.In addition it arrives near the zebra stripes of distant place, the mutual serious shielding of vehicle, the track based on single unit vehicleTracking tends to fail, and it is accurate to be difficult statistics in statistics of export flow.
Summary of the invention
In view of the above problems, propose the present invention to overcome the above problem or at least to be partially solved the above problem,The technical scheme of the present invention is realized as follows:
On the one hand, the present invention provides a kind of vehicle congestions to detect method for early warning, comprising:
Crossing all directions smart camera is obtained to correspond to the vehicle part information in the congestion detection zone in lane and gather aroundInformation of vehicles in stifled prewarning area;
According to the vehicle part information in the congestion detection zone in the corresponding lane and the vehicle in congestion warning regionInformation judges the vehicle running state in the congestion detection zone in the corresponding lane, exports judging result;
Congestion warning information after the judging result to be carried out to comprehensive analysis processing is sent to the crossing all directionsDisplay screen.
Preferably, this method further include:
Preset vehicle part amount threshold N1 in the congestion detection zone and threshold value N2 and the congestion detection zoneThe average speed threshold value V1 and threshold value V2 of all vehicle parts in domain;
Preset the vehicle fleet size threshold value T1 and threshold value T2 in the congestion warning region.
Preferably, the acquisition crossing all directions smart camera corresponds to the vehicle part in the congestion detection zone in laneInformation of vehicles step in information and congestion warning region, specifically includes:
The crossing all directions smart camera is obtained in real time corresponds to video image in the congestion warning region in lane;
Vehicle in the video image in the congestion warning region is detected and tracked in real time;
Obtain the three-dimensional scaling information that front direction smart camera is worked as at the crossing;
The three-dimensional scaling information for working as front direction smart camera according to the crossing, obtains in real time in the congestion warning regionVideo image in vehicle quantity and speed;
The crossing all directions smart camera is obtained in real time corresponds to automobile video frequency figure in the congestion detection zone in lanePicture;
Vehicle part in the video image in the congestion detection zone is detected and tracked in real time;
The three-dimensional scaling information for working as front direction smart camera according to the crossing, obtains in real time in the congestion detection zoneVideo image in vehicle part quantity and speed.
Preferably, the vehicle part information and congestion warning in the congestion detection zone according to the corresponding laneInformation of vehicles in region judges the vehicle running state in the congestion detection zone in the corresponding lane, exports judging resultStep specifically includes:
The quantity of vehicle part is more than the threshold value N1 in video image in the congestion detection zone, and the congestionThe average speed of all vehicle parts is lower than the threshold value V1 in video image in detection zone, then exports the congestion detectionVehicle running state in region is congestion;
The quantity of vehicle part is more than the threshold value N2 in video image in the congestion detection zone, and the congestionThe average speed of all vehicle parts is lower than the threshold value V2 in video image in detection zone, then exports the congestion inspectionThe vehicle running state surveyed in region is jogging.
Preferably, the congestion warning information after the progress comprehensive analysis processing by the judging result is sent to the roadIt the step of display screen of mouth all directions, specifically includes:
When the vehicle running state in the congestion detection zone is the vehicle number in jogging and the congestion warning regionAmount is greater than the threshold value T1,
Alternatively, when the vehicle running state in the congestion detection zone is the vehicle in congestion and the congestion warning regionQuantity is greater than the threshold value T2, sends congestion warning information to the display screen of the crossing all directions.
Preferably, the congestion warning information includes: the road name to get congestion, needs successively to wait other than crossingInformation of vehicles.
Preferably, this method, further includes:
When the vehicle running state in the congestion detection zone is the vehicle number in jogging and the congestion warning regionAmount is greater than the threshold value T1,
Alternatively, when the vehicle running state in the congestion detection zone is the vehicle in congestion and the congestion warning regionQuantity is greater than the threshold value T2, sends starting and captures the illegal instruction for swarming into the information of vehicles in congestion warning region, so as toCapturing system violating the regulations carries out evidence obtaining violating the regulations in time.
On the other hand, the present invention also provides a kind of vehicle congestions to detect prior-warning device, comprising:
Information acquisition unit corresponds to vehicle in the congestion detection zone in lane for obtaining crossing all directions smart cameraInformation of vehicles in component information and congestion warning region;
Judging unit, in the congestion detection zone according to the corresponding lane vehicle part information and congestion it is pre-Information of vehicles in police region domain judges the vehicle running state in the congestion detection zone in the corresponding lane, output judgement knotFruit;
Information process unit, for the congestion warning information after judging result progress comprehensive analysis processing to be sent toThe display screen of the crossing all directions.
Preferably, the device further include:
Threshold cell, for presetting vehicle part amount threshold N1 and threshold value N2 in the congestion detection zone, andThe average speed threshold value V1 and threshold value V2 of all vehicle parts in the congestion detection zone;And preset the congestion warningVehicle fleet size threshold value T1 and threshold value T2 in region.
Preferably, the information acquisition unit, specifically includes:
Acquisition of information subelement corresponds to the congestion warning in lane for obtaining the crossing all directions smart camera in real timeVideo image in region;Obtain the three-dimensional scaling information that front direction smart camera is worked as at the crossing;The crossing is obtained in real timeAll directions smart camera corresponds to the automobile video frequency image in the congestion detection zone in lane;
Information processing subelement, in real time to vehicle in the video image in the congestion warning region detected withAnd tracking;And vehicle part in the video image in the congestion detection zone is detected and tracked in real time;
Information determines subelement, for working as the three-dimensional scaling information of front direction smart camera according to the crossing, obtains in real timeTake the quantity and speed of vehicle in the video image in the congestion warning region;And front direction intelligence is worked as according to the crossingThe three-dimensional scaling information of energy camera, obtains the quantity and speed of vehicle part in the video image in the congestion detection zone in real timeDegree.
Preferably, the judging unit, specifically for vehicle part in the video image in the congestion detection zoneQuantity is more than the threshold value N1, and the average speed of all vehicle parts is lower than in the video image in the congestion detection zoneThe threshold value V1, then exporting the vehicle running state in the congestion detection zone is congestion;
The quantity of vehicle part is more than the threshold value N2 in video image in the congestion detection zone, and the congestionThe average speed of all vehicle parts is lower than the threshold value V2 in video image in detection zone, then exports the congestion inspectionThe vehicle running state surveyed in region is jogging.
Preferably, the information process unit, specifically for being when the vehicle running state in the congestion detection zoneVehicle fleet size in jogging and the congestion warning region is greater than the threshold value T1,
Alternatively, when the vehicle running state in the congestion detection zone is the vehicle in congestion and the congestion warning regionQuantity is greater than the threshold value T2, sends congestion warning information to the display screen of the crossing all directions;
The congestion warning information includes: the road name to get congestion, the vehicle for needing successively to wait other than crossingInformation.
Preferably, the device, further includes:
Information transmitting unit, the vehicle running state for working as in the congestion detection zone is jogging and the congestion is pre-Vehicle fleet size in police region domain is greater than the threshold value T1,
Alternatively, when the vehicle running state in the congestion detection zone is the vehicle in congestion and the congestion warning regionQuantity is greater than the threshold value T2, sends starting and captures the illegal instruction for swarming into the information of vehicles in congestion warning region, so as toCapturing system violating the regulations carries out evidence obtaining violating the regulations in time.
In another aspect, the present invention also provides a kind of vehicle congestions to detect early warning system, comprising: as above described in any oneVehicle congestion detects prior-warning device.
Technical solution of the present invention passes through the vehicle part information and congestion warning in comprehensive analysis congestion detection zoneInformation of vehicles in region, so that vehicle running state judgement is more accurate, and by the way that congestion warning information is sent to instituteThe display screen for stating crossing all directions allows intersection all directions to fully understand congestion status, to reduce congestionTime.
Detailed description of the invention
Fig. 1 is that a kind of vehicle congestion provided in an embodiment of the present invention detects method for early warning flow chart;
Fig. 2 is that a kind of vehicle congestion provided in an embodiment of the present invention detects method for early warning flow chart;
Fig. 3 is that a kind of vehicle congestion provided in an embodiment of the present invention detects prior-warning device structural schematic diagram;
Fig. 4 is that a kind of vehicle congestion provided in an embodiment of the present invention detects early warning system structural schematic diagram;
Fig. 5 is video surveillance region provided in an embodiment of the present invention and its internal congestion detection zone and congestion warning regionSchematic diagram;
The video surveillance region of 501 direction smart cameras to be detected;502 congestion detection zones;
503 zebra stripes;504 right-hand rotation vehicle early warning detection zones;505 left-hand rotation vehicle early warning detection zones;
506 straight traffic early warning detection zones.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present inventionFormula is described in further detail.
As shown in Figure 1, for a kind of vehicle congestion detection method for early warning flow chart provided in an embodiment of the present invention;This method packetIt includes:
101: obtain crossing all directions smart camera correspond to the vehicle part information in the congestion detection zone in lane withAnd the information of vehicles in congestion warning region;
102: according in the congestion detection zone in the corresponding lane vehicle part information and congestion warning region inInformation of vehicles, judge the vehicle running state in the congestion detection zone in the corresponding lane, export judging result;
103: it is each that the congestion warning information after the judging result to be carried out to comprehensive analysis processing is sent to the crossingThe display screen in direction.
Such as: it sets the four direction in the embodiment of the present invention at the parting of the ways and is arranged with smart camera, in four directionTraffic lights nearby be arranged with display screen, for showing congestion warning information.Each smart camera carries out video imageAcquisition analyzes in congestion detection zone whether be likely to occur congestion, if congestion will occur, notifies to send congestion warning informationTo display screen, and to the smart camera of all directions sends starting and capture and illegal swarm into information of vehicles in congestion warning regionInstruction, so that capturing system of breaking rules and regulations carries out evidence obtaining violating the regulations in time.Its vehicle congestion detects method for early warning as shown in Fig. 2, toolSteps are as follows for body:
201: the vehicle part amount threshold N1 and threshold value N2 and the congestion preset in the congestion detection zone is examinedSurvey the average speed threshold value V1 and threshold value V2 of all vehicle parts in region;Preset the vehicle number in the congestion warning regionMeasure threshold value T1 and threshold value T2.
202: obtaining the crossing all directions smart camera in real time and correspond to video figure in the congestion warning region in lanePicture;
203: vehicle in the video image in the congestion warning region being detected and tracked in real time;
204: obtaining the three-dimensional scaling information that front direction smart camera is worked as at the crossing;
205: working as the three-dimensional scaling information of front direction smart camera according to the crossing, obtain the congestion warning area in real timeThe quantity and speed of vehicle in video image in domain;
206: obtaining the vehicle that the crossing all directions smart camera corresponds in the congestion detection zone in lane in real time and regardFrequency image;
207: vehicle part in the video image in the congestion detection zone being detected and tracked in real time;
208: working as the three-dimensional scaling information of front direction smart camera according to the crossing, obtain the congestion detection zone in real timeThe quantity and speed of vehicle part in video image in domain.
209: the quantity of vehicle part is more than the threshold value N1 in the video image in the congestion detection zone, and describedThe average speed of all vehicle parts is lower than the threshold value V1 in video image in congestion detection zone, then exports the congestionVehicle running state in detection zone is congestion;
210: the quantity of vehicle part is more than the threshold value N2 in the video image in the congestion detection zone, and instituteThe average speed of all vehicle parts in the video image in congestion detection zone is stated lower than the threshold value V2, then is gathered around described in outputVehicle running state in stifled detection zone is jogging.
211: when the vehicle running state in the congestion detection zone is the vehicle in jogging and the congestion warning regionQuantity is greater than the threshold value T1, alternatively, when the vehicle running state in the congestion detection zone is congestion and the congestionVehicle fleet size in prewarning area is greater than the threshold value T2, sends congestion warning information to the display of the crossing all directionsScreen.
It should be noted that the congestion warning information includes: the road name to get congestion, need other than crossing according toThe information of vehicles of secondary waiting.
It should also be noted that, when the vehicle running state in the congestion detection zone is jogging and the congestion warningVehicle fleet size in region is greater than the threshold value T1,
Alternatively, when the vehicle running state in the congestion detection zone is the vehicle in congestion and the congestion warning regionQuantity is greater than the threshold value T2, sends starting and captures the illegal instruction for swarming into the information of vehicles in congestion warning region, so as toCapturing system violating the regulations carries out evidence obtaining violating the regulations in time.
It should also be noted that, the congestion detection zone refers to lane zebra stripes to be detected to the corresponding intelligent phase in the laneThe distal-most edge of machine testing, referring specifically to Fig. 5;
Include: Through Lane detection zone in lane to be detected in the congestion warning region, turn left oblique lane detection area andTurn right oblique lane detection area, referring specifically to Fig. 5.The oblique lane detection area of left-hand rotation refers to that the left side in lane to be detected is lateralTurn left in lane region, the oblique lane detection area that turns right refers to region of turning right in the right side transverse direction lane in lane to be detected.
It should also be noted that, the tracking of vehicle part described above and vehicle tracking are all the video prisons in smart cameraIt surveys in range, has gone out video surveillance range, that is, terminated to track.
It should also be noted that, the vehicle part includes the trapezoidal vehicle window of the tailstock, the tail portion comprising car light license plate, a vehicle window left sideUpper angle and the vehicle window upper right corner.
It should also be noted that, the vehicle running state in the congestion detection zone is divided into normal, jogging, three kinds of congestionState.The congestion status externally exported is a long-time filter result of every frame state, that is, when detection zone is continuously in certainAfter kind state, external congestion status just changes.The time can be configured length according to the actual situation.
It should also be noted that, the congestion warning information includes: the road name to get congestion, need other than crossingThe information of vehicles successively waited.Such as: the display screen of current lane prompts lane through vehicles needs to wait other than crossing,The left side transverse direction lane display screen prompt left turning vehicle needs of current lane wait other than crossing, lateral vehicle on the right side of current laneThe right-turning vehicles needs in road wait other than crossing.And starting is sent simultaneously and captures the illegal vehicle swarmed into congestion warning regionThe instruction of information, the smart camera above lane lateral to the left, the smart camera above the transverse direction lane of right side, by it is default whenBetween after, can start capture violation vehicle, and itself also start capture straight traffic act of violating regulations.
It should also be noted that, when display screen is congestion status, only when the external state of congestion detection zone becomesCongestion warning state is just released when normal condition.This is because block mutually, intert between vehicle under jam situation, the non-machine of pedestrianMotor-car also interts carelessly often, is difficult to accurately track all vehicles in crossing and detect again at this time, therefore pre-The vehicle number of police region is also no longer credible, but (i.e. heretofore described congestion detection in ranges more than distant place zebra stripes at this timeRegion) it is relatively stable, tracking is relatively easy to, and the detection of vehicle part is done in this area, to mutually blocking for vehicleThere is stronger repellence.
Technical solution of the present invention fully considers the particularity of crossing congestion, right when carrying out congestion detection for the purpose of early warningThe congestion that may occur detects in time, congestion warning information is issued in time, prevents trouble before it happens.It is pre- in detection congestion, publication congestionNot only consider that this, to lane, also while considering lateral lane, to improve crossing congestion when alert information and candid photograph act of violating regulationsThe accuracy of detection, and dinched the factor on the more serious oblique road Che Du of left-hand rotation.
Based on above embodiments, as shown in figure 3, for a kind of vehicle congestion detection prior-warning device provided in an embodiment of the present inventionStructural schematic diagram;The device includes:
Information acquisition unit 301 corresponds in the congestion detection zone in lane for obtaining crossing all directions smart cameraVehicle part information and congestion warning region in information of vehicles;
Judging unit 302 for the vehicle part information in the congestion detection zone according to the corresponding lane and is gathered aroundInformation of vehicles in stifled prewarning area, judges the vehicle running state in the congestion detection zone in the corresponding lane, output is sentencedDisconnected result;
Information process unit 303, for sending out the congestion warning information after judging result progress comprehensive analysis processingGive the display screen of the crossing all directions.
It should be noted that the device further include:
Threshold cell, for presetting vehicle part amount threshold N1 and threshold value N2 in the congestion detection zone, andThe average speed threshold value V1 and threshold value V2 of all vehicle parts in the congestion detection zone;And preset the congestion warningVehicle fleet size threshold value T1 and threshold value T2 in region.
It should be noted the information acquisition unit, specifically include:
Acquisition of information subelement corresponds to the congestion warning in lane for obtaining the crossing all directions smart camera in real timeVideo image in region;Obtain the three-dimensional scaling information that front direction smart camera is worked as at the crossing;The crossing is obtained in real timeAll directions smart camera corresponds to the automobile video frequency image in the congestion detection zone in lane;
Information processing subelement, in real time to vehicle in the video image in the congestion warning region detected withAnd tracking;And vehicle part in the video image in the congestion detection zone is detected and tracked in real time;
Information determines subelement, for working as the three-dimensional scaling information of front direction smart camera according to the crossing, obtains in real timeTake the quantity and speed of vehicle in the video image in the congestion warning region;And front direction intelligence is worked as according to the crossingThe three-dimensional scaling information of energy camera, obtains the quantity and speed of vehicle part in the video image in the congestion detection zone in real timeDegree.
It should be noted the judging unit, specifically for vehicle in the video image in the congestion detection zoneThe quantity of component is more than the threshold value N1, and all vehicle parts are averaged in the video image in the congestion detection zoneSpeed is lower than the threshold value V1, then exporting the vehicle running state in the congestion detection zone is congestion;
The quantity of vehicle part is more than the threshold value N2 in video image in the congestion detection zone, and the congestionThe average speed of all vehicle parts is lower than the threshold value V2 in video image in detection zone, then exports the congestion inspectionThe vehicle running state surveyed in region is jogging.
It should be noted the information process unit, specifically for when the vehicle row in the congestion detection zoneSailing state is that the vehicle fleet size in jogging and the congestion warning region is greater than the threshold value T1,
Alternatively, when the vehicle running state in the congestion detection zone is the vehicle in congestion and the congestion warning regionQuantity is greater than the threshold value T2, sends congestion warning information to the display screen of the crossing all directions;
The congestion warning information includes: the road name to get congestion, the vehicle for needing successively to wait other than crossingInformation.
It should be noted the device, further includes:
Information transmitting unit, the vehicle running state for working as in the congestion detection zone is jogging and the congestion is pre-Vehicle fleet size in police region domain is greater than the threshold value T1,
Alternatively, when the vehicle running state in the congestion detection zone is the vehicle in congestion and the congestion warning regionQuantity is greater than the threshold value T2, sends starting and captures the illegal instruction for swarming into the information of vehicles in congestion warning region, so as toCapturing system violating the regulations carries out evidence obtaining violating the regulations in time.
As shown in figure 4, for a kind of vehicle congestion detection early warning system structural schematic diagram provided in an embodiment of the present invention;This isSystem includes: any vehicle congestion detection prior-warning device as above.
Technical solution of the present invention passes through the vehicle part information and congestion warning in comprehensive analysis congestion detection zoneInformation of vehicles in region, so that vehicle running state judgement is more accurate, and by the way that congestion warning information is sent to instituteThe display screen for stating crossing all directions allows intersection all directions to fully understand congestion status, to reduce congestionTime.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is allAny modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present inventionIt is interior.