Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of lengthening vehicle real-time detection method in violation of rules and regulations,
For the current vehicle of expressway tol lcollection mouth, obtain vehicle license plate by image recognition technology and number,
Inquired about in the server of far-end traffic administration platform by wireless communication technology and number with vehicle license plate
Corresponding vehicle specific length, obtains vehicle physical length by shooting while two photographic head, from
And judging that current current vehicle lengthens the most in violation of rules and regulations, whole detecting system is all-electronin mode of operation, joint
Save substantial amounts of cost of labor.
According to an aspect of the present invention, it is provided that a kind of lengthening vehicle real-time detection method, the party in violation of rules and regulations
Method includes: 1) providing a kind of and lengthen Real-time vehicle in violation of rules and regulations, described detecting system is arranged on
Expressway tol lcollection mouth, described acquisition system include an overhead photographic head, two side photographic head,
Car plate detector, vehicle commander's detector, wireless communication interface and ARM11 processor, described overhead is taken the photograph
As head is for shooting the license plate image of current vehicle, more than described two side photographic head lower vertical mode
Arranging, the first side image of the current vehicle of shooting simultaneously and the second side image, described car plate detects
Device is for identifying the car plate numbering in license plate image, and described vehicle commander's detector uses binocular distance measurement mode base
Vehicle physical length, described ARM11 is obtained in described first side image and described second side image
Processor connects respectively with described car plate detector, described vehicle commander's detector and described wireless communication interface
Connect, described car plate numbering is sent to traffic administration platform to obtain feedback by wireless communication interface
Vehicle specific length, and determine current car based on described vehicle physical length and described vehicle specific length
Whether in violation of rules and regulations lengthen;2) described system is used to detect.
More specifically, in described violation lengthens Real-time vehicle, also include: usb communication
Interface, is used for inserting outside USB flash disk, automatically to read two side photographic head of storage in outside USB flash disk
Identical focal length F, the photocentre space D of two side photographic head, vehicle upper limit gray threshold and car
Lower limit gray threshold, described focal length F and described photocentre space D are that vehicle supervision department is in advance to two
The parameter that individual side photographic head carries out demarcating and obtains, described vehicle upper limit gray threshold and described vehicle
Lower limit gray threshold is for separating the vehicle in image with background;Static memory, with described USB
Communication interface connects, and is used for reading and store described focal length F, described photocentre space D, described vehicle
Upper limit gray threshold and described vehicle lower limit gray threshold;Described overhead photographic head is positioned in charging aperture
On the cross bar of dead ahead, for shooting the license plate image of current vehicle;Described two side photographic head quilts
Being placed on the montant of charging aperture side, above lower vertical mode is arranged, the current vehicle of shooting simultaneously
First side image and the second side image, described first side image is side photographic head above montant
Captured, described second side image is below montant captured by side photographic head;Described car plate detects
Device includes memory element and Car license recognition unit, and described memory element has prestored car plate reference map
Case, described car plate reference pattern by shooting the image obtained, described Car license recognition list to benchmark car plate
First and described overhead photographic head and described memory element is connected respectively, knows based on described car plate reference pattern
Do not go out the current vehicle license plate pattern in described license plate image, and identify described current vehicle license plate pattern
Corresponding car plate numbering;Described vehicle commander's detector and described two side photographic head and described static storage
Device connects respectively, and described vehicle commander's detector includes pretreatment unit, vehicle body side recognition unit, vehicle
Metrics calculation unit and length over ends of body computing unit, described pretreatment unit and described two sides shooting
Head connects respectively, described first side image and described second side image is carried out contrast and increases
By force, self adaptation recursive filtering and gray processing process, to obtain the first gray processing side image and the second ash
Degreeization side image, described vehicle body side recognition unit and described pretreatment unit and described static storage
Device connects respectively, by gray value in described first gray processing side image at described vehicle upper limit gray scale threshold
Pixel identification between value and described vehicle lower limit gray threshold also forms the first vehicular sideview subimage,
By gray value in described second gray processing side image at described vehicle upper limit gray threshold and described car
Pixel identification between lower limit gray threshold also forms the second vehicular sideview subimage, described vehicle away from
It is connected respectively, based on car with described vehicle body side recognition unit and described static memory from computing unit
Side same position is respectively in the first vehicular sideview subimage and the second vehicular sideview subimage
Different pixels point horizontal level X1 and X2, and based on described focal length F and described photocentre space D,
Calculate horizontal range X of two side photographic head, described car body described in current carbody lateral distance
Length computation unit connects respectively with described vehicle distances computing unit and described vehicle body side recognition unit
Connect, determine that current vehicle is at described first vehicular sideview subgraph based on described first vehicular sideview subimage
Imaging length over ends of body in Xiang, and calculate vehicle based on described imaging length over ends of body and described horizontal range
Physical length;Two-way wireless communication chain set up by the traffic administration platform of described wireless communication interface and far-end
Road;Described ARM11 processor and described Car license recognition unit, described length over ends of body computing unit and
Described wireless communication interface connects respectively, receives described car plate and numbers and be transmitted to described radio communication and connect
Mouth is to obtain the vehicle specific length of feedback, by described vehicle physical length and described vehicle specific length
Compare, when described vehicle physical length exceed described vehicle specific length reach predetermined length time,
Send current rule-breaking vehicle and lengthen signal;Two-way speaker, is connected with described ARM11 processor,
Lengthen, with described rule-breaking vehicle, the voice prompted file that signal is corresponding for playing;LCDs, with
Described ARM11 processor connects, and lengthens, with described rule-breaking vehicle, the prompting that signal is corresponding for display
Word;Power supply device, is connected with described ARM11 processor, at described ARM11 processor
Control under, for described detecting system provide various different supply of electric power patterns, described various differences
Supply of electric power pattern include battery saving mode and normal mode;Wherein, described pretreatment unit, described
Vehicle body side recognition unit, described vehicle distances computing unit and described length over ends of body computing unit are respectively
Different fpga chips is used to realize.
More specifically, in described violation lengthens Real-time vehicle: described vehicle distances calculates
Unit based on vehicular sideview same position respectively at the first vehicular sideview subimage and the second vehicular sideview
Different pixels point horizontal level X1 and X2 in subimage, and based on described focal length F and described light
Heart space D, calculates horizontal range X of two side photographic head described in current carbody lateral distance
Particularly as follows:
More specifically, in described violation lengthens Real-time vehicle: described ARM11 process
Device, when described vehicle physical length reaches predetermined length not less than described vehicle specific length, sends logical
Driving does not lengthens signal in violation of rules and regulations.
More specifically, in described violation lengthens Real-time vehicle: described static memory is pre-
First store described predetermined length, be connected with to described ARM11 process with described ARM11 processor
Device provides described predetermined length.
Detailed description of the invention
Violation to the present invention lengthens the embodiment of Real-time vehicle below with reference to accompanying drawings
It is described in detail.
So-called repacking in violation of rules and regulations, it is simply that vehicle driver for various purposes, is ratified without relevant department,
Change the design of original production factory voluntarily, change part or the measure of size, quantity and installation site.
The vehicle of repacking is likely to result in following harm when travelling on road in violation of rules and regulations: 1, through repacking
Vehicle individual event performance indications may improve, but combination property is it may happen that change, and then produces
Raw potential safety hazard.2, in retrofit process may damage former car assembling quality, cause gas leakage, leakage of oil,
The potential faults such as brake fluid oozes, leak electricity short-circuit.3, vehicle refitting improper to vehicle drive or other hand over
The safety of logical participant brings threat.4, automobile vendor is to vehicle modified segment privately and because of privately
The vehicle damage that repacking causes, the most not guarantee.5, refitted car is at the aspect such as profile or technology all
There is the suspicion of plagiarism, invade the patent right of designer.6, because of vehicle refitting to cause of accident or accident after
Fruit produces direct relation, and insurance company may as the case may be, the repudiation of claims or make the compensation give a discount.
Lengthening is a kind of important form of expression of rule-breaking vehicle repacking in violation of rules and regulations, but of the prior art
Lengthen in violation of rules and regulations detection or rely on and manually estimate screening, mode to suspected vehicles manual measurement, this
Mode wastes plenty of time cost and the cost of labor of detection department and current vehicle, and detection efficiency is not
High.
The present invention has built a kind of violation and has lengthened Real-time vehicle, is arranged on expressway tol lcollection
Mouthful, use three photographic head that current vehicle communicates the extraction of information of vehicles, and rely on channel radio
Letter technology and multiple image processing techniques obtain vehicle physical length and vehicle specific length, thus reach
Automatic decision passes through the purpose whether vehicle in violation of rules and regulations lengthens.
Fig. 1 is the structure lengthening Real-time vehicle according to the violation shown in embodiment of the present invention
Block diagram, described detecting system include 1, two side photographic head 2 and 3 of an overhead photographic head,
Car plate detector 4, vehicle commander's detector 5, wireless communication interface 6 and ARM11 processor 7, described
Overhead photographic head 1 is for shooting the license plate image of current vehicle, described two side photographic head 2 and 3
Vertical mode is more than descended to arrange, the first side image of the current vehicle of shooting simultaneously and the second side view
Picture, described car plate detector 4 is for identifying the car plate numbering in license plate image, described vehicle commander's detector
5 use binocular distance measurement mode to obtain vehicle based on described first side image and described second side image
Physical length, described ARM11 processor 7 and described car plate detector 4, described vehicle commander's detector 5
Connect respectively with described wireless communication interface 6, described car plate is numbered by wireless communication interface 6
Deliver to the traffic administration platform vehicle specific length with acquisition feedback, and based on described vehicle physical length
Determine that current vehicle lengthens the most in violation of rules and regulations with described vehicle specific length.
Then, the concrete structure continuing the lengthening Real-time vehicle of the violation to the present invention enters
The explanation of one step.
Described detecting system also includes: USB communication interface, is used for inserting outside USB flash disk, automatically to read
Take focal length F, two sides that in outside USB flash disk, two side photographic head 2 of storage are identical with 3 to take the photograph
Photocentre space D, vehicle upper limit gray threshold and the vehicle lower limit gray threshold of picture 2 and 3, described
Focal length F and described photocentre space D are that two side photographic head are demarcated by vehicle supervision department in advance
And the parameter obtained, described vehicle upper limit gray threshold and described vehicle lower limit gray threshold will be for scheming
Vehicle in Xiang separates with background.
Described detecting system also includes: static memory, is connected with described USB communication interface, is used for
Read and store described focal length F, described photocentre space D, described vehicle upper limit gray threshold and described
Vehicle lower limit gray threshold.
Described overhead photographic head 1 is positioned on the cross bar of charging aperture dead ahead, is used for shooting current car
License plate image.
Described two side photographic head 2 and 3 are positioned on the montant of charging aperture side, above sagging
Nogata formula is arranged, simultaneously the first side image of the current vehicle of shooting and the second side image, and described the
One side image is above montant captured by side photographic head 2, and described second side image is under montant
Captured by side's side photographic head 3.
As in figure 2 it is shown, described car plate detector 4 includes memory element 41 and Car license recognition unit 42,
Described memory element 41 has prestored car plate reference pattern, and described car plate reference pattern is to benchmark
Car plate shoots the image obtained, described Car license recognition unit 42 and described overhead photographic head 1 and institute
State memory element 41 to connect respectively, identify in described license plate image based on described car plate reference pattern
Current vehicle license plate pattern, and identify described current vehicle license plate pattern corresponding car plate numbering.
Described vehicle commander's detector 5 and described two side photographic head 2 and 3 and described static memory divide
Do not connect, described vehicle commander's detector 5 include pretreatment unit, vehicle body side recognition unit, vehicle away from
From computing unit and length over ends of body computing unit, described pretreatment unit and described two side photographic head
2 and 3 connect respectively, and described first side image and described second side image are carried out contrast
Enhancing, self adaptation recursive filtering and gray processing process, to obtain the first gray processing side image and second
Gray processing side image, described vehicle body side recognition unit is deposited with described pretreatment unit and described static state
Reservoir connects respectively, by gray value in described first gray processing side image in described vehicle upper limit gray scale
Pixel identification between threshold value and described vehicle lower limit gray threshold also forms the first vehicular sideview subgraph
Picture, by gray value in described second gray processing side image at described vehicle upper limit gray threshold and described
Pixel identification between vehicle lower limit gray threshold also forms the second vehicular sideview subimage.
Described vehicle distances computing unit and described vehicle body side recognition unit and described static memory
Connect respectively, based on vehicular sideview same position respectively at the first vehicular sideview subimage and the second vehicle
Different pixels point horizontal level X1 and X2 in the subimage of side, and based on described focal length F and institute
State photocentre space D, calculate two side photographic head 2 and 3 described in current carbody lateral distance
Horizontal range X, described length over ends of body computing unit and described vehicle distances computing unit and described car body
Side recognition unit connects respectively, determines that current vehicle is in institute based on described first vehicular sideview subimage
State the imaging length over ends of body in the first vehicular sideview subimage, and based on described imaging length over ends of body and institute
State horizontal range and calculate vehicle physical length.
Two-way wireless communication link set up by the traffic administration platform of described wireless communication interface 6 and far-end;
Described ARM11 processor 7 and described Car license recognition unit 42, described length over ends of body computing unit and
Described wireless communication interface 6 connects respectively, receives described car plate and numbers and be transmitted to described radio communication
Described vehicle physical length and described vehicle, to obtain the vehicle specific length of feedback, are specified by interface 6
Length compares, and reaches predetermined length when described vehicle physical length exceedes described vehicle specific length
Time, send current rule-breaking vehicle and lengthen signal.
Described detecting system also includes: two-way speaker, is connected with described ARM11 processor 7,
Lengthen, with described rule-breaking vehicle, the voice prompted file that signal is corresponding for playing.
Described detecting system also includes: LCDs, is connected with described ARM11 processor 7,
Lengthen, with described rule-breaking vehicle, the prompt text that signal is corresponding for display.
Described detecting system also includes: power supply device, is connected with described ARM11 processor 7, uses
Under the control at described ARM11 processor 7, provide various different electricity for described detecting system
Power supplying mode, described various different supply of electric power patterns include battery saving mode and normal mode.
Wherein, described pretreatment unit, described vehicle body side recognition unit, described vehicle distances calculate
Unit and described length over ends of body computing unit can be respectively adopted different fpga chips and realize, also
Same fpga chip can be used to carry out integrated.
Wherein, in described detecting system, described vehicle distances computing unit is same based on vehicular sideview
The position different pixels point in the first vehicular sideview subimage and the second vehicular sideview subimage respectively
Horizontal level X1 and X2, and based on described focal length F and described photocentre space D, calculate current car
Vehicle body side apart from described two side photographic head 2 and 3 horizontal range X particularly as follows:Described ARM11 processor 7 is when described vehicle physical length is not less than described vehicle
When specific length reaches predetermined length, send current vehicle and do not lengthen signal in violation of rules and regulations;Described static storage
Device can prestore described predetermined length, is connected with described ARM11 processor 7 with to described
ARM11 processor 7 provides described predetermined length.
It addition, ARM11 series microprocessor is the risc processor that ARM company releases, this is
Row mainly have tri-kernel models of ARM1136J, ARM1156T2 and ARM1176JZ, respectively pin
To different application field.Various wireless mobiles are applied, the most immoderate offer high-performance processor
It is useless.Being similar to cost control, the control of power consumption is also a key factor.ARM11 system
Column processor illustrates the lifting in performance, first releases the interior of 350M~500MHz clock frequency
Core, future will rise to 1GHz clock frequency ARM11 processor provide high performance while,
Allow also to do between performance and power consumption and weigh to meet some special applications.Clock frequency during by dynamically adjusting
Rate and supply voltage, developer can control the balance of both completely.At 0.13um technique, 1.2v
Under the conditions of, the power consumption of RM11 processor can as little as 0.4mW/MHz.
ARM11 processor provides simultaneously can comprehensively version and semi-custom stone two kinds realization.Can combine
Form a version can allow client go out, according to the semiconductor process development of oneself, the processor cores having their own characteristics each,
And keep enough motilities.The stone that ARM realizes is then to meet those very high performances and speed
The application required, saves cost and the time of realization simultaneously for client.In order to allow client walk more easily
The complete flow process that realizes, ARM11 processor have employed the pipeline organization being prone to comprehensive, and and conventional
Synthesis tool and ARM compiler good combination, it is ensured that client can successfully and rapidly reach
To timing closure.Current existing ARM11 processor area in the case of not comprising Cache is little
In 2.7mm2, for current complicated SoC design, the least size is to chip cost
Reduction is extremely important.
ARM11 processor is that software developer offers convenience at a lot of aspects.On the one hand, he comprises
Video and Audio Processing are accelerated in the instruction of more multi-media processing;On the other hand, his memorizer
System further increases the performance of operating system;Additionally, additionally provide instruction to accelerate real-time performance
With the response interrupted.ARM11 processor just focus at the beginning of design more easily with other processors
Share data, and from the processor of non-ARM, transplant software.Additionally, ARM also developed base
In multicomputer system MPCORE serial for ARM11 (by two to four ARM11
Core forms).ARM11 processor designs to effectively provide high-performance treatments ability.
Here it is emphasized that ARM is not the place that can not design and operate in higher frequency
Reason device, but, while processor is provided that very-high performance, power consumption to be ensured, the having of area
Effect property.The pipeline design outstanding for ARM11 is the important guarantee of these functions.ARM11 processor
Streamline different with former ARM kernel, it is made up of 8 level production lines, can be than 5 grades of streams
The ARM9 of waterline reaches higher running frequency.Saying from common angle, long streamline is often
The execution efficiency of instruction can be weakened.On the one hand, if instruction subsequently needs to use holding of forwardmost instruction
Row result is as input, and he is accomplished by forwardmost instruction by the time and has performed.This is avoided by ARM11 processor
Planting the data collision in streamline, the result that he can allow instruction perform is rapidly introduced into subsequent instruction
In streamline.On the other hand, if the normal sequence that instruction performs is interrupted (as jump instruction occur),
Common pipeline processor often to pay bigger cost, and ARM11 is by realizing jump forecasting skill
Art keeps optimal pipeline efficiency.
The violation using the present invention lengthens Real-time vehicle, lengthens vehicle inspection for existing violation
Examining system expends a large amount of costs of labor and the technical problem of time cost, by wireless communication technology and figure
As identifying that technology obtains the regulation vehicle commander of current vehicle, by the shooting of two picture pick-up devices with efficient
Image processing techniques obtains the real-time vehicle commander of current vehicle in real time, thus in the situation of prosthetic participation
Under, it is automatically obtained the detection lengthening vehicle in violation of rules and regulations.
Although it is understood that the present invention discloses as above with preferred embodiment, but above-mentioned enforcement
Example is not limited to the present invention.For any those of ordinary skill in the art, without departing from
Under technical solution of the present invention ambit, all may utilize the technology contents of the disclosure above to the technology of the present invention
Scheme makes many possible variations and modification, or is revised as the Equivalent embodiments of equivalent variations.Therefore,
Every content without departing from technical solution of the present invention, the technical spirit of the foundation present invention is to above example
Any simple modification, equivalent variations and the modification done, all still falls within technical solution of the present invention protection
In the range of.