Summary of the invention
The object of the invention provides a kind of video frequency object tracking and selects output implementation method and automatic control system, to overcome the deficiencies in the prior art, a plurality of targets can be from motion tracking in the video camera angular field of view, automatic feature, select transmission, capture the system that stores, if in the video camera angular field of view is an alarm point, as long as the warning people presses the alarm button alarm voice and warning people image also can be selected output, if in the video camera angular field of view is people's face recognition system, the abnormal conditions that identify also can be selected output, satisfy the real intelligent demand of current safe city monitoring and alarming system engineering fully.
Realize a kind of video target tracking selection output method of above-mentioned purpose, it is to implement according to following steps:
(1) video camera and DSP image processor are connected as one output device as target monitoring and IMAQ, analyzing and processing, coordination control signal and picture signal;
(2) video camera angular field of view internal object is divided into the plurality of grids junior unit, this grid junior unit is a unit with a window or monitoring objective, and lays Any shape virtual warning lines one to one in each grid junior unit periphery;
(3) the shooting robot is grasped and is occurred in the virtual warning lines after the unusual target the automatic feature of unusual Automatic Target Tracking, candid photograph being stored, selecting device by the external trigger vision signal selects unusual echo signal and is input to the video image monitor and shows, the external trigger vision signal is selected device and is selected video control signal simultaneously, selects the input signal of device as cascade external trigger vision signal.
Connect the The Cloud Terrace that drives the video camera rotation in the video camera bottom, this The Cloud Terrace is grasped at the shooting robot and is driven video camera automatic upper and lower, left and right rotation in the virtual warning lines after the unusual target of appearance, furthers, zooms out signal adjustment best focus position for one at video camera focus control end by dsp processor simultaneously.
The present invention also can make video camera angular field of view internal object as a whole, is set to a grid big unit.
Angle value and focal length that the present invention rotates according to the video camera upper and lower, left and right further, zoom out door or window that six parameters determine that thereby the definite unusual target of particular location of grid junior unit enters.
External trigger video signal selector of the present invention has only the output of one tunnel vision signal and one road video control signal.
External trigger video signal selector input of the present invention also allows the above video control signal input of two-way, and selector output end can be exported touring alert signal automatically sequentially.
Realize the video frequency object tracking selection output system of said method, it comprises: video camera, DSP image processor and the external trigger video signal selector of unusual echo signal being selected output; Video camera and DSP image processor connect and compose shooting and DSP image processing all-in-one; This video camera and DSP image processing all-in-one are connected with the external trigger video signal selector by signal input line; The external trigger video signal selector is connected and composed successively by buffer circuit, sample circuit, central processing unit, analog switch, (shift register, status displays), counter connects sample circuit and central processing unit, and central processing unit is connected with the video output control switch; Wherein one tunnel being connected of DSP image processor control signal and external trigger video signal selector No. eight buffer circuits, one tunnel picture signal of DSP image processor wherein one the tunnel links with eight path analoging switch of external trigger video signal selector, also has to be whole system powered switch power supply.
Video frequency object tracking of the present invention is selected output system, and its formation comprises: video camera, the The Cloud Terrace that is used to rotate video camera, DSP image processor and external trigger video signal selector; Video camera is fixed on and can rotates on the The Cloud Terrace and rotate and DSP image processing all-in-one with the be electrically connected to form shooting, The Cloud Terrace of DSP image processor; This shooting, The Cloud Terrace rotate and DSP image processing all-in-one is connected with the external trigger video signal selector by holding wire.
Corresponding each grid cell of DSP image processor, internal memory six Control Parameter, i.e. The Cloud Terrace upper and lower, left and right rotational angle and the focal length data that further, zoom out.
The virtual warning lines of corresponding each grid cell of DSP image processor of the present invention all has a different set of 6 Control Parameter, i.e. The Cloud Terrace upper and lower, left and right rotational angle and the focal length data that further, zoom out.When the virtual warning lines of each grid cell of DSP image processor is touched, both can open corresponding Control Parameter, and reach the purpose of alert target close, this image feature signal is transferred to the input of external trigger video signal selector.
External trigger video signal selector of the present invention can multistage connection work.
If in the video camera angular field of view is an alarm point,, the warning people also can select output as long as pressing alarm button alarm voice and warning people's image.If be people's face identification control point in the video camera angular field of view, the abnormal conditions that identify also can be selected output.This system can accept warning again to target close, can also be to the identification of people's face blacklist, so long as alert is selected output surely.
The present invention utilizes video camera in gathering required object procedure, be embodied as feature fully and control automatically, when video camera is divided into numerous junior unit to the environment of target zone with the grid mode during in monitored object, when having human body target movable in some junior units, video camera can be from the target in the motion tracking junior unit, and the position of the feature that furthers, in the feature process, camera pan-tilt is left and right, rotate up and down and change focal length (further, zoom out) and focal time is coordinated to carry out simultaneously, in seconds can finish whole feature process automatically.When a plurality of goal activities occurring simultaneously in the video camera angular field of view, video camera can carry out automatic feature according to sequencing, and automatic feature to picture signal send into external trigger video signal selector (this selector can multistage connection use).Selecting the signal that needs by the selector device shows, reports to the police, stores.
The present invention be the target of any one position in the whole angular field of view of video camera can both realize feature purpose (as in 70 grids among Fig. 1 any one).As long as a certain individual or a plurality of people enter any one position of video camera angular field of view and pass through virtual warning lines, virtual warning lines will be given triggering signal of DSP image processor, processor will activate corresponding six groups of parameters of grid junior unit (level turns left and right, vertically rotates up and down, focal length imaging process further, zoom out the required time), at this moment video camera just by six groups of parameters the given control time go to pounce on and catch target, after the target of video camera in this grid junior unit of locking, video camera in seconds transmits, captures and stores.
Existing video camera in angular field of view, to follow the tracks of the some targets of feature all the very important person maybe to carry out the image segmentation collection and synthesize again and just can realize for carrying out sequence of operations.Under the environment of current safe city fast development, it only is example with the medium-sized city, the front end rig camera rises to up to ten thousand or hundreds of thousands by hundreds of, give video information transmission, show, browse, the pouncing on to catch and brought impassable technical bottleneck of alert information.Artificial browsing video picture and people are unrealistic already for operating feature.In order to adapt to the needs of current safe city technical precaution development, technological progress and intelligent innovation are the main paties that addresses this problem.Though the target following in the existing angular field of view in market can only be followed the tracks of the moving process of dynamic object, but can not follow the tracks of a plurality of targets and automatic feature target simultaneously.Especially can not recognize the burglary person and the people of normal activity within doors.The present invention has just in time overcome above deficiency, be that a plurality of targets can satisfy the real intelligent demand of current safe city monitoring and alarming system engineering fully from the system that motion tracking, automatic feature, selection output, candid photograph store in the brand-new video camera angular field of view.The choosing that it is outputting video signal that external trigger video signal selector of the present invention also has an outstanding feature is grasped by external control signal.Cost of the present invention only is 1/10th of an existing approximate matrix device.Selector of the present invention can be embedded into front end, selects afterwards to transmit earlier, saves a large amount of transfer resources.
Embodiment
A kind of video target tracking selection output method, implement according to following steps: (1) connects as one output device as target monitoring and IMAQ, analyzing and processing, coordination control signal and picture signal with video camera and DSP image processor; (2) video camera angular field of view internal object is divided into the plurality of grids junior unit, this grid junior unit is a unit with a window or monitoring objective, and lays Any shape virtual warning lines one to one in each grid junior unit periphery; When video camera is successively followed the tracks of the junior unit target, reduction point can be passed through in the path of following the tracks of, also can without reduction point (as among Fig. 1 by the through G10 of A1), (3) the shooting robot is grasped and is occurred in the virtual warning lines after the unusual target unusual aim target being carried out automatic feature, capturing storage, selecting device by the external trigger vision signal selects unusual echo signal and is input to video image monitor end, the external trigger vision signal is selected device and is selected video control signal simultaneously, selects the input signal of device as cascade external trigger vision signal.Connect the The Cloud Terrace that drives the video camera rotation in the video camera bottom, this The Cloud Terrace is grasped at the shooting robot and is driven video camera automatic upper and lower, left and right rotation in the virtual warning lines after the unusual target of appearance, furthers, zooms out signal adjustment best focus position for one at video camera focus control end by dsp processor simultaneously.
The present invention also can make video camera angular field of view internal object as a whole, is set to a grid big unit.
Angle value and focal length that the present invention rotates according to the video camera upper and lower, left and right further, zoom out window or door that six parameters determine that thereby the particular location of grid junior unit determines that unusual target enters.
External trigger video signal selector of the present invention has only the output of one tunnel vision signal and one road video control signal.External trigger video signal selector input of the present invention also can have the above video control signal input of two-way, and selector output end can be automatically by the touring play signal of output successively.
Realize the video frequency object tracking selection output system of said method, it comprises: be made of video camera, camera pan-tilt, DSP image processor and external trigger video signal selector; Video camera be fixed on can rotate on the The Cloud Terrace of video camera and with DSP image processor be electrically connected to form shooting, The Cloud Terrace and DSP image processing all-in-one; This shooting, The Cloud Terrace and DSP image processing all-in-one are connected with the external trigger video signal selector by holding wire; The external trigger video signal selector is connected and composed successively by buffer circuit, sample circuit, central processing unit, analog switch, shift register, status displays, counter connects sample circuit and central processing unit, and central processing unit is connected with the video output control switch; The DSP image processor is connected with buffer circuit 8 road image control signals wherein 1 the tunnel is input to the external trigger video signal selector, and video camera and 8 path analoging switch wherein 1 the tunnel are connected vision signal is input to the external trigger video signal selector; Other 7 road signals are provided by other 7 all-in-ones, also have to be whole system powered switch power supply.
The DSP image processor comprises: video/audio signal input, A main circuit and connections successively such as D conversion, image analysis processing, control system (automatically reseting), the output of The Cloud Terrace focal length video control signal, virtual warning lines setting, video/audio signal output, network port output.Corresponding each grid cell of DSP image processor, internal memory six Control Parameter, i.e. The Cloud Terrace upper and lower, left and right rotational angle and the focal length range data that furthers, zoom out.The virtual warning lines of corresponding each grid cell of DSP image processor of the present invention all has a different set of 6 Control Parameter, i.e. The Cloud Terrace upper and lower, left and right rotational angle and the focal length range data that furthers, zoom out.When the virtual warning lines of each grid cell of DSP image processor is touched, can open corresponding Control Parameter, reach the purpose of target close, this image feature signal send the external trigger video signal selector.The multistage connection work of external trigger video signal selector of the present invention.
If in the video camera angular field of view is an alarm point, as long as the warning people presses the alarm button alarm voice and warning people image also can be selected output.If be people's face identification control point in the video camera angular field of view, the abnormal conditions that identify also can be selected output.
Application example of the present invention is described as follows according to Fig. 1: amount to be divided into A1-A10---G1-G10 with grid configuration in the video camera angular field of view to 70 grids (corresponding window of each grid or door).The video virtual warning lines is set around each grid, X Y be coordinate line, the X line above for the video camera vertical angle rotate on the occasion of, the following negative value of X line for the rotation of video camera vertical angle; The Y line with the right side for the video camera level angle rotate on the occasion of, the Y line is the negative value that the video camera level angle rotates with a left side.X line and Y line center line angle are zero.Be not difficult to find out that from Fig. 1 70 unit grids all are feature points, such as target occurring at the G10 point, video camera meeting automatic aiming G10 target also in seconds reaches the feature purpose and transmits, captures storage.If occur two above targets simultaneously, video camera can also in seconds reach feature purpose and transmission, capture and store according to target appearance order automatic aiming target automatically.
Shown in Figure 2, camera lens arrives distance between each grid, and 1 (fine line among Fig. 2) is the focal length piano wire, and 2 are central point line (dotted line, video camera is apart from the datum line of picture central point), and 3 is video camera, The Cloud Terrace, DSP image processing all-in-one.This figure need to prove, camera lens is unequal apart from the distance of each grid, that is to say that it is unequal that video camera is wanted the needed time length of each grid junior unit internal object of feature, but the time course that calculates each grid cell all is (to be zero point from the video camera reset position, datum mark) begins to count, such as, want feature G10 grid junior unit, be to count the G10 central point from the reset position of video camera to finish, if want feature grid cell A1 at one time, the path of video camera is to reset to zero point earlier from G10, again from reduction point (zero point) to A1, that is to say, under any circumstance, during any one grid junior unit of feature, all must get back to the video camera reset position earlier, from reset position to feature grid junior unit central point, can certainly be from the through G10 grid junior unit of A1, each grid junior unit all corresponding the The Cloud Terrace time value of rotating up and down and the focal length time course that reaches optimum value, such as, G10 has the physical activity target, camera pan-tilt is 2.5 seconds to the horizontal direction rotation time, and the vertical rotation time is 2 seconds, and it is 1.8 seconds that focal length reaches the required time of optimum state.Like this, each grid junior unit all has different The Cloud Terrace rotation times and needed time of focal length imaging, just can judge in which grid according to different specific The Cloud Terrace rotation times and focal length imaging time alert to occur.
The present invention is divided into and is the two large divisions, comprises video frequency object tracking device and the external trigger video signal selector of realizing dynamic object grid tracking lock or grid tracking feature in the video camera angular field of view.
The video frequency object tracking device comprises video camera and The Cloud Terrace and DSP image processor.Video camera and The Cloud Terrace are common apparatus.Video camera can adopt band cloud platform or not band cloud platform and ball machine etc., all can be used as the video monitoring image collecting device, mainly can carry out the grid feature, also feature not suspicious object in the angular field of view, view picture picture output alarm is selected voluntarily according to user's request.
The function of DSP image processor is mainly described here.As shown in Figure 7, DSP image processor of the present invention comprises: video/audio signal input, A D conversion, image analysis processing, control system (automatically reseting), The Cloud Terrace export several partial circuits with the focal length video control signal and be connected successively, connect warning line on the image analysis processing circuit demonstration and video/audio signal output circuit are set, connect network port output circuit on the control system circuit.It has following 6 functions: 1, video input and A the D conversion; 2, storing each grid cell The Cloud Terrace rotates and the needed technical parameter of focal length imaging; 3, (Line 1 control The Cloud Terrace level turns right with 6 different control lines, No. 2 control The Cloud Terrace level turns left, No. 3 the control The Cloud Terrace rotates vertically upward, and No. 4 the control The Cloud Terrace rotates vertically downward, and No. 5 control focal length of camera zoom out control, No. 6 and control the focal length of camera control that furthers); 4, output video image signal and video image control signal; 5, the setting of virtual warning lines; 6, warning line triggers the six group time parameters of video camera to each grid.
The characteristics of video frequency object tracking device are: in the video monitoring angular field of view virtual warning lines is set, this dummy line can be arranged to quadrangle, polygon, circular, horizontal line, vertical line, chain-dotted line, any type of dummy line such as strip line, the position that is provided with can be in any one face or the space of building, also can be arranged on the place that to guard against any public place (on ground, in the greenery patches, waterborne, in the air, on the road, forest, the interior any position of building etc.), any object and people enter or touch dummy line and can open control switch and all alarm terminals, make video, sound is effectively exported.
As shown in Figure 4, the external trigger video signal selector constitutes: 1, buffer circuit; 2, sample circuit; 3, central processing unit; 4, analog switch; 5, shift register; 6, counter; 7, video control switch; 8, Switching Power Supply.Fig. 5 has provided an enforcement circuit diagram of external trigger video signal selector.But be not limited only to this circuit, the input of every realization multichannel and have only the video selector of one tunnel output all can realize the object of the invention all at the row of this patent protection.
The external trigger video selector is that useful picture is just triggered and exports, and internal trigger video matrix device can only be artificial make an inspection tour and browse by rule, there is not specific aim, the purpose of browsing is being sought alert, moreover the operator on duty wants the staring monitor that stares at, and unless you give your whole attention to it, alert will be lost or flash across, the external trigger video matrix has but solved above problem, is that optimal alert is selected the output matrix device.
The characteristics of external trigger video signal selector are: this selector has only one tunnel output, the multichannel input, this selector can unconfined cascade, the video output of selector relies on external control signal to trigger, the output of controlling selector by useful signal beyond the selector whether, selector was output as blue screen when no control signal was imported, when being arranged, one tunnel control signal just exports one road video, when being arranged, two path control signal, just multi-channel video is gone the rounds output when multi-way control signals is arranged with regard to the touring output of two-path video.
External trigger video signal selector operation principle as shown in Figure 4:
When high level signal of DSP image processor output, send into sample circuit by buffer circuit and carry out logic control, when sample circuit 1 pin is input as 0 level, 2 pin (being control end) are when being 1 level, 3 pin are output as 0 level, 2 pin are 1 level when 1 pin is input as 1 level, and 3 pin also are 1 level; When 1 pin is X (free position), when 2 pin were 0 level, 3 pin were Z (high resistant), suppose: 1 pin is 1 level, and 2 pin are 1 level, and 3 pin are 1 level, at this moment give one 1 level of analog switch by MCU single-chip microcomputer (central processing unit) partition back, pattern pulse signal output this moment.When: 1 pin is 0 level, and 2 pin are 1 level, and 3 pin are 0 level, and at this moment by giving one 0 level of analog switch by MCU single-chip microcomputer (central processing unit) partition back, this moment, the pattern pulse signal can't be exported.
When buffer circuit is the input of the above high level of two-way simultaneously, the MCU single-chip microcomputer is carried an intermittent pulse signal by counter to sample circuit, the effect of this pulse signal is only to allow one road input signal effective in moment, so just can guarantee the external trigger video selector under any circumstance, moment can only be selected the output of one tunnel vision signal, under the situation of multi-channel video signal input, multi-channel video signal shows in order successively, this selector can be designed to 8 the tunnel, also can be designed to 16 the tunnel, 24 the road or 48 the tunnel etc., when vision signal surpassed several thousand the tunnel, this machine can use by cascade (multistage connection), and the cascade level is unrestricted.External trigger video signal selector of the present invention is to rely on external triggering signal work.
Video frequency object tracking of the present invention selects output system, replaced the artificial alert video tour in control and command center fully and to the front-end camera operation of cruising.