CN109151309A - A kind of method for controlling rotation of camera, device, equipment and storage medium - Google Patents
A kind of method for controlling rotation of camera, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109151309A CN109151309A CN201811013958.9A CN201811013958A CN109151309A CN 109151309 A CN109151309 A CN 109151309A CN 201811013958 A CN201811013958 A CN 201811013958A CN 109151309 A CN109151309 A CN 109151309A
- Authority
- CN
- China
- Prior art keywords
- face
- camera
- calling user
- facial image
- rotation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Analysis (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of method for controlling rotation of camera, comprising: in video call process, obtains the identity characteristic information of calling user;According to identity characteristic information, the determining velocity of rotation with the matched camera of calling user;Obtain the facial image of the setting quantity for the calling user that camera captures in setting time section;If face's number of revolutions that the calling user that adjacent facial image determines in the facial image of setting quantity occurs in setting time section is less than frequency threshold value, facial image is opened at first facial image and end in catcher's face image in setting time section for acquisition;According to first facial image and end facial image, face's rotational parameters are determined;According to velocity of rotation and face's rotational parameters, controls camera and rotated.The embodiment of the present invention meets individual demand of the user in video call process, improves the video tastes of user, avoid user face rotate frequently it is uncomfortable to video calling another party user bring.
Description
Technical field
The present embodiments relate to control technology field more particularly to a kind of method for controlling rotation of camera, device, set
Standby and storage medium.
Background technique
In recent years, with the rapid development of science and technology, video calling has become the primary communications skill linked up between men
Art, and camera is one of essential equipment in video call process, carries out control to the rotation of camera and has become
Meet a part of users ' individualized requirement in video calling.
In prior art, user information is confirmed generally by face identification system to the motion control of camera,
In face's rotation of user, with the face turned position of certain speed tracking user.Wherein, tracking velocity mainly uses
One preset constant tracking velocity.
Requirement with user to video calling is constantly promoted, and prior art is no longer satisfied the demand of user,
Personalized user experience cannot be provided.
Summary of the invention
The present invention provides method for controlling rotation, device, equipment and the storage medium of a kind of camera, to meet calling user
Individual demand in video call process improves the video tastes effect of calling user.
In a first aspect, the embodiment of the invention provides a kind of method for controlling rotation of camera, comprising:
In video call process, the identity characteristic information of calling user is obtained;
According to the identity characteristic information, the determining velocity of rotation with the matched camera of the calling user;
If at least two facial images corresponding with the calling user determine according to the camera real-time capture
Face's rotation has occurred in the calling user, then obtains face's rotational parameters of the calling user, face's rotational parameters
It include: rotation direction and rotational angle;
According to the velocity of rotation and face's rotational parameters, controls the camera and rotated.
Second aspect, the embodiment of the invention also provides a kind of control device for pivoting of camera, comprising:
Data obtaining module, for obtaining the identity characteristic information of calling user in video call process;
Speed determination module, for according to the identity characteristic information, the determining and matched camera of the calling user
Velocity of rotation;
Parameter acquisition module, if for according to the camera real-time capture, it is corresponding with the calling user extremely
Few two facial images determine that face's rotation has occurred in the calling user, then obtain face's rotation ginseng of the calling user
Number, face's rotational parameters include: rotation direction and rotational angle;
Control module is rotated, for controlling the camera according to the velocity of rotation and face's rotational parameters
It is rotated.
The third aspect, the embodiment of the invention also provides a kind of equipment, comprising:
One or more processors;
Storage device, for storing one or more programs;
Camera executes rotation process for obtaining the human face image information of calling user;
Radio reception device, for obtaining the voice messaging of calling user;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the method for controlling rotation for the camera that any embodiment of that present invention provides.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the method for controlling rotation for the camera that any embodiment of that present invention provides when the program is executed by processor.
The technical solution of the embodiment of the present invention determines the rotation of camera by the identity characteristic information according to calling user
Speed determines the face's rotation direction and angle of calling user according to the facial image of at least two calling users, to control
Camera processed is rotated, solve camera velocity of rotation it is constant caused by tracking it is asynchronous, realize and meet different identity
Demand of the user of feature to camera rotation speed, and improve the video tastes effect of call another party user.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for controlling rotation for camera that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the method for controlling rotation of camera provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the method for controlling rotation for camera that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram of the control device for pivoting for camera that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the method for controlling rotation for camera that the embodiment of the present invention one provides, and the present embodiment can
The case where carrying out video calling suitable for user, this method can be executed by the control device for pivoting of camera, which can
With by hardware and/or software sharing, and generally can integrate can be used for carrying out video calling various terminal device (for example,
Mobile phone, tablet computer or video calling robot) in, which needs and can within a certain angle horizontally or vertically
The camera of rotation is used cooperatively, to realize that the rotation to the camera controls, wherein the camera can be with the terminal device
It is integrally formed setting, outside appurtenances is can also be used as and is applied in combination with the terminal device.
The method of the present embodiment specifically comprises the following steps:
Step 110, in video call process, obtain the identity characteristic information of calling user.
Wherein, video calling is the voice of real-time transmission people and the communication mode of image between a kind of terminal device, terminal
Equipment includes mobile device and fixed device, such as smart phone and desktop computer, is equipped with camera and receipts on terminal device
Sound device, for obtaining the image and voice information of calling user.
The identity characteristic information of calling user is information relevant to the identity attribute of calling user, including but not limited to year
The information such as age attribute, gender attribute and personality attribute (lively type and style of introversion).
In the present embodiment, the mode for obtaining the identity characteristic information of calling user can be with are as follows: by the calling user
The mode for carrying out recognition of face or Application on Voiceprint Recognition, obtains the identity characteristic information of the calling user;Or it is logical by this
Words user logs in the login name inputted when video calling software, and between the login name pre-established and identity characteristic information
Corresponding relationship obtains the identity characteristic information of calling user;Or the calling user is directly acquired in video calling software
Input interface in from primary input or the identity characteristic information of selection etc., the present embodiment is to this and is not limited.
Step 120, according to identity characteristic information, the determining velocity of rotation with the matched camera of calling user.
Wherein, the mapping relations between the identity characteristic information of calling user and the velocity of rotation of camera are a kind of preparatory
The mapping relations of setting.
If step 130, according to camera real-time capture, at least two facial images corresponding with calling user are determined
Face's rotation has occurred in calling user, then obtains face's rotational parameters of calling user, face's rotational parameters include: rotation direction
And rotational angle.
In general, video calling class software needs to adjust the direction of camera according to the face location of calling user
It is whole, to guarantee that the face of calling user is in the center of camera always, ensure that the face of calling user begins in this way
It is in the center of video screen eventually.Therefore, it is necessary to face's rotational parameters of calling user, determine the rotation shape of camera
Formula.
Wherein, compare at least two adjacent or non-conterminous facial images to the mobile relevant information of face,
If changed to the mobile relevant information of face, it is determined that face's rotation has occurred in calling user, from currently at least two
Face's rotational parameters of calling user are obtained in facial image.When determining calling user at least two non-conterminous facial images
Face's rotational parameters when, can remove calling user between at least two non-conterminous facial images frequent face rotation.
Step 140, according to velocity of rotation and face's rotational parameters, control camera and rotated.
Wherein, the velocity of rotation for determining camera and the camera determined by face's rotational parameters rotation direction and
After rotational angle, control camera is rotated.
The technical solution of the present embodiment determines the velocity of rotation of camera by the identity characteristic information according to calling user,
The face's rotation direction and angle that calling user is determined according to the facial image of at least two calling users, to control camera shooting
Head is rotated, and is solved the problems, such as that the constant caused tracking of camera velocity of rotation is nonsynchronous, is realized and meet different identity
Demand of the user of feature to camera rotation speed, and improve the video tastes effect of call another party user.
Embodiment two
Fig. 2 is a kind of flow chart of the method for controlling rotation of camera provided by Embodiment 2 of the present invention, and the present embodiment exists
Further refined on the basis of a upper embodiment, if provided according to camera real-time capture, it is corresponding with calling user extremely
Few two facial images determine that face's rotation has occurred in calling user, then obtain the specific reality of face's rotational parameters of calling user
Apply step.A kind of method for controlling rotation of camera provided by Embodiment 2 of the present invention is illustrated below with reference to Fig. 2, including
Following steps:
Step 210, in video call process, obtain the identity characteristic information of calling user.
Step 220, according to identity characteristic information, the determining velocity of rotation with the matched camera of calling user.
Step 230 obtains what camera captured in setting time section, the people of setting quantity corresponding with calling user
Face image.
Wherein, the setting quantity of facial image is the image number transmitted with setting time section and camera each second
Related numerical value, such as presetting time interval is 2 seconds, camera each second transmits 30 pictures, then facial image is set
Fixed number amount is at most 60.
Step 240 judges that adjacent facial image determines calling user in setting in the facial image according to setting quantity
Between face's number of revolutions for occurring in section whether be more than frequency threshold value: if so, thening follow the steps 250;Otherwise, step is executed
260。
Step 250, the current state for keeping the camera, the rotation without camera.
Step 260 obtains first facial image and end face in setting time section in catcher's face image
Image executes step 270.
Wherein, setting quantity facial image in, per adjacent two facial images determine face's rotation direction or
Person determines that face does not rotate, and face's rotation direction variation each time is denoted as face's rotation, sets the facial image of quantity
All face's number of revolutions of middle generation are the face's number of revolutions occurred in setting time section.Frequency threshold value is to set in advance
The characterization calling user face rotation set whether frequent threshold value, if the face that occurs in setting time section of calling user turns
Dynamic number is more than frequency threshold value, then it is assumed that frequently, camera does not rotate for face's rotation of calling user;If calling user is being set
The face's number of revolutions occurred in time interval is less than frequency threshold value, then it is assumed that face's rotation of calling user infrequently, obtains
Take first facial image and end facial image in the facial image of setting quantity.
Under a specific application scenarios, such as child or so runs, and face's commutation rotation is ceaselessly carried out, if taken the photograph
It commutates and rotates as the face each time of head tracking child, camera can be caused frequently to rotate, be easy to keep video calling other side dizzy,
Cause discomfort.By aforesaid operations, it is possible to prevente effectively from camera caused by rotating frequently because of calling user face frequently rotates
And give the call bad user experience of another party user's bring.
Step 270 opens facial image according to first facial image and end, determines face's rotational parameters.
Wherein, face's rotational parameters include: rotation direction and rotational angle.The rotation direction may include: level
Rotation direction and vertical rotation direction, the rotational angle may include: rotational angle in the horizontal direction and perpendicular
The upward rotational angle of histogram.
Step 280, according to velocity of rotation and face's rotational parameters, control camera and rotated.
The technical solution of the present embodiment has carried out careful explanation on the basis of a upper embodiment, if will be according to camera shooting
Head real-time capture, at least two facial images corresponding with calling user determine that face's rotation has occurred in calling user, then obtain
The face's rotational parameters for taking calling user, are further refined as specific implementation steps.Pass through setting setting time section, setting
Whether whether the facial image and frequency threshold value of quantity are frequent come the face's rotation for judging calling user, control to further limit
Camera rotation processed, technical solution provided in this embodiment improve the video tastes effect of video calling another party user, subtract
Lack and has given call another party user's bring bad use due to the camera caused by calling user face rotates frequently frequently rotates
Family experience.
Embodiment three
Fig. 3 is a kind of flow chart of the method for controlling rotation for camera that the embodiment of the present invention three provides, and the present embodiment exists
It is further illustrated on the basis of above-described embodiment, provide a kind of type of identity characteristic information and obtains the body of calling user
The specific implementation step of part characteristic information.Below with reference to a kind of rotation control of Fig. 3 camera provided the embodiment of the present invention three
Method processed is illustrated, comprising the following steps:
Step 310, in video call process, by radio reception device obtain calling user voice messaging, to voice believe
Breath carries out Application on Voiceprint Recognition, and according to Application on Voiceprint Recognition as a result, obtaining the age attribute information of calling user;
And/or
In video call process, the facial image of calling user is obtained by camera, and face is carried out to facial image
Identification, and according to face recognition result, obtain the age attribute information of calling user.
Wherein, the identity characteristic information for obtaining calling user is specially to obtain the age attribute information of calling user.Pass through
Camera and/or radio reception device on terminal device obtain the voice and/or human face image information of corresponding calling user, to upper
It states after information identified, determines the age attribute information of calling user.
In the present embodiment, Application on Voiceprint Recognition only can be carried out by the voice messaging to calling user, is used with obtaining call
The age attribute information at family;Recognition of face only can also be carried out by the facial image of calling user, to obtain calling user
Age attribute information;It can also be simultaneously according to Application on Voiceprint Recognition result and face recognition result, the common year for determining calling user
Age attribute information.
Step 320, according to age attribute information, the determining velocity of rotation with the matched camera of calling user.
Step 330 obtains what camera captured in setting time section, the people of setting quantity corresponding with calling user
Face image.
Step 340 judges that adjacent facial image determines calling user in setting in the facial image according to setting quantity
Between face's number of revolutions for occurring in section whether be more than frequency threshold value: if so, thening follow the steps 350;Otherwise, step is executed
360。
Step 350, the current state for keeping the camera, the rotation without camera.
Step 360 obtains first facial image and end face in setting time section in catcher's face image
Image executes step 370.
Step 370 opens facial image according to first facial image and end, determines face's rotational parameters.
Step 380, according to velocity of rotation and face's rotational parameters, control camera and rotated.
The technical solution of the present embodiment, further illustrates on the basis of the above embodiments, provides a kind of identity characteristic
The specific implementation step of the identity characteristic information of the type and acquisition calling user of information, is determined by age attribute information
The velocity of rotation of camera, in the case of effectively preventing camera rotation speed constant, since calling user age attribute is different,
Face's velocity of rotation difference is larger, and caused camera automatically tracks nonsynchronous phenomenon, while improving video calling both sides
Video effect.
Optionally, the facial image of calling user is obtained by camera, comprising:
User images are obtained by camera, and carry out recognition of face in user images;
If it is determined that identifying at least two faces in user images, then according to setting face screening rule, at least
Target face is determined in two faces;
Facial image corresponding with target face is intercepted in user images, and the facial image of interception is determined as conversing
The facial image of user.
Wherein, setting face screening rule is used for when identifying at least two faces in user images, determines target person
The case where face.Setting face screening rule determines target face using a standard, such as selection is apart from camera nearest
Face, or it is current just in talker's face as target face.After determining target face, the call obtained from camera is used
Target facial image is intercepted in the facial image at family, as the facial image of calling user, for determining the age of calling user
Attribute information.
Wherein it is possible to be identified in multiframe user images current just in talker's face by way of Mouth-Shape Recognition.
In this optional technical solution, a kind of method of the facial image of determining calling user is provided, this method can
Target face is accurately simply determined by setting face screening rule, is avoided when identifying at least two people in user images
When face, the facial image of calling user can not be determined, cause the situation of the age attribute information inaccuracy of identification calling user.
Optionally, age attribute information includes: age bracket;
According to identity characteristic information, the determining velocity of rotation with the matched camera of calling user, comprising:
According to the mapping relations between age bracket and rotation speed, the determining rotation speed with the matched camera of calling user
Degree;
Wherein, higher with age value corresponding in age bracket in mapping relations, the speed of matched camera rotation speed
Angle value is lower.
Wherein, age attribute information is defined as age bracket, such as from 0 years old to 70 years old, is defined as within every 10 years old an age
Section (the first age bracket: 0≤t < 10, the second age bracket: 10≤t < 20, and so on, t is the age), by 70 and defined above
For the last one age bracket.Since age segment information largely can reflect the physical fitness of calling user, for year
The higher ranked calling user of age section, it is believed that its physical fitness is poor compared with the physical fitness of the lower calling user of age bracket,
So its facial movement speed is low compared with the facial movement speed of the lower calling user of age bracket.
In this optional technical solution, using age bracket as specific age attribute information, and the age is further defined
Mapping relations between section and the rotation speed of camera, improve the video tastes effect of different age group calling user.
Specifically, illustrating the technical solution of the present embodiment so that identity characteristic information is age bracket as an example.Age bracket divide with
And the rotary speed of cam degree of age bracket mapping is schematically as follows shown in table, wherein t is the age, and v is speed, in video calling, and camera shooting
Head transmits 30 pictures each second, and setting time section is 2 seconds, and facial image sets quantity as 60, frequency threshold value 4,
Set face screening rule are as follows: select the face nearest apart from camera as target face.In this specific embodiment, have
Before 3 users are located at camera.
After video calling starts, current face's image is obtained by camera, recognition of face is carried out to current face's image
After identify 3 faces, at this time according to setting face screening rule, calculate distance of the every face apart from camera, determine away from
From nearest face as target face, in face figure of current face's image interception target facial image as calling user
Picture.The facial image for further identifying calling user determines the age bracket of calling user, such as determines the age bracket of calling user
Determine that the rotation speed of camera is v further according to the mapping relations between age bracket and rotation speed for the 6th age bracket6,
60 facial images for capturing calling user in 2 seconds by camera, determine calling user in 2 seconds according to 60 facial images
Face's number of revolutions be 3 times, be less than frequency threshold value 4 times, then led to according to the 1st of 60 facial images the and the 60th determination
The face's rotational parameters (rotation direction and rotational angle) for talking about user are v according to the rotation speed of determining camera6And it is logical
Face's rotational parameters control camera of words user rotates.
Example IV
Fig. 4 is a kind of structural schematic diagram of the control device for pivoting for camera that the embodiment of the present invention four provides, the device
It include: data obtaining module 41, speed determination module 42, parameter acquisition module 43 and rotation control module 44.
Data obtaining module 41, for obtaining the identity characteristic information of calling user in video call process;
Speed determination module 42, for according to identity characteristic information, the determining rotation with the matched camera of calling user
Speed;
Parameter acquisition module 43, if for according to camera real-time capture, at least two corresponding with calling user
Facial image determines that face's rotation has occurred in calling user, then obtains face's rotational parameters of calling user, face's rotational parameters
It include: rotation direction and rotational angle;
Control module 44 is rotated, for camera being controlled and being rotated according to velocity of rotation and face's rotational parameters.
The technical solution of the present embodiment determines the velocity of rotation of camera by the identity characteristic information according to calling user,
The face's rotation direction and angle that calling user is determined according to the facial image of at least two calling users, to control camera shooting
Head is rotated, and it is asynchronous to solve the constant caused tracking of camera velocity of rotation, and since calling user face is frequent
The problem of camera caused by rotating frequently rotates and brings bad user experience to call another party user realizes satisfaction not
With demand of the user to camera rotation speed of identity characteristic, and improve the video tastes effect of call another party user
Fruit.
Optionally, parameter acquisition module 43 includes:
Image acquisition unit is captured in setting time section for obtaining camera, corresponding with calling user to set
The facial image of fixed number amount;
Threshold value limits unit, if determining calling user for adjacent facial image in the facial image according to setting quantity
The face's number of revolutions occurred in setting time section is less than frequency threshold value, then catcher's face in setting time section
First facial image and end facial image are obtained in image.
Optionally, identity characteristic information includes: age attribute information in the device;
Data obtaining module 41 includes:
Application on Voiceprint Recognition judging unit, for by radio reception device obtain calling user voice messaging, to voice messaging into
Row Application on Voiceprint Recognition, and according to Application on Voiceprint Recognition as a result, obtaining the identity characteristic information of calling user;And/or
Recognition of face judging unit carries out facial image for obtaining the facial image of calling user by camera
Recognition of face, and according to face recognition result, obtain the identity characteristic information of calling user.
Optionally, it is specifically used in recognition of face judging unit by the facial image that camera obtains calling user:
User images are obtained by camera, and carry out recognition of face in the user images;
If it is determined that identify at least two faces in the user images, then according to setting face screening rule,
Target face is determined at least two faces;
Facial image corresponding with the target face is intercepted in the user images, and the facial image of interception is true
It is set to the facial image of the calling user.
Optionally, age attribute information includes: age bracket in the device;
Speed determination module 42 is specifically used for:
According to the mapping relations between age bracket and rotation speed, the determining rotation speed with the matched camera of calling user
Degree;
Wherein, higher with age value corresponding in age bracket in mapping relations, the speed of matched camera rotation speed
Angle value is lower.
A kind of executable any embodiment of that present invention institute of the control device for pivoting of camera provided by the embodiment of the present invention
A kind of method for controlling rotation of the camera provided, has the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention five provides, as shown in figure 5, the equipment includes place
Manage device 50, memory 51, camera 52 and microphone 53;The quantity of processor 50 can be one or more in equipment, in Fig. 5 with
For one processor 50;Processor 50, memory 5, camera 52 and radio reception device 53 in equipment can by bus or
Other modes connect, in Fig. 5 for being connected by bus.
Memory 51 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, such as the corresponding program instruction of the method for controlling rotation of one of embodiment of the present invention camera/module (example
Such as, the data obtaining module 41 in the control device for pivoting of camera, speed determination module 42, parameter acquisition module 43 and rotation
Control module 44).Software program, instruction and the module that processor 50 is stored in memory 51 by operation, thereby executing
The various function application and data processing of equipment, that is, realize the method for controlling rotation of above-mentioned camera.
Memory 51 can mainly include storing program area and storage data area, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This
Outside, memory 51 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic
Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 51 can be further
Including the memory remotely located relative to processor 50, these remote memories can pass through network connection to equipment.It is above-mentioned
The example of network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Camera 52 is a kind of view with video camera, video transmission, still image capture and rotation of lens function
Frequency input equipment.In embodiments of the present invention, camera 52 is used to obtain the human face image information of calling user and executes rotation
Operation, the human face image information that camera 52 will acquire is transmitted to memory 51, then by processor 50 to being stored in storage
The human face image information of device 51 is handled, so that it is determined that the face's rotational parameters and camera velocity of rotation of calling user,
Camera 52 is finally controlled by processor 50 and carries out rotation process.
Radio reception device 53 is a kind of energy conversion device that voice signal is converted to electric signal, passes through sound wave effect to electricity
Voltage is generated on sound component, then switchs to the electric signal that can be transmitted, which can store in memory 51, can also be by processor
50 processing for analyzing the vocal print of calling user, and then determine the identity characteristic information of calling user.Radio reception device 53 can be with
Terminal device is integrally formed setting (for example, the microphone integrated in mobile phone and tablet computer), can also be used as outside appurtenances and end
(such as peripheral hardware microphone in video calling robot) is applied in combination in end equipment.
Embodiment six
The embodiment of the present invention six also provides a kind of storage medium comprising computer executable instructions, and the computer can be held
Row is instructed when being executed by computer processor for executing a kind of method for controlling rotation of camera, this method comprises:
In video call process, the identity characteristic information of calling user is obtained;
According to identity characteristic information, the determining velocity of rotation with the matched camera of calling user;
If at least two facial images corresponding with calling user determine calling user according to camera real-time capture
Face's rotation has occurred, then obtains face's rotational parameters of calling user, face's rotational parameters include: rotation direction and rotation
Angle;
According to velocity of rotation and face's rotational parameters, controls camera and rotated.
It certainly, include the storage medium of computer executable instructions provided by the embodiment of the present invention, computer can be held
The method operation that row instruction is not limited to the described above, can also be performed the rotation of camera provided by any embodiment of the invention
Relevant operation in control method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more
Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art
Part can be embodied in the form of software products, which can store in computer readable storage medium
In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
It is worth noting that, in a kind of embodiment of the control device for pivoting of above-mentioned camera, included each unit
It is only divided according to the functional logic, but is not limited to the above division with module, as long as can be realized corresponding function
Energy;In addition, the specific name of each functional unit is also only for convenience of distinguishing each other, the guarantor being not intended to restrict the invention
Protect range.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of method for controlling rotation of camera characterized by comprising
In video call process, the identity characteristic information of calling user is obtained;
According to the identity characteristic information, the determining velocity of rotation with the matched camera of the calling user;
If according to the camera real-time capture, described at least two facial images determinations corresponding with the calling user
Face's rotation has occurred in calling user, then obtains face's rotational parameters of the calling user, face's rotational parameters include:
Rotation direction and rotational angle;
According to the velocity of rotation and face's rotational parameters, controls the camera and rotated.
2. the method for controlling rotation of camera according to claim 1, if according to the camera real-time capture, with
Corresponding at least two facial images of the calling user determine that face's rotation has occurred in the calling user, then obtain described logical
Talk about face's rotational parameters of user, comprising:
Obtain what the camera captured in setting time section, the face figure of setting quantity corresponding with the calling user
Picture;
If determining the calling user in the setting according to adjacent facial image in the facial image of the setting quantity
Between face's number of revolutions for occurring in section be less than frequency threshold value, then catcher's face image in the setting time section
First facial image of middle acquisition and end facial image;
According to the first facial image and the end facial image, face's rotational parameters are determined.
3. the method for controlling rotation of camera according to claim 1 or 2, which is characterized in that the identity characteristic information
It include: age attribute information;
Obtain calling user identity characteristic information include:
The voice messaging that the calling user is obtained by radio reception device, to voice messaging progress Application on Voiceprint Recognition, and according to
Application on Voiceprint Recognition is as a result, obtain the identity characteristic information of the calling user;And/or
The facial image that the calling user is obtained by the camera carries out recognition of face, and root to the facial image
According to face recognition result, the identity characteristic information of the calling user is obtained.
4. the method for controlling rotation of camera according to claim 3, which is characterized in that obtain institute by the camera
State the facial image of calling user, comprising:
User images are obtained by the camera, and carry out recognition of face in the user images;
If it is determined that identifying at least two faces in the user images, then according to setting face screening rule, described
Target face is determined at least two faces;
Facial image corresponding with the target face is intercepted in the user images, and the facial image of interception is determined as
The facial image of the calling user.
5. the method for controlling rotation of camera according to claim 3, which is characterized in that the age attribute packet
It includes: age bracket;
According to the identity characteristic information, the determining velocity of rotation with the matched camera of the calling user, comprising:
According to the mapping relations between age bracket and rotation speed, the determining rotation with the matched camera of the calling user
Rotary speed;
Wherein, higher with age value corresponding in age bracket in the mapping relations, the matched camera rotation speed
Velocity amplitude it is lower.
6. a kind of control device for pivoting of camera characterized by comprising
Data obtaining module, for obtaining the identity characteristic information of calling user in video call process;
Speed determination module, for according to the identity characteristic information, determining turn with the matched camera of the calling user
Dynamic speed;
Parameter acquisition module, if for according to the camera real-time capture, corresponding with the calling user at least two
It opens facial image and determines that face's rotation has occurred in the calling user, then obtain face's rotational parameters of the calling user, institute
Stating face's rotational parameters includes: rotation direction and rotational angle;
Control module is rotated, for the camera being controlled and being carried out according to the velocity of rotation and face's rotational parameters
Rotation.
7. the control device for pivoting of camera according to claim 6, which is characterized in that the parameter acquisition module packet
It includes:
Image acquisition unit is captured in setting time section for obtaining the camera, corresponding with the calling user
Setting quantity facial image;
Threshold value limits unit, if determining the call for adjacent facial image in the facial image according to the setting quantity
Face's number of revolutions that user occurs in the setting time section is less than frequency threshold value, then in the setting time section
First facial image and end facial image are obtained in interior catcher's face image.
8. the control device for pivoting of camera according to claim 6 or 7, which is characterized in that the identity characteristic information
It include: age attribute information;
The data obtaining module includes:
Application on Voiceprint Recognition judging unit believes the voice for obtaining the voice messaging of the calling user by radio reception device
Breath carries out Application on Voiceprint Recognition, and according to Application on Voiceprint Recognition as a result, obtaining the identity characteristic information of the calling user;And/or
Recognition of face judging unit, for obtaining the facial image of the calling user by the camera, to the face
Image carries out recognition of face, and according to face recognition result, obtains the identity characteristic information of the calling user.
9. the control device for pivoting of camera according to claim 8, which is characterized in that the recognition of face judging unit
In by the camera obtain calling user facial image be specifically used for:
User images are obtained by the camera, and carry out recognition of face in the user images;
If it is determined that identifying at least two faces in the user images, then according to setting face screening rule, described
Target face is determined at least two faces;
Facial image corresponding with the target face is intercepted in the user images, and the facial image of interception is determined as
The facial image of the calling user.
10. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
Camera, for obtaining the human face image information of calling user and executing rotation process;
Radio reception device, for obtaining the voice messaging of calling user;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as the method for controlling rotation of camera as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811013958.9A CN109151309A (en) | 2018-08-31 | 2018-08-31 | A kind of method for controlling rotation of camera, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811013958.9A CN109151309A (en) | 2018-08-31 | 2018-08-31 | A kind of method for controlling rotation of camera, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109151309A true CN109151309A (en) | 2019-01-04 |
Family
ID=64826196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811013958.9A Pending CN109151309A (en) | 2018-08-31 | 2018-08-31 | A kind of method for controlling rotation of camera, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151309A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977770A (en) * | 2019-02-21 | 2019-07-05 | 安克创新科技股份有限公司 | A kind of auto-tracking shooting method, apparatus, system and storage medium |
CN110430384A (en) * | 2019-08-23 | 2019-11-08 | 珠海格力电器股份有限公司 | Video call method and device, intelligent terminal and storage medium |
CN110995920A (en) * | 2019-11-19 | 2020-04-10 | 维沃移动通信有限公司 | Response control method for specified operation instruction and terminal equipment |
CN111246110A (en) * | 2020-02-06 | 2020-06-05 | 浙江大华技术股份有限公司 | Image output method and device, storage medium and electronic device |
CN111935442A (en) * | 2020-07-31 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100277617A1 (en) * | 2009-05-02 | 2010-11-04 | Hollinger Steven J | Ball with camera and trajectory control for reconnaissance or recreation |
CN104917961A (en) * | 2015-05-19 | 2015-09-16 | 广东欧珀移动通信有限公司 | Camera rotation control method and terminal |
CN105847662A (en) * | 2015-06-19 | 2016-08-10 | 维沃移动通信有限公司 | Moving object shooting method based on mobile terminal, and mobile terminal |
CN106096168A (en) * | 2016-06-21 | 2016-11-09 | 哈尔滨工业大学 | A kind of space based on Auditory Perception crowd evacuation analogy method |
-
2018
- 2018-08-31 CN CN201811013958.9A patent/CN109151309A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100277617A1 (en) * | 2009-05-02 | 2010-11-04 | Hollinger Steven J | Ball with camera and trajectory control for reconnaissance or recreation |
CN104917961A (en) * | 2015-05-19 | 2015-09-16 | 广东欧珀移动通信有限公司 | Camera rotation control method and terminal |
CN105847662A (en) * | 2015-06-19 | 2016-08-10 | 维沃移动通信有限公司 | Moving object shooting method based on mobile terminal, and mobile terminal |
CN106096168A (en) * | 2016-06-21 | 2016-11-09 | 哈尔滨工业大学 | A kind of space based on Auditory Perception crowd evacuation analogy method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977770A (en) * | 2019-02-21 | 2019-07-05 | 安克创新科技股份有限公司 | A kind of auto-tracking shooting method, apparatus, system and storage medium |
CN109977770B (en) * | 2019-02-21 | 2023-06-27 | 安克创新科技股份有限公司 | Automatic tracking shooting method, device, system and storage medium |
CN110430384A (en) * | 2019-08-23 | 2019-11-08 | 珠海格力电器股份有限公司 | Video call method and device, intelligent terminal and storage medium |
CN110430384B (en) * | 2019-08-23 | 2020-11-03 | 珠海格力电器股份有限公司 | Video call method and device, intelligent terminal and storage medium |
CN110995920A (en) * | 2019-11-19 | 2020-04-10 | 维沃移动通信有限公司 | Response control method for specified operation instruction and terminal equipment |
CN110995920B (en) * | 2019-11-19 | 2022-02-25 | 维沃移动通信有限公司 | Response control method for specified operation instruction and terminal equipment |
CN111246110A (en) * | 2020-02-06 | 2020-06-05 | 浙江大华技术股份有限公司 | Image output method and device, storage medium and electronic device |
CN111246110B (en) * | 2020-02-06 | 2022-02-08 | 浙江大华技术股份有限公司 | Image output method and device, storage medium and electronic device |
CN111935442A (en) * | 2020-07-31 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Information display method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151309A (en) | A kind of method for controlling rotation of camera, device, equipment and storage medium | |
US10375354B2 (en) | Video communication using subtractive filtering | |
EP3742333A1 (en) | Image processing method and apparatus, and computer device and storage medium | |
WO2019104930A1 (en) | Identity authentication method, electronic device and computer-readable storage medium | |
US11887235B2 (en) | Puppeteering remote avatar by facial expressions | |
CN104836981B (en) | The collaboration method and conference terminal of intelligent meeting | |
US20100085415A1 (en) | Displaying dynamic caller identity during point-to-point and multipoint audio/videoconference | |
CN106529406B (en) | Method and device for acquiring video abstract image | |
KR102453084B1 (en) | Electronic apparatus and method for controlling thereof | |
CN105049709B (en) | A kind of big visual angle camera control method and user terminal | |
US20240179272A1 (en) | Virtual image video call method, terminal device, and storage medium | |
CN110326300A (en) | Information processing equipment, information processing method and program | |
US11917158B2 (en) | Static video recognition | |
CN109005104B (en) | Instant messaging method, device, server and storage medium | |
CN108513074B (en) | Self-photographing control method and device and electronic equipment | |
CN108600633A (en) | Shooting angle determining method and device, terminal and readable storage medium | |
WO2023010796A1 (en) | Image processing method and related apparatus | |
US20190205635A1 (en) | Process for capturing content from a document | |
WO2018094911A1 (en) | Multimedia file sharing method and terminal device | |
US12086727B2 (en) | Modified media detection | |
CN105072335B (en) | A kind of photographic method and user terminal | |
CN107623830A (en) | A kind of video call method and electronic equipment | |
WO2022213974A1 (en) | Auxiliary image capture methods and apparatuses for pets | |
CN110365905A (en) | Automatic photographing method and device | |
CN117296308A (en) | Smart content display for network-based communications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210512 Address after: 201210 4 / F, building 1, 701 Naxian Road, Shanghai pilot Free Trade Zone, Pudong New Area, Shanghai, China Applicant after: Shanghai Xiaodu Technology Co.,Ltd. Address before: 100012 3rd floor, building 10, No.18 ziyue Road, Chaolai science and Technology Industrial Park, No.1, Laiguangying middle street, Chaoyang District, Beijing Applicant before: AINEMO Inc. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |
|
RJ01 | Rejection of invention patent application after publication |