CN104469092A - Image acquisition method and electronic equipment - Google Patents

Image acquisition method and electronic equipment Download PDF

Info

Publication number
CN104469092A
CN104469092A CN201310429934.2A CN201310429934A CN104469092A CN 104469092 A CN104469092 A CN 104469092A CN 201310429934 A CN201310429934 A CN 201310429934A CN 104469092 A CN104469092 A CN 104469092A
Authority
CN
China
Prior art keywords
profile
predetermined condition
meet
electronic equipment
image
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
CN201310429934.2A
Other languages
Chinese (zh)
Other versions
CN104469092B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310429934.2A priority Critical patent/CN104469092B/en
Publication of CN104469092A publication Critical patent/CN104469092A/en
Application granted granted Critical
Publication of CN104469092B publication Critical patent/CN104469092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an image acquisition method used for improving the quality of acquired images. The method comprises the following steps: obtaining M profiles corresponding to M acquisition objects when acquiring an image to be acquired including the M acquisition objects through an image acquisition unit, wherein M is a positive integer; determining whether the M profiles include at least one profile which does not meet a predetermined condition; and outputting reminding information to remind that at least one profile corresponding to at least one acquisition object among the M acquisition objects does not meet the predetermined condition if the M profiles include at least one profile which does not meet a predetermined condition. The invention further discloses a piece of electronic equipment for implementing the method.

Description

A kind of image-pickup method and electronic equipment
Technical field
The present invention relates to field of computer technology, particularly a kind of image-pickup method and electronic equipment.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic product also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.The comfortable life that present people can be brought along with development in science and technology by various types of electronic equipment enjoyment.Such as, the electronic equipments such as mobile phone have become an indispensable part in people's life, and people can be strengthened and contacting between other people in mode of making a phone call, send short messages etc. by electronic equipments such as mobile phones.
In prior art; when using the camera function of mobile phone or using camera shooting group picture; if the number participating in shooting is too much; then the face of somebody is blocked by other people possibly; the face particularly standing in the people of rear row often can be stood in front-seat people and be blocked; and photographer is difficult to find sometimes, cause the picture quality of acquisition not high, user experience is lower.
Summary of the invention
The embodiment of the present invention provides a kind of image-pickup method and electronic equipment, for solving the not high technical problem of the picture quality that obtains in prior art.
A kind of image-pickup method, is applied to the electronic equipment with image acquisition units, said method comprising the steps of:
When comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer;
Judge whether have at least one profile not meet predetermined condition in a described M profile;
When there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
Preferably, described acquisition target is face, and described predetermined condition is profile integrity degree and/or contour sharpness.
Preferably, be previously stored with N number of contour mould in described electronic equipment, N is positive integer, and whether judge has at least one profile not meet predetermined condition in a described M profile, to comprise:
Each profile in a described M profile is mated with described N number of contour mould respectively;
Determine in a described M profile, whether have the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value; Wherein, when there being the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value, determine that at least one profile described does not meet described predetermined condition.
Preferably, judge whether have at least one profile not meet predetermined condition in a described M profile, to comprise:
Getting i is respectively integer from 1 to M, and determine the curvature of K sampled point in i-th profile in a described M profile, determine K curvature altogether, K is positive integer;
Judge in a described K curvature, whether have the first quantity curvature to be positioned at outside preset curvature scope;
When there being a described first quantity curvature to be positioned at outside described preset curvature scope, determine that described i-th profile does not meet described predetermined condition.
Preferably, judge whether have at least one profile not meet predetermined condition in a described M profile, to comprise:
Determine the contour sharpness of each profile in a described M profile;
Each contour sharpness is compared with default contour sharpness respectively;
The profile that the difference determining in a described M profile between contour sharpness and described default definition is greater than preset difference value does not meet described predetermined condition.
Preferably, described electronic equipment has display unit, and when gathering described image to be collected by described image acquisition units, described electronic equipment can by the described image to be collected of described display unit display; When there being at least one profile described not meet described predetermined condition in a described M profile, exporting an information, comprising:
When there being at least one profile described not meet described predetermined condition in a described M profile, determine at least one position that at least one profile described is corresponding in described display unit;
Described in described display unit, at least one position exports described information.
Preferably, judging whether to have in a described M profile after at least one profile do not meet predetermined condition, also comprising: when not having profile not meet described predetermined condition in a described M profile, obtaining the image corresponding with described image to be collected by described image acquisition units.
A kind of electronic equipment, described electronic equipment has image acquisition units, and described electronic equipment comprises:
First acquisition module, for when comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer;
Whether judge module, have at least one profile not meet predetermined condition for judging in a described M profile;
Output module, for when there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
Preferably, described acquisition target is face, and described predetermined condition is profile integrity degree and/or contour sharpness.
Preferably, be previously stored with N number of contour mould in described electronic equipment, N is positive integer, described judge module specifically for: each profile in a described M profile is mated with described N number of contour mould respectively; Determine in a described M profile, whether have the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value; Wherein, when there being the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value, determine that at least one profile described does not meet described predetermined condition.
Preferably, described judge module specifically for: getting i is respectively integer from 1 to M, and determine the curvature of K sampled point in i-th profile in a described M profile, determine K curvature altogether, K is positive integer; Judge in a described K curvature, whether have the first quantity curvature to be positioned at outside preset curvature scope; When there being a described first quantity curvature to be positioned at outside described preset curvature scope, determine that described i-th profile does not meet described predetermined condition.
Preferably, described judge module is specifically for the contour sharpness of determining each profile in a described M profile; Each contour sharpness is compared with default contour sharpness respectively; The profile that the difference determining in a described M profile between contour sharpness and described default definition is greater than preset difference value does not meet described predetermined condition.
Preferably, described electronic equipment has display unit, and when gathering described image to be collected by described image acquisition units, described electronic equipment can by the described image to be collected of described display unit display; Described output module specifically for: when there being at least one profile described not meet described predetermined condition in a described M profile, determine at least one position that at least one profile described is corresponding in described display unit; Described in described display unit, at least one position exports described information.
Preferably, described electronic equipment also comprises the second acquisition module, for when not having profile not meet described predetermined condition in a described M profile, obtains the image corresponding with described image to be collected by described image acquisition units.
Image-pickup method in the embodiment of the present invention can be applied to the electronic equipment with image acquisition units, described method can comprise the following steps: when comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer; Judge whether have at least one profile not meet predetermined condition in a described M profile; When there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
In the embodiment of the present invention, before obtaining image corresponding to described image to be collected, a described M profile can be obtained, thus can judge whether have at least one profile not meet described predetermined condition in a described M profile, if there is profile not meet described predetermined condition, then described electronic equipment can export described information, the user gathered is carried out with prompting, at least one profile described corresponding at least one acquisition target described is had not meet described predetermined condition, thus user can take corresponding measure, avoid in the final described image obtained, having at least one profile described not meet described predetermined condition, such as, can avoid in the final described image obtained, having at least one profile described imperfect and/or unintelligible, improve the quality of obtained image, ensure that the integrality of each acquisition target in image, be convenient to user's viewing, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the main flow figure of image-pickup method in the embodiment of the present invention;
Fig. 2 is K sampled point schematic diagram on a profile in the embodiment of the present invention;
Fig. 3 is image schematic diagram to be collected in the embodiment of the present invention;
Fig. 4 is the structure chart of electronic equipment in the embodiment of the present invention.
Embodiment
Image-pickup method in the embodiment of the present invention can be applied to the electronic equipment with image acquisition units, described method can comprise the following steps: when comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer; Judge whether have at least one profile not meet predetermined condition in a described M profile; When there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
In the embodiment of the present invention, before obtaining image corresponding to described image to be collected, a described M profile can be obtained, thus can judge whether have at least one profile not meet described predetermined condition in a described M profile, if there is profile not meet described predetermined condition, then described electronic equipment can export described information, the user gathered is carried out with prompting, at least one profile described corresponding at least one acquisition target described is had not meet described predetermined condition, thus user can take corresponding measure, avoid in the final described image obtained, having at least one profile described not meet described predetermined condition, such as, can avoid in the final described image obtained, having at least one profile described imperfect and/or unintelligible, improve the quality of obtained image, ensure that the integrality of each acquisition target in image, be convenient to user's viewing, improve Consumer's Experience.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, 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.
In the embodiment of the present invention, described electronic equipment can be digital camera, PC(personal computer), notebook, PAD(panel computer), the different electronic equipment of mobile phone etc., the present invention is not restricted this.Preferably, described electronic equipment can be the electronic equipment with image acquisition units, and such as described image acquisition units can be camera, or also can be that other have the functional unit of acquisition function.
In addition, term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
Embodiment one
Refer to Fig. 1, the embodiment of the present invention provides a kind of image-pickup method, and described method can be applied to electronic equipment, and described electronic equipment has image acquisition units.The main flow of described method is as follows:
Step 101: when comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer.
In the embodiment of the present invention, when comprising the image to be collected of M acquisition target by described image acquisition units collection, refer to the image required for being caught by described image acquisition units, now also do not determine to obtain, therefore described image to be collected is the image in acquisition process, instead of obtains complete image.
Such as, described electronic equipment can have display unit, and described image acquisition units is such as camera.Caught in the process of described image to be collected by described camera, described display unit can show described image to be collected, is convenient to user and carries out preview, to determine whether described image to be collected is the image oneself wanted.
In the embodiment of the present invention, such as can include M acquisition target in described image to be collected, M is positive integer, and such as each acquisition target is to there being oneself profile, then a described M acquisition target can correspond to a described M profile altogether.Described electronic equipment can determine a described M profile according to a described M acquisition target.
Such as, described acquisition target can be face, then each face can to there being corresponding facial contour.Or described acquisition target also can be other objects, such as, can be hand, or can be such as pin, or can be such as desk, etc., as long as described acquisition target has certain profile of oneself correspondence, the present invention does not limit this.
Step 102: judge whether have at least one profile not meet predetermined condition in a described M profile.
Described electronic equipment, in the described M of an acquisition profile, can judge whether each profile in a described M profile meets described predetermined condition respectively, thus can determine whether have at least one profile described not meet described predetermined condition in a described M profile.Wherein, as long as described electronic equipment judges to determine have a profile not meet described predetermined condition in a described M profile, then described electronic equipment just can determine have at least one profile described not meet described predetermined condition in a described M profile.
In the embodiment of the present invention, described electronic equipment judges whether each profile in a described M profile meets described predetermined condition respectively, can be judge successively, and the accuracy judged like this is higher, or also can be judge, such operating efficiency be higher simultaneously.
In the embodiment of the present invention, described predetermined condition can be profile integrity degree and/or contour sharpness.
Preferably, in one embodiment of the invention, can be previously stored with N number of contour mould in described electronic equipment, N can be positive integer.Then, judge whether have at least one profile not meet described predetermined condition in a described M profile, can be specifically: each profile in a described M profile is mated with described N number of contour mould respectively determine in a described M profile, whether have the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value; Wherein, when there being the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value, determine that at least one profile described does not meet described predetermined condition.Now, described predetermined condition can be such as described profile integrity degree, and a profile will meet described predetermined condition, and namely the matching degree of this profile and at least one contour mould is greater than described preset matching degree threshold value.In this embodiment, profile does not meet described predetermined condition, can be called that profile is imperfect yet.
Wherein, when one of them profile is mated with described N number of contour mould, as long as the matching degree after this profile mates with one of them contour mould is not less than described preset matching degree threshold value, then described electronic equipment can determine that this profile meets described predetermined condition, without the need to carrying out subsequent match process to this profile again.
Such as, described N number of contour mould can be the template arranged according to the shape of face of ordinary people, such as, general shape of face has rhombus, square, circular, oval and melon seeds shape etc., then described electronic equipment can arrange one or more contour mould according to often kind of shape of face in advance.The contour mould arranged is more, and the matching result obtained is more accurate.How many contour moulds are specifically set, can be different according to actual conditions difference.
Such as, described electronic equipment is provided with 4 contour moulds altogether, is square face contour mould, circular face contour mould, oval face contour mould and melon seeds shape face contour mould respectively.
After described electronic equipment determines there is a described M profile in described image to be collected, each profile in a described M profile and this 4 contour moulds can mate by described electronic equipment respectively.
Such as, described electronic equipment can be mated with these 4 contour moulds successively by each profile in a described M profile.Such as M is 2, and a described M profile is respectively first profile and second profile.First described first profile mate with square face contour mould by described electronic equipment, such as determine that the first matching degree is 90%, the described preset matching degree threshold value that such as described electronic equipment presets is 50%, described electronic equipment determines that first matching degree is greater than described preset matching degree threshold value, then described electronic equipment determines that described first profile meets described predetermined condition, namely can determine that described first profile is complete, without the need to carrying out subsequent match process to described first profile again, directly described second profile is mated.First described second profile mate with square face contour mould by described electronic equipment, such as determine that the first matching degree is 40%, described electronic equipment determines that first matching degree is less than described preset matching degree threshold value, described electronic equipment continues described second profile and circular face contour mould, such as determine that the second matching degree is 44%, described electronic equipment determines that second matching degree is less than described preset matching degree threshold value, described electronic equipment continues described second profile and oval face contour mould, such as determine that the 3rd matching degree is 31%, described electronic equipment determines that the 3rd matching degree is less than described preset matching degree threshold value, described electronic equipment continues described second profile and melon seeds shape face contour mould, such as determine that the 4th matching degree is 48%, described electronic equipment determines that the 4th matching degree is less than described preset matching degree threshold value.Then described electronic equipment can determine that the matching degree of described second profile and described N number of contour mould is all less than described preset matching degree threshold value, then described electronic equipment can determine that described second profile does not meet described predetermined condition, namely can determine that described second profile is imperfect.
Or such as, such as, described electronic equipment can be mated with these 4 contour moulds successively by each profile in a described M profile, such as M is 2, a described M profile is respectively first profile and second profile, then described first profile can mate with described second profile by described electronic equipment simultaneously, below repeats no more.
Preferably, in one embodiment of the invention, judge whether have at least one profile not meet described predetermined condition in a described M profile, can be specifically: getting i is respectively integer from 1 to M, determine the curvature of K sampled point in i-th profile in a described M profile, determine K curvature altogether, K is positive integer; Judge in a described K curvature, whether have the first quantity curvature to be positioned at outside preset curvature scope; When there being a described first quantity curvature to be positioned at outside described preset curvature scope, determine that described i-th profile does not meet described predetermined condition.Now, described predetermined condition can be such as described profile integrity degree, and a profile will meet described predetermined condition, and described K curvature of described K sampled point namely on this profile is all positioned within described preset curvature scope.In this embodiment, profile does not meet described predetermined condition, can be called that profile is imperfect yet.
That is, described electronic equipment can get K sampled point in each profile respectively in a described M profile, and for a profile, a described K sampled point is all positioned on this profile.The numerical value of K can be determined as required, and K is larger, then the result determined is more accurate.In the embodiment of the present invention, when i-th profile is got described K sampled point, evenly can choose on described i-th profile, a described K sampled point preferably can cover each position of described i-th profile, and the result determined according to a described K sampled point is like this just comparatively accurate.
Such as shown in Figure 2, be a profile schematic diagram in a described M profile, such as described acquisition target is face, and this profile is a facial contour.Such as K=5, represents with 1,2,3,4,5 in fig. 2 respectively, can see that these 5 sampled points are all positioned on this profile.
Such as i-th profile, after determining a described K sampled point, the curvature of a described K sampled point can be determined respectively.For described acquisition target, the curvature of each point on the profile of its correspondence should within certain curvature range, such as described electronic equipment can be previously stored with a preset curvature scope, and described preset curvature scope can be set according to actual conditions.
After determining a described K curvature, can judge whether each curvature in a described K curvature is positioned within described preset curvature scope respectively.If judge to determine have a described first quantity curvature to be positioned at outside described preset curvature scope in a described K curvature, then described electronic equipment can determine that described i-th profile does not meet described predetermined condition.Wherein, described first quantity also can be set as the case may be.
Can identical process be carried out for each profile in a described M profile, thus can judge in a described M profile, whether have at least one profile described not meet described predetermined condition.
In the embodiment of the present invention, can be serial process when each profile in a described M profile is processed, or also can be parallel processing.Wherein, if serial process, be then first profile first processed in a described M profile, second profile in the profile of M described in reprocessing, by that analogy.Wherein, if determine that after processing one of them profile this profile does not meet described predetermined condition, then processing follow-up profile without the need to continuing again, directly just can determine in a described M profile, have at least one profile described not meet described predetermined condition.Or, also can continue to process follow-up profile, until determine in a described M profile have which profile not meet described predetermined condition actually.
Preferably, in one embodiment of the invention, judge whether have at least one profile not meet predetermined condition in a described M profile, can be specifically: the contour sharpness determining each profile in a described M profile; Each contour sharpness is compared with default contour sharpness respectively; The profile that the difference determining in a described M profile between contour sharpness and described default definition is greater than preset difference value does not meet described predetermined condition.
In the embodiment of the present invention, for each profile in a described M profile, the contour sharpness of its correspondence can be determined, M contour sharpness can be determined altogether.Described electronic equipment can preset described default contour sharpness, then a described M contour sharpness can be compared with described default contour sharpness respectively.Such as, for a contour sharpness in a described M contour sharpness, if the difference between described contour sharpness and described default contour sharpness is not more than described preset difference value, then described electronic equipment can determine that the profile that described contour sharpness is corresponding meets described predetermined condition, otherwise described electronic equipment can determine that the profile that described contour sharpness is corresponding does not meet described predetermined condition.
Concrete, the contour sharpness of each profile can to there being a clear-cut angle value, described default contour sharpness also can preset clear-cut angle value to having one, a contour sharpness and described default contour sharpness are compared, specifically can refer to and described clear-cut angle value and described default clear-cut angle value are compared.
Preferably, in the embodiment of the present invention, judge whether the arbitrary profile in a described M profile meets described predetermined condition, also can be judge whether this profile meets described contour sharpness and meet described profile integrity degree, and such judged result can be more accurate simultaneously.Concrete determination methods and said method similar, repeat no more herein.
Step 103: when there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
When described electronic equipment determines have at least one profile described not meet described predetermined condition in a described M profile, described information can be exported, to point out the user using described electronic equipment, at least one profile described having at least one acquisition target corresponding in a described M acquisition target does not meet described predetermined condition.
Such as, if described electronic equipment has voice-output unit, then when described electronic equipment determines have at least one profile described not meet described predetermined condition in a described M profile, described information can be exported by described voice-output unit, described information can be voice messaging, such as described voice messaging can be simple jingle bell sound, or also can be intelligent voice, in order to point out user.
Preferably, in the embodiment of the present invention, described electronic equipment has display unit, and when gathering described image to be collected by described image acquisition units, described electronic equipment can by the described image to be collected of described display unit display.When there being at least one profile described not meet described predetermined condition in a described M profile, export an information, can be specifically: when there being at least one profile described not meet described predetermined condition in a described M profile determine at least one position that at least one profile described is corresponding in described display unit; Described in described display unit, at least one position exports described information.
Such as, as shown in Figure 3, the schematic diagram of image described to be collected for showing in described display unit.Include 4 acquisition targets in Fig. 3, such as described acquisition target is face.Described electronic equipment has determined that the 2nd acquisition target wherein and the 3rd acquisition target do not meet described predetermined condition, then described electronic equipment can determine the primary importance that described 2nd acquisition target is corresponding in described display unit, and can determine the second place that described 3rd acquisition target is corresponding in described display unit.After determining described primary importance and the described second place, described electronic equipment can export described information in described primary importance and the described second place.Such as, the position not meeting described predetermined condition in Fig. 3 on the 2nd acquisition target and the 3rd acquisition target has a dot respectively, specifically being presented on described display unit can be small red dot, and user just can see small red dot by the described display unit of viewing.
The position directly not meeting the acquisition target of described predetermined condition at profile exports described information, it is which profile does not meet described predetermined condition on earth that user just can accurately be oriented by the described information of viewing, thus can adjust comparatively accurately in time, regulate the speed very fast.
Further, in the embodiment of the present invention, judging whether to have in a described M profile after at least one profile do not meet described predetermined condition, if judge to determine do not have profile not meet described predetermined condition in a described M profile, then described electronic equipment can obtain the image corresponding with described image to be collected by described image acquisition units.
Because not having profile not meet described predetermined condition in a described M profile, the described image of acquisition is also comparatively complete image clearly, improves the quality of obtained image.
Below introduce content of the present invention by a specific embodiment.
Embodiment two
Described electronic equipment is digital camera, and described electronic equipment has image acquisition units, and described image acquisition units is camera.
User is by described electronic equipment shooting group picture, and include 4 acquisition targets in described group picture altogether, described acquisition target is face.
Described electronic equipment can obtain the profile that in described 4 acquisition targets, each acquisition target is corresponding, can obtain 4 profiles altogether.
After acquisition 4 profiles, described electronic equipment can judge whether each profile in these 4 profiles meets described predetermined condition respectively, thus can determine whether have at least one profile not meet described predetermined condition in described 4 profiles.In the embodiment of the present invention, described predetermined condition can refer to profile integrity degree.
In the embodiment of the present invention, described electronic equipment judges whether each profile in described 4 profiles meets described predetermined condition, is judge successively respectively.
Preferably, in the embodiment of the present invention, 4 contour moulds in described electronic equipment, can be previously stored with.Then, judge whether have at least one profile not meet described predetermined condition in these 4 profiles, can be specifically: each profile in described 4 profiles is mated with described 4 contour moulds respectively determine in described 4 profiles, whether have the matching degree of at least one profile described and described 4 contour moulds to be all less than preset matching degree threshold value; Wherein, when there being the matching degree of at least one profile described and described 4 contour moulds to be all less than preset matching degree threshold value, determine that at least one profile described does not meet described predetermined condition.
Wherein, when one of them profile is mated with described N number of contour mould, as long as the matching degree after this profile mates with one of them contour mould is not less than described preset matching degree threshold value, then described electronic equipment can determine that this profile meets described predetermined condition, without the need to carrying out subsequent match process to this profile again.
Such as, these 4 contour moulds of described electronic equipment are square face contour mould, circular face contour mould, oval face contour mould and melon seeds shape face contour mould respectively.
Such as, described electronic equipment can be mated with these 4 contour moulds successively by each profile in described 4 profiles.Such as these 4 profiles are respectively first profile, second profile, the 3rd profile and the 4th profile.
First described first profile mate with square face contour mould by described electronic equipment, such as determine that the first matching degree is 90%, the described preset matching degree threshold value that such as described electronic equipment presets is 50%, described electronic equipment determines that first matching degree is greater than described preset matching degree threshold value, then described electronic equipment determines that described first profile meets described predetermined condition, without the need to carrying out subsequent match process to described first profile again, directly described second profile is mated.
First described second profile mate with square face contour mould by described electronic equipment, such as determine that the first matching degree is 40%, described electronic equipment determines that first matching degree is less than described preset matching degree threshold value, described electronic equipment continues described second profile and circular face contour mould, such as determine that the second matching degree is 44%, described electronic equipment determines that second matching degree is less than described preset matching degree threshold value, described electronic equipment continues described second profile and oval face contour mould, such as determine that the 3rd matching degree is 31%, described electronic equipment determines that the 3rd matching degree is less than described preset matching degree threshold value, described electronic equipment continues described second profile and melon seeds shape face contour mould, such as determine that the 4th matching degree is 60%, described electronic equipment determines that the 4th matching degree is greater than described preset matching degree threshold value, then described electronic equipment determines that described second profile meets described predetermined condition.Continue to mate described 3rd profile.
First described 3rd profile mate with square face contour mould by described electronic equipment, such as determine that the first matching degree is 40%, described electronic equipment determines that first matching degree is less than described preset matching degree threshold value, described electronic equipment continues described 3rd profile and circular face contour mould, such as determine that the second matching degree is 44%, described electronic equipment determines that second matching degree is less than described preset matching degree threshold value, described electronic equipment continues described 3rd profile and oval face contour mould, such as determine that the 3rd matching degree is 31%, described electronic equipment determines that the 3rd matching degree is less than described preset matching degree threshold value, described electronic equipment continues described 3rd profile and melon seeds shape face contour mould, such as determine that the 4th matching degree is 48%, described electronic equipment determines that the 4th matching degree is less than described preset matching degree threshold value.Then described electronic equipment can determine that the matching degree of described 3rd profile and described N number of contour mould is all less than described preset matching degree threshold value, then described electronic equipment can determine that described 3rd profile does not meet described predetermined condition.Continue to mate described 4th profile.
First described 4th profile mate with square face contour mould by described electronic equipment, such as determine that the first matching degree is 80%, described electronic equipment determines that first matching degree is greater than described preset matching degree threshold value, then described electronic equipment determines that described 4th profile meets described predetermined condition, without the need to carrying out subsequent match process to described 4th profile again.
Thus described electronic equipment can determine that described 3rd profile in these 4 profiles does not meet described predetermined condition.
Described electronic equipment can generate and export described information.Such as, first described electronic equipment can be determined after determining described 3rd position, can export described information in described 3rd position in the 3rd position that described 3rd profile is corresponding in described display unit.
Like this, when taking group picture, the face of such as some user is blocked, then described electronic equipment can be pointed out photographer, and photographer can adjust before shooting, thus avoided obtained photo imperfect.Simultaneously, the position directly not meeting the acquisition target of described predetermined condition at profile exports described information, it is which profile does not meet described predetermined condition on earth that user just can accurately be oriented by the described information of viewing, thus can adjust comparatively accurately in time, regulate the speed very fast.
Embodiment three
Refer to Fig. 4, the embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment has image acquisition units, and described electronic equipment can comprise the first acquisition module 401, judge module 402 and output module 403.
Preferably, described electronic equipment can also comprise the second acquisition module 404.
Described first acquisition module 401 may be used for when comprising the image to be collected of M acquisition target by described image acquisition units collection, and obtain M the profile that a described M acquisition target is corresponding, M is positive integer.
Described judge module 402 may be used for judging whether have at least one profile not meet predetermined condition in a described M profile.
Described output module 403 may be used for when there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
In the embodiment of the present invention, described acquisition target is face, and described predetermined condition is profile integrity degree and/or contour sharpness.
In the embodiment of the present invention, be previously stored with N number of contour mould in described electronic equipment, N is positive integer, and described judge module 402 specifically may be used for each profile in a described M profile to mate with described N number of contour mould respectively; Determine in a described M profile, whether have the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value; Wherein, when there being the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value, determine that at least one profile described does not meet described predetermined condition.
It is integer from 1 to M that described judge module 402 specifically may be used for getting respectively i, and determine the curvature of K sampled point in i-th profile in a described M profile, determine K curvature altogether, K is positive integer; Judge in a described K curvature, whether have the first quantity curvature to be positioned at outside preset curvature scope; When there being a described first quantity curvature to be positioned at outside described preset curvature scope, determine that described i-th profile does not meet described predetermined condition.
Described judge module 402 specifically may be used for the contour sharpness determining each profile in a described M profile; Each contour sharpness is compared with default contour sharpness respectively; The profile that the difference determining in a described M profile between contour sharpness and described default definition is greater than preset difference value does not meet described predetermined condition.
In the embodiment of the present invention, described electronic equipment has display unit, and when gathering described image to be collected by described image acquisition units, described electronic equipment can by the described image to be collected of described display unit display; Described output module 403 specifically may be used for when there being at least one profile described not meet described predetermined condition in a described M profile, determines at least one position that at least one profile described is corresponding in described display unit; Described in described display unit, at least one position exports described information.
Described second acquisition module 404 may be used for when not having profile not meet described predetermined condition in a described M profile, obtains the image corresponding with described image to be collected by described image acquisition units.
Image-pickup method in the embodiment of the present invention can be applied to the electronic equipment with image acquisition units, described method can comprise the following steps: when comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer; Judge whether have at least one profile not meet predetermined condition in a described M profile; When there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
In the embodiment of the present invention, before obtaining image corresponding to described image to be collected, a described M profile can be obtained, thus can judge whether have at least one profile not meet described predetermined condition in a described M profile, if there is profile not meet described predetermined condition, then described electronic equipment can export described information, the user gathered is carried out with prompting, at least one profile described corresponding at least one acquisition target described is had not meet described predetermined condition, thus user can take corresponding measure, avoid in the final described image obtained, having at least one profile described not meet described predetermined condition, such as, can avoid in the final described image obtained, having at least one profile described imperfect and/or unintelligible, improve the quality of obtained image, ensure that the integrality of each acquisition target in image, be convenient to user's viewing, improve Consumer's Experience.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that the technical scheme of the application contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the application.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment is only in order to be described in detail the technical scheme of the application, but the explanation of above embodiment just understands method of the present invention and core concept thereof for helping, and should not be construed as limitation of the present invention.Those skilled in the art are in the technical scope that the present invention discloses, and the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.

Claims (14)

1. an image-pickup method, is applied to the electronic equipment with image acquisition units, it is characterized in that, said method comprising the steps of:
When comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer;
Judge whether have at least one profile not meet predetermined condition in a described M profile;
When there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
2. the method for claim 1, is characterized in that, described acquisition target is face, and described predetermined condition is profile integrity degree and/or contour sharpness.
3. method as claimed in claim 2, it is characterized in that, be previously stored with N number of contour mould in described electronic equipment, N is positive integer, and whether judge has at least one profile not meet predetermined condition in a described M profile, to comprise:
Each profile in a described M profile is mated with described N number of contour mould respectively;
Determine in a described M profile, whether have the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value; Wherein, when there being the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value, determine that at least one profile described does not meet described predetermined condition.
4. method as claimed in claim 2, is characterized in that judge whether have at least one profile not meet predetermined condition in a described M profile, to comprise:
Getting i is respectively integer from 1 to M, and determine the curvature of K sampled point in i-th profile in a described M profile, determine K curvature altogether, K is positive integer;
Judge in a described K curvature, whether have the first quantity curvature to be positioned at outside preset curvature scope;
When there being a described first quantity curvature to be positioned at outside described preset curvature scope, determine that described i-th profile does not meet described predetermined condition.
5. method as claimed in claim 2, is characterized in that judge whether have at least one profile not meet predetermined condition in a described M profile, to comprise:
Determine the contour sharpness of each profile in a described M profile;
Each contour sharpness is compared with default contour sharpness respectively;
The profile that the difference determining in a described M profile between contour sharpness and described default definition is greater than preset difference value does not meet described predetermined condition.
6. the method for claim 1, is characterized in that, described electronic equipment has display unit, and when gathering described image to be collected by described image acquisition units, described electronic equipment can by the described image to be collected of described display unit display; When there being at least one profile described not meet described predetermined condition in a described M profile, exporting an information, comprising:
When there being at least one profile described not meet described predetermined condition in a described M profile, determine at least one position that at least one profile described is corresponding in described display unit;
Described in described display unit, at least one position exports described information.
7. the method for claim 1, it is characterized in that, judging whether to have in a described M profile after at least one profile do not meet predetermined condition, also comprising: when not having profile not meet described predetermined condition in a described M profile, obtaining the image corresponding with described image to be collected by described image acquisition units.
8. an electronic equipment, described electronic equipment has image acquisition units, it is characterized in that, described electronic equipment comprises:
First acquisition module, for when comprising the image to be collected of M acquisition target by described image acquisition units collection, obtain M the profile that a described M acquisition target is corresponding, M is positive integer;
Whether judge module, have at least one profile not meet predetermined condition for judging in a described M profile;
Output module, for when there being at least one profile described not meet described predetermined condition in a described M profile, export an information, with point out in a described M acquisition target have at least one acquisition target corresponding described at least one profile do not meet described predetermined condition.
9. electronic equipment as claimed in claim 8, it is characterized in that, described acquisition target is face, and described predetermined condition is profile integrity degree and/or contour sharpness.
10. electronic equipment as claimed in claim 9, it is characterized in that, be previously stored with N number of contour mould in described electronic equipment, N is positive integer, described judge module specifically for: each profile in a described M profile is mated with described N number of contour mould respectively; Determine in a described M profile, whether have the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value; Wherein, when there being the matching degree of at least one profile described and described N number of contour mould to be all less than preset matching degree threshold value, determine that at least one profile described does not meet described predetermined condition.
11. electronic equipments as claimed in claim 9, is characterized in that, described judge module specifically for: getting i is respectively integer from 1 to M, and determine the curvature of K sampled point in i-th profile in a described M profile, determine K curvature altogether, K is positive integer; Judge in a described K curvature, whether have the first quantity curvature to be positioned at outside preset curvature scope; When there being a described first quantity curvature to be positioned at outside described preset curvature scope, determine that described i-th profile does not meet described predetermined condition.
12. electronic equipments as claimed in claim 9, is characterized in that, described judge module is specifically for the contour sharpness determining each profile in a described M profile; Each contour sharpness is compared with default contour sharpness respectively; The profile that the difference determining in a described M profile between contour sharpness and described default definition is greater than preset difference value does not meet described predetermined condition.
13. electronic equipments as claimed in claim 8, it is characterized in that, described electronic equipment has display unit, and when gathering described image to be collected by described image acquisition units, described electronic equipment can by the described image to be collected of described display unit display; Described output module specifically for: when there being at least one profile described not meet described predetermined condition in a described M profile, determine at least one position that at least one profile described is corresponding in described display unit; Described in described display unit, at least one position exports described information.
14. electronic equipments as claimed in claim 8, it is characterized in that, described electronic equipment also comprises the second acquisition module, for when not having profile not meet described predetermined condition in a described M profile, obtains the image corresponding with described image to be collected by described image acquisition units.
CN201310429934.2A 2013-09-18 2013-09-18 A kind of image-pickup method and electronic equipment Active CN104469092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310429934.2A CN104469092B (en) 2013-09-18 2013-09-18 A kind of image-pickup method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310429934.2A CN104469092B (en) 2013-09-18 2013-09-18 A kind of image-pickup method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104469092A true CN104469092A (en) 2015-03-25
CN104469092B CN104469092B (en) 2019-01-15

Family

ID=52914406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310429934.2A Active CN104469092B (en) 2013-09-18 2013-09-18 A kind of image-pickup method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104469092B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246360A (en) * 2018-11-23 2019-01-18 维沃移动通信(杭州)有限公司 A kind of reminding method and mobile terminal
CN109447006A (en) * 2018-11-01 2019-03-08 北京旷视科技有限公司 Image processing method, device, equipment and storage medium
CN110381281A (en) * 2019-07-17 2019-10-25 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN112714259A (en) * 2020-12-30 2021-04-27 广州极飞科技有限公司 State adjustment method and device for object to be shot

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060098104A1 (en) * 2004-11-11 2006-05-11 Konica Minolta Photo Imaging, Inc. Image capturing apparatus
US20100157129A1 (en) * 2008-12-24 2010-06-24 Samsung Digital Imaging Co., Ltd. Apparatus and method for capturing digital image using face recognition function
KR20100073765A (en) * 2008-12-23 2010-07-01 삼성전자주식회사 Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
CN102306082A (en) * 2011-09-13 2012-01-04 富泰华工业(深圳)有限公司 Electronic device and identification method for starting and unlocking same
CN103186763A (en) * 2011-12-28 2013-07-03 富泰华工业(深圳)有限公司 Face recognition system and face recognition method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060098104A1 (en) * 2004-11-11 2006-05-11 Konica Minolta Photo Imaging, Inc. Image capturing apparatus
KR20100073765A (en) * 2008-12-23 2010-07-01 삼성전자주식회사 Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
US20100157129A1 (en) * 2008-12-24 2010-06-24 Samsung Digital Imaging Co., Ltd. Apparatus and method for capturing digital image using face recognition function
CN102306082A (en) * 2011-09-13 2012-01-04 富泰华工业(深圳)有限公司 Electronic device and identification method for starting and unlocking same
CN103186763A (en) * 2011-12-28 2013-07-03 富泰华工业(深圳)有限公司 Face recognition system and face recognition method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447006A (en) * 2018-11-01 2019-03-08 北京旷视科技有限公司 Image processing method, device, equipment and storage medium
CN109246360A (en) * 2018-11-23 2019-01-18 维沃移动通信(杭州)有限公司 A kind of reminding method and mobile terminal
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
CN112714259A (en) * 2020-12-30 2021-04-27 广州极飞科技有限公司 State adjustment method and device for object to be shot

Also Published As

Publication number Publication date
CN104469092B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN105404863B (en) Character features recognition methods and system
US10984226B2 (en) Method and apparatus for inputting emoticon
CN104753766B (en) Expression sending method and device
CN111476871B (en) Method and device for generating video
CN108875797B (en) Method for determining image similarity, photo album management method and related equipment
CN108280166B (en) Method and device for making expression, terminal and computer readable storage medium
CN110222649B (en) Video classification method and device, electronic equipment and storage medium
CN104125412B (en) A kind of information processing method and electronic equipment
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
CN105138962A (en) Image display method and image display device
CN109086742A (en) scene recognition method, scene recognition device and mobile terminal
CN109101931A (en) A kind of scene recognition method, scene Recognition device and terminal device
CN108961267B (en) Picture processing method, picture processing device and terminal equipment
US11720814B2 (en) Method and system for classifying time-series data
CN111475676B (en) Video data processing method, system, device, equipment and readable storage medium
CN104866308A (en) Scenario image generation method and apparatus
CN104598119A (en) Screen capture method and device
EP2611216B1 (en) Systems and methods for determining head related transfer functions
CN110472558B (en) Image processing method and device
CN104469092A (en) Image acquisition method and electronic equipment
CN107590460A (en) Face classification method, apparatus and intelligent terminal
CN105335714A (en) Photograph processing method, device and apparatus
CN114880062B (en) Chat expression display method, device, electronic device and storage medium
CN108985215B (en) Picture processing method, picture processing device and terminal equipment
CN111539795A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant