The content of the invention
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, also performs Text region, to obtain and export corresponding license plate number based on OCR recognition modes to the car plate subgraph
Code, fast search and identification so as to fulfill vehicles peccancy car plate.
More specifically, the present invention at least has the important inventive point of following four:
(1) identified by high-precision vehicle window, obtain 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
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, so as to utilize car
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, so as 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 two-dimentional pending image 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, there is provided a kind of system for detecting regulation violation based on Plate searching, the system comprises:
Signalized control equipment, for the red eye at the front to traffic intersection, amber lamp and indigo plant
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 connected with the Signalized control equipment, for being shown in the current time received
Signal lamp color for red or yellow when, control stereo camera apparatus enters starting state, and the peccancy detection startup is set
When the color of the standby signal lamp for being additionally operable to show in the current time received is blueness, control stereo camera apparatus enters power saving
State;
Stereo camera apparatus, is arranged on the front of traffic intersection, is connected with the peccancy detection starting device, including take the photograph
As header sequence, parameter extraction equipment, motor control apparatus and data output apparatus, for the traffic areas progress to traffic intersection
Stereoscopic shooting;
The 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 connected 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 empty is filled up behaviour to each in the traffic areas image
Make, processing image is filled up after filling up operation to obtain and export;Wherein, to each empty in the traffic areas image
Filling up operation includes:It is each included by the progressive definite cavity of pixel value based on the pixel beside each cavity
The pixel value of pixel;
Silhouettes detection equipment, is connected 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 to obtain multiple contour lines, multiple subgraphs that the multiple contour line is surrounded
As being exported as pending subgraph.
Embodiment
The embodiment of the system for detecting regulation violation based on Plate searching of the present invention is carried out in detail below with reference to accompanying drawings
Explanation.
Vehicle window, i.e. car window, are the important components of whole vehicle body, be in order to meet in-car 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
Connect.Sealing strip plays sealing and cushioning effect, to prevent because vehicle body stress makes window frame to damage windscreen when deforming.
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, so as to reduce search range.However, lack such technical solution in the prior art.
In order to overcome above-mentioned deficiency, the present invention has built a kind of system for detecting regulation violation based on Plate searching, can use for reference
The car plate position of vehicles peccancy is positioned for the position of vehicle window and OCR identifications, so as to improve the efficiency and speed of Car license recognition.
Fig. 1 is the scene of the place of the system for detecting regulation violation based on the Plate searching scene according to embodiment of the present invention
Schematic diagram.
As shown in Figure 1, the system for detecting regulation violation based on Plate searching includes stereo camera apparatus 1 in the scene, L-type is erected
Bar 2, solar energy sailboard 3, control babinet 4, protective layer 5 and ground 6.
Wherein, it is used to place stereo camera apparatus 1 and red eye, amber lamp and blueness 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
It is interior including the field control 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 the red eye at the front to traffic intersection, amber lamp and indigo plant
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 connected with the Signalized control equipment, for being shown in the current time received
Signal lamp color for red or yellow when, control stereo camera apparatus enters starting state;
Wherein, the color for the signal lamp that the peccancy detection starting device is additionally operable to show 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 on the front of traffic intersection, is connected with the peccancy detection starting device, including take the photograph
As header sequence, parameter extraction equipment, motor control apparatus and data output apparatus, for the traffic areas progress to traffic intersection
Stereoscopic shooting;
The 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 is connected respectively with two cameras of the shooting header sequence, 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 connected with the shooting header sequence and the parameter extraction equipment respectively, for based on institute
Main target that parallax determines to shoot in the top field-of-view image or the lower section field-of-view image is stated 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 connected with the motor control apparatus and the shooting header sequence, in the motor
After control device completes focus adjustment, described two cameras are obtained into 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 connected 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 empty is filled up behaviour to each in the traffic areas image
Make, processing image is filled up after filling up operation to obtain and export;Wherein, to each empty in the traffic areas image
Filling up operation includes:It is each included by the progressive definite cavity of pixel value based on the pixel beside each cavity
The pixel value of pixel;
Silhouettes detection equipment, is connected 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 to obtain multiple contour lines, multiple subgraphs that 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 connected with the gray processing processing equipment, for receiving the multiple gray processing subgraph,
And the gray value based on each pixel in each gray processing subgraph determines the average gray value of each gray level image;
Pixel number detection device, is connected 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 connected with the average value extraction equipment and the pixel number detection device, for connecing respectively
The average gray value of each gray processing subgraph and the pixel number of each gray processing subgraph are received, and to each gray processing
Subgraph performs 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 connected with the Deviation Analysis equipment, and the deviation for receiving each gray processing subgraph is put down
Average, the deviation average of each gray processing subgraph is compared, 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 connected with the silhouettes detection equipment and the vehicle window extraction equipment, for receiving respectively
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
The position of the corresponding front window of car plate in position and benchmark car body profile, car plate correspondence is searched in described fill up in processing image
Part using be used as car plate subgraph output;
Car license recognition equipment, is connected with the Plate searching equipment, for receiving the car plate subgraph, and is based on OCR
Recognition mode performs Text region to the car plate subgraph, to obtain and export the corresponding number-plate number;
Violation information sending device, is connected with the car license recognition equipment, for receiving the number-plate number, and by described in
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 for 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 on the stereo camera apparatus side, for exporting current time.
In the system for detecting regulation violation based on Plate searching:
The timing device is connected 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 connected with the data output apparatus, for receiving the traffic areas image;
The cavity detection unit is connected with the data receipt unit, for each in the traffic areas image
Cavity is detected;
The hole-filling unit is connected with the empty detection unit, is used for realization in the traffic areas image
It is each empty to fill up operation;
And the data outputting unit is connected 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 separate in mobile communication system receive and
Transmit channel.Positive third generation development, China have submitted 3G (Third Generation) Moblie standard grass in June, 1997 to mobile communication at present
Case (TD-SCDMA), the characteristic such as its tdd mode and smart antenna new technology are greatly prized by and into 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
The needs of new business and the development of new technology, and many advantages of 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
Received and transmission channel (or uplink downlink) in separation.Received in the mobile communication system of tdd mode and transmission is same
The different time-gap of frequency channels, that is, carrier wave, reception and transmission channel are separated with the time is ensured;And the mobile communication system of fdd mode
The reception and transmission of system are on separated two symmetrical frequency channels, and reception and transmission channel are separated with frequency range is ensured.
It is different using the mobile communication system feature and communication benefit of different dual-modes.The movement of tdd mode is led to
The same frequency of uplink and downlink channel in letter system, thus the reciprocity with uplink and downlink channel, this leads 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 to be realized on same carrier wave by the time-division 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, by the grey value profile situation of vehicle window, the vehicle window position in shooting image is obtained
Put, and then determine car plate position, and the image section based on car plate determines the corresponding number-plate number, so as to reduce the figure of car plate
As search range, solves above-mentioned technical problem.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all 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 change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.