Summary of the invention
In view of above content, be necessary to provide a kind of system that controls camera device, be applied in the monitoring host computer, this monitoring host computer connects a plurality of radio reception devices.This system comprises: the sound detecting module is used for controlling described a plurality of radio reception device the voice signal that produces in the specifically monitored zone is carried out detecting real-time, to obtain the voice signal in this guarded region; The sound source direction determination module inputs to a sound source direction transducer for the voice signal that each radio reception device is obtained and analyzes, and determines the direction of this voice signal in guarded region by this sound source direction transducer; And lens regulating module, be used for according to the direction of described voice signal at guarded region, sending controling instruction is to camera device, and the control camera device is adjusted the position of the camera lens of this camera device, to obtain the real-time imaging of described voice signal place direction.
Also be necessary to provide a kind of method of controlling camera device, be applied in the monitoring host computer, this monitoring host computer connects a plurality of radio reception devices.The method comprises: sound detecting step, and control described a plurality of radio reception device the voice signal that produces in the specifically monitored zone is carried out detecting real-time, to obtain the voice signal in this guarded region; The sound source direction determining step, the voice signal that each radio reception device is obtained inputs to a sound source direction transducer and analyzes, and determines the direction of this voice signal in guarded region by this sound source direction transducer; And camera lens set-up procedure, according to the direction of described voice signal in guarded region, sending controling instruction is to camera device, and the control camera device is adjusted the position of the camera lens of this camera device, to obtain the real-time imaging of described voice signal place direction.
Compared to prior art, the present invention controls the system and method for camera device, use the sound source direction transducer to confirm the sound source direction that monitoring scene is interior, then adjust the lens direction of camera device according to sound source direction, obtain the real-time imaging at described sound source position place, in time to discover the situation that occurs in the monitoring scene, improved the fail safe of imaging monitoring.
Embodiment
As shown in Figure 1, be the hardware schematic diagram of the present invention's system running environment of controlling camera device.The system 10(of this control camera device is hereinafter to be referred as "control system 10 ") be installed in the monitoring host computer 1.Monitoring host computer 1 is connected by the data wire electronics with a camera device 2, or connects by network service, to carry out imaging monitoring by 2 pairs of specific guarded regions of this camera device.In addition, this monitoring host computer 1 also is connected with a plurality ofradio reception devices 3, with the sound of detecting in guarded regions by these a plurality of radio reception devices 3.Thisradio reception device 3 can be microphone, and especially, thisradio reception device 3 has certain party tropism's uni-directional microphone for the sound collecting scope.
Described camera device 2 can be the PTZ camera device that patrols turntable camera device, fire ball camera device (SpeedDome) or have translation (Pan), inclination (Tilt), convergent-divergent (Zoom) function.This camera device 2 comprises that at least a driver (such as CD-ROM drive motor) or drive circuit move with the camera lens that drives this camera device 2, thereby adjusts the shooting direction of this camera device 2.
Described a plurality ofradio reception device 3 can be evenly distributed in the described guarded region, or is installed on the camera device 2, forms an array type audio signal reception device, so that the voice signal that any direction was produced in the described guarded region is detected.
Described monitoring host computer 1 comprises memory 11,processor 12, sound source direction transducer 13 and described control system 10.Thiscontrol system 10 comprisessound detecting module 101, sound sourcedirection determination module 102 and lens regulating module 103.Thiscontrol system 10 can be stored in the memory 11, and is controlled the execution of thesecontrol system 10 by processor 12.In the present embodiment, this monitoring host computer 1 can be the control appliances such as computer, server.
Describedsound detecting module 101 is used for controlling the voice signal that produces in 3 pairs of described guarded regions of described a plurality of radio reception device and carries out detecting real-time, to obtain the voice signal in this guarded region.
Described sound sourcedirection determination module 102 is used for that eachradio reception device 3 obtained voice signal is inputed to described sound source direction transducer 13 to be analyzed, and determines the direction of this voice signal in guarded region by this sound source direction transducer 13.
In the present embodiment, this sound source direction transducer 13 can carry out the identification of sound source direction according to describedradio reception device 3 collected voice signals, thereby determines the direction of the sound that produces in the guarded region.Particularly, this sound source direction transducer 13 can use the voltage amplitude comparison method that the direction of described voice signal is carried out identification.Also can utilizeradio reception device 3 obtained voice signals to do Fourier Tranform, or find out the time delay characteristic of eachradio reception device 3 with the spectrum energy of eachradio reception device 3, tell again the direction of this voice signal in conjunction with modes such as wave beam synthetic method, location algorithm, space average method or gyrator space laws.
The below does brief description as an example of the voltage amplitude comparison method example to the operation principle of sound source direction transducer 13.When guarded region had sound to produce, sound source direction transducer 13 was obtained the voice signal that eachradio reception device 3 detects.As shown in Figure 2, suppose that theradio reception device 3 that the present embodiment uses is the microphone of three single directional properties: MIC1, MIC2 and MIC3, when guarded region had sound to produce, these three microphones were obtained respectively one group of voice signal and are inputted sound source direction transducer 13.Then, this sound source direction transducer 13 all converts every group of voice signal to voltage signal.For example, the oscillogram of the voltage signal that converts to of the received voice signal of described MIC1, MIC2 and MIC3 is respectively shown in the V1 among Fig. 2, V2 and V3.Wherein, V1 represents voltage oscillogram corresponding to the received voice signal of MIC1, and V2 represents voltage oscillogram corresponding to the received voice signal of MIC2, and V3 represents voltage oscillogram corresponding to the received voice signal of MIC3.At last, the peak value of 13 more every groups of voltage signals of sound source direction transducer, the direction atradio reception device 3 places that the voltage signal of peak value maximum is corresponding is as the direction of described voice signal.In Fig. 2, the peak value of described voltage signal V1 is maximum, and the direction at so described MIC1 place is the direction of this voice signal.
Described lens regulatingmodule 103 is used for according to the direction of described voice signal at guarded region, send a control command to camera device 2, the position of the camera lens of 2 pairs of these camera devices 2 of control camera device is adjusted, to obtain the real-time imaging of described voice signal place direction.Particularly, when camera device 2 received control command, camera device 2 namely drove camera lens by built-in driver or drive circuit and moves, to reach the purpose of adjusting the lens shooting direction.
As shown in Figure 3, be the flow chart that the present invention controls the method preferred embodiment of camera device.
Step S01, the voice signal that produces in 3 pairs of described guarded regions of the describedsound detecting module 101 described a plurality of radio reception devices of control carries out detecting real-time, to obtain the voice signal that produces in this guarded region.
Step S02, described sound sourcedirection determination module 102 inputs to described sound source direction transducer 13 with eachradio reception device 3 obtained voice signal and analyzes, and determines the direction of this voice signal in guarded region by this sound source direction transducer 13.
Step S03, described lens regulatingmodule 103 is used for according to the direction of described voice signal at guarded region, sends a control command to camera device 2.
Step S04, described camera device 2 is adjusted the position of the camera lens of this camera device 2 according to the control command that receives, to obtain the real-time imaging of described voice signal place direction.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.