Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this
Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention,
And the scope of protection of the present invention is not limited.
It is shown in Figure 1, it is the flow diagram of the image pickup method of video conference in one embodiment of the invention.The implementation
The image pickup method of video conference in example, comprising the following steps:
Step S101: by the first camera and second camera respectively to the target area where video conference target person
Domain is shot, and obtains the first shooting picture and the second shooting picture respectively;
Step S102: the face face of the target person in the first shooting picture and the second shooting picture is known respectively
Not, obtain the first shooting picture in target person the first face facial area area value and the second shooting picture in target person
The area value of second face facial area of object;
Step S103: the area value of the area value and the second face facial area that judge the first face facial area respectively is
It is no to be greater than preset value, if the area value of the first face facial area is greater than preset value and the area value of the second face facial area is small
In preset value, it is determined that the first shooting picture is picture to be shown;If the area value of the first face facial area is less than preset value
And second face facial area area value be greater than preset value, it is determined that the second shooting picture be picture to be shown.
In the present embodiment, by the first camera and second camera respectively to the mesh where video conference target person
Mark region is shot, and obtains the first shooting picture and the second shooting picture respectively, obtains the first shooting picture and the second shooting
The area value of the face facial area of target person in picture, and the first shooting is determined according to the area value of face facial area
Picture or the second shooting picture are picture to be shown.Picture to be shown is shown in the display device of video conference, can be seen
To the figure and face of target person, even if target person moves in the target area, bat can be eliminated by two cameras
The blind area taken the photograph can see the figure and facial expression of target person by switching camera in the shooting picture of display.
Preferably, the shooting of video conference can be primarily directed to the target area where target person, target person
Meeting speaker, for meeting speaker between electronic whiteboard and dais position, target area can be electronic whiteboard and dais
Region between position;
Preferably, by opencv (open source computer vision library) technology in the first shooting picture and the second shooting picture
The face face of target person identified that opencv technology can be applied to carry out recognition of face in picture respectively, it is quasi-
Really analyze and obtain the various information of the face face of personage in picture;
Preferably, preset value set according to facial expression is seen.
In one of the embodiments, in the area value and the second face facial area for judging the first face facial area respectively
It is further comprising the steps of after the step of whether area value in domain is greater than preset value:
If the area value of the area value of the first face facial area and the second face facial area is all larger than preset value, compare
The area value of more the first face facial area and the second face facial area determines that the biggish shooting picture of area value is to be shown
Picture.
In the present embodiment, the first shooting picture or the second shooting picture are being determined according to the area value of face facial area
When face is picture to be shown, if the area value of the area value of the first face facial area and the second face facial area is all larger than
Preset value, just the area value of more the first face facial area and the second face facial area, selects wherein face facial area
The biggish shooting picture of area value, the facial expression of the target person in such picture to be shown can seem be more clear with it is rich
It is rich.
Passing through the first camera and second camera to where video conference target person in one of the embodiments,
Target area the step of being shot before it is further comprising the steps of:
The target area where video conference target person is shot by third camera, third is obtained and shoots picture
Face;
Obtain the position of target person in third shooting picture, the first distance value of calculating position and the first camera and
The second distance value of position and second camera;
The step of whether area value of the first face facial area and the second face facial area is greater than preset value judged
It is further comprising the steps of later:
If the area value of the area value of the first face facial area and the second face facial area is respectively less than preset value, compare
Compared with the size of first distance value and second distance value, if first distance value is greater than second distance value, it is determined that the first shooting picture
For picture to be shown;If first distance value is less than second distance value, it is determined that the second shooting picture is picture to be shown.
In the present embodiment, setting third camera is shot, and for obtaining the position of target person, and then can be obtained
Target person is at a distance from the first camera and target person is at a distance from second camera;In the first face facial area
Area value and the area value of the second face facial area when being respectively less than preset value, it is meant that whether the first camera or
The picture of two cameras shooting, can not all clearly show that the facial expression of target person, but need completely to show mesh as far as possible at this time
The figure of personage is marked, therefore selects the picture of the farther away camera shooting of distance objective personage, can see entire target as far as possible
Personage.
The position of general first camera and second camera is can be pre-determined, in the position for calculating target person
When with the first distance value of the first camera and with the second distance value of second camera, as long as true by third shooting picture
Set the goal the position of personage, so that it may first distance value and second distance value be calculated.
It further include in one of the embodiments, following after determining the step of the first shooting picture is picture to be shown
Step:
Standby mode is set by second camera;
It is further comprising the steps of after determining the step of the second shooting picture is picture to be shown:
Standby mode is set by the first camera.
In the present embodiment, after the shooting picture for selecting one of camera, by another camera be set as to
Machine mode, it is possible to reduce energy consumption avoids the wasting of resources.
It in one of the embodiments, further include following step after the step of setting standby mode for second camera
It is rapid:
Whether the area value of the first face facial area of target person is greater than default in the first shooting picture of real-time judge
Value, if the area value of the first face facial area of target person is less than preset value in the first shooting picture, by the second camera shooting
Head is set as screening-mode, is back to through the first camera and second camera respectively to where video conference target person
The step of target area is shot;
It is further comprising the steps of after the step of setting standby mode for the first camera:
Whether the area value of the second face facial area of target person is greater than default in the second shooting picture of real-time judge
Value, if the area value of the second face facial area of target person is less than preset value in the second shooting picture, by the first camera shooting
Head is set as screening-mode, is back to through the first camera and second camera respectively to where video conference target person
The step of target area is shot.
In the present embodiment, after the shooting picture for determining a camera is picture to be shown, another camera is set
After being set to standby mode, needs to carry out real-time judge to the shooting picture shown, judge the face of target person in picture
Whether the area value of facial area is less than preset value, if so, the picture of possible another camera shooting more meets the requirements, because
This can set shooting state for another camera being in standby, and select again the shooting picture of camera
It selects, determines the shooting picture for being best suitable for requirement.
It further include in one of the embodiments, following after determining the step of the first shooting picture is picture to be shown
Step:
Standby mode is set by second camera, after preset time, sets screening-mode for second camera,
It is back to and the target area where video conference target person is shot respectively by the first camera and second camera
The step of;
It is further comprising the steps of after determining the step of the second shooting picture is picture to be shown:
Standby mode is set by the first camera, after preset time, sets screening-mode for the first camera,
It is back to and the target area where video conference target person is shot respectively by the first camera and second camera
The step of.
In the present embodiment, by preset time, shooting state is set by the camera being in standby, it is again right
The shooting picture of camera is selected, and determines the shooting picture for being best suitable for requirement.Preset time, which can according to need, freely to be set
It is fixed.
When the area value of the first face facial area and the area value of the second face facial area are respectively less than preset value, root
The shooting picture that two cameras are selected according to the size of first distance value and second distance value, due to target person movement or
It is the rotation on head, the area value of face facial area in the shooting picture of selection may be made to be less than or greater than preset value, this
Shi Wufa is according to the area value of face facial area in the shooting picture of selection to determine whether needing that standby mode will be in
Camera is set as screening-mode, therefore can set a preset time, by preset time, takes the photograph what is be in standby
As head is set as shooting state.
The first camera and second camera are separately positioned on the two sides of target area in one of the embodiments,.
In the present embodiment, the first camera and second camera can be set in the symmetrical position of the two sides of target area
It sets, target area is shot respectively, mutually eliminate the blind area of shooting.
Preferably, the symmetric position of the two sides in front of dais can be set in the first camera and second camera.
The top of target area is arranged in third camera in one of the embodiments,.
In the present embodiment, third camera is shot above target area, it is easier to from the picture of shooting
Determine the location of target person.
Preferably, third camera can be set in the top of electronic whiteboard.
In a specific embodiment, as shown in Fig. 2, area of the target area between electronic whiteboard and dais position
Domain, target person are meeting speaker, and meeting speaker is between electronic whiteboard and dais position, the first camera and second
Camera is separately positioned on the symmetric position of two sides in front of dais, and the top of electronic whiteboard, camera is arranged in third camera
Angular field of view be generally 110 ° or so, the fan-shaped region that can be constituted according to dais size with angular field of view and height
It to determine the shooting angle of third camera, generally requires and tilts down certain angle, the first camera and second camera are clapped
It takes the photograph angle and is generally level, as long as the target person in target area can be taken.
According to the image pickup method of above-mentioned video conference, the present invention also provides a kind of camera systems of video conference, below
The embodiment of the camera system of video conference of the invention is described in detail.
It is shown in Figure 3, it is the structural schematic diagram of the camera system of video conference in one embodiment of the invention.The implementation
The camera system of video conference in example includes with lower unit:
First shooting unit 210, for passing through the first camera and second camera respectively to video conference target person
The target area at place is shot, and obtains the first shooting picture and the second shooting picture respectively;
Recognition unit 220, for the face face part to the target person in the first shooting picture and the second shooting picture
It is not identified, obtains the area value and the second shooting picture of the first face facial area of target person in the first shooting picture
The area value of second face facial area of middle target person;
Execution unit 230 is judged, for judging area value and the second face facial area of the first face facial area respectively
Whether the area value in domain is greater than preset value;It is greater than preset value and the second face facial area in the area value of the first face facial area
When the area value in domain is less than preset value, determine that the first shooting picture is picture to be shown;In the area of the first face facial area
When value is greater than preset value less than the area value of preset value and the second face facial area, determine that the second shooting picture is picture to be shown
Face.
In one of the embodiments, as shown in figure 4, the camera system of video conference further includes second shooting unit 240,
For shooting by third camera to the target area where video conference target person, third shooting picture is obtained;
Position calculation unit 250, for obtaining the position of target person in third shooting picture, calculating position is taken the photograph with first
As the second distance value of the first distance value of head and position and second camera;
Judge that execution unit 230 is also used to the face of the area value and the second face facial area in the first face facial area
When product value is respectively less than preset value, compare the size of first distance value and second distance value, if first distance value is greater than second distance
Value, it is determined that the first shooting picture is picture to be shown;If first distance value is less than second distance value, it is determined that the second shooting picture
Face is picture to be shown.
The camera system of video conference of the invention and the image pickup method of video conference of the invention correspond, above-mentioned
Technical characteristic and its advantages that the embodiment of the image pickup method of video conference illustrates are suitable for the shooting system of video conference
In the embodiment of system.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.