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 be an alarm point, as long as the alarm people presses the alarm button alarm voice and alarm people's image also can be selected output, if in the video camera angular field of view be 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 in accordance with the 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 several grid junior units, this grid junior unit is take a window or monitoring objective as unit, and in the peripheral one to one any shape virtual warning lines of laying of each grid junior unit;
(3) the shooting robot is grasped and is occurred in the virtual warning lines behind the abnormal object abnormal object being stored from the automatic feature of motion tracking, candid photograph, selecting device by the external trigger vision signal selects the abnormal object 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 the automatic upper and lower, left and right of video camera after abnormal object occurring in the virtual warning lines and rotate, and furthers, zooms out signal by dsp processor to one of camera focus control end simultaneously and adjust best focus position.
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 abnormal object of particular location of grid junior unit enters.
External trigger video signal selector of the present invention only has the output of one tunnel vision signal and one road video control signal.
External trigger video signal selector input of the present invention has also allowed 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 the abnormal object signal being selected output; Video camera and DSP image processor connect and compose shooting and the DSP image is processed all-in-one; This video camera and DSP image are processed all-in-one and 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 the Switching Power Supply for the whole system power supply.
Video frequency object tracking of the present invention is selected output system, and its formation comprises: video camera, be used for rotating The Cloud Terrace, DSP image processor and the external trigger video signal selector of video camera; Video camera is fixed on and can rotates on the The Cloud Terrace and process all-in-one be electrically connected to form shooting, cloud platform rotation and DSP image of DSP image processor; This shooting, cloud platform rotation and DSP image are processed all-in-one and are connected with the external trigger video signal selector by holding wire.
Corresponding each grid cell of DSP image processor, internal memory six control parameters, 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 has a different set of 6 control parameters, 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 be an alarm point, as long as pressing alarm button alarm voice and alarm people's image, the alarm people also can select 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.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 automatically control, when video camera is divided into numerous junior unit to the environment of target zone with the grid mode when monitoring target, when having human body target movable in some junior units, video camera can be in the motion tracking junior unit target, 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 automatically finish whole feature process.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 goes to pounce on by six groups of given control times of parameter and catches 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, only be example take 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.Although 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 simultaneously a plurality of targets and automatic feature target.Especially can not recognize burglary person and the people of normal activity within doors.The present invention has just in time overcome above deficiency, that a plurality of targets can from the system that motion tracking, automatic feature, selection output, candid photograph store, can satisfy the real intelligent demand of current safe city monitoring and alarming system engineering fully 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 existing approximate matrix device.Selector of the present invention can be embedded into front end, selects first to transmit afterwards, saves a large amount of transfer resources.
Embodiment
A kind of video target tracking selection output method, implement in accordance with the 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 several grid junior units, this grid junior unit is take a window or monitoring objective as unit, and in the peripheral one to one any shape virtual warning lines of laying of each grid junior unit; 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) automatic feature was carried out in aiming to abnormal object, candid photograph is stored after the shooting robot was grasped and occurred abnormal object in the virtual warning lines, selecting device by the external trigger vision signal selects the abnormal object 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 the automatic upper and lower, left and right of video camera after abnormal object occurring in the virtual warning lines and rotate, and furthers, zooms out signal by dsp processor to one of camera focus control end simultaneously and adjust best focus position.
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 abnormal object enters.
External trigger video signal selector of the present invention only has 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 successively output.
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 is fixed on and can rotates on the The Cloud Terrace of video camera and process all-in-one be electrically connected to form shooting, The Cloud Terrace and DSP image of DSP image processor; This shooting, The Cloud Terrace and DSP image are processed all-in-one and 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 the Switching Power Supply for the whole system power supply.
The DSP image processor comprises: video/audio signal input, A main circuit and the successively connections 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 parameters, 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 has a different set of 6 control parameters, 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 be an alarm point, as long as the alarm people presses the alarm button alarm voice and alarm people's 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 (the corresponding window of each grid or door).The video virtual warning lines is set around each grid, X Y be coordinate line, x-ray above for the video camera vertical angle rotate on the occasion of, the following negative value for the rotation of video camera vertical angle of x-ray; The Y line take the right side as the video camera level angle rotate on the occasion of, the Y line is the negative value that the video camera level angle rotates take a left side.X-ray 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 two above targets occur simultaneously, video camera can automatically also in seconds reach feature purpose and transmission, capture and store according to target appearance order automatic aiming target.
Shown in Figure 2, camera lens arrives distance between each grid, and 1 (fine line among Fig. 2) is the focal length piano wire, chain-dotted line (dotted line centered by 2, video camera is apart from the datum line of picture central point), 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 is (to be zero point from the video camera reset position, datum mark) begins to count, such as, want feature G10 grid junior unit, 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 first zero point 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 first the video camera reset position, 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 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 has different cloud platform rotation time and needed time of focal length imaging, just can judge in which grid according to different specific cloud platform rotation time 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 the locking of dynamic object Mesh tracking or Mesh 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 the band The Cloud Terrace or not be with The Cloud Terrace and ball machine etc., all can be used as the video monitoring image collecting device, mainly can carry out the grid feature to suspicious object in the angular field of view, also feature not, 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 be connected several partial circuits with the focal length video control signal and connect successively, connect warning line on the image analysis processing circuit demonstration and video/audio signal output circuit, interconnection network port output circuit on the control system circuit are set.It has following 6 functions: 1, video input and A D conversion; 2, store each grid cell cloud platform rotation 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 video camera to six groups of time parameters of 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, the any type of dummy line such as strip line, the position that arranges 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 consists of: 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 implementing circuit figure of external trigger video signal selector.But be not limited only to this circuit, the input of every realization multichannel and only have 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 only has 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 is output as blue screen when inputting without control signal, when being arranged, one tunnel control signal just exports one road video, when being arranged, two path control signal with regard to the touring output of two-path video, just multi-channel video is gone the rounds output when multi-way control signals is arranged.
External trigger video signal selector operation principle as shown in Figure 4:
When a 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 by giving 1 level of analog switch after MCU single-chip microcomputer (central processing unit) partition, 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 rear to 0 level of analog switch by MCU single-chip microcomputer (central processing unit) partition, this moment, the pattern pulse signal can't be exported.
When buffer circuit is the above high level input 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, in 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.