Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, be a kind of terminal equipment camera that the embodiment of the present invention one provides, described camera comprises housing 1, camera lens 2, lens holders 4, horizontal motor 5, microphone array 7 and audio frequency and video processing unit 8,
Described camera lens 2, lens holders 4 and horizontal motor 5 are contained in described housing 1, and the region (marking region shown in A in figure) that described housing corresponds to camera lens is transparent region;
Described horizontal motor 5, is connected to moveable lens holders 4 by horizontal motor connecting portion 50;
Described camera lens 2, is connected to moveable lens holders 4 by camera lens connecting portion 20.
Described microphone array 7, is electrically connected with audio frequency and video processing unit 8, and the targeted voice signal of collection is sent to audio frequency and video processing unit 8, carries out orientation to make audio frequency and video processing unit 8 pairs of targets;
Described camera lens 2, is electrically connected with audio frequency and video processing unit 8, gathers the target image of oriented target and is sent to audio frequency and video processing unit 8, positions to make audio frequency and video processing unit 8 pairs of targets.
The position relationship shown between all parts just exemplary in Fig. 1, such as, can adjust audio frequency and video processing unit installation site within the case 1 as required.
Above-mentioned audio frequency and video processing unit 8 pairs of targets carry out orientation, determine the general location direction of target, and audio frequency and video processing unit 8 can adopt time delay to estimate mode, arrives the position, direction of the time delay determination target of each microphone according to targeted voice signal.
When accurately locating target (as determined the position of face), audio frequency and video processing unit can adopt Moving Target Tracking Algorithm and Face datection algorithm to confirm the position of target cranial.
Above-mentioned transparent region A can be formed by the transparent material on housing, or, formed by the perforation on housing.
After horizontal motor 5 starts, horizontal motor connecting portion 50 drives lens holders 4 to move, and the movement of lens holders 4 can make camera lens connecting portion 20 move, and camera lens 2 is moved, thus reaches the effect of adjustment camera angle.In the present embodiment, horizontal motor drives lens holders (left and right directions) movement in the horizontal direction, and the camera angle adjusted is mainly horizontal camera angle.
The embodiment of the present invention is by arranging moveable lens holders, horizontal motor and camera lens are connected to lens holders respectively, and after utilizing microphone array and audio frequency and video processing unit to carry out orientation to target, camera lens and audio frequency and video processing unit is utilized to carry out pinpoint technological means to target, can by lens holders moving lens after horizontal motor is started, change the camera angle of camera lens, and, the change of auto-acquire position can be realized, realize the automatic adjustment of camera angle, thus improve photographic effect, convenient for users, enhance Consumer's Experience.
For the ease of the technical scheme of the clear description embodiment of the present invention, in inventive embodiment, have employed the printed words such as " first ", " second " to distinguish the substantially identical identical entry of function and efficacy or similar item, it will be appreciated by those skilled in the art that the printed words such as " first ", " second " do not limit quantity and execution order.
Below a kind of terminal equipment camera that the embodiment of the present invention two provides is described.Be television set with terminal equipment in the present embodiment, camera is the scene of used as television camera is that example is described.
Described camera comprises housing, camera lens, lens holders and horizontal motor, and described camera lens, lens holders and horizontal motor are contained in described housing, and the region that described housing corresponds to camera lens is transparent region; Described horizontal motor, is connected to moveable lens holders by horizontal motor connecting portion; Described camera lens, is connected to moveable lens holders by camera lens connecting portion.
The present embodiment realizes camera angle adjustment in the horizontal direction by above-mentioned horizontal motor.
Further, described lens holders is gear, and described camera lens connecting portion is respectively arranged with the tooth corresponding with the gear as lens holders with on horizontal motor connecting portion.
Tooth on camera lens connecting portion is meshed with the gear as lens holders, thus camera lens and lens holders are linked together, tooth on horizontal motor connecting portion is meshed with the gear as lens holders, thus horizontal motor and lens holders are linked together.
Further, housing described in the present embodiment comprises the first housing section and the second housing section, is connected between described first housing section and the second housing section by shaft,
Described camera lens, lens holders and horizontal motor are contained in described first housing section;
The outer setting of described second housing section has housing coupling part, and described housing coupling part is connected with the guide rail arranged on the terminal device, and described housing coupling part is connected with the motor vertical connecting portion of set motor vertical.
See Fig. 2, show the structural representation of camera under raised configuration, first housing section 11 is positioned at the top at terminal equipment (television set) display screen top, and the second housing section 12 is fitted in display screen back, and the junction between the first housing section 11 and the second housing section 12 is shaft 13.
See Fig. 3, show the structural representation of camera under landing state, the first housing section 11 and the second housing section 12 are all fitted in display screen back.
The motor vertical that the present embodiment is arranged can make housing entirety move in vertical direction along guide rail, thus realizes rising and the decline of camera.This processing mode, when not using camera, camera can be retracted to the back of television set, ensure that the integrally-built compactedness of television set and aesthetic property on the one hand, on the other hand, avoid camera owing to giving prominence to the problem being easy at television set top damage, improve the fail safe of camera device.
Further, the present embodiment, by the adjustment of guide rail and the concrete size of housing, can make camera rise and after conforming to television set over top, continue to be moved upward, thus realize in vertical direction to the adjustment of camera angle, for user provides better shooting to experience and imaging effect.
Housing is set to the two-part structure of the first housing section and the second housing section by the present embodiment, and shaft has tension force, and after this tension force makes the housing of camera rise, the first housing section automatically can lean forward and conform to display screen top.This processing mode, adds the flexibility of camera structure, and camera and terminal equipment are fitted more, and overall structure is compacter, and profile is more attractive in appearance, and contributes to improving imaging effect.
In a kind of example, arrange torsion spring in shaft 13, when camera being risen by the tension force of torsion spring, the first housing section automatically leans forward and conforms to display screen top, and during camera landing, the first housing section is fitted in the back of display screen together with the second housing section.
In scene shown in Fig. 3, guide rail 7, motor vertical 6 are arranged on the side of housing, housing coupling part 14 is connected with the guide rail 7 be arranged on terminal equipment (display screen as terminal equipment), and described housing coupling part 14 is connected with the motor vertical connecting portion phase 60 of set motor vertical 6.Further, in order to ensure that camera can steadily be elevated in the present embodiment, be provided with two (or many) guide rails, and two housing coupling part are set on housing accordingly, such as, the position (as second housing section medianly zygomorphic position) symmetrical in the horizontal direction in the outside of the second housing section 12 is provided with two housing coupling part 14, and described two housing coupling part are connected with two guide rails arranged on the terminal device respectively.At this moment, a motor vertical can be utilized to move along corresponding guide rail respectively by driving multiple housing coupling part, or, also a motor vertical can be set for each housing coupling part.The position of motor vertical can be arranged on the side of housing, also can be arranged on the position at the middle part of corresponding housing, and as in Fig. 3, the position between P1 and P2, to make the lifting of camera more steady.
In the present embodiment, guide rail can be arranged on the left and right sides of housing, or being arranged on the position at middle part of corresponding housing, the position as shown in P1 and P2 in corresponding diagram 3 arranges a guide rail on a television set respectively, to ensure the steady of camera further in lifting process.At this moment, the position of set housing coupling part should correspond to the position of guide rail, is connected with the success of guide rail to make guarantee housing coupling part.
Exemplary, above-mentioned housing coupling part is gear, and described guide rail is respectively arranged with the tooth corresponding with the gear as housing coupling part with on described motor vertical connecting portion.Tooth on guide rail is meshed with the gear as housing coupling part, thus guide rail and housing coupling part is linked together, and the tooth on motor vertical connecting portion is meshed with the gear as housing coupling part, thus motor vertical and housing coupling part is linked together.
Camera is connected with guide rail by the housing coupling part on housing, and be connected with motor vertical, thus make camera be connected on the terminal equipment of main body in a kind of mode of Integral movable, realize the object of adjustment camera angle, and the accidental damage to camera can be prevented.
Be appreciated that, above-mentioned lens holders and housing coupling part also can be realized by other devices outside gear, such as, and rotating shaft etc., accordingly, the connected mode of lens holders and housing coupling part and miscellaneous part also can be different and change because of the concrete parts that realize.
From the above mentioned, in the present embodiment, horizontal motor, gear (lens holders) and camera lens form an organic whole.When horizontal motor starts, driven gear rotates, thus drives camera to move left and right, and realizes the object of the horizontal camera angle of adjustment; Motor vertical, gear (housing coupling part) and guide rail form an organic whole, and when motor vertical starts, driven gear is elevated along guide rail, realize the integrally-built lifting of camera.
The region that the present embodiment can also contact with television set (display screen as television set) at the housing of camera arranges a substrate, is convenient to installation and the slip of camera, makes camera more fit in television set.
The specific works mode of the embodiment of the present invention three pairs of terminal equipment cameras is described, the present embodiment for a kind of translator, the scene of the TV camera of adjustable camera angle is described.
TV camera in the present invention, with two motors, a horizontal motor and a motor vertical, it can according to the demand adjustment camera angle of user under the control of audio frequency and video processing unit.
Further, described camera comprises communication interface and audio frequency and video processing unit, one end of described communication interface is connected to terminal equipment, the other end of described communication interface is connected to audio frequency and video processing unit, and described audio frequency and video processing unit is connected with the motor drive ic of motor vertical with the motor drive ic of horizontal motor respectively.Described camera also comprises audio collection device (as microphone), and described audio collection device is connected to described audio frequency and video processing unit.
Motor vertical can make camera at not used time retraction television set back, keeps globality and the aesthetic property of television set; Rise in use, make a video recording for user, when needed, camera can be increased to the position that the over top of television set and top have certain intervals by motor vertical, to adjust the angle of vertical shooting.Horizontal motor is mainly used in the horizontal camera angle adjusting camera, obtains better imaging effect.
See Fig. 4, show the internal structure schematic diagram of camera.Be provided with camera lens in camera for gathering video image information, MIC(microphone) array for gathering audio-frequency information, audio frequency and video processing unit, motor and corresponding electrode drive chip, communication interface (television interface).
The horizontal motor adopted in the present embodiment and motor vertical are all a kind of stepping motor, and stepping motor belongs to a kind of induction machine, be its power supply, motor is normally worked by motor drive ic.
User can drive the motor on camera by the button on remote controller or TV, regulate the horizontal and vertical position of camera, concrete steps are as follows:
1: television set receives the signal instruction that user is sent by the button on the direction key of remote controller or television set.
2: signal instruction is sent to the audio frequency and video processing unit of camera by television set by television interface.
Signal instruction is sent to the communication interface (television interface) of camera by the television interface of television set, and signal instruction is sent to audio frequency and video processing unit by the communication interface of camera.
3: the audio frequency and video processing unit of camera, according to this signal instruction, produces and orders accordingly, send to corresponding motor drive ic.
4: motor drive ic drives corresponding motor, camera is vertically moved or horizontal adjustment.
Motor drive ic A drives horizontal motor A, after horizontal motor A starts, drives camera lens to move left and right; Motor drive ic B drives motor vertical B, after motor vertical B starts, drives camera lens vertically movement.
Above-mentioned steps 1 to 4 provides the terminal equipment camera of a kind of external command according to user adjustment camera angle, but, the present embodiment additionally provides one can the change of auto-acquire (as user) position, the terminal equipment camera of active accommodation camera camera angle, concrete process is as follows:
Dynamic tracing function is set in audio frequency and video processing unit, when needs adjust angle lens automatically, enable the dynamic tracing function of audio frequency and video processing unit, start the movement of automatic capturing user, according to the current location of user, the imaged viewing angle of active accommodation camera.
Main application scenarios of the present invention is that domestic TV interconnection network carries out video calling or video-game; Or office carries out video conference etc.Exemplary, the mode that the present embodiment adopts auditory localization to combine in conjunction with Face detection, determine the current location of user, first the approximate location direction (orientation) at user place is confirmed according to the sound of user, then determine the exact position of user at the Sounnd source direction of monitoring out, and adjust the imaged viewing angle of camera.
(1) auditory localization technology
Auditory localization technology based on microphone array is widely used in the voice communication environment with noisy background, as meeting-place, multi-media classroom etc., to improve speech quality.The basis that microphone array is listed in time domain and frequency domain adds a spatial domain, the voice signal from space different directions received is processed, the real-time tracking of speaker can be realized.In the present embodiment, as shown in Figure 3, arrange for be arranged side by side respectively between two 4 microphone array that microphone is formed and be described.
Adopt the method estimated based on time delay in the present embodiment, use microphone array to position sound source.Based on the method that time delay is estimated, the signal (targeted voice signal) sent due to sound source arrives the delay of each microphone life period, according to the dependency relation between each MIC channel signal, time delay is estimated, thus sound source position is estimated, confirm the position, direction of target.This method calculates very fast, can reach real-time requirement.The microphone array that the present embodiment adopts 4 MIC to form, can cover the camera angle of 150 °.
Optionally, the mode that microphone array also can be utilized to adopt directional beam to be formed positions sound source.Directional beam formation is a kind of form based on peak power output steerable beam method, the method carries out filter delay to the voice signal that microphone array receives and the wave beam of weighted sum formation particular orientation, then the beam energy that each points to is calculated, wherein, in search volume, prominent direction is exactly maximum approximate to of sound source position, using the direction of this direction as determined target.
(2) Face detection technology
The recognition of face of broad sense comprises a series of correlation techniques building face identification system, as man face image acquiring, Face detection, recognition of face preliminary treatment, identity validation and identity finder etc.Application scenarios of the present invention does not need to carry out final identity validation, only needs the position tracking face, and therefore the present embodiment adopts man face image acquiring, Face detection technology.
The related algorithm of Face detection mainly contains two classes: the method that algorithm, Face datection and target tracking algorism that based target is followed the tracks of combine.The Moving Target Tracking Algorithm that the algorithm that based target is followed the tracks of places one's entire reliance upon, finds out face, does not make full use of the feature of face, be therefore seldom used alone in face tracking from moving target.The method that Face detection and tracking algorithm combines is on based target track algorithm, utilizes the relevant information of face (such as the colour of skin, organ distribution etc.) to reach the object of following the tracks of fast.
Under the mode of the imaged viewing angle of automatic adjustment camera, main performing step is as follows:
A) camera rises to television set top, and camera is started working.
B) MIC array starts to catch sound, and camera lens starts to catch image.
Camera gets audio, video data by microphone array and camera lens, to ensure successfully to realize video calling.
C) audio frequency and video processing unit is by auditory localization technology, judges the general location of sound source.
When starting dynamic tracing function, when target (user) moves and causes sound source position to change, camera calculates the time delay that sound source (targeted voice signal) arrives each microphone, judges the general location of sound source, thus determines the position, direction of target.
D) audio frequency and video processing unit drives horizontal motor (and/or motor vertical), makes cam lens towards Sounnd source direction.
E) audio frequency and video processing unit is according to Face detection technology, determines the position of face.
The image of target on camera collection Sounnd source direction, adopts Moving Target Tracking Algorithm and Face datection algorithm to confirm the position of target cranial (being mainly people face), accurately to locate target.
F) audio frequency and video processing unit drives horizontal motor, finely tunes, make face in the center of image pickup scope to camera direction.
By above-mentioned steps A) to F) achieve the camera angle automatically adjusting camera.
The embodiment of the present invention four additionally provides a kind of implementation method of terminal equipment camera, and see Fig. 5, described method comprises:
51: arranged in the housing by the camera lens of camera, wherein, the region that described housing corresponds to camera lens is transparent region;
52: for described camera lens arranges camera lens connecting portion and moveable lens holders, and described camera lens connecting portion is connected to described lens holders;
53: horizontal motor is set in the housing, and the connecting portion of horizontal motor is connected to described lens holders, with after horizontal motor starts, by moving lens keeper, camera lens is moved.
54: when the object moves, the targeted voice signal of target is gathered by set microphone array, and utilize audio frequency and video processing unit to carry out orientation according to described targeted voice signal to target, such as, utilize audio frequency and video processing unit to adopt time delay to estimate mode, arrive the position, direction of the time delay determination target of each microphone according to targeted voice signal.
55: the target image being gathered directional aim by described camera lens, and utilize audio frequency and video processing unit to position described target according to described target image, such as, audio frequency and video processing unit is utilized to adopt Moving Target Tracking Algorithm and Face datection algorithm to confirm the position of target cranial, to position target.
56: utilize audio frequency and video processing unit to start horizontal motor, by horizontal motor by position extremely corresponding with located target for lens moving.
The present embodiment does not carry out considered critical to the execution order of above steps, such as, after also can being provided with lens holders in the housing, then arranges camera lens and horizontal motor.
Further, described housing comprises the first housing section and the second housing section, and be connected by shaft between described first housing section and the second housing section, be provided with torsion spring in described shaft, said method also comprises:
Described camera lens, lens holders and horizontal motor are contained in described first housing section;
At the outer setting housing coupling part of described second housing section, and described housing coupling part is connected with the guide rail arranged on the terminal device, and, described housing coupling part is connected with the motor vertical connecting portion of set motor vertical, with after described motor vertical starts, by mobile shell, camera lens is moved.
Further, described lens holders is gear, and described camera lens connecting portion with horizontal motor connecting portion arrange the tooth corresponding with the gear as lens holders respectively.
Further, the position symmetrical in the horizontal direction in the outside of described second housing section arranges two housing coupling part, and described two housing coupling part are connected with two guide rails arranged on the terminal device respectively.
Described housing coupling part is gear, and described guide rail is respectively arranged with the tooth corresponding with the gear as housing coupling part with on described motor vertical connecting portion.
Further, for described camera arranges communication interface and audio frequency and video processing unit, one end of described communication interface is connected to terminal equipment, and the other end of described communication interface is connected to audio frequency and video processing unit; Described audio frequency and video processing unit is connected with the motor drive ic of motor vertical with the motor drive ic of horizontal motor respectively.
In the inventive method embodiment, the concrete executive mode of each step can see the embodiment of equipment of the present invention.
From the above mentioned, the embodiment of the present invention is by arranging moveable lens holders, horizontal motor and camera lens are connected to lens holders respectively, and after utilizing microphone array and audio frequency and video processing unit to carry out orientation to target, camera lens and audio frequency and video processing unit is utilized to carry out pinpoint technological means to target, can by lens holders moving lens after horizontal motor is started, change the camera angle of camera lens, and, the change of auto-acquire position can be realized, realize the automatic adjustment of camera angle, thus improve photographic effect, convenient for users, enhance Consumer's Experience.
In the embodiment of the present invention, camera can vertical lift, can be user-friendly to, globality and the aesthetic property of terminal equipment (as television set) outward appearance can be kept when not using camera, also can prevent the accidental damage to camera simultaneously, and the horizontal adjustment of camera, then can adjust the camera angle of camera, provide user better to make a video recording and experience and imaging effect.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.