The divisional application of the patent that the present invention is application number is 201510101588.4, the applying date, to be March 8, denomination of invention in 2015 be " a kind of lengthen vehicle real-time detection method in violation of rules and regulations ".
Summary of the invention
In order to solve the problem, the invention provides a kind of vehicle of lengthening in violation of rules and regulations real-time detection method, for the traffick of expressway tol lcollection mouth, vehicle license plate numbering is obtained by image recognition technology, inquired about in the server of far-end traffic administration platform by wireless communication technology and number corresponding vehicle specified length with vehicle license plate, vehicle physical length is obtained by shooting while two cameras, thus judge whether current traffick lengthens in violation of rules and regulations, whole detection system is full-electronic mode of operation, saves a large amount of costs of labor.
According to an aspect of the present invention, provide a kind of vehicle of lengthening in violation of rules and regulations real-time detection method, the method comprises: 1) provide a kind of and lengthen Real-time vehicle in violation of rules and regulations, described detection system is arranged on expressway tol lcollection mouth, described acquisition system comprises an overhead camera, two side cameras, car plate detecting device, vehicle commander's detecting device, wireless communication interface and ARM11 processor, described overhead camera is for taking the license plate image of traffick, it is more than described two side cameras that lower vertical mode is arranged, take the first side image and second side image of traffick simultaneously, described car plate detecting device is for identifying the car plate numbering in license plate image, described vehicle commander's detecting device adopts binocular distance measurement mode to obtain vehicle physical length based on described first side image and described second side image, described ARM11 processor and described car plate detecting device, described vehicle commander's detecting device is connected respectively with described wireless communication interface, described car plate numbering is sent to traffic administration platform to obtain the vehicle specified length of feedback by wireless communication interface, and whether lengthen in violation of rules and regulations based on described vehicle physical length and described vehicle specified length determination traffick, 2) described system is used to detect.
More specifically, lengthen in Real-time vehicle in described violation, also comprise: usb communication interface, for inserting outside USB flash disk, automatically to read the identical focal length F of two the side cameras stored in outside USB flash disk, the photocentre space D of two side cameras, vehicle upper limit gray threshold and vehicle lower limit gray threshold, described focal length F and described photocentre space D are that the parameter obtained is demarcated to two side cameras in advance by vehicle supervision department, described vehicle upper limit gray threshold and described vehicle lower limit gray threshold are used for the vehicle in image to separate with background, static memory, is connected with described usb communication interface, for reading and storing described focal length F, described photocentre space D, described vehicle upper limit gray threshold and described vehicle lower limit gray threshold, described overhead camera is positioned on the cross bar in charging aperture dead ahead, for taking the license plate image of traffick, described two side cameras are positioned on the montant of charging aperture side, vertical mode is more than descended to arrange, take the first side image and second side image of traffick simultaneously, described first side image is for above montant captured by side camera, and described second side image is for below montant captured by side camera, described car plate detecting device comprises storage unit and Car license recognition unit, described storage unit has prestored car plate reference pattern, described car plate reference pattern is for taking the image obtained to benchmark car plate, described Car license recognition unit is connected respectively with described overhead camera and described storage unit, identify the traffick car plate pattern in described license plate image based on described car plate reference pattern, and identify the car plate numbering that described traffick car plate pattern is corresponding, described vehicle commander's detecting device is connected respectively with described two side cameras and described static memory, described vehicle commander's detecting device comprises pretreatment unit, vehicle body side recognition unit, vehicle distances computing unit and length over ends of body computing unit, described pretreatment unit is connected respectively with described two side cameras, all contrast strengthen is performed to described first side image and described second side image, self-adaptation recursive filtering and gray processing process, to obtain the first gray processing side image and the second gray processing side image, described vehicle body side recognition unit is connected respectively with described pretreatment unit and described static memory, the pixel identification of gray-scale value in described first gray processing side image between described vehicle upper limit gray threshold and described vehicle lower limit gray threshold is formed the first vehicular sideview subimage, the pixel identification of gray-scale value in described second gray processing side image between described vehicle upper limit gray threshold and described vehicle lower limit gray threshold is formed the second vehicular sideview subimage, described vehicle distances computing unit is connected respectively with described vehicle body side recognition unit and described static memory, based on different pixels point horizontal level X1 and X2 of vehicular sideview same position respectively in the first vehicular sideview subimage and the second vehicular sideview subimage, and based on described focal length F and described photocentre space D, calculate the horizontal range X of traffick vehicle body side apart from described two side cameras, described length over ends of body computing unit is connected respectively with described vehicle distances computing unit and described vehicle body side recognition unit, based on the imaging carriage body length of described first vehicular sideview subimage determination traffick in described first vehicular sideview subimage, and calculate vehicle physical length based on described imaging carriage body length and described horizontal range, two-way wireless communication link set up by the traffic administration platform of described wireless communication interface and far-end, described ARM11 processor is connected respectively with described Car license recognition unit, described length over ends of body computing unit and described wireless communication interface, receive described car plate number and be transmitted to described wireless communication interface to obtain the vehicle specified length of feedback, described vehicle physical length and described vehicle specified length are compared, when described vehicle physical length exceed described vehicle specified length reach predetermined length time, send traffick and in violation of rules and regulations lengthen signal, two-way speaker, is connected with described ARM11 processor, lengthens voice prompted file corresponding to signal for playing with described rule-breaking vehicle, LCDs, is connected with described ARM11 processor, lengthens prompt text corresponding to signal for showing with described rule-breaking vehicle, power supply device, is connected with described ARM11 processor, and under the control of described ARM11 processor, for described detection system provides various different electric power supply pattern, described various different electric power supply pattern comprises 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 adopt different fpga chips to realize respectively.
More specifically, lengthen in Real-time vehicle in described violation: described vehicle distances computing unit is based on different pixels point horizontal level X1 and X2 of vehicular sideview same position respectively in the first vehicular sideview subimage and the second vehicular sideview subimage, and based on described focal length F and described photocentre space D, calculate traffick vehicle body side and be specially apart from the horizontal range X of described two side cameras:
More specifically, lengthen in Real-time vehicle in described violation: described ARM11 processor when described vehicle physical length do not exceed described vehicle specified length reach predetermined length time, send traffick not violation lengthen signal.
More specifically, lengthen in Real-time vehicle in described violation: described static memory has prestored described predetermined length, is connected to provide described predetermined length to described ARM11 processor with described ARM11 processor.
Embodiment
Below with reference to accompanying drawings the embodiment of violation lengthening Real-time vehicle of the present invention is described in detail.
So-called repacking in violation of rules and regulations, be exactly vehicle driver for various purposes, without relevant department's approval, change the design of original production factory voluntarily, change part or size, the measure of quantity and installation site.
Following harm may be caused when the vehicle of repacking travels on road in violation of rules and regulations: the vehicle individual event performance index 1, through repacking may improve, but combination property may change, and then produce potential safety hazard.2, former car assembly quality may be damaged in retrofit process, cause gas leakage, the potential faults such as leakage of oil, brake fluid ooze, leak electricity short-circuit.3, the improper safety to vehicle drive or other traffic participants of vehicle refitting brings threat.4, automobile vendor is to vehicle modified segment and because privately reequiping the vehicle damage caused privately, will not guarantee to keep in good repair without exception.5, refitted car has the suspicion of plagiarism in profile or technology etc., invades the patent right of deviser.6, because vehicle refitting to produce direct relation to culprit or damage sequence, insurance company may as the case may be, the repudiation of claims or compensation is given a discount.
Lengthen in violation of rules and regulations is a kind of important form of expression that rule-breaking vehicle is reequiped, but violation of the prior art lengthens and detects or rely on artificial visually examine's screening, mode to suspected vehicles manual measurement, this mode wastes plenty of time cost and the cost of labor of detection department and traffick, and detection efficiency is not high.
The present invention has built a kind of violation and has lengthened Real-time vehicle, be arranged on expressway tol lcollection mouth, three cameras are adopted to carry out the extraction of communication information of vehicles to traffick, and rely on wireless communication technology and multiple image processing techniques and obtain vehicle physical length and vehicle specified length, thus reach the object whether automatic decision traffick lengthen in violation of rules and regulations.
Fig. 1 is the block diagram that the violation illustrated according to an embodiment of the present invention lengthens Real-time vehicle, described detection system comprises an overhead camera 1, two side cameras 2 and 3, car plate detecting device 4, vehicle commander's detecting device 5, wireless communication interface 6 and ARM11 processor 7, described overhead camera 1 is for taking the license plate image of traffick, described two side cameras more than 2 and 3 times vertical modes are arranged, take the first side image and second side image of traffick simultaneously, described car plate detecting device 4 is for identifying the car plate numbering in license plate image, described vehicle commander's detecting device 5 adopts binocular distance measurement mode to obtain vehicle physical length based on described first side image and described second side image, described ARM11 processor 7 and described car plate detecting device 4, described vehicle commander's detecting device 5 is connected respectively with described wireless communication interface 6, described car plate numbering is sent to traffic administration platform to obtain the vehicle specified length of feedback by wireless communication interface 6, and whether lengthen in violation of rules and regulations based on described vehicle physical length and described vehicle specified length determination traffick.
Then, the concrete structure continuing to lengthen violation of the present invention Real-time vehicle is further detailed.
Described detection system also comprises: usb communication interface, for inserting outside USB flash disk, automatically to read the photocentre space D of two side cameras 2 storing in outside USB flash disk and the identical focal length F of 3, two side cameras 2 and 3, vehicle upper limit gray threshold and vehicle lower limit gray threshold, described focal length F and described photocentre space D are that the parameter obtained is demarcated to two side cameras in advance by vehicle supervision department, and described vehicle upper limit gray threshold and described vehicle lower limit gray threshold are used for the vehicle in image to separate with background.
Described detection system also comprises: static memory, is connected with described usb communication interface, for reading and storing described focal length F, described photocentre space D, described vehicle upper limit gray threshold and described vehicle lower limit gray threshold.
Described overhead camera 1 is positioned on the cross bar in charging aperture dead ahead, for taking the license plate image of traffick.
Described two side cameras 2 and 3 are positioned on the montant of charging aperture side, vertical mode is more than descended to arrange, take the first side image and second side image of traffick simultaneously, described first side image is for above montant captured by side camera 2, and described second side image is for below montant captured by side camera 3.
As shown in Figure 2, described car plate detecting device 4 comprises storage unit 41 and Car license recognition unit 42, described storage unit 41 has prestored car plate reference pattern, described car plate reference pattern is for taking the image obtained to benchmark car plate, described Car license recognition unit 42 is connected respectively with described overhead camera 1 and described storage unit 41, identify the traffick car plate pattern in described license plate image based on described car plate reference pattern, and identify the car plate numbering that described traffick car plate pattern is corresponding.
Described vehicle commander's detecting device 5 is connected respectively with described two side cameras 2 and 3 and described static memory, described vehicle commander's detecting device 5 comprises pretreatment unit, vehicle body side recognition unit, vehicle distances computing unit and length over ends of body computing unit, described pretreatment unit is connected respectively with described two side cameras 2 and 3, all contrast strengthen is performed to described first side image and described second side image, self-adaptation recursive filtering and gray processing process, to obtain the first gray processing side image and the second gray processing side image, described vehicle body side recognition unit is connected respectively with described pretreatment unit and described static memory, the pixel identification of gray-scale value in described first gray processing side image between described vehicle upper limit gray threshold and described vehicle lower limit gray threshold is formed the first vehicular sideview subimage, the pixel identification of gray-scale value in described second gray processing side image between described vehicle upper limit gray threshold and described vehicle lower limit gray threshold is formed the second vehicular sideview subimage.
Described vehicle distances computing unit is connected respectively with described vehicle body side recognition unit and described static memory, based on different pixels point horizontal level X1 and X2 of vehicular sideview same position respectively in the first vehicular sideview subimage and the second vehicular sideview subimage, and based on described focal length F and described photocentre space D, calculate the horizontal range X of traffick vehicle body side apart from described two side cameras 2 and 3, described length over ends of body computing unit is connected respectively with described vehicle distances computing unit and described vehicle body side recognition unit, based on the imaging carriage body length of described first vehicular sideview subimage determination traffick in described first vehicular sideview subimage, and calculate vehicle physical length based on described imaging carriage body length and described horizontal range.
Described wireless communication interface 6 sets up two-way wireless communication link with the traffic administration platform of far-end; Described ARM11 processor 7 is connected respectively with described Car license recognition unit 42, described length over ends of body computing unit and described wireless communication interface 6, receive described car plate number and be transmitted to described wireless communication interface 6 to obtain the vehicle specified length of feedback, described vehicle physical length and described vehicle specified length are compared, when described vehicle physical length exceed described vehicle specified length reach predetermined length time, send traffick and in violation of rules and regulations lengthen signal.
Described detection system also comprises: two-way speaker, is connected with described ARM11 processor 7, lengthens voice prompted file corresponding to signal for playing with described rule-breaking vehicle.
Described detection system also comprises: LCDs, is connected with described ARM11 processor 7, lengthens prompt text corresponding to signal for showing with described rule-breaking vehicle.
Described detection system also comprises: power supply device, be connected with described ARM11 processor 7, for under the control of described ARM11 processor 7, for described detection system provides various different electric power supply pattern, described various different electric power supply pattern comprises 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 can adopt different fpga chips to realize respectively, also same fpga chip can be adopted to carry out integrated.
Wherein, in described detection system, described vehicle distances computing unit is based on different pixels point horizontal level X1 and X2 of vehicular sideview same position respectively in the first vehicular sideview subimage and the second vehicular sideview subimage, and based on described focal length F and described photocentre space D, calculate traffick vehicle body side and be specially apart from the horizontal range X of described two side cameras 2 and 3:
described ARM11 processor 7 when described vehicle physical length do not exceed described vehicle specified length reach predetermined length time, send traffick and in violation of rules and regulations do not lengthen signal; Described static memory can prestore described predetermined length, is connected to provide described predetermined length to described ARM11 processor 7 with described ARM11 processor 7.
In addition, ARM11 series microprocessor is the risc processor that ARM company releases, and this series mainly contains ARM1136J, ARM1156T2 and ARM1176JZ tri-kernel models, respectively for different application field.Apply for various wireless mobile, the immoderate high-performance processor that provides of milli is useless.Similar with cost control, the control of power consumption is also a key factor.ARM11 series processors illustrates the lifting in performance, first the kernel of 350M ~ 500MHz clock frequency is released, 1GHz clock frequency ARM11 processor will be risen to providing high performance while in future, and also allow to do between performance and power consumption and weigh to meet some special applications.By dynamic conditioning clock frequency and supply voltage, developer can control both balance completely.In 0.13um technique, under 1.2v condition, the power consumption of RM11 processor can be low to moderate 0.4mW/MHz.
ARM11 processor provides simultaneously can comprehensively version and semi-custom stone two kinds realization.Can the comprehensive version processor cores that client can be allowed to go out to have their own characteristics each according to the semiconductor process development of oneself, and keep enough dirigibilities.The stone that ARM realizes is then the application in order to meet those very high performances and rate request, simultaneously for client saves cost and the time of realization.In order to allow client cover realization flow more easily, ARM11 processor have employed and is easy to comprehensive pipeline organization, and and conventional synthesis tool and ARMcompiler good combination, ensure that client can successfully and reach timing closure rapidly.Current existing ARM11 processor area when not comprising Cache is less than 2.7mm
2, design for the SoC of current complexity, the reduction of so little size to chip cost is extremely important.
ARM11 processor in a lot of for software developer offers convenience.On the one hand, he contains more multi-media processing instruction and comes accelerating video and audio frequency process; On the other hand, his accumulator system further increases the performance of operating system; In addition, instruction is additionally provided to accelerate the response of real-time performance and interruption.ARM11 processor from design just to focus on beginning more easily with other processors sharing data, and transplant software from the processor of non-ARM.In addition, ARM also developed the multicomputer system based on ARM11 series---MPCORE (being made up of two to four ARM11 kernels).ARM11 processor designs to effectively provide high-performance treatments ability.
It is emphasized that ARM can not design the processor operating in higher frequency here, but, while processor can provide very-high performance, also to ensure the validity of power consumption, area.The pipeline design that ARM11 is outstanding is the important guarantee of these functions.The streamline of ARM11 processor is different with former ARM kernel, and it is made up of 8 level production lines, can reach higher running frequency than the ARM9 of 5 level production lines.From common angle, long streamline often weakens the execution efficiency of instruction.On the one hand, if instruction subsequently needs the execution result using forwardmost instruction as input, he just needs forwardmost instruction by the time to execute.The data collision in this streamline avoided by ARM11 processor, and the result that he can allow instruction perform enters into the streamline of instruction below fast.On the other hand, if the normal sequence that instruction performs is interrupted (as occurred jump instruction), common pipeline processor often will pay larger cost, and ARM11 is by realizing jump forecasting technology to keep best pipeline efficiency.
Violation of the present invention is adopted to lengthen Real-time vehicle, the technical matters of vehicle detecting system at substantial cost of labor and time cost is lengthened for existing violation, what obtain traffick by wireless communication technology and image recognition technology specifies vehicle commander, the real-time vehicle commander of traffick is obtained in real time by the shooting of two picture pick-up devices and efficient image processing techniques, thus when prosthetic participates in, automatically realize the detection lengthening vehicle in violation of rules and regulations.
Be understandable that, although the present invention with preferred embodiment disclose as above, but above-described embodiment and be not used to limit the present invention.For any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the technology contents of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.