A kind of novel automatically collecting vehicle information system and method
Technical field
The present invention relates to image processing techniques and area of pattern recognition, particularly license plate recognition technology and traffic video image disposal system and method.
Background technology
Important role is playing the part of in the automatically collecting vehicle information system in traffic monitoring, traffic administration, social security, hit play a part aspect hypervelocity behavior and illegal activities, the fright offender important, can also be to escape vehicle, stolenly rob deploying to ensure effective monitoring and control of illegal activities of vehicle and other inspection vehicles, improve the safe driving environment greatly, serve the social security management simultaneously.
At present, the automatically collecting vehicle information system on the market adopts substantially: wagon detector-video camera-capture card-computing machine (industrial computer) structure, this structure need combine traffic video image processing and recognition system with general image equipment.There is following problem in this structure:
1, general, a capture card can only be connected with a video camera, has increased the cost of equipment;
2, traffic video image is handled and the operation of recognition system in computing machine (industrial computer), need take more computing machine (industrial computer) resource, is subjected to computing machine (industrial computer) performance limitations, has reduced the stability of system;
3, total system (comprising computing machine or industrial computer) is installed in outdoor, cause the stolen of industrial computer (computing machine) easily, outdoor environment complexity in addition: humidity, dust, roadside vibrations, high (low) temperature change, and have increased the failure rate of system, have reduced serviceable life;
4, relatively disperse owing to each check point of bayonet socket, the difficulty that administers and maintains of system equipment, maintenance cost height;
5, because traffic video image is handled and recognition system hardware, software need combine with common apparatus, cause complex structure, the cost costliness is installed trouble, and is difficult in maintenance;
6, adopt single wagon detector as the mode that detects vehicle, when wagon detector breaks down, influence system works;
7, Gate System is very high to the rate accuracy requirement, and the Vehicle Speed that adopts single speed-measuring method to obtain may produce abnormal data, causes the vehicle erroneous judgement of testing the speed.
Summary of the invention
Above-mentioned deficiency at existing automatically collecting vehicle information system, the method that the purpose of this invention is to provide a kind of system in conjunction with embedded processing and video auxiliary triggering, auxiliary velocity measuring technique, this system and method can be installed in front-end equipment on the road arbitrary cross-section, it is indoor that main control system is installed on far-end, by real-time Communication for Power, realize the intellectual monitoring and and the automatic record of information of vehicles of vehicle.
To achieve these goals, novel automatically collecting vehicle information system of the present invention comprises:
Outdoor equipment, described outdoor equipment comprises that further triggering control transformation device, imaging control module, described imaging control module comprise video camera and light filling lamp, described video camera links to each other with first output terminal of described triggering control transformation device, and described video camera links to each other with described light filling lamp;
Indoor main control system, comprise embedded integrated circuit board, industrial computer and multi-serial-port card, described embedded integrated circuit board is plugged in the PCI slot of described industrial computer, links to each other with described industrial computer by pci bus interface, and described multi-serial-port card links to each other with described industrial computer by pci bus interface;
Data communications equipment, the signal output part of video camera links to each other with the input end of described data communications equipment, described data communications equipment links to each other with described multi-serial-port card, first output terminal of described data communications equipment links to each other with the input end of embedded integrated circuit board, and described data communications equipment second output terminal links to each other with triggering control transformation device second input end.
In addition, a kind of novel automatically collecting vehicle information method of the present invention, described method comprises:
Step 1 obtains video signal, and described vision signal is carried out analog to digital conversion and image pre-service, and the operation video triggers and the video frequency speed-measuring algorithm, through out-of-date, provides the video trigger pip as vehicle, obtains the video frequency speed-measuring data of vehicle;
Step 2, the wagon detector of front end chamber external equipment detects vehicle, when car, provides trigger pip, and the outer wagon detector of front end chamber is to the vehicle acquisition measurement data that tests the speed simultaneously;
Step 3, check video trigger pip and vision signal described in the step 1, the described trigger pip that does not have the front end wagon detector to send if repeatedly receive described video trigger pip, then further judge whether contain information of vehicles in the described vision signal, if contain information of vehicles, illustrate that then the front end wagon detector is unusual, report to the police, and trigger the work of replacement front end wagon detector with video;
Step 4 is checked video frequency speed-measuring data described in the step 1, and the described measurement data that the front end wagon detector obtains is confirmed.
Adopt the characteristics of the present invention of technique scheme as follows:
What 1, the present invention adopted is the allocation plan of indoor host computer, and it is indoor just main control system to be arranged on far-end, both can concentrate to be positioned over command centre, also can be positioned over different alarm set points; Needed vision signal of system works and control signal directly by fiber optic from on-site transfer, trigger pip is superimposed in the vision signal to be transmitted, and has guaranteed that the real time data of Industrial Control Computer that far-end is indoor and front-end equipment is mutual;
2, industrial computer can be handled the data of the embedded integrated circuit board of polylith simultaneously, and an indoor main control system can be communicated by letter with a plurality of outdoor equipments simultaneously;
3, the embedded integrated circuit board of the present invention's employing, be inserted on the PCI slot of industrial computer, an integrated circuit board can be handled many camera video signals simultaneously, and entire work process is independent of industrial computer and finishes, need not to take the CPU time of industrial computer, handle later data and pass to industrial computer by pci bus;
4, the present invention adopts video to trigger as the auxiliary triggering mode, trigger under the situation that unusual or inefficacy occur when outdoor wagon detector, system can Rapid Alarm and replaces outdoor wagon detector to detect by Video Detection, vehicle by providing trigger pip and passing to outdoor imaging control module, is guaranteed system's free of discontinuities monitoring road operation conditions;
5, the present invention adopts the auxiliary mode that tests the speed that video frequency speed-measuring tests the speed as outdoor wagon detector, adopt single speed-measuring method, abnormal data may appear, this data are unacceptable as the overspeed of vehicle punishing justification, and the present invention adopts video frequency speed-measuring that the travel speed of overspeed violation vehicle is carried out once more independent affirmation;
6, the triggering control transformation device that adopts in the outdoor imaging control module of the present invention can be handled the multi-channel detector trigger pip simultaneously, and control multi-section video camera and the work of light filling lamp;
7, system from the image acquisition to the Flame Image Process, finish, data transmission to industrial computer altogether spended time be less than 200ms.
The invention has the advantages that:
1, performance:
(1) the present invention adopts indoor main control system, can guarantee the stable power-supplying of system, and this is the prerequisite of system's long-time steady operation; Simultaneously, indoor environment can provide suitable working environment, satisfies the industrial computer protection against the tide fully, and is shockproof, and the needs of anti-high (low) temperature guarantee system stable operation;
(2) among the present invention, work of treatment is independent of industrial computer to embedded integrated circuit board to video image, is not subjected to the influence of industrial computer performance and system software, guarantees that system works is stable; The embedded board cartoon is crossed pci bus and is communicated by letter with industrial computer, guarantees that communication in real time, fast;
(3) among the present invention, one is triggered the control transformation device and can be connected with multi-channel detector, also may command multi-section video camera and light filling lamp, the embedded integrated circuit board of each piece can be handled multi-channel video signal, every industrial computer again can with polylith card real-time Communication for Power, so indoor main control system can be handled the data of a plurality of detection bayonet sockets simultaneously, has improved the system handles performance greatly, has simplified system architecture;
(4) the present invention adopts video to trigger as the auxiliary triggering mode, guarantees the work of Gate System free of discontinuities, has improved the stability of system;
(5) adopt video frequency speed-measuring as the auxiliary mode that tests the speed, the appearance of thoroughly having stopped abnormal data.
2, benefit:
(1) the present invention adopts indoor main control system to make to the concentrated closed management of main control system and is configured as possibility, has significantly reduced user's maintenance cost;
(2) the present invention adopts indoor main control system, and the quantity of front-end equipment and volume are significantly reduced, and is easy to install, and is easy to solve problems such as antitheft, has reduced user's construction and maintenance cost;
(3) among the present invention, one is triggered the control transformation device and can be connected with multi-channel detector, also may command multi-section video camera and light filling lamp, the embedded integrated circuit board of each piece can be handled multi-channel video signal, each industrial computer again can with polylith card real-time Communication for Power, so indoor main control system can be handled the data of a plurality of detection bayonet sockets simultaneously, has reduced hardware quantity, has saved cost.
3, serviceable life: indoor environment can provide suitable working environment, satisfies the industrial computer protection against the tide fully, and is shockproof, and the needs of anti-high (low) temperature not only can guarantee system stable operation, the serviceable life of having improved system hardware greatly simultaneously;
4, safety and reliability:
(1) the present invention adopts indoor main control system to make to the concentrated closed management of main control system and is configured as possibility, has improved the reliability and the security of system;
(2) embedded integrated circuit board is inserted in the PCI slot or multi-serial-port card of industrial computer, is independent of industrial computer and carries out the traffic video image work of treatment, and installation and maintenance are simple, reliability is high;
(3) the present invention adopts video to trigger as the auxiliary triggering mode, guarantees the work of Gate System free of discontinuities, has improved the stability and the system reliability of system;
(4) adopt video frequency speed-measuring as the auxiliary mode that tests the speed, the appearance of having stopped abnormal data is guaranteed the Gate System testing result accurately and reliably.
Description of drawings
Below, with reference to accompanying drawing, for those skilled in the art that, from detailed description of the present invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Fig. 1 is the structured flowchart of embedded vehicle intelligent monitoring and recording system of the present invention;
Fig. 2 is the workflow diagram of embedded integrated circuit board.
Embodiment
See also shown in the accompanying drawing 1, embedded vehicle intelligent monitoring and recording system of the present invention is divided into two parts on the locus, and the one, outdoor equipment 10, the one, indoor main control system 20 has changed the traditional method that monitoring record device integral body all is in outdoor environment thus.Outdoor equipment 10 is gathered relevant information, offer and be in indoor main control system 20, the stable power-supplying and the work operation of main frame so both can have been guaranteed, indoor environment can provide suitable temperature, humidity simultaneously, can satisfy the needs of industrial computer protection against the tide, shockproof, anti-high low temperature fully, guarantee system stable operation.
Further investigate, outdoor equipment 10 comprises: wagon detector 11, imaging control module 12, wherein imaging control module 12 is made up of several portions such as triggering control transformation device 121, video camera 122 and light filling lamp 123.Usually, the output terminal of wagon detector 11 is electrically connected with the input end that triggers control transformation device 121, will have the trigger pip of vehicle process to send triggering control transformation device 121 to.The composition of indoor main control system 20 comprises embedded integrated circuit board 21, pci bus interface 22, multi-serial-port card 23 and industrial computer 24, and wherein embedded integrated circuit board 21 is inserted in the PCI slot of industrial computer 24, realizes and the communicating by letter of industrial computer 24 by pci bus interface 22.Be connected by data communications equipment 30 between outdoor equipment 10 and the indoor main control system 20 and carry out real-time Communication for Power.In addition, the output terminal of wagon detector 11 connects triggering control transformation device 121, and the control end of video camera 122 and light filling lamp 123 links to each other with the output terminal that triggers control transformation device 121; The input of the imaging control signal of the output terminal of wagon detector 11 and video camera 122 links to each other with the input end of data communications equipment 30, the output terminal of data communications equipment 30 links to each other with the input end of embedded integrated circuit board 21, data communications equipment 30 links to each other with multi-serial-port card 23, and data communications equipment 30 output terminals link to each other with the input end that triggers control transformation device 121.
Wherein, the present invention is applied in the urban transportation Gate System, with every two-way Four-Lane Road in unidirectional two tracks of road is example, at each road direction four video cameras 122 are installed, wherein one one is panoramic camera, two main stem video cameras, a panoramic camera, in each track two magnetic test coils are installed, are triggered control transformation device 121 and be connected with video camera 122 and data communications equipment 30 with coil checker.
Specify the course of work of the present invention below.The working condition of outdoor equipment 10 is divided into three aspects:
On the one hand, the outdoor wagon detector 11 that is arranged on the traffic block port front end detects has vehicle to come then, triggering control transformation device 121 to imaging control module 12 sends trigger pip, after triggering control transformation device 121 receives trigger pip, order imaging control module 12 is opened video camera 122 shutters, simultaneous camera 122 control light filling lamps 123 light fillings, obtain the vision signal through light filling lamp 123 light fillings, promptly video camera 122 enters video camera 122 in the auxiliary car plate vision signal that comprises license plate number that will travel the vehicle by traffic block port down of light filling lamp 123.Usually, one is triggered control transformation device 121 and can handle the trigger pip of multichannel wagon detector, control multi-section video camera and a plurality of light filling lamp simultaneously.
Second aspect, the vehicle image that 21 pairs of video cameras of embedded integrated circuit board 122 are taken is discerned processing, obtains license plate image, the number-plate number and car plate colouring information.
The third aspect, embedded integrated circuit board 21 is also followed the tracks of the vehicle that enters in video camera 122 visual fields, accurately calculate vehicle from enter the visual field to leave the visual field the distance and time of process, calculate the instantaneous velocity of vehicle ' at last, to verify the result that tests the speed of outdoor wagon detector.
Fourth aspect, each two field picture that 21 pairs of outdoor pick-up machines 122 of embedded integrated circuit board transmit carries out Video Detection, come then when having detected car, provide trigger pip, trigger with the outer wagon detector 11 of ancillary chamber, whether wagon detector 11 work unusual outside the sensing chamber, when outdoor wagon detector 11 operation irregularities, sends warning message and replace the triggering work that outdoor wagon detector detects vehicle.
Further introduce the course of work of the inventive method below again:
Outdoor equipment 10 with the result that tests the speed of vehicle checker, trigger trigger pip that control transformation device 121 obtains and send in the indoor main control system 20 by data communications equipment 30 by the vision signal that video camera 122 is caught.The vision signal of this trigger pip and video camera 122 is superimposed and passes on the embedded integrated circuit board 21 of the indoor main control system of far-end, and the result that tests the speed of vehicle checker passes on the industrial computer by multi-serial-port card 23.
The workflow of the embedded integrated circuit board 21 of indoor main control system is as shown in Figure 2, and is specific as follows:
Each frame video signal that step S101, video camera 122 catch is sent into the signaling interface of embedded integrated circuit board 21, and the trigger pip that front end vehicle checker 11 provides also passes to embedded integrated circuit board 21;
At step S102, vision signal is carried out analog to digital conversion and image pre-service, image is carried out contents such as denoising, edge treated, image binaryzation;
Step S113 generates the imaging control command to the picture signal of finishing dealing with according to its gray scale situation on the basis of step S102;
Step S103 after step S102, then moves video and triggers and the video frequency speed-measuring algorithm, and specifically, the video trigger process is that image is detected, and detects whether information of vehicles is arranged, and comes then when having detected car, provides the video trigger pip; The video frequency speed-measuring process is that the vehicle that enters in the camera field of view is followed the tracks of, accurately calculate vehicle from enter the visual field to leave the visual field the distance and time of process, calculate the video frequency speed-measuring data of vehicle at last;
Step S104, after step S103 finishes, whether the vehicle checker work of then judging front end is normal, specifically, as video trigger pip repeatedly and when not having the trigger pip that the front end vehicle checker provides, further judge to have or not information of vehicles in the video image, when information of vehicles, determine that the front end vehicle checker is unusual, this judgement vehicle checker abnormal work step can be finished in industrial computer also and can finish in embedded integrated circuit board;
Step S105 if judge among the step S104 that to draw the outer vehicle checker of front end chamber undesired, reports to the police, and video is triggered effectively, promptly trigger to replace the work of front end vehicle checker with video, as vehicle by the time provide the video trigger pip;
Step S106 checks then whether the video trigger pip is arranged after step S105 finishes, if do not have, get back to step S101;
Step 107 if judge among the step S106 that the video trigger pip is arranged, is carried out car plate identification;
Step S109 enters step S109 behind end step S107, the information such as the number-plate number, vehicle color and license plate image of being about to record in the database;
Step S108 judges that in step S104 vehicle checker is working properly, judges then whether the vision signal that video camera is sent into is superimposed with the trigger pip that vehicle checker sends, if there is not the trigger pip of stack, returns step S101; If the trigger pip of stack is arranged, showing has vehicle to pass through, and enters the step S110 of ensuing video frequency speed-measuring checking simultaneously and changes the car plate identification of step S107 over to;
Step S110, when among the step S108 if the trigger pip of stack being arranged, enter step S110, judge that whether front end tests the speed the result above certain threshold speed (this threshold speed is determined according to different rto requests), if do not outpace threshold value, show that Vehicle Speed is normal, then change step S109 over to, be about to relevant data and record in the database;
Whether step S111 if the judgement among the step S110 surpasses threshold value, shows overspeed of vehicle, unusual according to the result verification front end measurement data of video frequency speed-measuring again?
Step S112 when the judgement of step S111 is normal, promptly is denoted as over-speed vehicles;
Step S113, unusual when being judged as of step S111, will not handle as over-speed vehicles.
In addition, each two field picture that 21 pairs of video cameras of embedded integrated circuit board of the present invention transmit detects, and comes then to provide trigger pip when having detected car; Meanwhile, integrated circuit board 21 is also followed the tracks of the vehicle that enters in the camera field of view by video technique, accurately calculate vehicle from enter the visual field to leave the visual field the distance and time of process, calculate the instantaneous velocity of vehicle ' at last.
Indoor main control system 20 of the present invention also adopts the trigger pip of the outer wagon detector 11 of video trigger pip ancillary chamber, whether the work of wagon detector 11 is unusual outside the sensing chamber, when receiving repeatedly that the video trigger pip obtains license board information simultaneously and when not receiving outdoor wagon detector 11 trigger pips, think outdoor detecting device 11 operation irregularities, by Video Detection replace outdoor detecting device 11 detect whether have vehicle by, send trigger pip to outdoor imaging control module 12, the warning message of outdoor wagon detector 11 operation irregularities is provided simultaneously.
In addition, the vehicle speed data that outdoor wagon detector 11 obtains passes on the multi-serial-port card 23 of indoor main control system 20, passes to industrial computer 24 by serial ports 23 then, passes to embedded integrated circuit board 21 by industrial computer 24 when needing.Above-mentioned measurement data checking adopts video frequency speed-measuring that the measurement data result who obtains from outdoor wagon detector 11 is confirmed, the generation of control wagon detector 11 unusual measurement datas.
Above-mentioned trigger pip detects and the measurement data checking can also can be realized by embedded integrated circuit board 21 by industrial computer 24.
The front provides the description to preferred embodiment, so that any technician in this area can use or utilize the present invention.Various modifications to these embodiment are conspicuous to those skilled in the art, can be applied to other embodiment to total principle described here and not use creativeness.Thereby, the embodiment shown in the present invention will be not limited to here, and the wide region of principle that should disclose and new feature according to meeting here.