CN108683855A - Camera control method and terminal equipment - Google Patents

Camera control method and terminal equipment Download PDF

Info

Publication number
CN108683855A
CN108683855A CN201810836828.9A CN201810836828A CN108683855A CN 108683855 A CN108683855 A CN 108683855A CN 201810836828 A CN201810836828 A CN 201810836828A CN 108683855 A CN108683855 A CN 108683855A
Authority
CN
China
Prior art keywords
target object
terminal device
camera
user account
target
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
Application number
CN201810836828.9A
Other languages
Chinese (zh)
Inventor
王强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810836828.9A priority Critical patent/CN108683855A/en
Publication of CN108683855A publication Critical patent/CN108683855A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a camera control method and terminal equipment, wherein the method comprises the following steps: when the terminal equipment is in a video call state, the terminal equipment can capture a portrait through a built-in camera and confirm the captured portrait as a target object, and can also control the camera to adjust a shooting angle to track the target object in the moving process of the target object and shoot the target object in the process of tracking the target object. By implementing the embodiment of the invention, the use experience of the user can be improved by automatically tracking the portrait.

Description

A kind of control method and terminal device of camera
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of control method and terminal device of camera.
Background technology
With the fast lifting of network bandwidth and the development of hardware device, video calling become important means of communication it One, user can pass through video meeting system and colleague, client or conjunction by social class application program and good friend's Video chat Make partner etc. and remotely links up work etc..But in practice, it has been found that user is in Video chat or the long-range mistake for linking up work Cheng Zhong can pre-set video angle/direction, if user needs to move during video, it is likely that portrait can occur The case where disappearing in video pictures so that the usage experience sense of user is poor.
Invention content
The embodiment of the present invention discloses a kind of control method and terminal device of camera, can by from motion tracking portrait, Improve the usage experience sense of user.
First aspect of the embodiment of the present invention discloses a kind of control method of camera, the method includes:
When terminal device is in video call state, portrait capture is carried out by built-in camera;
The portrait captured is confirmed as target object;
In the target object moving process, controls the camera and adjust shooting angle to track the target pair As, and the target object is shot during tracking the target object.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described that the portrait captured is true Think target object, including:
Detect the center the shooting area whether portrait captured is located at the camera;
When the portrait captured is located at the center shooting area, the portrait captured is confirmed as target Object.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described that the portrait captured is true After thinking target object, and controls the camera in the target object moving process and adjust shooting angle to track The target object, and before being shot to the target object during tracking the target object, the method is also Including:
The characteristic information of the target object is obtained, the characteristic information includes at least clothes color and facial information;
Using the characteristic information as the tracking clue for the target object;
It is described in the target object moving process, control the camera and adjust shooting angle to track the target Object, and the target object is shot during tracking the target object, including:
In the target object moving process, the position letter of the target object is obtained in real time according to the tracking clue Breath, and the adjustment angle of the camera is determined according to the positional information;
It controls the camera and adjusts the angle the shooting angle of the adjustment camera according to described, and control the camera shooting Head shoots the target object with the shooting angle.
As an alternative embodiment, in first aspect of the embodiment of the present invention, described be in terminal device regards When frequency talking state, before carrying out portrait capture by built-in camera, the method further includes:
Judge whether the ambient brightness in region residing for the terminal device is more than predetermined luminance;
When the ambient brightness is less than or equal to the predetermined luminance, output is for region residing for the terminal device Lighting apparatus selection interface;
Determine the target illumination equipment that user selects in the lighting apparatus selection interface, and true according to the ambient brightness The brightness of illumination of the fixed target illumination equipment;
The target illumination equipment is controlled to be illuminated with the brightness of illumination.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method further includes:
When the terminal device is in video call state, detect whether to receive video calling request;
When receiving the video calling request, the second user account for initiating the video calling request is obtained;
Judge whether the corresponding priority level of the second user account is higher than the corresponding priority level of the first user account; Wherein, first user account is the user account that current video call is in the terminal device;
When the corresponding priority level of second user account priority level corresponding higher than first user account, It controls the terminal device to ask in response to the video calling, video calling is established with the second user account.
Second aspect of the embodiment of the present invention discloses a kind of terminal device, including:
Capture unit, for when the terminal device is in video call state, by built-in camera into pedestrian As capturing;
Determination unit, for the portrait captured to be confirmed as target object;
Tracking cell, in the target object moving process, control the camera adjustment shooting angle with Target object described in track, and the target object is shot during tracking the target object.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the determination unit will be for that will catch The mode that the portrait grasped is confirmed as target object is specially:
Whether the determination unit is located at the center shooting area of the camera for detecting the portrait captured, with And when the portrait captured is located at the center shooting area, the portrait captured is confirmed as target object.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the terminal device further includes:
First acquisition unit, after the portrait captured is confirmed as target object in the determination unit, and The tracking cell controls the camera in the target object moving process and adjusts shooting angle to track the target Object, and before being shot to the target object during tracking the target object, obtain the target object Characteristic information, the characteristic information include at least clothes color and facial information, and using the characteristic information as institute State the tracking clue of target object;
The tracking cell for controlled in the target object moving process camera adjustment shooting angle with Track the target object, and the mode shot to the target object during tracking the target object is specific For:
The tracking cell, in the target object moving process, institute to be obtained in real time according to the tracking clue The location information of target object is stated, and determines the adjustment angle of the camera according to the positional information, and described in control Camera adjusts the angle the shooting angle of the adjustment camera according to described, and controls the camera with the shooting angle The target object is shot.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the terminal device further includes:
First judging unit, for the capture unit when the terminal device is in video call state, by interior Before the camera set carries out portrait capture, it is default bright to judge whether the ambient brightness in region residing for the terminal device is more than Degree;
Output unit judges that the ambient brightness is default bright less than or equal to described for working as first judging unit When spending, lighting apparatus selection interface of the output for region residing for the terminal device;
The determination unit is additionally operable to determine the target illumination equipment that user selects in the lighting apparatus selection interface, And the brightness of illumination of the target illumination equipment is determined according to the ambient brightness;
First control unit is illuminated for controlling the target illumination equipment with the brightness of illumination.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the terminal device further includes:
Detection unit, for when the terminal device is in video call state, detecting whether to receive video calling Request;
Second acquisition unit initiates the video calling request for when receiving the video calling request, obtaining Second user account;
Second judgment unit, for judging whether the corresponding priority level of the second user account is higher than first user's account Number corresponding priority level;Wherein, first user account is the user that current video call is in the terminal device Account;
Second control unit, for being higher than first user account when the corresponding priority level of the second user account It when corresponding priority level, controls the terminal device and is asked in response to the video calling, built with the second user account Vertical video calling.
The third aspect of the embodiment of the present invention discloses a kind of terminal device, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes first aspect present invention Some or all of any one method step.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, described Computer program includes the instruction of some or all of any one method for executing first aspect present invention step.
The 5th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine so that the computer executes some or all of any one method of first aspect step.
The aspect of the embodiment of the present invention the 6th disclose it is a kind of applying distribution platform, the application distribution platform is for publication calculating Machine program product, wherein when the computer program product is run on computers so that the computer executes first party Some or all of any one method in face step.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, when terminal device is in video call state, terminal device can be taken the photograph by built-in As head progress portrait capture, and the portrait captured is confirmed as target object, can also be controlled in target object moving process Camera processed adjusts shooting angle to track target object, and is shot to target object during tracking target object. Implement the embodiment of the present invention, when terminal device is in video call state, terminal device control the camera built in it with The moving process at family carries out track up to user, solves in video call process because user's movement causes portrait to be drawn in video The problem of disappearing in face.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of the control method of camera disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the control method of another camera disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of the control method of another camera disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention;
Fig. 7 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that the term " comprising " " having " in the embodiment of the present invention and attached drawing and their any deformations, It is intended to cover and non-exclusive includes.Such as it contains the process of series of steps or unit, method, system, product or sets Standby the step of being not limited to list or unit, but further include the steps that optionally not listing or unit, or optionally Further include for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the present invention discloses a kind of control method and terminal device of camera, can by from motion tracking portrait, Improve the usage experience sense of user.The control method of camera described in the embodiment of the present invention is suitable for private tutor's machine, intelligence All kinds of terminal devices such as mobile phone and tablet computer, the embodiment of the present invention do not limit.Wherein, the operation system of all kinds of terminal devices System may include but be not limited to Android operation system, IOS operating system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems etc., the embodiment of the present invention does not limit.The embodiment of the present invention Executive agent is terminal device, is described in detail separately below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of the control method of camera disclosed by the embodiments of the present invention.Such as Shown in Fig. 1, the control method of the camera may comprise steps of:
101, when terminal device is in video call state, portrait capture is carried out by built-in camera.
Camera mentioned in step 101 is built in terminal device, optionally, above-mentioned camera can also be independently of The video device of terminal device can removably connect terminal device, wherein camera is detachably connected terminal and sets It is standby specifically to be realized by the peripheral device interface of camera access terminal equipment, conversely, the non-access terminal equipment of camera Peripheral device interface is specially camera from the state after the extraction of the peripheral device interface of terminal device, as camera and end End equipment is in physics off-state, and the embodiment of the present invention is to terminal device peripheral device interface in the position of terminal device, shape Shape and size do not limit.Preferably, above-mentioned camera is also provided with bluetooth module or wifi module, to support its indigo plant Tooth or wifi connection terminal devices.
It should be noted that if above-mentioned camera is independently of the video device of terminal device, above-mentioned camera and terminal Equipment can be corollary equipment, i.e., camera is identical as the brand of terminal device or the brand of camera and terminal device is to close Make relationship.
When terminal device is in video call state, terminal device control camera on the basis of current shooting angle Portrait capture is carried out in the default range of taking pictures of camera, in embodiments of the present invention, terminal device controls camera to work as Portrait capture is carried out in default range of taking pictures on the basis of preceding shooting angle, wherein terminal device controls camera with current Catcher is as that can be facial image, user's upper part of the body image or user in default range of taking pictures on the basis of shooting angle Whole body images etc., the embodiment of the present invention does not limit.
102, the portrait captured is confirmed as target object.
The portrait captured is confirmed as target object by terminal device:The portrait captured is detected above-mentioned pre- If whether the duration stopped in range of taking pictures is more than preset duration, if the portrait captured stops in above-mentioned default range of taking pictures Duration be more than preset duration when, using the portrait captured as target object;Alternatively, judging whether the portrait captured is in The center shot region of above-mentioned default range of taking pictures, if the center that the portrait captured is in above-mentioned default range of taking pictures is taken pictures area Domain, then using the portrait captured as target object;Alternatively, judging whether the identification of the portrait captured is more than default identification Degree, if the identification of the portrait captured is more than default identification, using the portrait captured as target object.Pass through implementation This method provides the methods of determination of plurality of target object, can improve the usage experience sense of user.
103, in target object moving process, the camera of control terminal equipment adjusts shooting angle to track target pair As, and target object is shot during tracking target object.
If in embodiments of the present invention, after executing the step 102 and before step 103, target can also be obtained The characteristic information of object, and using the characteristic information got as the tracking clue of target object, it is based on this method, terminal device In target object moving process, the camera of control terminal equipment adjusts shooting angle to track target object, and is tracking Target object is shot during target object, may include:Terminal device in target object moving process, according to Track clue obtains the location information of target object in real time, and the adjustment angle of camera is determined according to location information;Control camera shooting Head is according to the shooting angle for the adjustment angle adjustment camera determined, control camera is with the shooting angle after adjusting to target Object is shot.It should be noted that the characteristic information of target object includes at least clothes color and facial information, wherein The facial information can be the geometric properties of face, specifically, the mode that terminal device obtains the geometric properties of face can be, When the portrait for judging to capture includes face, the zone marker where face in portrait is come out;From the face marked The extracted region human face five-sense-organ key point at place obtains face according to the structural relation between the human face five-sense-organ key point extracted Geometric properties.
By implementing the above method, when terminal device is in video call state, the camera shooting built in control terminal equipment Head carries out track up in the moving process of user to user, can improve usage experience sense when user video call.
Embodiment two
Referring to Fig. 2, Fig. 2 is the flow diagram of the control method of another camera disclosed by the embodiments of the present invention. As shown in Fig. 2, the control method of the camera may comprise steps of:
201, judge whether the ambient brightness in region residing for terminal device is more than predetermined luminance, if so, executing step 205 ~step 207;If not, executing step 202~step 207.
In embodiments of the present invention, before executing step 201, terminal device can also detect whether to receive for triggering Terminal device opens the enabled instruction of video calling, if received, control terminal equipment obtains region residing for the terminal device Ambient brightness, and continue to execute step 201.Wherein, the enabled instruction that terminal device receives can be phonetic order, touch screen Instruction or operating gesture etc., the embodiment of the present invention does not limit, it should be noted that is used for triggering terminal opening of device video The enabled instruction of call can be inputted when terminal device is in black state, i.e., terminal device receives under black state For the enabled instruction of triggering terminal opening of device video calling, can achieve the purpose that save electricity.
Optionally, if terminal device receives the startup for triggering terminal opening of device video calling under black state Instruction, then, when the judging result of step 201 is no, wake operation can also be executed to the screen of terminal device, and execute Step 202.
It is further alternative, in the case where receiving the enabled instruction for triggering terminal opening of device video calling, Whether can be more than default ambient noise, and the area residing for terminal device with the ambient noise in region residing for detection terminal equipment When the ambient noise in domain is more than default ambient noise, detect whether the wireless headset being connect with terminal device is in wearing state, When the wireless headset being connect with terminal device is not in wearing state, output prompt message is carried out with prompting user to wear earphone Video calling.Implement this method it is possible to prevente effectively from user in video calling by Environmental Noise Influence.
202, lighting apparatus selection interface of the output for region residing for terminal device.
203, the target illumination equipment that user selects in above-mentioned lighting apparatus selection interface is determined, and according to terminal device institute The ambient brightness in place region determines the brightness of illumination of above-mentioned target illumination equipment.
The judging result of step 201 is no, it is preferred that in embodiments of the present invention, the determination for target illumination equipment Mode is also possible that terminal device can enable indoor positioning technologies, obtains the location of terminal device information, and root in real time According to the location of present terminal equipment information, determined from pre-stored several lighting apparatus and present terminal equipment institute The target illumination equipment that the location information at place matches.It more intelligentized can be realized to lighting apparatus by implementing this method Remote control, in addition, making the use of user according to the location of terminal device information Auto-matching target illumination equipment Experience sense is more preferable.
204, control targe lighting apparatus is illuminated with the brightness of illumination determined.
Terminal device can also be the central control equipment of the lighting system in its residing region, and user can be by terminal (open and close and illumination of lighting apparatus are bright for the Lighting control for the lighting apparatus that operation realization is included to lighting system in equipment Degree), when the judging result of step 201 is no, terminal device exports the lighting apparatus selection interface of lighting system, and detects use At least one lighting apparatus that family is determined in the lighting apparatus selection interface of lighting system by selection operation, at least by this One lighting apparatus determines target illumination as target illumination equipment, and according to the ambient brightness in region residing for terminal device The brightness of illumination of equipment, and control instruction is sent to target illumination equipment, so that target illumination equipment is receiving the control To determine that the brightness of illumination of target illumination equipment is illuminated when instruction.Optionally, the lighting apparatus of lighting system selects boundary Face can include the icon or serial number for distinguishing different lighting apparatus.By implementing this method, in a manner of icon or serial number The lighting apparatus that lighting system is included is exported in the lighting apparatus selection interface with interactive function, user is allow to lead to Cross remote control of the terminal device realization to lighting apparatus.
Executing step 201~step 204 can ensure that user has good lighting condition in video calling.Wherein, The detailed description of step 205~step 207, please refers to the description that step 101~step 103 is directed in embodiment, and the present invention is real Example is applied to repeat no more.
By implementing the above method, usage experience sense when user video call can be improved, saving electricity can also be reached The purpose of amount can also effectively avoid user in video calling by Environmental Noise Influence, can be with user in video calling With good lighting condition.
Embodiment three
Referring to Fig. 3, Fig. 3 is the flow diagram of the control method of another camera disclosed by the embodiments of the present invention. As shown in figure 3, the control method of the camera may comprise steps of:
The detailed description of step 301~step 307 please refers to retouching for step 201~step 207 in embodiment two It states, the embodiment of the present invention repeats no more.
308, it when terminal device is in video call state, detects whether to receive video calling request, if so, holding Row step 309~step 310;If not, terminating this flow.
309, the second user account for initiating above-mentioned video calling request is obtained.
310, judge that whether corresponding higher than the first user account the corresponding priority level of above-mentioned second user account is preferential Grade;Wherein, the first user account is the user account that current video call is in terminal device, if so, executing step 311;If not, terminating this flow.
311, control terminal equipment is asked in response to above-mentioned video calling, and video calling is established with second user account.
It is illustrated for step 308~step 311, in embodiments of the present invention, if there is operation on terminal device A certain social networking application program, user can apply for one's own target social activity account in a certain social networking application program, and Corresponding with target social activity account target social activity account circle can be established by the target social activity account, in the target social activity account circle Include at least one user account, each user account corresponds to a priority level, wherein the high user's account of priority level Number it establishes that the priority level that video is connect is higher with target social activity account, the lower user account of priority level its with target society The priority level that the number of handing over the accounts establishes video connection is lower, it is assumed that user is by terminal device logs target social activity account, Video calling, the account circle of target social activity at this time are carried out with a certain user account (the first user account) in target social activity account circle In another user account (second user account) to target social activity account send video calling request, if above-mentioned a certain user's account Number corresponding priority level priority level corresponding higher than above-mentioned another user account, then terminal device continue currently with it is above-mentioned certain The video calling of one user account;If the corresponding priority level of above-mentioned a certain user account is excellent less than above-mentioned another user account First grade then executes the video calling object of target social activity account being switched to above-mentioned another user by above-mentioned a certain user account Account;If the corresponding priority level of above-mentioned a certain user account is equal to the corresponding priority level of above-mentioned another user account, when At the end of the video calling of target social activity account and above-mentioned a certain user account, the target social activity account is actively to above-mentioned another use Family account sends video calling request.
It should be noted that the priority level about user account in target social activity account circle can select enable or May be selected not enable, can also selected section user account enable or whole user account enables, in addition, target social activity account The priority level of user account can be reset by user according to actual conditions in circle.Wherein, selection enables priority level User account establishes the user that the priority level acquiescence that video is connect is above not enabled priority level with target social activity account Account, it is assumed that user by terminal device logs target social activity account, with a certain use in target social activity account circle Family account (the first user account) carries out video calling, another user account (second user in the account circle of target social activity at this time Account) to the transmission video calling request of target social activity account, if the priority level not enabled of above-mentioned a certain user account, and it is above-mentioned The priority level of another user account enables, then by the video calling object of target social activity account by above-mentioned a certain user account It is switched to above-mentioned another user account, if the priority level of the priority level of above-mentioned user account and another above-mentioned user account It all enables, then executes method as described above, if the priority level of above-mentioned user account and another above-mentioned user account Priority level all not enableds then continue the video calling currently with above-mentioned a certain user account.
It illustrates for foregoing description, if the user of above-mentioned target social activity account is parent, terminal device is parent's Smart mobile phone, parent log in the social account of parent by smart mobile phone, and are wrapped in the social account circle of the social account of parent The social account of social account containing child, child runs on children's wearable device (children's telephone with warning function Wrist-watch) on, there should be children's wearable device of warning function can be when detecting risk factor, automatically by the society of child The number of handing over the accounts sends video calling request to the social account of parent, if the child in the social account circle of the social account of parent The priority level highest of social account, parent can in time make in the periphery situation for knowing child's local environment at the first time Only some unsafe acts of child.
Example IV
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention.As shown in figure 4, The terminal device may include:
Capture unit 401, for when terminal device is in video call state, portrait to be carried out by built-in camera It captures.
In embodiments of the present invention, retouching in embodiment one is please referred to for camera and being discussed in detail for terminal device It states, the embodiment of the present invention repeats no more.
Determination unit 402, for the portrait captured to be confirmed as target object.
Wherein, above-mentioned determination unit 402 is specifically as follows for the portrait captured to be confirmed as to the mode of target object: Whether above-mentioned determination unit 402 is located at the center shooting area of above-mentioned camera for detecting the portrait captured, and works as and catch When the portrait grasped is located at the center shooting area, the portrait captured is confirmed as target object;Alternatively, above-mentioned determination unit 402, for detecting whether the duration that the portrait captured stops in above-mentioned default range of taking pictures is more than preset duration, if capturing To the duration that is stopped in above-mentioned default range of taking pictures of portrait be more than preset duration when, using the portrait captured as target pair As;Alternatively, above-mentioned determination unit 402, whether the identification of the portrait for judging to capture is more than default identification, if capturing The identification of the portrait arrived is more than default identification, then using the portrait captured as target object.It is carried by implementing which The method of determination of plurality of target object has been supplied, the usage experience sense of user can be improved.
Tracking cell 403 adjusts shooting angle to track in target object moving process, controlling above-mentioned camera Target object, and target object is shot during tracking target object.
Optionally, terminal device can also include:
First acquisition unit 404, for above-mentioned determination unit 402 by the portrait captured be confirmed as target object it Afterwards and tracking cell 403 controls above-mentioned camera in target object moving process and adjusts shooting angle to track target pair As, and before being shot to target object during tracking target object, obtain target object characteristic information and will This feature information is as the tracking clue for target object.
It should be noted that the characteristic information of above-mentioned target object includes at least clothes color and facial information, wherein should Facial information can be the geometric properties of face, specifically, the mode that first acquisition unit 404 obtains the geometric properties of face has Body can be first acquisition unit 404, will be in portrait where face for when the portrait for judging to capture includes face Zone marker come out;From the extracted region human face five-sense-organ key point where the face marked, according to the face five extracted Structural relation between official's key point obtains the geometric properties of face.
Above-mentioned tracking cell 403 for controlled in target object moving process above-mentioned camera adjustment shooting angle with Track target object, and the mode shot to target object during tracking target object is specifically as follows:Tracking cell 403, in target object moving process, obtaining the location information of target object, and root in real time according to above-mentioned tracking clue Determine the adjustment angle of above-mentioned camera, and the above-mentioned camera of control according to the adjustment determined according to acquired location information Angle adjusts the shooting angle of above-mentioned camera, and controls above-mentioned camera and carried out to target object with the shooting angle after adjusting Shooting.
By implementing above-mentioned terminal device, in user video talking state, the camera built in control terminal equipment exists The moving process of user carries out track up to user, and the usage experience sense of user can be improved when user video is conversed.
Embodiment five
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.It is shown in fig. 5 Terminal device is that terminal device as shown in Figure 4 optimizes, as shown in figure 5, the terminal device can also include:
First judging unit 405 passes through for above-mentioned capture unit 401 when terminal device is in video call state Before built-in camera carries out portrait capture, judge whether the ambient brightness in region residing for terminal device is more than predetermined luminance.
In embodiments of the present invention, the first judging unit 405 is additionally operable to judge the ambient brightness in region residing for terminal device Whether it is more than before predetermined luminance, detects whether to receive the enabled instruction for triggering terminal opening of device video calling, In the case that terminal device receives the enabled instruction, the environment that control terminal equipment obtains region residing for the terminal device is bright Degree, and whether the above-mentioned ambient brightness for judging region residing for terminal device is more than the operation of predetermined luminance.Wherein, first judges list The enabled instruction that member 405 receives can be phonetic order, touchscreen commands or operating gesture etc., and the embodiment of the present invention does not limit It is fixed, it should be noted that above-mentioned enabled instruction can be inputted when terminal device is in black state, the first judging unit 405 receive the enabled instruction for triggering terminal opening of device video calling in the case where terminal device is in black state, can be with Achieve the purpose that save electricity.So, optionally, if the first judging unit 405 is received when terminal device is in black state For the enabled instruction of triggering terminal opening of device video calling, then, the first judging unit 405 can be also used for judging When the ambient brightness for going out region residing for terminal device is less than or is equal to predetermined luminance, wake-up is executed to the screen of terminal device Operation, and enabled instruction is sent to output unit 406, have been turned on output unit 406.
It is further alternative, the first judging unit 405, be additionally operable to receive it is logical for triggering terminal opening of device video In the case of the enabled instruction of words, whether the ambient noise in region residing for detection terminal equipment is more than default ambient noise, and When the ambient noise in the region residing for terminal device is more than default ambient noise, detecting the wireless headset being connect with terminal device is It is no to be in wearing state, and when the wireless headset being connect with terminal device is not in wearing state, output prompt message with It prompts user to wear earphone and carries out video calling.Implement which it is possible to prevente effectively from user in video calling by ambient noise It influences.
Output unit 406, for when the first judging unit judge above-mentioned ambient brightness be less than or equal to predetermined luminance when, Lighting apparatus selection interface of the output for region residing for terminal device.
Above-mentioned determination unit 402 is additionally operable to determine that the target illumination that user selects in above-mentioned lighting apparatus selection interface is set It is standby, and determine according to above-mentioned ambient brightness the brightness of illumination of target illumination equipment.
Judge that the ambient brightness in region residing for terminal device is less than or equal to predetermined luminance in the first judging unit 405 When, it is preferred that in embodiments of the present invention, above-mentioned determination unit 402 determines that the concrete mode of target illumination equipment is also possible that Above-mentioned determination unit 402 enables indoor positioning technologies, obtains the location of terminal device information in real time, and according to present terminal The location of equipment information is determined and the location of present terminal equipment letter from pre-stored several lighting apparatus The matched target illumination equipment of manner of breathing.It can long-range control of the more intelligentized realization to lighting apparatus by implementing this method System, in addition, making the usage experience sense of user more according to the location of terminal device information Auto-matching target illumination equipment It is good.
First control unit 407 is illuminated for control targe lighting apparatus with the brightness of illumination determined.
By implementing above-mentioned terminal device, usage experience sense when user video call can be improved, section can also be reached The purpose for saving electricity can also effectively avoid user in video calling by Environmental Noise Influence, can be logical in video with user There is good lighting condition when words.
Embodiment six
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.It is shown in fig. 6 Terminal device is that terminal device as shown in Figure 5 optimizes, as shown in fig. 6, the terminal device can also include:
Detection unit 408, for when terminal device is in video call state, detecting whether that receiving video calling asks It asks.
Second acquisition unit 409 is asked for when receiving above-mentioned video calling request, obtaining the above-mentioned video calling of initiation The second user account asked.
Second judgment unit 410, for judging that the second user account that second acquisition unit 409 is got is corresponding preferential Whether grade is higher than the corresponding priority level of the first user account;Wherein, the first user account is to be in current with terminal device The user account of video calling.
Second control unit 411, for being corresponded to higher than the first user account when the corresponding priority level of second user account Priority level when, control terminal equipment is asked in response to above-mentioned video calling, and video calling is established with second user account.
In embodiments of the present invention, being discussed in detail about user account priority level please refers to retouching in embodiment three It states, the embodiment of the present invention repeats no more.
Embodiment seven
Referring to Fig. 7, Fig. 7 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention.As shown in fig. 7, The terminal device may include:
It is stored with the memory 701 of executable program code;
The processor 702 coupled with memory 701;
Wherein, processor 702 calls the executable program code stored in memory 701, and it is any one to execute Fig. 1~Fig. 3 The control method of kind camera.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein the computer Program makes computer execute the control method of any one camera of Fig. 1~Fig. 3.
The embodiment of the present invention discloses a kind of computer program product, when the computer program product is run on computers When so that computer executes the control method of any one camera of Fig. 1~Fig. 3.
The embodiment of the present invention disclose it is a kind of apply distribution platform, this using distribution platform for issue computer program production Product, wherein when computer program product is run on computers so that computer executes any one camera of Fig. 1~Fig. 3 Control method.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can Any other computer-readable medium for carrying or storing data.
The control method and terminal device of a kind of camera disclosed by the embodiments of the present invention are described in detail above, Principle and implementation of the present invention are described for specific case used herein, and step sequence in above-mentioned specific case Number size be not meant to execution sequence it is inevitable successively, the execution sequence of each process should be true with its function and internal logic Fixed, the implementation process of the embodiments of the invention shall not be constituted with any limitation.The above-mentioned unit illustrated as separating component can be with It is or may not be and be physically separated, some or all of wherein unit can be selected according to the actual needs and realize this The purpose of example scheme.
Character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.In reality provided by the present invention It applies in example, it should be appreciated that " B corresponding with A " indicates that B is associated with A, and B can be determined according to A.It is also to be understood that determining B according to A It is not meant to determine B only according to A, can also determine B according to A and/or other information.In addition, in various embodiments of the present invention In each functional unit can be integrated in a processing unit, can also be that each unit physically exists alone, can also two During a or more than two units are integrated in one unit.The form that hardware had both may be used in above-mentioned integrated unit is realized, also may be used It is realized in the form of using SFU software functional unit.If above-mentioned integrated unit is realized in the form of SFU software functional unit and as only Vertical product is sold or in use, can be stored in a retrievable memory of computer.Based on this understanding, this hair Bright technical solution substantially the part that contributes to existing technology or the technical solution in other words it is all or part of, It can be expressed in the form of software products, which is stored in a memory, including several requests With so that a computer equipment (can be personal computer, server or network equipment etc., can be specifically computer Processor in equipment) execute some or all of each embodiment above method of present invention step.
The explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile for this The those skilled in the art in field, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, In conclusion the content of the present specification should not be construed as limiting the invention.

Claims (10)

1. a kind of control method of camera, which is characterized in that including:
When terminal device is in video call state, portrait capture is carried out by built-in camera;
The portrait captured is confirmed as target object;
In the target object moving process, controls the camera and adjust shooting angle to track the target object, and The target object is shot during tracking the target object.
2. according to the method described in claim 1, it is characterized in that, described be confirmed as target object by the portrait captured, packet It includes:
Detect the center the shooting area whether portrait captured is located at the camera;
When the portrait captured is located at the center shooting area, the portrait captured is confirmed as target pair As.
3. method according to claim 1 or 2, which is characterized in that described that the portrait captured is confirmed as target object Later, and in the target object moving process it controls the camera and adjusts shooting angle to track the target pair As, and before being shot to the target object during tracking the target object, the method further includes:
The characteristic information of the target object is obtained, the characteristic information includes at least clothes color and facial information;
Using the characteristic information as the tracking clue for the target object;
It is described in the target object moving process, control the camera and adjust shooting angle to track the target pair As, and the target object is shot during tracking the target object, including:
In the target object moving process, the location information of the target object is obtained in real time according to the tracking clue, And the adjustment angle of the camera is determined according to the positional information;
Control the camera and the shooting angle of the camera adjusted according to described adjust the angle, and control the camera with The shooting angle shoots the target object.
4. according to the method described in claim 1, it is characterized in that, described when terminal device is in video call state, lead to It crosses before built-in camera progress portrait capture, the method further includes:
Judge whether the ambient brightness in region residing for the terminal device is more than predetermined luminance;
When the ambient brightness is less than or equal to the predetermined luminance, illumination of the output for region residing for the terminal device Equipment selection interface;
It determines the target illumination equipment that user selects in the lighting apparatus selection interface, and institute is determined according to the ambient brightness State the brightness of illumination of target illumination equipment;
The target illumination equipment is controlled to be illuminated with the brightness of illumination.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
When the terminal device is in video call state, detect whether to receive video calling request;
When receiving the video calling request, the second user account for initiating the video calling request is obtained;
Judge whether the corresponding priority level of the second user account is higher than the corresponding priority level of the first user account;Its In, first user account is the user account that current video call is in the terminal device;
When the corresponding priority level of second user account priority level corresponding higher than first user account, control The terminal device is asked in response to the video calling, and video calling is established with the second user account.
6. a kind of terminal device, which is characterized in that including:
Capture unit, for when the terminal device is in video call state, carrying out portrait by built-in camera and catching It catches;
Determination unit, for the portrait captured to be confirmed as target object;
Tracking cell adjusts shooting angle to track in the target object moving process, controlling the camera Target object is stated, and the target object is shot during tracking the target object.
7. terminal device according to claim 6, which is characterized in that the portrait that the determination unit is used to capture is true Think that the mode of target object is specially:
Whether the determination unit is located at the center shooting area of the camera for detecting the portrait captured, and works as When the portrait captured is located at the center shooting area, the portrait captured is confirmed as target object.
8. the terminal device described according to claim 6 or 7, which is characterized in that the terminal device further includes:
First acquisition unit, for after the portrait captured is confirmed as target object in the determination unit and described Tracking cell controls the camera in the target object moving process and adjusts shooting angle to track the target object, And before being shot to the target object during tracking the target object, the feature letter of the target object is obtained Breath, the characteristic information include at least clothes color and facial information, and using the characteristic information as the target The tracking clue of object;
The tracking cell adjusts shooting angle to track for controlling the camera in the target object moving process The target object, and the mode shot to the target object during tracking the target object is specially:
The tracking cell, in the target object moving process, the mesh to be obtained in real time according to the tracking clue The location information of object is marked, and determines the adjustment angle of the camera according to the positional information, and the control camera shooting Head adjusts the angle the shooting angle of the adjustment camera according to described, and controls the camera with the shooting angle to institute Target object is stated to be shot.
9. terminal device according to claim 6, which is characterized in that the terminal device further includes:
First judging unit, for the capture unit when the terminal device is in video call state, by built-in Before camera carries out portrait capture, judge whether the ambient brightness in region residing for the terminal device is more than predetermined luminance;
Output unit judges that the ambient brightness is less than or equal to the predetermined luminance for working as first judging unit When, lighting apparatus selection interface of the output for region residing for the terminal device;
The determination unit is additionally operable to determine the target illumination equipment that user selects in the lighting apparatus selection interface, and root The brightness of illumination of the target illumination equipment is determined according to the ambient brightness;
First control unit is illuminated for controlling the target illumination equipment with the brightness of illumination.
10. terminal device according to claim 6, which is characterized in that the terminal device further includes:
Detection unit receives video calling request for when the terminal device is in video call state, detecting whether;
Second acquisition unit initiates the of the video calling request for when receiving video calling request, obtaining Two user accounts;
Second judgment unit, for judging whether the corresponding priority level of the second user account is higher than the first user account pair The priority level answered;Wherein, first user account is the user account that current video call is in the terminal device;
Second control unit, for being corresponded to higher than first user account when the corresponding priority level of the second user account Priority level when, control the terminal device and asked in response to the video calling, with the second user account foundation regard Frequency is conversed.
CN201810836828.9A 2018-07-26 2018-07-26 Camera control method and terminal equipment Pending CN108683855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810836828.9A CN108683855A (en) 2018-07-26 2018-07-26 Camera control method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810836828.9A CN108683855A (en) 2018-07-26 2018-07-26 Camera control method and terminal equipment

Publications (1)

Publication Number Publication Date
CN108683855A true CN108683855A (en) 2018-10-19

Family

ID=63815768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810836828.9A Pending CN108683855A (en) 2018-07-26 2018-07-26 Camera control method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108683855A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168075A (en) * 2018-10-30 2019-01-08 上海与德科技有限公司 A kind of video information transmission method, system, server
CN110177239A (en) * 2019-03-14 2019-08-27 广东小天才科技有限公司 Video call method based on remote control and wearable device
CN110266937A (en) * 2019-05-14 2019-09-20 深圳三诺信息科技有限公司 The control method of terminal device and camera
CN110381281A (en) * 2019-07-17 2019-10-25 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN111031253A (en) * 2020-01-13 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment
CN111178348A (en) * 2019-12-09 2020-05-19 广东小天才科技有限公司 Method for tracking target object and sound box equipment
CN111757039A (en) * 2019-05-09 2020-10-09 广东小天才科技有限公司 Video call method of wearable device and wearable device
CN113011259A (en) * 2021-02-09 2021-06-22 苏州臻迪智能科技有限公司 Operation method of electronic equipment
CN113076007A (en) * 2021-04-29 2021-07-06 深圳创维-Rgb电子有限公司 Display screen visual angle adjusting method and device and storage medium
CN113179372A (en) * 2021-04-25 2021-07-27 维沃移动通信(杭州)有限公司 Method and device for combining image acquisition device with artificial intelligence and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090111515A1 (en) * 2007-10-31 2009-04-30 Joo Won-Seok Mobile terminal
CN102014207A (en) * 2010-11-30 2011-04-13 中兴通讯股份有限公司 Communication terminal and visual telephone processing method
CN202068479U (en) * 2010-12-30 2011-12-07 深圳亚希诺科技有限公司 Object tracking camera having a scrollable bottom
CN102752573A (en) * 2011-04-21 2012-10-24 中兴通讯股份有限公司 Video communication terminal and video communication method
CN104168389A (en) * 2014-08-27 2014-11-26 深圳市中兴移动通信有限公司 Conversation answering method and device
CN105898136A (en) * 2015-11-17 2016-08-24 乐视致新电子科技(天津)有限公司 Camera angle adjustment method, system and television

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090111515A1 (en) * 2007-10-31 2009-04-30 Joo Won-Seok Mobile terminal
CN102014207A (en) * 2010-11-30 2011-04-13 中兴通讯股份有限公司 Communication terminal and visual telephone processing method
CN202068479U (en) * 2010-12-30 2011-12-07 深圳亚希诺科技有限公司 Object tracking camera having a scrollable bottom
CN102752573A (en) * 2011-04-21 2012-10-24 中兴通讯股份有限公司 Video communication terminal and video communication method
CN104168389A (en) * 2014-08-27 2014-11-26 深圳市中兴移动通信有限公司 Conversation answering method and device
CN105898136A (en) * 2015-11-17 2016-08-24 乐视致新电子科技(天津)有限公司 Camera angle adjustment method, system and television

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168075A (en) * 2018-10-30 2019-01-08 上海与德科技有限公司 A kind of video information transmission method, system, server
CN110177239A (en) * 2019-03-14 2019-08-27 广东小天才科技有限公司 Video call method based on remote control and wearable device
CN111757039A (en) * 2019-05-09 2020-10-09 广东小天才科技有限公司 Video call method of wearable device and wearable device
CN111757039B (en) * 2019-05-09 2022-03-25 广东小天才科技有限公司 Video call method of wearable device and wearable device
CN110266937A (en) * 2019-05-14 2019-09-20 深圳三诺信息科技有限公司 The control method of terminal device and camera
CN110381281A (en) * 2019-07-17 2019-10-25 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN110381281B (en) * 2019-07-17 2022-01-25 维沃移动通信有限公司 Prompting method and mobile terminal
CN111178348A (en) * 2019-12-09 2020-05-19 广东小天才科技有限公司 Method for tracking target object and sound box equipment
CN111178348B (en) * 2019-12-09 2024-03-22 广东小天才科技有限公司 Method for tracking target object and sound box equipment
CN111031253A (en) * 2020-01-13 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment
CN113011259A (en) * 2021-02-09 2021-06-22 苏州臻迪智能科技有限公司 Operation method of electronic equipment
CN113179372A (en) * 2021-04-25 2021-07-27 维沃移动通信(杭州)有限公司 Method and device for combining image acquisition device with artificial intelligence and electronic equipment
CN113076007A (en) * 2021-04-29 2021-07-06 深圳创维-Rgb电子有限公司 Display screen visual angle adjusting method and device and storage medium

Similar Documents

Publication Publication Date Title
CN108683855A (en) Camera control method and terminal equipment
WO2017054452A1 (en) Information processing method and terminal, and computer storage medium
EP3301521A2 (en) Method and apparatus for controlling device
EP3168776A1 (en) Image recognition method and device for game
US11219820B2 (en) Control method for virtual controlled object, apparatus, storage medium, and electronic apparatus
CN108063901A (en) A kind of image-pickup method, terminal and computer readable storage medium
CN110086993A (en) Image processing method, device, mobile terminal and computer readable storage medium
CN107566746B (en) Photographing method and user terminal
CN108848309B (en) Camera program starting method and mobile terminal
CN112346685A (en) Screen-off and screen-projection control method and device and computer readable storage medium
CN109995991A (en) Shooting method, robot and mobile terminal
CN109462696A (en) Information cuing method, mobile terminal and computer readable storage medium
CN107861620B (en) Information processing method and electronic equipment
CN109542325A (en) Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing
CN108920047A (en) A kind of control method of application program, terminal and computer readable storage medium
CN110011970A (en) A kind of journal obtaining method, terminal and computer readable storage medium
CN109885371A (en) False-touch prevention exchange method, mobile terminal and computer readable storage medium
CN109005578A (en) Method for reducing power consumption of video call and wearable device
CN109144383A (en) A kind of application control method, terminal and computer readable storage medium
CN107968888A (en) A kind of method for controlling mobile terminal, mobile terminal and computer-readable recording medium
CN110248024B (en) Unlocking method and device, electronic equipment and computer readable storage medium
CN107679459A (en) Light control method, mobile terminal and the computer-readable recording medium of iris recognition
CN104994284B (en) A kind of control method and electric terminal of wide-angle camera
CN109040541A (en) Terminal flash lamp uses control method, terminal and computer readable storage medium
CN109660666A (en) Data card switching method, mobile terminal and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181019

RJ01 Rejection of invention patent application after publication