Invention content
To solve the above-mentioned problems, the present invention provides a kind of system for detecting regulation violation based on Plate searching, based on shooting
Grey value profile situation determines window locations in image, Plate searching is carried out based on window locations, to obtain corresponding number plate
Image is also based on OCR recognition modes and executes Text region to the car plate subgraph, to obtain and export corresponding license plate number
Code, to realize fast search and the identification of vehicles peccancy car plate.
More specifically, the present invention at least has the important inventive point of following four:
(1) it is identified by high-precision vehicle window, obtains the window locations of the vehicle to make a dash across the red light, the window locations based on vehicle
And in benchmark car body profile the corresponding front window of car plate position, obtain the subgraph of car plate in shooting image in order to identifying
It is reported with violating the regulations;
(2) deviation value that each pixel in image is deviateed to pixel gray level average value is added to obtain total deviation
Value, by total deviation value divided by the pixel number of described image to obtain the deviation average of described image, to be to utilize vehicle
The uniform characteristic of window grey value profile provides data basis for identification vehicle window;
(3) multiple subgraphs that multiple contour lines surround using in image to be analyzed are as multiple images to be recognized, to have
Imitate constriction reference image identification;
(4) by the adjusting of the automatic focal length inside stereo camera apparatus, more readily apparent stereo-picture is obtained, and be based on phase
With the connecting method of content duplicate removal, the pending image of two dimension that stereo-picture is switched to have a wide sphere of vision, to improve at pictures subsequent
The validity of reason.
According to an aspect of the present invention, a kind of system for detecting regulation violation based on Plate searching is provided, the system comprises:
Signalized control equipment, for red eye, amber lamp and the indigo plant at the front of traffic intersection
Chrominance signal lamp carries out switch control, and the Signalized control equipment is additionally operable to the color for the signal lamp that output current time is shown;
Peccancy detection starting device is connect with the Signalized control equipment, for being shown in the current time received
The color of signal lamp when being red or yellow, control stereo camera apparatus enters starting state, and the peccancy detection startup is set
Standby to be additionally operable to when the color for the signal lamp that the current time received is shown is blue, control stereo camera apparatus enters power saving
State;
Stereo camera apparatus is arranged in the front of traffic intersection, is connect with the peccancy detection starting device, including take the photograph
As header sequence, parameter extraction equipment, motor control apparatus and data output apparatus, carried out for the traffic areas to traffic intersection
Stereoscopic shooting;
The camera shooting header sequence includes vertically disposed two cameras, for being shot to respective field range, with
Top field-of-view image and lower section field-of-view image are obtained respectively;
Hole-filling equipment is connect with the data output apparatus, for receiving the traffic areas image, and to described
Each cavity in the image of traffic areas is detected, and is realized and is filled up behaviour to each cavity in the traffic areas image
Make, processing image is filled up after filling up operation to obtain and export;Wherein, to each cavity in the traffic areas image
Filling up operation includes:It is each included by the pixel value progressive determination cavity based on the pixel beside each cavity
The pixel value of pixel;
Silhouettes detection equipment is connect with the hole-filling equipment, for receive it is described fill up processing image, to described
The contour line filled up in processing image is detected multiple subgraphs that obtain multiple contour lines, the multiple contour line is surrounded
As being exported as pending subgraph.
Specific implementation mode
The embodiment of the system for detecting regulation violation based on Plate searching of the present invention is carried out below with reference to accompanying drawings detailed
Explanation.
Vehicle window, i.e. car window, are the important components of entire vehicle body, be in order to meet interior daylighting, ventilation and
The needs in the driver and conductor visual field and design.Vehicle window is had by glass installation site difference:Forward and backward air regulator, side window and door and window.Vehicle window
Modeling structure and quality to the visual field of driver, the comfort of passenger, the beauty of shape and aerodynamic characteristics etc.
There is large effect.
Window structure is usually that curved surface is closed, between the window frame of automobile and glass for vehicle window of vehicle body, is connected with rubber weather strip
It connects.Sealing strip rise sealing and cushioning effect, with prevent because vehicle body stress makes window frame deform when will not damage windscreen.
For being designed for vehicle, vehicle window is fixed relative to the position of car plate, once the position of vehicle window is fixed,
Then the position of car plate also secures, it can be seen that, the identification of window locations can be used for carrying out the car plate detection of vehicles peccancy fast
Speed positioning, to reduce search range.However, lacking such technical solution in the prior art.
In order to overcome above-mentioned deficiency, the present invention to build a kind of system for detecting regulation violation based on Plate searching, can use for reference
The position of vehicle window carries out positioning to the car plate position of vehicles peccancy and OCR is identified, to improve the efficiency and speed of Car license recognition.
Fig. 1 is the scene according to scene where the system for detecting regulation violation based on Plate searching shown in embodiment of the present invention
Schematic diagram.
As shown in Figure 1, the system for detecting regulation violation based on Plate searching includes that stereo camera apparatus 1, L-type are perpendicular in the scene
Bar 2, solar energy sailboard 3, control babinet 4, protective layer 5 and ground 6.
Wherein, for placing stereo camera apparatus 1 and red eye, amber lamp and blue on L-type montant 2
Signal lamp, solar energy sailboard 3 are also disposed on L-type montant 2, and control babinet 4 is located on ground 6, in protective layer 5, controls babinet 4
Interior includes the field controls equipment such as Signalized control equipment.
System for detecting regulation violation according to embodiments of the present invention based on Plate searching includes following equipment:
Signalized control equipment, for red eye, amber lamp and the indigo plant at the front of traffic intersection
Chrominance signal lamp carries out switch control;
Wherein, the Signalized control equipment is additionally operable to the color for the signal lamp that output current time is shown.
Then, continue to carry out further the concrete structure of the system for detecting regulation violation based on Plate searching of the present invention
It is bright.
In the system for detecting regulation violation based on Plate searching, further include:
Peccancy detection starting device is connect with the Signalized control equipment, for being shown in the current time received
The color of signal lamp when being red or yellow, control stereo camera apparatus enters starting state;
Wherein, the color that the peccancy detection starting device is additionally operable to the signal lamp shown in the current time received is
When blue, control stereo camera apparatus enters power down mode.
In the system for detecting regulation violation based on Plate searching, further include:
Stereo camera apparatus is arranged in the front of traffic intersection, is connect with the peccancy detection starting device, including take the photograph
As header sequence, parameter extraction equipment, motor control apparatus and data output apparatus, carried out for the traffic areas to traffic intersection
Stereoscopic shooting;
The camera shooting header sequence includes vertically disposed two cameras, for being shot to respective field range, with
Top field-of-view image and lower section field-of-view image are obtained respectively;
The parameter extraction equipment and two cameras of the camera shooting header sequence are separately connected, for receiving the top
Field-of-view image and the lower section field-of-view image, and the center subgraph in the top field-of-view image is obtained, and it is based on middle center
Image finds the similar subgraph picture of matching content in the lower section field-of-view image, by the central pixel point in the subgraph of center to phase
Like subgraph central pixel point coordinate shift as regarding between the top field-of-view image and the lower section field-of-view image
Difference;
The motor control apparatus is connect with the camera shooting header sequence and the parameter extraction equipment respectively, for being based on institute
Stating parallax determines the main target shot in the top field-of-view image or the lower section field-of-view image apart from the camera sequence
The distance of row, and based on it is described apart from drive motor to realize the focus adjustment to described two cameras;
The data output apparatus is connect with the motor control apparatus and the camera shooting header sequence, in the motor
After control device completes focus adjustment, described two cameras are obtained to top field-of-view image respectively and lower section field-of-view image carries out
The splicing of identical content duplicate removal is to obtain and export traffic areas image;
Hole-filling equipment is connect with the data output apparatus, for receiving the traffic areas image, and to described
Each cavity in the image of traffic areas is detected, and is realized and is filled up behaviour to each cavity in the traffic areas image
Make, processing image is filled up after filling up operation to obtain and export;Wherein, to each cavity in the traffic areas image
Filling up operation includes:It is each included by the pixel value progressive determination cavity based on the pixel beside each cavity
The pixel value of pixel;
Silhouettes detection equipment is connect with the hole-filling equipment, for receive it is described fill up processing image, to described
The contour line filled up in processing image is detected multiple subgraphs that obtain multiple contour lines, the multiple contour line is surrounded
As being exported as pending subgraph;
Gray processing processing equipment, for receiving the multiple pending subgraph, to the multiple pending subgraph point
Not Zhi Hang gray processing processing, to obtain and export multiple gray processing subgraphs;
Average value extraction equipment is connect with the gray processing processing equipment, for receiving the multiple gray processing subgraph,
And the average gray value of each gray level image is determined based on the gray value of each pixel in each gray processing subgraph;
Pixel number detection device is connect with the gray processing processing equipment, for receiving the multiple gray processing subgraph,
And determine that the sum of the pixel in each gray processing subgraph is exported using the pixel number as each gray processing subgraph;
Deviation Analysis equipment is connect respectively with the average value extraction equipment and the pixel number detection device, for connecing
The pixel number of the average gray value and each gray processing subgraph of each gray processing subgraph is received, and to each gray processing
Subgraph executes following processing:Determine that the gray value of each pixel in gray processing subgraph deviates its average gray value
Deviation value, the deviation value is the numerical value more than or equal to zero, by the deviation value of each pixel in the gray processing subgraph
It is added to obtain total deviation value of the gray processing subgraph, by total deviation value of the gray processing subgraph divided by the gray scale
The pixel number of beggar's image is to obtain the deviation average of the gray processing subgraph;
Vehicle window extraction equipment is connect with the Deviation Analysis equipment, and the deviation for receiving each gray processing subgraph is flat
The deviation average of each gray processing subgraph is compared by mean value, in the deviation average for taking each gray processing subgraph
The corresponding gray processing subgraph of deviation average of numerical value minimum is exported as vehicle window subgraph;
Plate searching equipment is connect respectively with the silhouettes detection equipment and the vehicle window extraction equipment, for receiving
The vehicle window subgraph and it is described fill up processing image, based on the vehicle window subgraph it is described fill up processing image in it is opposite
Search car plate correspondence in processing image is filled up in the position of the corresponding front window of car plate in position and benchmark car body profile described
Part using as car plate subgraph export;
Car license recognition equipment is connect with the Plate searching equipment, for receiving the car plate subgraph, and is based on OCR
Recognition mode executes Text region to the car plate subgraph, to obtain and export the corresponding number-plate number;
Violation information sending device is connect with the car license recognition equipment, for receiving the number-plate number, and will be described
The number-plate number sends jointly to neighbouring traffic control Operation Server with current time;
Wherein, the silhouettes detection equipment is detected the contour line filled up in processing image multiple to obtain
Contour line includes:The folder filled up and handled in image and vertically or horizontally is only included in the multiple contour lines obtained
Angle is less than or equal to the contour line of predetermined angle.
In the system for detecting regulation violation based on Plate searching:
The violation information sending device be tdd communication apparatus, 3G communication equipments, cdma communication equipment and
One kind in GPRS communication equipments.
In the system for detecting regulation violation based on Plate searching, further include:
Timing device is arranged in the stereo camera apparatus side, for exporting current time.
In the system for detecting regulation violation based on Plate searching:
The timing device is connect with the violation information sending device, for the current time to be sent to described disobey
Chapter information transmitting apparatus.
In the system for detecting regulation violation based on Plate searching:
The hole-filling equipment includes data receipt unit, empty detection unit, hole-filling unit and data output
Unit.
In the system for detecting regulation violation based on Plate searching:
The data receipt unit is connect with the data output apparatus, for receiving the traffic areas image;
The cavity detection unit is connect with the data receipt unit, for each in the traffic areas image
Cavity is detected;
The hole-filling unit is connect with the empty detection unit, for realizing in the traffic areas image
Operation is filled up in each cavity;
And the data outputting unit is connect with the hole-filling unit, for obtain and export fill up operation after
Fill up processing image.
In addition, time division duplex is a kind of duplex mode of communication system, be used to detach in mobile communication system receive and
Transmit channel.Mobile communication positive third generation development at present, China have submitted 3G (Third Generation) Moblie standard grass in June, 1997
Case (TD-SCDMA), the characteristics such as tdd mode and smart antenna new technology are greatly prized by and at three main candidate standards
One of.Fdd mode rules all the land in the first generation and second generation mobile communication system, and tdd mode does not draw attention.But due to
Many advantages of the needs of new business and the development of new technology and tdd mode, tdd mode will be paid more and more attention.
The operation principle of time division duplex is as follows:TDD is a kind of duplex mode of communication system, is used in mobile communication system
It is received and transmission channel (or uplink downlink) in separation.It is received in the mobile communication system of tdd mode and transmission is same
The different time-gap of frequency channels, that is, carrier wave detaches reception and transmission channel with the time is ensured;And the mobile communication system of fdd mode
The reception and transmission of system are to detach reception and transmission channel with frequency range is ensured on two symmetrical frequency channels of separation.
It is different using the mobile communication system feature of different dual-modes with benefit is communicated.The movement of tdd mode is logical
The same frequency of uplink and downlink channel in letter system, thus the reciprocity with uplink and downlink channel, this is logical to the movement of tdd mode
Letter system brings many advantages.
In tdd mode, in uplink and downlink the transmission of information can be carried out in same carrier frequency, i.e.,
The transmission of information is realized by the time-division on same carrier wave in the transmission of information and downlink in uplink.
System for detecting regulation violation using the present invention based on Plate searching, for the figure of vehicles peccancy car plate in the prior art
As the excessive technical problem in identification search range obtains the vehicle window position in shooting image by the grey value profile situation of vehicle window
It sets, and then determines car plate position, and the corresponding number-plate number is determined based on the image section of car plate, to reduce the figure of car plate
As search range, solves above-mentioned technical problem.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, every content without departing from technical solution of the present invention is right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.