The objective of the invention is, method with a kind of artificial intelligence moves and blocks high light with the position of light proof image region automatic tracking intense light source selectively, overcome the deficiency that existing apparatus is difficult to eliminate fully, up hill and dale glare effect, making chaufeur face high light can turn a blind eye to, for easily driving and reduce the sound assurance that provides of traffic accident.
With reference to Fig. 2 External view, the present invention is made up of from LCDs 3, adjustment button (4,5,6,7,8) hollow adapter shaft 1, anti-dazzle device shell 2, camera 9, Single Chip Microcomputer (SCM) system, the black of transparency carrier.
With reference to Fig. 1 block diagram of system, opposite real-time image data by the collection of CCD camera are sent into Single Chip Microcomputer (SCM) system, after program is discerned the high light zone in the image, obtain the two-dimensional coordinate data of target area, after the process correction of artificial adjustment data, generate new graphic display desired parameters, the suitable circular image of position display also just in time shelters from the path of intense light source to human eye on liquid crystal display in view of the above.Angular detection is meant in the anti-dazzle device shell angular transducer is housed, and can automatic energized start working when anti-dazzle device forwards certain angle to respect to adapter shaft, and the adapter shaft that is used for fixing anti-dazzle device is hollow that power lead is from passing therebetween.
Block high light light patch schematic diagram with reference to Fig. 3, when intense light source 1 when axis 5,6 shines human eye 3,4, two circular black patterns 7,8 of program output just in time are on the axis of light tunnel because the region blocks of figure 7,8 passing through of light, therefore do not have and dazzle the eyes phenomenon to produce.When intense light source 1 moved, program can generate the new figure 7,8 that blocks according to the new coordinate position of intense light source 1.Block figure 7,8 and constantly move, be in all the time on the line 5,6 of people's eyes 3,4 and intense light source 1.This is a kind of dynamic real-time " solar total eclipse " effect that realizes with the method for artificial intelligence, and to each target that will block, program can generate two figures automatically to cooperate the observation place of left and right two eyes.
With reference to Fig. 4 parameter correction result scheme drawing, when chaufeur uses when of the present invention for the first time because individual difference, can cause human eye eye-distance, eye high, with the distance of anti-dazzle device, the different sensivitys of photic stimuli etc., display error appears.Among Fig. 41 is liquid crystal display, 2 among Fig. 4 (when watching) with a certain eyes be program generate when the artificial parameter adjustment block figure.Among Fig. 43 is positions of intense light source, and 4 among Fig. 4 is the desirable positions of blocking.At this moment,, just can make 2 among Fig. 4 to the right, move down again, arrive 4 position as long as press button 6 and 7 among Fig. 2.Program can be noted the parameter of artificial adjustment, is used for generating automatically the parameter correction program when blocking figure.
With reference to Fig. 5 main program flow chart, the pattern recognition subprogram finishes that identification, location, the radius of intense light source is isoparametric to be determined.Through the calculating of parameter revision program, generate for the required parameter of the output new figure of demonstration.Behind the data handing of finishing a frame, the image on the liquid crystal display is refreshed, and restarts to handle new frame image data above program is returned then.
With reference to Fig. 6 pattern recognition subroutine flow chart, program is carried out the sharpening processing to the every frame image data that obtain earlier, to obtain more succinct binary map.The threshold value that sharpening is handled is given by button by chaufeur.Threshold value is low, is included in the set that must block having more more weak light source; The threshold value height with the irradiation of most of low-intensity light source of ignoring, is only taked the measure of blocking to the minority intense light source.Threshold value is handled in suitable given sharpening, can obtain satisfied occlusion effect.
By rim detection, can delineate out the outline line of target, the target pattern that can carry out next step is in view of the above judged and is determined real target and obtains parameters such as the quantity of target, the center of circle, radius.In fact, each car that the opposite is come all has two car lights, thus intense light source in case occur, Cheng Shuan often, program all use identical method processing to single light source with the light source group.
With reference to Fig. 2 External view, press circular key 5 continuously, can select the function that will adjust in order, program can the whole parameter of recorder's wage adjustment also be used for generating automatically the parameter correction program when blocking figure.Upwards button 4 and downward button 7 also are that numerical value is to high or low adjustment key simultaneously.When the artificial input data, corresponding prompt can show that in the lower right of liquid crystal display 3 temporary lighting be arranged during demonstration, shows after stopping to import 5 seconds to disappear.Manually the parameter that can intervene is:
1. sharpening threshold value is adjusted, and is the selection that the will control program according to chaufeur blocks the light source needs more than a certain intensity.
2. light transmittance adjustment, the figure that blocks of generation can local printing opacity, the concealed light effect that formation can be controlled.
3. the left eye location is adjusted, and provides the left eye location parameter to program.
4. the right eye location is adjusted, and provides the right eye location parameter to program.
5. block the radius adjustment, select to block figure and the intense light source area ratio that is blocked.
The present invention is in the real-time image gatherer process of constantly conversion, program finish in order each frame identification, artificial setup parameter correction, generate a series of tasks such as new coordinate parameters, output demonstration, the pixel of transparent liquid crystal screen appropriate location is lighted partially, reach the effect that stops that light passes through, realized blocking in real time, dynamically, selectively the light patch of intense light source.Equipped automobile of the present invention, can accomplish carefree driving at night, the irritating phenomenon of dazzling the eyes is thoroughly eradicated, and can significantly improve the generation of moving velocity and minimizing traffic accident.