CN105049710A - Large-view angle camera control method and user terminal - Google Patents

Large-view angle camera control method and user terminal Download PDF

Info

Publication number
CN105049710A
CN105049710A CN201510382774.XA CN201510382774A CN105049710A CN 105049710 A CN105049710 A CN 105049710A CN 201510382774 A CN201510382774 A CN 201510382774A CN 105049710 A CN105049710 A CN 105049710A
Authority
CN
China
Prior art keywords
visual angle
person
camera
shooting
great visual
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.)
Granted
Application number
CN201510382774.XA
Other languages
Chinese (zh)
Other versions
CN105049710B (en
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 Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510382774.XA priority Critical patent/CN105049710B/en
Publication of CN105049710A publication Critical patent/CN105049710A/en
Application granted granted Critical
Publication of CN105049710B publication Critical patent/CN105049710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a large-view angle camera control method and a user terminal. The method comprises steps: when a photographing function of the large-view angle camera is opened, a first figure image currently collected by the large-view angle camera is acquired; the number of figures in the first figure image is recognized, and whether the figure number is smaller than a preset figure number is detected; if the figure number is detected to be smaller than the preset figure number, the difference between the figure number and the preset figure number is determined; according to the mapping relationship between the pre-stored figure number difference and a view angle adjustment value, the photographing view angle currently used by the large-view angle camera is adjusted as big as a photographing view angle matched with the difference; and the large-view angle camera is used for carrying out photographing by using the photographing view angle after adjustment. When the embodiment of the invention is implemented, the photographing effects by using the large-view angle camera can be optimized.

Description

One is camera control method and user terminal with great visual angle
Technical field
The present invention relates to electronic technology field, particularly relate to one camera control method and user terminal with great visual angle.
Background technology
Along with the fast development of electronic technology and the universal rapidly of terminal, the function of terminal strengthens day by day, and the configuration of terminal is also become better and better.Such as, increasing terminal configuration is made a video recording with great visual angle first-class, the excellent picture during therefore user can utilize terminal record to live.But, in actual applications, use when utilizing terminal camera is taken with great visual angle time, shooting visual angle be changeless; Like this when carrying out many people and being in step with, because shooting visual angle is fixing, then the shooting visual angle can taken also is fixing, may occur part personage so not in this shooting visual angle, thus cause taking whole personages.Visible, use the shooting effect of camera with great visual angle poor at present.
Summary of the invention
Embodiments provide one camera control method and user terminal with great visual angle, the shooting effect using camera with great visual angle can be optimized.
First aspect, the embodiment of the invention discloses one camera control method with great visual angle, comprising:
When the shoot function of camera is with great visual angle opened, the current the first object image collected of camera with great visual angle described in acquisition;
Identify the number of person in described the first object image, and detect described number of person and whether be less than the number of person value preset;
When the number of person value preset described in detecting described number of person and being less than, determine the difference of described number of person and the described number of person value preset;
According to the mapping relations of the number of person difference prestored and visual angle adjusted value, the shooting visual angle of the current use of described camera is with great visual angle tuned up the shooting visual angle to matching with described difference;
Described in using, camera is taken with the shooting visual angle after adjustment with great visual angle.
In conjunction with the implementation of first aspect, in the first possible implementation of first aspect, described step is according to the mapping relations of the number of person difference prestored and visual angle adjusted value, the shooting visual angle of the current use of described camera is with great visual angle tuned up to after the shooting visual angle matched with described difference, before described in described step uses, camera is taken with the shooting visual angle after adjustment with great visual angle, described method can also comprise the following steps:
Obtain camera with great visual angle with the characteristics of image of the second character image of the current collection in shooting visual angle after adjustment;
Judge whether described preview image distorts according to described characteristics of image;
If judge that described preview image distorts according to described characteristics of image, then export the information for the normal photographing visual angle of pointing out current shooting visual angle to exceed to preset.
In conjunction with the implementation of first aspect, in the implementation that the second of first aspect is possible, described step is when the shoot function of camera is with great visual angle opened, and described in acquisition with great visual angle before the current the first object image collected of camera, described method can also comprise the following steps:
Obtain current environment brightness value;
Whether detect described current environment brightness value higher than predetermined luminance threshold value;
If detect described current environment brightness value higher than described predetermined luminance threshold value, then open the shoot function of camera with great visual angle.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, described in described step uses, camera is taken with the shooting visual angle after adjustment with great visual angle, comprises the following steps:
Obtain camera with great visual angle with the 3rd character image of the current collection in shooting visual angle after adjustment;
Identify the number of person in described 3rd character image;
When detecting that the number of person in described 3rd character image is equal with the described number of person value preset, export the information for pointing out input shooting instruction;
When receiving the shooting instruction of the described information input of response, described in using, camera is taken with the shooting visual angle after adjustment with great visual angle.
Any one implementation in the implementation possible in conjunction with the second of the first possible implementation of the implementation of first aspect, first aspect, first aspect and the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described step is after the shoot function of camera is with great visual angle opened, described in described acquisition with great visual angle before the current the first object image collected of camera, described method can also comprise the following steps:
Receive user and input described number of person value, wherein, described number of person value is for representing the number of person that current needs are taken.
Second aspect, the embodiment of the invention discloses a kind of user terminal, comprising:
First acquiring unit, for when the shoot function of camera is with great visual angle opened, the current the first object image collected of camera with great visual angle described in acquisition;
Recognition unit, for identifying the number of person in the first object image that described first acquiring unit obtains, and detects described number of person and whether is less than the number of person value preset;
Determining unit, for detect when described recognition unit described number of person be less than described in preset number of person value time, determine the difference of described number of person and the described number of person value preset;
First adjustment unit, for the mapping relations according to the number of person difference that prestores and visual angle adjusted value, tunes up the shooting visual angle to the difference determined with described determining unit matches by the shooting visual angle of the current use of described camera with great visual angle;
Shooting unit, for described in using with great visual angle camera take with the shooting visual angle after adjustment.
In conjunction with the user terminal of second aspect, in the first possible user terminal of second aspect, described user terminal also comprises:
Second acquisition unit, for obtaining camera with great visual angle with the characteristics of image of the second character image of the current collection in shooting visual angle after described first adjustment unit adjustment;
Judging unit, the characteristics of image for obtaining according to described second acquisition unit judges whether described preview image distorts;
Output unit, if judge that described preview image distorts for described judging unit according to described characteristics of image, then exports the information for the normal photographing visual angle of pointing out current shooting visual angle to exceed to preset.
In conjunction with the user terminal of second aspect, in the user terminal that the second of second aspect is possible, described user terminal also comprises:
3rd acquiring unit, for obtaining current environment brightness value;
Whether detecting unit, for detecting the current environment brightness value of described 3rd acquiring unit acquisition higher than predetermined luminance threshold value;
Open unit, if detect described current environment brightness value higher than described predetermined luminance threshold value for described detecting unit, then open the shoot function of camera with great visual angle.
In conjunction with the user terminal that the second of second aspect is possible, in the third possible user terminal of second aspect, described shooting unit comprises:
Acquisition module, for obtaining camera with great visual angle with the 3rd character image of the current collection in shooting visual angle after adjustment;
Identification module, for identifying the number of person in the 3rd character image that described acquisition module obtains;
Output module, for when detecting that the number of person in described 3rd character image is equal with the described number of person value preset, exports the information for pointing out input shooting instruction;
Taking module, for when receiving the shooting instruction of the described information input of response, described in using, camera is taken with the shooting visual angle after adjustment with great visual angle.
Any one user terminal in the user terminal possible in conjunction with the second of the first possible user terminal of the user terminal of second aspect, second aspect, second aspect and the third possible user terminal of second aspect, in the 4th kind of possible user terminal of second aspect, described user terminal also comprises:
Receiving element, inputs described number of person value for receiving user, and wherein, described number of person value is for representing the number of person that current needs are taken.
In the embodiment of the present invention, when the shoot function of camera is with great visual angle opened, the current the first object image collected of camera with great visual angle described in first obtaining; Identify the number of person in described the first object image, and detect described number of person and whether be less than the number of person value preset; If detect described number of person be less than described in preset number of person value time, determine the difference of described number of person and the described number of person value preset; According to the mapping relations of the number of person difference prestored and visual angle adjusted value, the shooting visual angle of the current use of described camera is with great visual angle tuned up the shooting visual angle to matching with described difference; Described in using, camera is taken with the shooting visual angle after adjustment with great visual angle.In embodiments of the present invention, user terminal can adjust the shooting visual angle of the camera with great visual angle of user terminal according to the number of person detected and the number of person difference preset, thus more user can be made to enter in the shooting angular field of view of camera with great visual angle.Visible, implement the embodiment of the present invention and can optimize the shooting effect using camera with great visual angle.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of camera control method with great visual angle disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the disclosed another kind of camera control method with great visual angle of the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses one camera control method and user terminal with great visual angle.In embodiments of the present invention, user terminal can adjust the shooting visual angle of the camera with great visual angle of user terminal according to the number of person detected and the number of person difference preset, thus more user can be made to enter in the shooting angular field of view of camera with great visual angle.Visible, implement the embodiment of the present invention and can optimize the shooting effect using camera with great visual angle.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of camera control method with great visual angle disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), PAD etc. and be provided with in the user terminal of camera with great visual angle.As shown in Figure 1, this with great visual angle camera control method can comprise the following steps:
S101, when the shoot function of camera is with great visual angle opened, obtain the current the first object image collected of camera with great visual angle.
In the embodiment of the present invention, when the shoot function of camera is with great visual angle opened, can be undertaken gathering the preview image entering camera imaging region with great visual angle by camera with great visual angle, and it can be used as the first object image.
S102, the number of person identified in the first object image, and detect number of person and whether be less than the number of person value preset.
In the embodiment of the present invention, can preset this in the user terminal needs to carry out the number of taking, wherein, described in preset this need the number of carrying out taking at least to comprise one, and the positive integer being greater than zero should be set it to.
As the optional execution mode of one, user terminal can carry out determining number of person according to the face feature entering facial image in camera imaging region with great visual angle; Also can be carry out determining number of person according to the quantity of the leg of the personage entered in camera imaging region with great visual angle; The present invention is not construed as limiting.
In the embodiment of the present invention, the number of person value that this presets can be that user sets as required, and, can change according to the number of person of user's input at any time, be not that a dirt is constant yet.And in user terminal, also can preset the number of person value of a system default.
As the optional execution mode of one, also can preset at user terminal and change for different scene user terminals the number of person value preset.For example, when when place of residence, the number of person value preset is set to 5 people; When in public places, the number of person value preset is set to 15 people.
As the optional execution mode of another kind, also can preset at user terminal and change for different time user terminals the number of person value preset.As: during 9:00 in the morning, the number of person value preset is set to 1 people; When 14:00, the number of person value preset is set to 15 people.
Particularly, according to the first object image identification collected, this enters the number of person in camera imaging region with great visual angle to user terminal, and detects this number of person entering camera imaging region with great visual angle and whether be less than the number of person value preset.For example, if the number preset is 10, and the number of person that user terminal detects in this first object image collected is 8, then illustrate that all person's shootings to be captured can not be come in by this shooting visual angle of camera with great visual angle.
If S103 detects number of person when being less than the number of person value preset, determine the difference of number of person and the number of person value preset.
In the embodiment of the present invention, when detecting this number of person collected and being less than the number of person value preset, then illustrate and also have part person to be captured not enter in the shooting angular field of view of camera with great visual angle; Then now can by determining this number of person collected and the difference of number of person value preset.
S104, mapping relations according to the number of person difference that prestores and visual angle adjusted value, tune up the shooting visual angle to matching with difference by the shooting visual angle of the current use of camera with great visual angle.
In the embodiment of the present invention, the mapping relations of number of person difference and visual angle adjusted value can be prestored in the user terminal.For example, when number of person difference is 2 people, then the shooting angle of camera with great visual angle can be expanded 20 degree, also, if when shooting visual angle is 80 degree before adjustment, then the shooting visual angle after adjusting is 100 degree; When number of person difference is 6 people, then the shooting angle of camera with great visual angle can be expanded 30 degree, also, if when shooting visual angle is 80 degree before adjustment, then the shooting visual angle after adjusting is 110 degree.
In the embodiment of the present invention, the number of person difference prestored in user terminal and the mapping relations of visual angle adjusted value can be that user oneself sets as required; Also can be that user terminal sets according to the history setting recording of user; Can also be user terminal sets best mapping relations according to search related data.
S105, camera is with great visual angle used to take with the shooting visual angle after adjustment.
In the embodiment of the present invention, after the shooting visual angle of camera with great visual angle adjusts, user terminal can control camera with great visual angle and take with the shooting visual angle after adjustment.
In FIG, when the shoot function of camera is with great visual angle opened, the current the first object image collected of camera with great visual angle is first obtained; Identify the number of person in the first object image, and detect number of person and whether be less than the number of person value preset; If detect number of person when being less than the number of person value preset, determine the difference of number of person and the number of person value preset; According to the mapping relations of the number of person difference prestored and visual angle adjusted value, the shooting visual angle of the current use of camera is with great visual angle tuned up the shooting visual angle to matching with difference; Camera is with great visual angle used to take with the shooting visual angle after adjustment.In embodiments of the present invention, user terminal can adjust the shooting visual angle of the camera with great visual angle of user terminal according to the number of person detected and the number of person difference preset, thus more user can be made to enter in the shooting angular field of view of camera with great visual angle.Visible, implement the embodiment of the present invention and can optimize the shooting effect using camera with great visual angle.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the disclosed another kind of camera control method with great visual angle of the embodiment of the present invention.As shown in Figure 2, this with great visual angle camera control method can comprise the following steps:
S201, when the shoot function of camera is with great visual angle opened, receive user and input described number of person value.
In the embodiment of the present invention, number of person value is for representing the number of person that current needs are taken.
In the embodiment of the present invention, when the shoot function of camera is with great visual angle opened, can receive user's input setting this need the number of person value of shooting.Wherein, the mode of user's input can be inputted by touch-control target button, and also can be inputted by the mode of phonetic entry, the present invention be not construed as limiting.
In the embodiment of the present invention, step reception user can also comprise the following steps before inputting described number of person value:
11) current environment brightness value is obtained;
12) whether current environment brightness value is detected higher than predetermined luminance threshold value;
13) if detect current environment brightness value higher than predetermined luminance threshold value, then the shoot function of camera is with great visual angle opened.
In the embodiment of the present invention, because camera result of use when brightness values is larger is relatively good with great visual angle, and when brightness values is smaller, the reason that final imaging effect is not good, therefore before the shoot function opening camera with great visual angle, first should detect current environment brightness value, when detection current environment brightness value is higher than predetermined luminance threshold value, then open the shoot function of camera with great visual angle.
S202, obtain the current the first object image collected of camera with great visual angle.
S203, the number of person identified in the first object image, and detect number of person and whether be less than the number of person value preset.
If S204 detects number of person when being less than the number of person value preset, determine the difference of number of person and the number of person value preset.
S205, mapping relations according to the number of person difference that prestores and visual angle adjusted value, tune up the shooting visual angle to matching with difference by the shooting visual angle of the current use of camera with great visual angle.
In the embodiment of the present invention, when the mapping relations according to the number of person difference that prestores and visual angle adjusted value, the shooting visual angle of the current use of camera is with great visual angle tuned up to after the shooting visual angle matched with difference, can also comprise the following steps:
21) camera is with great visual angle obtained with the characteristics of image of the second character image of the current collection in shooting visual angle after adjustment.
22) judge whether preview image distorts according to characteristics of image.
23) if judge that preview image distorts according to characteristics of image, then the information for the normal photographing visual angle of pointing out current shooting visual angle to exceed to preset is exported.
In the embodiment of the present invention, owing to using the image obtained captured by camera with great visual angle all to have distortion, and when shooting visual angle is larger, the distortion of the image of final imaging can be more serious.Therefore, the information of a distortion can be preset in the user terminal, when the rank distorted exceedes the level threshold preset, then point out user's current shooting visual angle to exceed the information at the normal photographing visual angle preset.
In the embodiment of the present invention, when the mapping relations according to the number of person difference prestored and visual angle adjusted value, tuned up at the shooting visual angle of the current use of camera with great visual angle to the shooting visual angle matched with difference, whether the number of person that user terminal also can detect in the current character image collected again is still less than the number of person value preset.If when the user terminal number of person detected in the current character image collected still is less than the number of person value preset, user terminal can rotate to an angle by controlling camera with great visual angle.For example, when only having body structure to have imaging in imaging region by detecting to have in a person to be captured in camera imaging region with great visual angle, then user terminal can by rotating to an angle, and makes this person to be captured can in the shooting angular field of view of camera with great visual angle.Angle value about rotation angle of camera with great visual angle can be different according to different situations, and direction of rotation also can rotate as required.
S206, camera is with great visual angle used to take with the shooting visual angle after adjustment.
In the embodiment of the present invention, step obtains camera with great visual angle and specifically comprises the following steps with the 3rd character image of the current collection in shooting visual angle after adjustment: identify the number of person in the 3rd character image; When detecting that the number of person in the 3rd character image is equal with the number of person value preset, export the information for pointing out input shooting instruction; When receiving the shooting instruction of response information input, camera is with great visual angle used to take with the shooting visual angle after adjustment.
In the embodiment of the present invention, the mapping relations of the number of person difference that user terminal can prestore in first time basis and visual angle adjusted value, the shooting visual angle of the current use of camera is with great visual angle tuned up to the shooting visual angle matched with difference, this step of meeting multiple exercise, and after adjusting the shooting visual angle of camera with great visual angle, whether equal with the number of person preset the number of person that still can detect in the character image of current collection is.If when the number of times performing above-mentioned steps reaches the number of times preset, still detect that the number of person in the character image of current collection is unequal with the number of person preset, then can export for pointing out this information that adjustment stops.If when the number of times performing above-mentioned steps does not reach the number of times preset, detect that the number of person in the character image of current collection is equal with the number of person preset, then control camera with great visual angle and take.
In fig. 2, describing user terminal in detail when controlling that camera is taken with great visual angle, the adjustment through repeatedly angle value may be needed, but also can preset an adjustment upper limit in the user terminal.Implement the embodiment of the present invention when optimization uses the shooting effect of camera with great visual angle, also can reduce the power consumption of user terminal simultaneously.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention, for performing above-mentioned camera control method with great visual angle.Wherein, user terminal involved by Fig. 3 can include but not limited to the user terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), PAD.As shown in Figure 3, this user terminal can comprise: the first acquiring unit 301, recognition unit 302, determining unit 303, first adjustment unit 304 and shooting unit 305, wherein,
First acquiring unit 301, for when the shoot function of camera is with great visual angle opened, obtains the current the first object image collected of camera with great visual angle.
In the embodiment of the present invention, when the shoot function of camera is with great visual angle opened, the first acquiring unit 301 can be undertaken gathering the preview image entering camera imaging region with great visual angle by camera with great visual angle, and it can be used as the first object image.
Recognition unit 302, for identifying the number of person in the first object image that the first acquiring unit 301 obtains, and detects number of person and whether is less than the number of person value preset.
In the embodiment of the present invention, can preset the number that this needs to carry out taking in the user terminal, wherein, this presetting needs the number of carrying out taking at least to comprise one, and should set it to the positive integer being greater than zero.
As the optional execution mode of one, recognition unit 302 can carry out determining number of person according to the face feature entering facial image in camera imaging region with great visual angle; Also can be carry out determining number of person according to the quantity of the leg of the personage entered in camera imaging region with great visual angle; The present invention is not construed as limiting.
In the embodiment of the present invention, the number of person value that this presets can be that user sets as required, and, can change according to the number of person of user's input at any time, be not that a dirt is constant yet.And in user terminal, also can preset the number of person value of a system default.
As the optional execution mode of one, also can preset at user terminal and change for different scene user terminals the number of person value preset.For example, when when place of residence, the number of person value preset is set to 5 people; When in public places, the number of person value preset is set to 15 people.
As the optional execution mode of another kind, also can preset at user terminal and change for different time user terminals the number of person value preset.As: during 9:00 in the morning, the number of person value preset is set to 1 people; When 14:00, the number of person value preset is set to 15 people.
Particularly, according to the first object image identification collected, this enters the number of person in camera imaging region with great visual angle to recognition unit 302, and detects this number of person entering camera imaging region with great visual angle and whether be less than the number of person value preset.For example, if the number preset is 10, and the number of person that user terminal detects in this first object image collected is 8, then illustrate that all person's shootings to be captured can not be come in by this shooting visual angle of camera with great visual angle.
Determining unit 303, if for recognition unit 302 detect number of person be less than the number of person value preset time, determine number of person and the difference of number of person value preset.
In the embodiment of the present invention, when detecting this number of person collected and being less than the number of person value preset, then illustrate and also have part person to be captured not enter in the shooting angular field of view of camera with great visual angle; Then now determining unit 303 can by determining this number of person collected and the difference of number of person value preset.
First adjustment unit 304, for the mapping relations according to the number of person difference that prestores and visual angle adjusted value, tunes up the shooting visual angle to the difference determined with determining unit 303 matches by the shooting visual angle of the current use of camera with great visual angle.
In the embodiment of the present invention, the mapping relations of number of person difference and visual angle adjusted value can be prestored in the user terminal.For example, when number of person difference is 2 people, then the shooting angle of camera with great visual angle can be expanded 20 degree, also, if when shooting visual angle is 80 degree before adjustment, then the shooting visual angle after adjusting is 100 degree; When number of person difference is 6 people, then the shooting angle of camera with great visual angle can be expanded 30 degree, also, if when shooting visual angle is 80 degree before adjustment, then the shooting visual angle after adjusting is 110 degree.
In the embodiment of the present invention, the number of person difference prestored in user terminal and the mapping relations of visual angle adjusted value can be that user oneself sets as required; Also can be that user terminal sets according to the history setting recording of user; Can also be user terminal sets best mapping relations according to search related data.
Shooting unit 305, takes with the shooting visual angle after adjustment for using camera with great visual angle.
In the embodiment of the present invention, after the first adjustment unit 304 adjusts the shooting visual angle of camera with great visual angle, shooting unit 305 can control camera with great visual angle and take with the shooting visual angle after adjustment.
In figure 3, when the shoot function of camera is with great visual angle opened, the first acquiring unit 301 first obtains the current the first object image collected of camera with great visual angle; Recognition unit 302 identifies the number of person in the first object image, and detects number of person and whether be less than the number of person value preset; If detect number of person when being less than the number of person value preset, determining unit 303 determines the difference of number of person and the number of person value preset; The shooting visual angle of the current use of camera with great visual angle, according to the mapping relations of the number of person difference prestored and visual angle adjusted value, is tuned up the shooting visual angle to matching with difference by the first adjustment unit 304; Finally taking unit 305 uses camera with great visual angle to take with the shooting visual angle after adjustment.In embodiments of the present invention, first adjustment unit 304 can adjust the shooting visual angle of the camera with great visual angle of user terminal according to the number of person detected and the number of person difference preset, thus more user can be made to enter in the shooting angular field of view of camera with great visual angle.Visible, implement the embodiment of the present invention and can optimize the shooting effect using camera with great visual angle.
Refer to Fig. 4, Fig. 4 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention, for performing above-mentioned camera control method with great visual angle.Wherein, Fig. 4 obtains at the enterprising step refining in the basis of Fig. 3, except comprising all unit shown in Fig. 3, can also comprise with lower unit: the 3rd acquiring unit 306, detecting unit 307, unlatching unit 308, receiving element 309, second acquisition unit 310, judging unit 311 and output unit 312, wherein
3rd acquiring unit 306, for obtaining current environment brightness value.
Whether detecting unit 307, for detecting the current environment brightness value of the 3rd acquiring unit 306 acquisition higher than predetermined luminance threshold value.
Open unit 308, if detect current environment brightness value higher than predetermined luminance threshold value for detecting unit, then open the shoot function of camera with great visual angle.
In the embodiment of the present invention, because camera result of use when brightness values is larger is relatively good with great visual angle, and when brightness values is smaller, the reason that final imaging effect is not good, therefore before the shoot function opening camera with great visual angle, first should detect current environment brightness value, when detection current environment brightness value is higher than predetermined luminance threshold value, then open the shoot function of camera with great visual angle.
Receiving element 309, inputs described number of person value for receiving user
In the embodiment of the present invention, number of person value is for representing the number of person that current needs are taken.
In the embodiment of the present invention, when the shoot function of camera is with great visual angle opened, receiving element 309 can receive user's input setting this need the number of person value of shooting.Wherein, the mode of user's input can be inputted by touch-control target button, and also can be inputted by the mode of phonetic entry, the present invention be not construed as limiting.
Second acquisition unit 310, for obtain camera with great visual angle adjust with the first adjustment unit 304 after the characteristics of image of the second character image of the current collection in shooting visual angle.
Judging unit 311, the characteristics of image for obtaining according to second acquisition unit 310 judges whether preview image distorts.
Output unit 312, if judge that preview image distorts for judging unit 311 according to characteristics of image, then exports the information for the normal photographing visual angle of pointing out current shooting visual angle to exceed to preset.
In the embodiment of the present invention, owing to using the image obtained captured by camera with great visual angle all to have distortion, and when shooting visual angle is larger, the distortion of the image of final imaging can be more serious.Therefore, the information of a distortion can be preset in the user terminal, when the rank distorted exceedes the level threshold preset, then point out user's current shooting visual angle to exceed the information at the normal photographing visual angle preset.
In the embodiment of the present invention, when the mapping relations according to the number of person difference prestored and visual angle adjusted value, tuned up at the shooting visual angle of the current use of camera with great visual angle to the shooting visual angle matched with difference, whether the number of person that can also again detect in the current character image collected still is less than the number of person value preset.If when the number of person detected in the current character image collected still is less than the number of person value preset, can rotate to an angle by controlling camera with great visual angle.For example, when only having body structure to have imaging in imaging region by detecting to have in a person to be captured in camera imaging region with great visual angle, then can by rotating to an angle, make this person to be captured can in the shooting angular field of view of camera with great visual angle.Angle value about rotation angle of camera with great visual angle can be different according to different situations, and direction of rotation also can rotate as required.
As the optional execution mode of one, shooting unit 305 can comprise further in refinement: acquisition module 3050, identification module 3051, output module 3052 and taking module 3053, wherein,
Acquisition module 3050, for obtaining camera with great visual angle with the 3rd character image of the current collection in shooting visual angle after adjustment.
Identification module 3051, for identifying the number of person in the 3rd character image that acquisition module obtains.
Output module 3052, for when detecting that the number of person in the 3rd character image is equal with the number of person value preset, exports the information for pointing out input shooting instruction.
Taking module 3053, for when receiving the shooting instruction of response information input, uses camera with great visual angle to take with the shooting visual angle after adjustment.
In the embodiment of the present invention, mapping relations in first time according to the number of person difference that prestores and visual angle adjusted value, the shooting visual angle of the current use of camera is with great visual angle tuned up to the shooting visual angle matched with difference, this step of meeting multiple exercise, and after adjusting the shooting visual angle of camera with great visual angle, whether equal with the number of person preset the number of person that still can detect in the character image of current collection is.If when the number of times performing above-mentioned steps reaches the number of times preset, still detect that the number of person in the character image of current collection is unequal with the number of person preset, then can export for pointing out this information that adjustment stops.If when the number of times performing above-mentioned steps does not reach the number of times preset, detect that the number of person in the character image of current collection is equal with the number of person preset, then control camera with great visual angle and take.
In the diagram, describing shooting unit 305 in detail when controlling that camera is taken with great visual angle, the adjustment through repeatedly angle value may be needed, but also can preset an adjustment upper limit in the user terminal.Implement the embodiment of the present invention when optimization uses the shooting effect of camera with great visual angle, also can reduce the power consumption of user terminal simultaneously.
Concrete, the part or all of flow process in the embodiment of camera control method with great visual angle that the terminal introduced in the embodiment of the present invention can implement composition graphs 1 of the present invention, Fig. 2 introduces.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a camera control method with great visual angle, is characterized in that, comprising:
When the shoot function of camera is with great visual angle opened, the current the first object image collected of camera with great visual angle described in acquisition;
Identify the number of person in described the first object image, and detect described number of person and whether be less than the number of person value preset;
When the number of person value preset described in detecting described number of person and being less than, determine the difference of described number of person and the described number of person value preset;
According to the mapping relations of the number of person difference prestored and visual angle adjusted value, the shooting visual angle of the current use of described camera is with great visual angle tuned up the shooting visual angle to matching with described difference;
Described in using, camera is taken with the shooting visual angle after adjustment with great visual angle.
2. method according to claim 1, it is characterized in that, the number of person difference that described basis prestores and the mapping relations of visual angle adjusted value, the shooting visual angle of the current use of described camera is with great visual angle tuned up to after the shooting visual angle matched with described difference, before described in described use, camera is taken with the shooting visual angle after adjustment with great visual angle, described method also comprises:
Obtain camera with great visual angle with the characteristics of image of the second character image of the current collection in shooting visual angle after adjustment;
Judge whether described preview image distorts according to described characteristics of image;
If judge that described preview image distorts according to described characteristics of image, then export the information for the normal photographing visual angle of pointing out current shooting visual angle to exceed to preset.
3. method according to claim 1, is characterized in that, when the described shoot function when camera is with great visual angle opened, described in acquisition with great visual angle before the current the first object image collected of camera, described method also comprises:
Obtain current environment brightness value;
Whether detect described current environment brightness value higher than predetermined luminance threshold value;
If detect described current environment brightness value higher than described predetermined luminance threshold value, then open the shoot function of camera with great visual angle.
4. method according to claim 3, is characterized in that, described in described use, camera is taken with the shooting visual angle after adjustment with great visual angle, comprising:
Obtain camera with great visual angle with the 3rd character image of the current collection in shooting visual angle after adjustment;
Identify the number of person in described 3rd character image;
When detecting that the number of person in described 3rd character image is equal with the described number of person value preset, export the information for pointing out input shooting instruction;
When receiving the shooting instruction of the described information input of response, described in using, camera is taken with the shooting visual angle after adjustment with great visual angle.
5. according to the method in Claims 1 to 4 described in any one, it is characterized in that, after the described shoot function when camera is with great visual angle opened, described in described acquisition with great visual angle before the current the first object image collected of camera, described method also comprises:
Receive user and input described number of person value, wherein, described number of person value is for representing the number of person that current needs are taken.
6. a user terminal, is characterized in that, comprising:
First acquiring unit, for when the shoot function of camera is with great visual angle opened, the current the first object image collected of camera with great visual angle described in acquisition;
Recognition unit, for identifying the number of person in the first object image that described first acquiring unit obtains, and detects described number of person and whether is less than the number of person value preset;
Determining unit, for detect when described recognition unit described number of person be less than described in preset number of person value time, determine the difference of described number of person and the described number of person value preset;
First adjustment unit, for the mapping relations according to the number of person difference that prestores and visual angle adjusted value, tunes up the shooting visual angle to the difference determined with described determining unit matches by the shooting visual angle of the current use of described camera with great visual angle;
Shooting unit, for described in using with great visual angle camera take with the shooting visual angle after adjustment.
7. user terminal according to claim 6, is characterized in that, described user terminal also comprises:
Second acquisition unit, for obtaining camera with great visual angle with the characteristics of image of the second character image of the current collection in shooting visual angle after described first adjustment unit adjustment;
Judging unit, the characteristics of image for obtaining according to described second acquisition unit judges whether described preview image distorts;
Output unit, if judge that described preview image distorts for described judging unit according to described characteristics of image, then exports the information for the normal photographing visual angle of pointing out current shooting visual angle to exceed to preset.
8. user terminal according to claim 6, is characterized in that, described user terminal also comprises:
3rd acquiring unit, for obtaining current environment brightness value;
Whether detecting unit, for detecting the current environment brightness value of described 3rd acquiring unit acquisition higher than predetermined luminance threshold value;
Open unit, if detect described current environment brightness value higher than described predetermined luminance threshold value for described detecting unit, then open the shoot function of camera with great visual angle.
9. user terminal according to claim 8, is characterized in that, described shooting unit comprises:
Acquisition module, for obtaining camera with great visual angle with the 3rd character image of the current collection in shooting visual angle after adjustment;
Identification module, for identifying the number of person in the 3rd character image that described acquisition module obtains;
Output module, for when detecting that the number of person in described 3rd character image is equal with the described number of person value preset, exports the information for pointing out input shooting instruction;
Taking module, for when receiving the shooting instruction of the described information input of response, described in using, camera is taken with the shooting visual angle after adjustment with great visual angle.
10. according to the user terminal in claim 6 ~ 9 described in any one, it is characterized in that, described user terminal also comprises:
Receiving element, inputs described number of person value for receiving user, and wherein, described number of person value is for representing the number of person that current needs are taken.
CN201510382774.XA 2015-06-30 2015-06-30 A kind of big visual angle camera control method and user terminal Active CN105049710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510382774.XA CN105049710B (en) 2015-06-30 2015-06-30 A kind of big visual angle camera control method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510382774.XA CN105049710B (en) 2015-06-30 2015-06-30 A kind of big visual angle camera control method and user terminal

Publications (2)

Publication Number Publication Date
CN105049710A true CN105049710A (en) 2015-11-11
CN105049710B CN105049710B (en) 2018-07-06

Family

ID=54455875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510382774.XA Active CN105049710B (en) 2015-06-30 2015-06-30 A kind of big visual angle camera control method and user terminal

Country Status (1)

Country Link
CN (1) CN105049710B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235054A (en) * 2017-12-15 2018-06-29 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of live video data
WO2018137264A1 (en) * 2017-01-26 2018-08-02 华为技术有限公司 Photographing method and photographing apparatus for terminal, and terminal
CN111385415A (en) * 2020-03-10 2020-07-07 维沃移动通信有限公司 Shooting method and electronic equipment
CN111770279A (en) * 2020-08-03 2020-10-13 维沃移动通信有限公司 Shooting method and electronic equipment
CN112312042A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Display control method, display control device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080118156A1 (en) * 2006-11-21 2008-05-22 Sony Corporation Imaging apparatus, image processing apparatus, image processing method and computer program
CN102360423A (en) * 2011-10-19 2012-02-22 丁泉龙 Intelligent human body tracking method
CN102790857A (en) * 2011-05-19 2012-11-21 华晶科技股份有限公司 Image processing method
CN103491299A (en) * 2013-09-17 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Photographic processing method and device
CN103929596A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Method and device for guiding shooting picture composition
CN103945105A (en) * 2013-01-23 2014-07-23 北京三星通信技术研究有限公司 Intelligent photographing and picture sharing method and device
CN104243818A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Image processing method and device and image processing equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080118156A1 (en) * 2006-11-21 2008-05-22 Sony Corporation Imaging apparatus, image processing apparatus, image processing method and computer program
CN102790857A (en) * 2011-05-19 2012-11-21 华晶科技股份有限公司 Image processing method
CN102360423A (en) * 2011-10-19 2012-02-22 丁泉龙 Intelligent human body tracking method
CN103945105A (en) * 2013-01-23 2014-07-23 北京三星通信技术研究有限公司 Intelligent photographing and picture sharing method and device
CN103491299A (en) * 2013-09-17 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Photographic processing method and device
CN103929596A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Method and device for guiding shooting picture composition
CN104243818A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Image processing method and device and image processing equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726521A (en) * 2017-01-26 2020-09-29 华为技术有限公司 Terminal photographing method and device and terminal
US11272096B2 (en) 2017-01-26 2022-03-08 Huawei Technologies Co., Ltd. Photographing method and photographing apparatus for adjusting a field of view for a terminal
CN108605087A (en) * 2017-01-26 2018-09-28 华为技术有限公司 Photographic method, camera arrangement and the terminal of terminal
CN108605087B (en) * 2017-01-26 2020-06-02 华为技术有限公司 Terminal photographing method and device and terminal
US11825183B2 (en) 2017-01-26 2023-11-21 Huawei Technologies Co., Ltd. Photographing method and photographing apparatus for adjusting a field of view of a terminal
CN111698419A (en) * 2017-01-26 2020-09-22 华为技术有限公司 Terminal photographing method and device and terminal
WO2018137264A1 (en) * 2017-01-26 2018-08-02 华为技术有限公司 Photographing method and photographing apparatus for terminal, and terminal
US10841485B2 (en) 2017-01-26 2020-11-17 Huawei Technologies Co., Ltd. Photographing method and photographing apparatus for terminal, and terminal
CN111726521B (en) * 2017-01-26 2023-09-22 华为技术有限公司 Photographing method and photographing device of terminal and terminal
CN108235054A (en) * 2017-12-15 2018-06-29 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of live video data
CN111385415A (en) * 2020-03-10 2020-07-07 维沃移动通信有限公司 Shooting method and electronic equipment
CN111385415B (en) * 2020-03-10 2022-03-04 维沃移动通信有限公司 Shooting method and electronic equipment
CN111770279B (en) * 2020-08-03 2022-04-08 维沃移动通信有限公司 Shooting method and electronic equipment
CN111770279A (en) * 2020-08-03 2020-10-13 维沃移动通信有限公司 Shooting method and electronic equipment
CN112312042A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Display control method, display control device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105049710B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN105049710A (en) Large-view angle camera control method and user terminal
US9684819B2 (en) Apparatus and method for distinguishing whether an image is of a live object or a copy of a photo or moving picture
CN105279487B (en) Method and system for screening beauty tools
WO2019120016A1 (en) Image processing method and apparatus, storage medium, and electronic device
US11321830B2 (en) Image detection method and apparatus and terminal
CN104899490A (en) Terminal positioning method and user terminal
CN101534392A (en) Priority target determining device, electronic equipment, priority target determining method, program, and recording medium
CN105049709A (en) Large-view angle camera control method and user terminal
CN108154086A (en) A kind of image extraction method, device and electronic equipment
CN102096805A (en) Apparatus and method for registering plurality of facial images for face recognition
CN104751419A (en) Picture display regulation method and terminal
CN106297734B (en) Screen brightness adjusting method and device for electronic terminal
CN107832598B (en) Unlocking control method and related product
KR101000130B1 (en) Mobile terminal capable face recognition and method for face recognition thereof
WO2010150201A1 (en) Geture recognition using chroma- keying
CN114387548A (en) Video and liveness detection method, system, device, storage medium and program product
CN107888955B (en) A kind of method of convenient Password Input
CN109889720A (en) A kind of video capture method, apparatus, electronic equipment and storage medium
CN106060383A (en) Image obtaining method and system
CN104994288A (en) Shooting method and user terminal
US10321070B2 (en) Electronic device with self-image capturing function and self-image capturing method thereof
CN111126147B (en) Image processing method, device and electronic system
CN110689565B (en) Depth map determination method and device and electronic equipment
CN108805883B (en) Image segmentation method, image segmentation device and electronic equipment
US9049382B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder