CN110533651A - A kind of image processing method and device - Google Patents

A kind of image processing method and device Download PDF

Info

Publication number
CN110533651A
CN110533651A CN201910809934.2A CN201910809934A CN110533651A CN 110533651 A CN110533651 A CN 110533651A CN 201910809934 A CN201910809934 A CN 201910809934A CN 110533651 A CN110533651 A CN 110533651A
Authority
CN
China
Prior art keywords
skin condition
user
skin
score
condition score
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
CN201910809934.2A
Other languages
Chinese (zh)
Other versions
CN110533651B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910809934.2A priority Critical patent/CN110533651B/en
Publication of CN110533651A publication Critical patent/CN110533651A/en
Application granted granted Critical
Publication of CN110533651B publication Critical patent/CN110533651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • G06T7/0014Biomedical image inspection using an image reference approach
    • G06T7/0016Biomedical image inspection using an image reference approach involving temporal comparison
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30088Skin; Dermal

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The present invention provides a kind of image processing method and devices, are related to technical field of data processing.Wherein, this method is applied to electronic equipment, this method comprises: obtaining the first user images;Determine the corresponding first skin condition score of the first user images;According to the first skin condition score and at least one history skin condition score, skin condition contrast images are generated;History skin condition is scored at the corresponding skin condition score of second user image obtained prior to the first user images;Show skin condition contrast images.In the embodiment of the present invention, electronic equipment can pass through the user images of analysis shooting, determine the current skin condition score of user, and display is compared with history skin condition score, to which user can understand oneself variation of current skin condition and skin condition whithin a period of time by skin condition contrast images, therefore, electronic equipment can provide the information about skin condition by the image of analysis shooting for user, to increase the information content that shooting image can be provided.

Description

A kind of image processing method and device
Technical field
The invention belongs to technical field of data processing, more particularly to a kind of image processing method and device.
Background technique
Promotion with user to the demand of taking pictures, electronic equipment is also in continuous improving performance.Camera function is set as electronics One of standby important basic function, the frequency being used by a user in daily life are very high.
Currently, most of electronic equipment can only realize basic image camera function and some image editing functions, such as Increase filter, adjustment picture size, virtualization background etc..Therefore, existing camera function is more single, the information provided the user with It is less.
Summary of the invention
The present invention provides a kind of image processing method and device, and camera function is more single to solve, and provides the user with The less problem of information.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, providing a kind of image processing method, it is applied to electronic equipment, which comprises
Obtain the first user images;
Determine the corresponding first skin condition score of first user images;
According to the first skin condition score and at least one history skin condition score, skin condition contrast images are generated;The history Skin condition is scored at the corresponding skin condition score of second user image obtained prior to first user images;
Show the skin condition contrast images.
Second aspect, the embodiment of the invention provides a kind of image processing apparatus, described device includes:
Module is obtained, for obtaining the first user images;
First determining module, for determining the corresponding first skin condition score of first user images;
Second determining module, for generating skin condition according to the first skin condition score and at least one history skin condition score Contrast images;The history skin condition is scored at the corresponding skin condition of second user image obtained prior to first user images and obtains Point;
Display module, for showing the skin condition contrast images.
The third aspect the embodiment of the invention provides a kind of electronic equipment, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of existing image processing method of the present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the computer program realizes image processing method of the present invention when being executed by processor The step of.
In embodiments of the present invention, electronic equipment the first user images available first, determine the first user images pair The the first skin condition score answered, and then the comparison of skin condition can be generated according to the first skin condition score and at least one history skin condition score Image, and shown.In the embodiment of the present invention, electronic equipment can determine that user works as by the user images of analysis shooting Preceding skin condition score, and display is compared with history skin condition score, so that user can be known from by skin condition contrast images Oneself variation of current skin condition and skin condition whithin a period of time, therefore, electronic equipment can be by the image of analysis shooting User provides the information about skin condition, to increase the information content that camera function can be provided.
Detailed description of the invention
Fig. 1 is a kind of step flow chart for image processing method that the embodiment of the present invention one provides;
Fig. 2 is a kind of step flow chart of image processing method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of skin condition contrast images of broken line diagram form provided by Embodiment 2 of the present invention;
Fig. 4 is another skin condition contrast images provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of advisory information interface schematic diagram provided by Embodiment 2 of the present invention;
Fig. 6 is another advisory information interface schematic diagram provided by Embodiment 2 of the present invention;
Fig. 7 is another advisory information interface schematic diagram provided by Embodiment 2 of the present invention;
Fig. 8 is a kind of step flow chart for image processing method that the embodiment of the present invention three provides;
Fig. 9 is a kind of step flow chart for image processing method that the embodiment of the present invention four provides;
Figure 10 is a kind of step flow chart for image processing method that the embodiment of the present invention five provides;
Figure 11 is a kind of structural block diagram for image processing apparatus that the embodiment of the present invention six provides;
Figure 12 is a kind of structural block diagram for image processing apparatus that the embodiment of the present invention seven provides;
The hardware structural diagram of Figure 13 a kind of electronic equipment of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of step flow chart for image processing method that the embodiment of the present invention one provides, as shown in Figure 1, the party Method may include:
Step 101, electronic equipment obtains the first user images.
In the embodiment of the present invention, which can be user oneself and shoots to obtain by electronic equipment.In reality It may include the skin area of user, such as human face region etc. in the first user images in the application of border.
Step 102, electronic equipment determines the corresponding first skin condition score of the first user images.
In practical application, which is electronic equipment determines according to user's skin condition, which can be with Skin condition parameter including at least one dimension, exemplary, which may include the quantity of small pox, quantity of blackhead etc. Deng the embodiment of the present invention does not do specific restriction to this.
In embodiments of the present invention, since user's skin condition may include the skin condition parameter of at least one dimension, one In the optional implementation of kind, electronic equipment can determine the first user images respectively according to the corresponding skin condition parameter of each dimension The score for respectively corresponding each dimension, that is to say, the first skin condition score may include the corresponding individual event score of each dimension, herein In the case of, the first skin condition score namely a score set.
Exemplary, in the case where user's skin condition includes small pox quantity and blackhead quantity, electronic equipment can determine acne respectively The score of this dimension of the score and blackhead quantity of this dimension of acne quantity, the first skin condition score then may include small pox quantity and The corresponding individual event score of the two dimensions of blackhead quantity.
In another optional implementation, electronic equipment can also be right after the score for determining each dimension The score of each dimension is weighted summation, finally obtains a comprehensive score, which that is to say the first user images Corresponding first skin condition score.
It is exemplary, when user's skin condition includes small pox quantity and blackhead quantity, electronic equipment can determine respectively small pox quantity this The score of this dimension of the score and blackhead quantity of dimension, and summation is weighted to the score of the two dimensions, it can obtain Obtain the first skin condition score.
Step 103, electronic equipment generates skin condition comparison diagram according to the first skin condition score and at least one history skin condition score Picture, history skin condition are scored at the corresponding skin condition score of second user image obtained prior to the first user images.
In the embodiment of the present invention, second user image can be identical with the acquisition modes of the first user images, that is to say, the Two user images can be user oneself and shoot to obtain by electronic equipment.In addition, history skin condition score and the first skin condition score Method of determination can also be identical.
Wherein, the acquisition time of each second user image and each history skin condition score is to obtain the in electronic equipment It before one user images, that is to say before obtaining the first user images, the corresponding history skin condition of each second user image obtains Divide and has just stored in the electronic device.
Step 104, electronic equipment shows skin condition contrast images.
In the embodiment of the present invention, skin condition contrast images can by the first skin condition score and at least one history skin condition score with The diagrammatic forms such as line chart, histogram are shown, so that user can be from the variation of the score data of skin condition contrast images, directly It sees ground and recognizes oneself skin in a certain period of time.
In the embodiment of the present invention, electronic equipment the first user images available first determine that the first user images are corresponding The first skin condition score, and then can according to the first skin condition score and at least one history skin condition score, generate skin condition comparison diagram Picture, and shown.In the embodiment of the present invention, electronic equipment can determine that user is current by the user images of analysis shooting Skin condition score, and display is compared with history skin condition score, so that user can understand oneself by skin condition contrast images The variation of current skin condition and skin condition whithin a period of time, therefore, electronic equipment can be to use by the image of analysis shooting Family provides the information about skin condition, to increase the information content that camera function can be provided.
Embodiment two
Fig. 2 is a kind of step flow chart of image processing method provided by Embodiment 2 of the present invention, as shown in Fig. 2, the party Method may include:
Step 201, electronic equipment obtains the first user images.
The realization process of this step can refer to above-mentioned steps 101, and details are not described herein for the embodiment of the present invention.
Step 202, electronic equipment determines the corresponding first skin condition score of the first user images.
The realization process of this step can refer to above-mentioned steps 102, and details are not described herein for the embodiment of the present invention.
Step 203, electronic equipment generates skin condition comparison diagram according to the first skin condition score and at least one history skin condition score Picture, history skin condition are scored at the corresponding skin condition score of second user image obtained prior to the first user images.
Optionally, the implementation of above-mentioned steps 203 may include:
Sub-step 2031, electronic equipment are suitable according to the time respectively by the first skin condition score and at least one history skin condition score Sequence is drawn into default two-dimensional coordinates.
Wherein, the horizontal axis for presetting two-dimensional coordinates can indicate the time, and the longitudinal axis of default two-dimensional coordinates can indicate skin Condition score.Time represented by the horizontal axis specifically can be as unit of hour, day or the moon, and the embodiment of the present invention does not do this It limits.
Exemplary, Fig. 3 is a kind of skin condition contrast images of broken line diagram form provided by Embodiment 2 of the present invention, such as Fig. 3 institute Show, the horizontal axis of the default two-dimensional coordinates can indicate month, and the longitudinal axis of the default two-dimensional coordinates can indicate skin condition score.
Sub-step 2032, electronic equipment is by the first skin condition score being drawn into default two-dimensional coordinates and at least one history Skin condition score is sequentially connected sequentially in time, obtains skin condition contrast images.
In embodiments of the present invention, the corresponding skin condition score of different dimensions and skin condition parameter can be proportional, different dimensions Corresponding skin condition score and skin condition parameter can also be in inverse ratio, and the embodiment of the present invention is not specifically limited in this embodiment.
By taking the parameter of the blackhead quantity dimension in user's skin condition as an example, the skin condition score of the dimension can be with the skin of the dimension Condition parameter is proportional, that is to say, blackhead quantity is more, then the skin condition score of the dimension is higher;The skin condition score of the dimension can also To be in inverse ratio with the skin condition parameter of the dimension, that is to say, blackhead quantity is more, then the skin condition score of the dimension is lower.
Such as in embodiments of the present invention, right for blackhead quantity dimension, small pox quantity dimension and eye pouch size dimension The skin condition score and skin condition parameter answered can be in inverse ratio, for whitening skin degree dimension, corresponding skin condition score and skin condition Parameter can be proportional.
It include that the corresponding score of current time blackhead quantity dimension, small pox quantity dimension are corresponding with the first skin condition score Divide, for the corresponding score of whitening skin degree dimension, the corresponding score of eye pouch size dimension, referring to Fig. 3, blackhead quantity is corresponding 40 are scored at January, blackhead quantity is corresponding to be scored at 36 at March, score when blackhead quantity corresponds in may It is 35, blackhead quantity is corresponding to be scored at 30 at July, and blackhead quantity correspondence is scored at 30 at September, blackhead quantity pair 25 are scored at when should in November.Wherein, score when blackhead quantity corresponds in November is contained in the first skin condition score, It is history skin condition score that blackhead quantity, which respectively corresponds the score in January, March, May, July, September and November,.Electronics The score that blackhead quantity can be corresponded to above-mentioned every month by equipment is sequentially connected according to the time sequencing of horizontal axis, so as to obtain Blackhead quantitative comparison's curve as shown in Figure 3.
Likewise, small pox quantity is corresponding to be scored at 48 at January, small pox quantity correspondence is scored at 41 at March, Small pox quantity is scored at 40 when corresponding in may, small pox quantity is corresponding to be scored at 38 at July, and small pox quantity corresponds to 35 are scored at when September, small pox quantity is scored at 30 when corresponding in November.Wherein, when small pox quantity corresponds in November Score i.e. be contained in the first skin condition score, small pox quantity respectively corresponded in January, March, May, July, September and November Score be history skin condition score.Electronic equipment small pox quantity can be corresponded to the score of above-mentioned every month according to horizontal axis when Between be sequentially connected with, so as to obtain small pox quantitative comparison curve as shown in Figure 3.
Likewise, eye pouch size is corresponding to be scored at 30 at January, eye pouch size correspondence is scored at 25 at March, Eye pouch size is scored at 25 when corresponding in may, eye pouch size is corresponding to be scored at 18 at July, and eye pouch size corresponds to 15 are scored at when September, eye pouch size is scored at 10 when corresponding in November.Wherein, when eye pouch size corresponds in November Score i.e. be contained in the first skin condition score, eye pouch size respectively corresponded in January, March, May, July, September and November Score be history skin condition score.Electronic equipment eye pouch size can be corresponded to the score of above-mentioned every month according to horizontal axis when Between be sequentially connected with, so as to obtain eye pouch size correlation curve as shown in Figure 3.
Likewise, whitening skin degree is corresponding to be scored at 60 at January, whitening skin degree was corresponded at March 70 are scored at, whitening skin degree is scored at 78 when corresponding in may, whitening skin degree correspondence is scored at July 85, whitening skin degree is corresponding to be scored at 88 at September, and whitening skin degree is scored at 90 when corresponding in November.Its In, score when whitening skin degree corresponds in November is contained in the first skin condition score, and whitening skin degree respectively corresponds It is history skin condition score in the score in January, March, May, July, September and November.Electronic equipment can be by pale journey The score that degree corresponds to above-mentioned every month is sequentially connected according to the time sequencing of horizontal axis, so as to obtain skin as shown in Figure 3 The pale degree correlation curve of skin.
Drafting has blackhead quantitative comparison curve, small pox quantitative comparison curve, eye pouch size correlation curve and whitening skin journey The diagram for spending correlation curve is skin condition contrast images.
It should be noted that Fig. 3 is only carried out by taking the skin condition contrast images of correlation curve for including aforementioned four dimension as an example Illustrate, limiting the invention by Fig. 3.
Optionally, user can click the corresponding skin condition correlation curve of certain dimension in skin condition contrast images, correspondingly, electronics Equipment can hide remaining skin condition correlation curve in addition to the skin condition correlation curve that the user clicks, then user can individually see To the corresponding skin condition correlation curve of selected dimension.For example, the skin that user can click in selection skin condition contrast images is white Fair-skinned degree correlation curve, correspondingly, electronic equipment can be by the blackhead quantitative comparison in addition to whitening skin degree correlation curve Curve, small pox quantitative comparison curve and eye pouch size correlation curve are hidden, then user can individually see in skin condition contrast images Selected whitening skin degree correlation curve, as shown in Figure 4.
Step 204, the skin that electronic equipment is changed over time according to the first skin condition score and at least one history skin condition score Condition variation tendency determines target advisory information.
Wherein, target advisory information may include skin care advisory information, sleep advisory information, dietary recommendation information and movement At least one of advisory information, can also include otherwise advisory information certainly, and the embodiment of the present invention does not make this to have Body limits.
In embodiments of the present invention, when the first skin condition score and each history skin condition score are incremented by successively sequentially in time When, then electronic equipment can determine that skin condition is the trend gradually improved, that is to say that skin condition variation tendency is improvement trend.It can manage Solution, when history skin condition score includes at least three scores, wherein may be greatly low in the presence of phase-splitting difference is obtained with other Point or high score, in this case, such low point or high score should be considered as special data point, correspondingly, determining skin When condition variation tendency, electronic equipment can foreclose special data point, as long as the first skin condition score and each history skin condition Score is substantially in trend incremented by successively sequentially in time, that is, can determine that the skin condition variation tendency is improvement trend, and then electronics Equipment can determine the corresponding target advisory information of improvement trend.
In embodiments of the present invention, when the first skin condition score and each history skin condition score are successively successively decreased sequentially in time When, then electronic equipment can determine that skin condition is the trend to run down, that is to say that skin condition variation tendency is degradating trend.It can manage Solution, when history skin condition score includes at least three scores, wherein may be greatly low in the presence of phase-splitting difference is obtained with other Point or high score, in this case, such low point or high score should be considered as special data point, correspondingly, determining skin When condition variation tendency, electronic equipment can foreclose special data point, as long as the first skin condition score and each history skin condition Score can determine that the skin condition variation tendency is degradating trend sequentially in time substantially in successively decline trend, and then electronics Equipment can determine the corresponding target advisory information of degradating trend.
Optionally, from the figure 3, it may be seen that the corresponding curve of whitening skin degree is in gradually increasing trend, then whitening skin degree This skin condition variation tendency is in improvement trend;Curve corresponding to small pox quantity, blackhead quantity and eye pouch quantity is in gradually to successively decrease Trend, then skin condition variation tendency corresponding to small pox quantity, blackhead quantity and eye pouch size these three dimensions is in degradating trend, into And electronic equipment can determine the corresponding target advisory information of degradating trend.
In embodiments of the present invention, it when the first skin condition score and almost the same each history skin condition score, namely each gets When/difference very little, skin condition variation tendency is then the trend that maintains an equal level, and then electronic equipment can determine that fair trend is corresponding Target advisory information.
Step 205, electronic equipment exports target advisory information.
Optionally, which can show user, the embodiment of the present invention pair by way of text box etc. This is without limitation.When target advisory information includes at least two, it can export respectively and show use in respective text box Family can also export together and show user in the same text box, and the embodiment of the present invention compares also without limitation.
In embodiments of the present invention, the content of skin care advisory information may include: recommended user using corresponding skin care item, Recommended user is using the smearing gimmick or recommended user of skin care item using corresponding sun-proof measure etc..Sleep advisory information it is interior Appearance may include: that suggestion user goes to bed early and get up early.The content of dietary recommendation information may include: to eat the dimension such as vegetables and carrot more Raw element product is avoided and eats maror or drink water more.The content of exercise suggestion information may include: that suggestion user does Yoga, builds View user's morning run suggests user to have a meal in half an hour after being preferably maintained in standing state etc..
For example, with reference to Fig. 5, when skin condition variation tendency is degradating trend, the content of the target advisory information, which may is that, is built View is gone to bed early and get up early, and eats the vitamin products such as vegetables and carrot, while paying attention to physical training more more.Wherein, it " goes to bed early and get up early " and is Sleep advisory information, " eating the vitamin products such as vegetables and carrot " are dietary recommendation information more, and " mostly attention physical training " is Exercise suggestion information.
For another example, when skin condition variation tendency is improvement trend, the content of the target advisory information may is that referring to Fig. 6 Right face small pox quantity is declined, other area skins of face are smooth, and skin entirety score 50 is divided, and opposite 41 points before 30 days have It is improved, it appears that recommend your whitening product effective before!And there are also relevant whitening products to recommend.Wherein, " related Whitening product recommend " be skin care advisory information.
Optionally, electronic equipment can show the target for prompting user to shoot new user images at regular intervals Advisory information, guiding user periodically to understand the skin condition of oneself, such as shown in fig. 7 " self-timer one is opened again after a few days, is remembered It checks card!".
Optionally, referring to Fig. 5, Fig. 6 or Fig. 7, the skin condition problem in human face region can also be passed through box by electronic equipment Etc. forms be identified, such as identify small pox concentration region so that user can more clearly from understand oneself Skin condition.
It in practical applications, can also be by way of text box etc. by above-mentioned first skin condition score and at least one history Skin condition score shows user, or the first skin condition score and at least one history skin condition score can be shown in target suggestion In text box corresponding to information, as shown in Fig. 5, Fig. 6 or Fig. 7, it is not limited in the embodiment of the present invention.
Step 206, electronic equipment shows skin condition contrast images.
The realization process of this step can refer to above-mentioned steps 104, and details are not described herein for the embodiment of the present invention.
In embodiments of the present invention, electronic equipment the first user images available first, determine the first user images pair The the first skin condition score answered generates skin condition contrast images then according to the first skin condition score and at least one history skin condition score, And the skin condition variation tendency changed over time according to the first skin condition score and at least one history skin condition score, determines that target is built Information is discussed, target advisory information is exported, finally shows skin condition contrast images.In embodiments of the present invention, electronic equipment can root According to the skin condition variation tendency that the first skin condition score and at least one history skin condition score change over time, target recommendation letter is determined Breath exports target advisory information, finally shows skin condition contrast images, and then user can be from skin condition contrast images, intuitively Oneself skin condition score, skin condition variation tendency and corresponding advisory information within certain period is checked, so that user can be from institute The measure for improving skin condition is known in the advisory information of output.
Embodiment three
Fig. 8 is a kind of step flow chart for image processing method that the embodiment of the present invention three provides, as shown in figure 8, the party Method may include:
Step 301, electronic equipment obtains the first user images.
The realization process of this step can refer to above-mentioned steps 101, and details are not described herein for the embodiment of the present invention.
Step 302, electronic equipment determines the corresponding first skin condition score of the first user images.
The realization process of this step can refer to above-mentioned steps 102, and details are not described herein for the embodiment of the present invention.
Step 303, electronic equipment generates skin condition comparison diagram according to the first skin condition score and at least one history skin condition score Picture, history skin condition are scored at the corresponding skin condition score of second user image obtained prior to the first user images.
The realization process of this step can refer to above-mentioned steps 103 and step 203, and the embodiment of the present invention is no longer superfluous herein It states.
Step 304, the skin that electronic equipment is changed over time according to the first skin condition score and at least one history skin condition score Condition variation tendency is updated history advisory information, obtains target advisory information.
Wherein, target advisory information includes skin care advisory information, sleep advisory information, dietary recommendation information and exercise suggestion At least one of information.
In embodiments of the present invention, when skin condition variation tendency is in improvement trend, then electronic equipment is according to improvement trend pair History advisory information is updated, and obtains corresponding target advisory information.When skin condition variation tendency is in degradating trend, then electronics Equipment is updated history advisory information according to degradating trend, obtains corresponding target advisory information.When skin condition variation tendency When in fair trend, then electronic equipment is updated history advisory information according to fair trend, obtains corresponding target suggestion Information.
It is that " it is recommended that the stronger skin care item of pharmacological property being used, to improve the more situation of right face small pox " is with history advisory information Example, when skin condition variation tendency is in improvement trend, electronic equipment is updated history advisory information according to improvement trend, obtains The content of target advisory information may is that suggestion you continue to keep recent skin care and living habit, and can be used more Mild skin care item.When skin condition variation tendency is in degradating trend, electronic equipment is according to degradating trend to history advisory information It is updated, the content of obtained target advisory information may is that right face small pox is more, and situation has aggravated!It is recommended that You use the stronger small pox recuperating and protecting skin product of pharmacological property.
Step 305, electronic equipment exports target advisory information.
The realization process of this step can refer to above-mentioned steps 205, and details are not described herein for the embodiment of the present invention.
Step 306, electronic equipment shows skin condition contrast images.
The realization process of this step can refer to above-mentioned steps 104, and details are not described herein for the embodiment of the present invention.
In embodiments of the present invention, electronic equipment the first user images available first, determine the first user images pair The the first skin condition score answered generates skin condition contrast images then according to the first skin condition score and at least one history skin condition score, And the skin condition variation tendency changed over time according to the first skin condition score and at least one history skin condition score, to history suggestion Information is updated, and obtains target advisory information, is then exported target advisory information, is finally shown skin condition contrast images.At this In inventive embodiments, electronic equipment can be updated history advisory information, obtain target suggestion according to skin condition variation tendency Information simultaneously exports, and finally shows skin condition contrast images, so user can from skin condition contrast images, intuitively check oneself Skin condition score, skin condition variation tendency and updated corresponding advisory information in certain period, so that user can be defeated from institute In advisory information out, the measure effect achieved previously carried out according to history advisory information is known.
Example IV
Fig. 9 is a kind of step flow chart for image processing method that the embodiment of the present invention four provides, as shown in figure 9, the party Method may include:
Step 401, electronic equipment obtains the first user images.
The realization process of this step can refer to above-mentioned steps 101, and details are not described herein for the embodiment of the present invention.
Step 402, electronic equipment carries out recognition of face to the first user images, obtains the face area in the first user images Domain.
In embodiments of the present invention, the implementation of this step can refer to the relevant technologies, and this will not be detailed here.For example, In specific application, electronic equipment can carry out face knowledge to the first user images using third party's recognition of face tool face++ Not, the human face region in the first user images is obtained.
Step 403, electronic equipment determines the colour of skin average value of human face region.
In practical applications, the pixel average of colour of skin average value namely skin pixel point.Electronic equipment can be by face Pixel region in region where face is deleted, and is then averaged to the pixel of remaining human face region, it is hereby achieved that people The colour of skin average value in face region.
Step 404, electronic equipment is based on colour of skin average value, determines user's skin condition corresponding first in the first user images Skin condition score.
In practical applications, since everyone skin background color is different, therefore electronic equipment can be based on the skin of active user Color average value determines user's skin condition, hence for the user of different skin background color, can determine the skin condition for the user, In this way, the accuracy rate of determining user's skin condition can be improved.
Such as in an optional implementation manner, skin pixel value range can be grouped, and then electronic equipment Different machine learning models can be established and trained according to different user's skin condition dimensions and different groupings.For example, electronics The first machine learning model can be established and be trained to equipment to small pox quantity dimension and the first skin pixel value range, can be right Small pox quantity dimension and the second skin pixel value range are established and are trained the second machine learning model, can tie up to blackhead quantity Third machine learning model is established and trained to degree and the first skin pixel value range, can be to blackhead quantity dimension and the second skin Color pixel value range, establish and train the 4th machine learning model, etc..And then electronic equipment can be defeated by the first user images Enter corresponding trained machine learning model, so that the machine learning model, which can export the first user images, corresponds to each dimension Skin condition parameter, and then determine the first skin condition score.
Electronic equipment 402~step 404 through the above steps can be realized and determine corresponding first skin of the first user images The step of condition score.
Step 405, electronic equipment generates skin condition comparison diagram according to the first skin condition score and at least one history skin condition score Picture, history skin condition are scored at the corresponding skin condition score of second user image obtained prior to the first user images.
The realization process of this step can refer to above-mentioned steps 103 and step 203, and the embodiment of the present invention is no longer superfluous herein It states.
Step 406, electronic equipment shows skin condition contrast images.
The realization process of this step can refer to above-mentioned steps 104, and details are not described herein for the embodiment of the present invention.
In embodiments of the present invention, electronic equipment the first user images available first carry out the first user images Recognition of face obtains the human face region in the first user images, further, it is determined that the colour of skin average value of human face region, is based on Colour of skin average value determines the corresponding first skin condition score of user's skin condition in the first user images, and then can be according to the first skin Condition score and at least one history skin condition score generate skin condition contrast images, and are shown.In embodiments of the present invention, Electronic equipment can determine the first user images corresponding first based on the colour of skin average value of human face region in the first user images Skin condition score, that is to say the user for different skin background color, user's skin condition for the user can be determined, in this way, mentioning The high accuracy rate of determining user's skin condition.
Embodiment five
Figure 10 is a kind of step flow chart for image processing method that the embodiment of the present invention five provides, as shown in Figure 10, should Method may include:
Step 501, electronic equipment obtains the first user images.
The realization process of this step can refer to above-mentioned steps 101, and details are not described herein for the embodiment of the present invention.
Step 502, electronic equipment carries out recognition of face to the first user images, obtains the face area in the first user images Domain.
The realization process of this step can refer to above-mentioned steps 402, and details are not described herein for the embodiment of the present invention.
Step 503, electronic equipment determines the colour of skin average value of human face region.
The realization process of this step can refer to above-mentioned steps 403, and details are not described herein for the embodiment of the present invention.
Step 504, electronic equipment is based on colour of skin average value, determines user's skin condition corresponding first in the first user images Skin condition score;User's skin condition includes small pox quantity, blackhead quantity, amount of speckle, eye pouch area, black eye area, black eye face At least one of color depth, cutaneous roughness and whitening skin degree.
In practical applications, user's skin condition can also include other dimensions skin condition parameter, the embodiment of the present invention to this not It limits.
Optionally, in embodiments of the present invention, the parameter of each dimension can be by by the first user in user's skin condition Image inputs trained machine learning model and obtains, wherein trained machine learning model can be by inputting multiple samples This image is trained to obtain.Certainly, in specific application, the step of determining the parameter of each dimension in user's skin condition can be with Realize that the present invention is not especially limit this with reference to other the relevant technologies.
By taking the small pox quantity in user's skin condition as an example, skin problem this kind of for small pox collects at least 1000 sample graphs Picture, electronic equipment calibrate position and the quantity of small pox in this at least 1000 sample images.Electronic equipment can establish one Initial machine learning model, and using calibrated every sample image as training data, respectively by calibrated every sample Image is sequentially input into the initial machine learning model, to carry out tune ginseng to the initial machine learning model.When all instructions When white silk data input finishes, then initial machine learning model training finishes, and can be obtained trained machine learning model.When So, after model training completion, trained machine learning model can also be tested, to determine its accuracy.Into And the first user images can be input to and train and by the machine learning model of test by electronic equipment, then the engineering The position of each small pox in the first user images can be identified by practising model, and export the quantity of small pox.
Step 505, electronic equipment generates skin condition comparison diagram according to the first skin condition score and at least one history skin condition score Picture, history skin condition are scored at the corresponding skin condition score of second user image obtained prior to the first user images.
The realization process of this step can refer to above-mentioned steps 103 and step 203, and the embodiment of the present invention is no longer superfluous herein It states.
Step 506, electronic equipment shows skin condition contrast images.
The realization process of this step can refer to above-mentioned steps 104, and details are not described herein for the embodiment of the present invention.
In embodiments of the present invention, electronic equipment the first user images available first carry out the first user images Recognition of face obtains the human face region in the first user images, and then determines the colour of skin average value of human face region, is then based on skin Color average value determines the corresponding first skin condition score of user's skin condition in the first user images, wherein user's skin condition includes small pox Quantity, blackhead quantity, amount of speckle, eye pouch area, black eye area, black eye color depth, cutaneous roughness and skin At least one of pale degree generates skin condition pair further according to according to the first skin condition score and at least one history skin condition score Than image, and show skin condition contrast images.In embodiments of the present invention, user's skin condition may include small pox quantity, blackhead quantity, In amount of speckle, eye pouch area, black eye area, black eye color depth, cutaneous roughness and whitening skin degree extremely When then electronic equipment determines the first skin condition score according to the parameter of above-mentioned different dimensions, it is right that different dimensions institute is can be obtained in few one kind The the first skin condition score answered, so that user will be seen that the skin condition of oneself different dimensions.
Embodiment six
Figure 11 is a kind of structural block diagram for image processing apparatus that the embodiment of the present invention six provides, as shown in figure 11, image Processing unit 600 includes:
Module 601 is obtained, for obtaining the first user images.
First determining module 602, for determining the corresponding first skin condition score of the first user images.
Generation module 603, for generating skin condition comparison diagram according to the first skin condition score and at least one history skin condition score Picture;History skin condition is scored at the corresponding skin condition score of second user image obtained prior to the first user images.
Display module 604, for showing skin condition contrast images.
In the embodiment of the present invention, electronic equipment can obtain the first user images, then pass through by obtaining module first First determining module determines the corresponding first skin condition score of the first user images, and then by generation module, can be according to first Skin condition score and at least one history skin condition score generate skin condition contrast images, finally by display module, show the comparison of skin condition Image.Electronic equipment can determine the current skin condition score of user by way of image analysis, and with skin condition contrast images Form be shown, allow user to understand the skin condition of oneself by skin condition contrast images, increase the bat of electronic equipment The information of user can be supplied to according to function.
Embodiment seven
Figure 12 is a kind of structural block diagram for image processing apparatus that the embodiment of the present invention seven provides, as shown in figure 12, the figure As processing unit 700 may include:
Module 701 is obtained, for obtaining the first user images.
First determining module 702, for determining the corresponding first skin condition score of the first user images.
Generation module 703, for generating skin condition comparison diagram according to the first skin condition score and at least one history skin condition score Picture;History skin condition is scored at the corresponding skin condition score of second user image obtained prior to the first user images.
Display module 704, for showing skin condition contrast images.
In embodiments of the present invention, electronic equipment can obtain the first user images, then lead to by obtaining module first The first determining module is crossed, determines the corresponding first skin condition score of the first user images, and then by generation module, it can be according to the One skin condition score and at least one history skin condition score generate skin condition contrast images, finally by display module, show skin condition pair Compare image.Electronic equipment can determine the current skin condition score of user by way of image analysis, and with skin condition comparison diagram The form of picture is shown, and is allowed user to understand the skin condition of oneself by skin condition contrast images, is increased electronic equipment Camera function can be supplied to the information of user.
Optionally, image processing apparatus 700 further include:
Second determining module 705, for being changed over time according to the first skin condition score and at least one history skin condition score Skin condition variation tendency, determine target advisory information.
Output module 706, for exporting target advisory information.
Wherein, target advisory information includes skin care advisory information, sleep advisory information, dietary recommendation information and exercise suggestion At least one of information.
In embodiments of the present invention, electronic equipment can according to the first skin condition score and at least one history skin condition score with The skin condition variation tendency of time change determines target advisory information, exports target advisory information, finally shows skin condition comparison diagram Picture, and then user can intuitively check oneself skin condition score within certain period, the variation of skin condition from skin condition contrast images Trend and corresponding advisory information, so that user can know the measure for improving skin condition from the advisory information exported.
Optionally, the second determining module 705 includes:
Submodule 7051 is updated, for what is changed over time according to the first skin condition score and at least one history skin condition score Skin condition variation tendency, is updated history advisory information, obtains target advisory information.
In embodiments of the present invention, electronic equipment can according to the first skin condition score and at least one history skin condition score with The skin condition variation tendency of time change, is updated history advisory information, obtains target advisory information, then exports target and builds Information is discussed, finally shows skin condition contrast images, and then user can intuitively check oneself in some time from skin condition contrast images Between skin condition score, skin condition variation tendency and updated corresponding advisory information in section, so that user can be from being exported In advisory information, the measure effect achieved previously carried out according to history advisory information is known.
Optionally, the first determining module 702 includes:
Recognition of face submodule 7021 obtains in the first user images for carrying out recognition of face to the first user images Human face region.
First determines submodule 7022, for determining the colour of skin average value of human face region.
Second determines submodule 7023, for being based on colour of skin average value, determines user's skin condition pair in the first user images The the first skin condition score answered.
Optionally, user's skin condition include small pox quantity, it is blackhead quantity, amount of speckle, eye pouch area, black eye area, black At least one of eyelet color depth, cutaneous roughness and whitening skin degree.
In embodiments of the present invention, electronic equipment can based on the colour of skin average value of human face region in the first user images, It determines the corresponding first skin condition score of the first user images, that is to say the user for different skin background color, can determine needle To user's skin condition of the user, in this way, improving the accuracy rate of determining user's skin condition.
Optionally, user's skin condition include small pox quantity, it is blackhead quantity, amount of speckle, eye pouch area, black eye area, black At least one of eyelet color depth, cutaneous roughness and whitening skin degree.
In embodiments of the present invention, user's skin condition may include small pox quantity, blackhead quantity, amount of speckle, eye pouch area, At least one of black eye area, black eye color depth, cutaneous roughness and whitening skin degree, then electronic equipment root When determining the first skin condition score according to user's skin condition of above-mentioned different dimensions, the first skin condition corresponding to different dimensions can be obtained and obtain Point, so that user will be seen that the skin condition of oneself different dimensions.
Embodiment eight
The hardware structural diagram of Figure 13 a kind of electronic equipment of each embodiment to realize the present invention, the electronic equipment 800 include but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810 and power supply 811 etc. Component.It will be understood by those skilled in the art that electronic devices structure shown in Figure 13 does not constitute the restriction to electronic equipment, Electronic equipment may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In In the embodiment of the present invention, electronic equipment includes but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted end End, wearable device and pedometer etc..
Wherein, processor 810 determine that the corresponding first skin condition of the first user images obtains for obtaining the first user images Point, according to the first skin condition score and at least one history skin condition score, generation skin condition contrast images, history skin condition be scored at prior to The corresponding skin condition score of second user image that first user images obtain;Display unit 806, for showing skin condition comparison diagram Picture.
In the embodiment of the present invention, electronic equipment the first user images available first determine that the first user images are corresponding The first skin condition score, and then can according to the first skin condition score and at least one history skin condition score, generate skin condition comparison diagram Picture, and shown.Electronic equipment can determine the current skin condition score of user by the user images of analysis shooting, and with History skin condition score compares display, so that user can understand oneself current skin condition by skin condition contrast images, and The variation of skin condition whithin a period of time, therefore, electronic equipment can be provided for user about skin condition by the image of analysis shooting Information, to increase the information content that camera function can be provided.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
Electronic equipment provides wireless broadband internet by network module 802 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and electricity The relevant audio output of specific function that sub- equipment 800 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (GraphicsProcessingUnit, GPU) 8041 and microphone 8042, graphics processor 8041 in video acquisition mode or The image data of the static images or video that are obtained in image capture mode by image capture apparatus (such as camera) is handled. Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can store It is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Microphone 8042 can receive sound, and can be audio data by such acoustic processing.Treated, and audio data can be in electricity The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where words call mode.
Electronic equipment 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when electronic equipment 800 is moved in one's ear Display panel 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify electronic equipment posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap Display panel 8061 is included, liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode can be used Forms such as (OrganicLight-EmittingDiode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with electronic equipment Family setting and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and Other input equipments 8072.Touch panel 8071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 8071 or in touch panel 8071 Neighbouring operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area It manages the order that device 810 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 8081.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching The type for touching event provides corresponding visual output on display panel 8061.Although in Figure 13, touch panel 8071 and aobvious Show that panel 8061 is the function that outputs and inputs of realizing electronic equipment as two independent components, but in some embodiments In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of electronic equipment, it is specific this Place is without limitation.
Interface unit 808 is the interface that external device (ED) is connect with electronic equipment 800.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in electronic equipment 800 or can be used in 800 He of electronic equipment Data are transmitted between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection A part by running or execute the software program and/or module that are stored in memory 809, and calls and is stored in storage Data in device 809 execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.Place Managing device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Electronic equipment 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811 Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, electronic equipment 800 includes some unshowned functional modules, details are not described herein.
The embodiment of the present invention also provides a kind of electronic equipment, including processor 810, and memory 809 is stored in memory On 809 and the computer program that can run on processor 810, the computer program are realized above-mentioned when being executed by processor 810 Each process of image processing method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned image processing method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-OnlyMemory, abbreviation ROM), random access memory (RandomAccessMemory, abbreviation RAM), Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of image processing method is applied to electronic equipment, which is characterized in that the described method includes:
Obtain the first user images;
Determine the corresponding first skin condition score of first user images;
According to the first skin condition score and at least one history skin condition score, skin condition contrast images are generated;The history skin condition It is scored at the corresponding skin condition score of second user image obtained prior to first user images;
Show the skin condition contrast images.
2. the method according to claim 1, wherein described go through according to the first skin condition score at least one After the step of history skin condition score, generation skin condition contrast images, further includes:
According to the skin condition variation tendency that the first skin condition score and at least one described history skin condition score change over time, really Set the goal advisory information;
Export the target advisory information;
Wherein, the target advisory information includes skin care advisory information, sleep advisory information, dietary recommendation information and exercise suggestion At least one of information.
3. according to the method described in claim 2, it is characterized in that, described according to the first skin condition score and described at least one The skin condition variation tendency that a history skin condition score changes over time, the step of determining target advisory information, comprising:
It is right according to the skin condition variation tendency that the first skin condition score and at least one described history skin condition score change over time History advisory information is updated, and obtains target advisory information.
4. the method according to claim 1, wherein corresponding first skin of the determination first user images The step of condition score, comprising:
Recognition of face is carried out to first user images, obtains the human face region in first user images;
Determine the colour of skin average value of the human face region;
Based on the colour of skin average value, the corresponding first skin condition score of user's skin condition in first user images is determined.
5. according to the method described in claim 4, it is characterized in that, user's skin condition includes small pox quantity, blackhead quantity, spot In point quantity, eye pouch area, black eye area, black eye color depth, cutaneous roughness and whitening skin degree at least It is a kind of.
6. a kind of image processing apparatus, which is characterized in that described device includes:
Module is obtained, for obtaining the first user images;
First determining module, for determining the corresponding first skin condition score of first user images;
Generation module, for generating skin condition contrast images according to the first skin condition score and at least one history skin condition score; The history skin condition is scored at the corresponding skin condition score of second user image obtained prior to first user images;
Display module, for showing the skin condition contrast images.
7. device according to claim 6, which is characterized in that described device further include:
Second determining module, for being changed over time according to the first skin condition score and at least one described history skin condition score Skin condition variation tendency, determine target advisory information;
Output module, for exporting the target advisory information;
Wherein, the target advisory information includes skin care advisory information, sleep advisory information, dietary recommendation information and exercise suggestion At least one of information.
8. device according to claim 7, which is characterized in that second determining module includes:
Submodule is updated, for what is changed over time according to the first skin condition score and at least one described history skin condition score Skin condition variation tendency, is updated history advisory information, obtains target advisory information.
9. device according to claim 6, which is characterized in that first determining module includes:
Recognition of face submodule obtains in first user images for carrying out recognition of face to first user images Human face region;
First determines submodule, for determining the colour of skin average value of the human face region;
Second determines submodule, for being based on the colour of skin average value, determines user's skin condition pair in first user images The the first skin condition score answered.
10. device according to claim 9, which is characterized in that user's skin condition include small pox quantity, blackhead quantity, In amount of speckle, eye pouch area, black eye area, black eye color depth, cutaneous roughness and whitening skin degree extremely Few one kind.
CN201910809934.2A 2019-08-29 2019-08-29 Image processing method and device Active CN110533651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910809934.2A CN110533651B (en) 2019-08-29 2019-08-29 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910809934.2A CN110533651B (en) 2019-08-29 2019-08-29 Image processing method and device

Publications (2)

Publication Number Publication Date
CN110533651A true CN110533651A (en) 2019-12-03
CN110533651B CN110533651B (en) 2022-04-08

Family

ID=68665462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910809934.2A Active CN110533651B (en) 2019-08-29 2019-08-29 Image processing method and device

Country Status (1)

Country Link
CN (1) CN110533651B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112528734A (en) * 2020-10-29 2021-03-19 长沙市到家悠享家政服务有限公司 Sorting score determining method, device, equipment and storage medium
CN113128377A (en) * 2021-04-02 2021-07-16 西安融智芙科技有限责任公司 Black eye recognition method, black eye recognition device and terminal based on image processing
CN113674829A (en) * 2021-07-13 2021-11-19 广东丸美生物技术股份有限公司 Recommendation method and device for makeup formula
WO2021244174A1 (en) * 2020-06-05 2021-12-09 华为技术有限公司 Skin detection method and device
CN113128377B (en) * 2021-04-02 2024-05-17 西安融智芙科技有限责任公司 Black eye recognition method, black eye recognition device and terminal based on image processing

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150230712A1 (en) * 2014-02-20 2015-08-20 Parham Aarabi System, method and application for skin health visualization and quantification
US20160143422A1 (en) * 2013-02-01 2016-05-26 Panasonic Intellectual Property Management Co., Ltd. Makeup application assistance device, makeup application assistance method, and makeup application assistance program
CN106210517A (en) * 2016-07-06 2016-12-07 北京奇虎科技有限公司 The processing method of a kind of view data, device and mobile terminal
CN106952313A (en) * 2017-03-21 2017-07-14 北京工商大学 Skin complexion evaluation method based on HSI and Lab blend color models
CN107437072A (en) * 2017-07-18 2017-12-05 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN107507144A (en) * 2017-08-18 2017-12-22 苏州科达科技股份有限公司 Processing method, device and the image processing apparatus of colour of skin enhancing
CN108256500A (en) * 2018-02-05 2018-07-06 广东欧珀移动通信有限公司 Recommendation method, apparatus, terminal and the storage medium of information
CN108354587A (en) * 2016-05-24 2018-08-03 丽宝大数据股份有限公司 Individual skin diagnoses and skin nursing
US20180279943A1 (en) * 2014-10-29 2018-10-04 Tissue Analytics, Inc. System and method for the analysis and transmission of data, images and video relating to mammalian skin damage conditions
CN109363634A (en) * 2018-10-08 2019-02-22 蔡义文 Assessment method, device, mobile phone, computer equipment and the storage medium of skin
CN109381165A (en) * 2018-09-12 2019-02-26 维沃移动通信有限公司 A kind of skin detecting method and mobile terminal
CN109618045A (en) * 2018-11-27 2019-04-12 Oppo广东移动通信有限公司 Electronic device, information-pushing method and Related product
CN110033344A (en) * 2019-03-06 2019-07-19 百度在线网络技术(北京)有限公司 Skin care item recommended method, device and storage medium neural network based
CN110175530A (en) * 2019-04-30 2019-08-27 上海云从企业发展有限公司 A kind of image methods of marking and system based on face

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160143422A1 (en) * 2013-02-01 2016-05-26 Panasonic Intellectual Property Management Co., Ltd. Makeup application assistance device, makeup application assistance method, and makeup application assistance program
US20150230712A1 (en) * 2014-02-20 2015-08-20 Parham Aarabi System, method and application for skin health visualization and quantification
US20180279943A1 (en) * 2014-10-29 2018-10-04 Tissue Analytics, Inc. System and method for the analysis and transmission of data, images and video relating to mammalian skin damage conditions
CN108354587A (en) * 2016-05-24 2018-08-03 丽宝大数据股份有限公司 Individual skin diagnoses and skin nursing
CN106210517A (en) * 2016-07-06 2016-12-07 北京奇虎科技有限公司 The processing method of a kind of view data, device and mobile terminal
CN106952313A (en) * 2017-03-21 2017-07-14 北京工商大学 Skin complexion evaluation method based on HSI and Lab blend color models
CN107437072A (en) * 2017-07-18 2017-12-05 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN107507144A (en) * 2017-08-18 2017-12-22 苏州科达科技股份有限公司 Processing method, device and the image processing apparatus of colour of skin enhancing
CN108256500A (en) * 2018-02-05 2018-07-06 广东欧珀移动通信有限公司 Recommendation method, apparatus, terminal and the storage medium of information
CN109381165A (en) * 2018-09-12 2019-02-26 维沃移动通信有限公司 A kind of skin detecting method and mobile terminal
CN109363634A (en) * 2018-10-08 2019-02-22 蔡义文 Assessment method, device, mobile phone, computer equipment and the storage medium of skin
CN109618045A (en) * 2018-11-27 2019-04-12 Oppo广东移动通信有限公司 Electronic device, information-pushing method and Related product
CN110033344A (en) * 2019-03-06 2019-07-19 百度在线网络技术(北京)有限公司 Skin care item recommended method, device and storage medium neural network based
CN110175530A (en) * 2019-04-30 2019-08-27 上海云从企业发展有限公司 A kind of image methods of marking and system based on face

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021244174A1 (en) * 2020-06-05 2021-12-09 华为技术有限公司 Skin detection method and device
CN112528734A (en) * 2020-10-29 2021-03-19 长沙市到家悠享家政服务有限公司 Sorting score determining method, device, equipment and storage medium
CN113128377A (en) * 2021-04-02 2021-07-16 西安融智芙科技有限责任公司 Black eye recognition method, black eye recognition device and terminal based on image processing
CN113128377B (en) * 2021-04-02 2024-05-17 西安融智芙科技有限责任公司 Black eye recognition method, black eye recognition device and terminal based on image processing
CN113674829A (en) * 2021-07-13 2021-11-19 广东丸美生物技术股份有限公司 Recommendation method and device for makeup formula

Also Published As

Publication number Publication date
CN110533651B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN107613131A (en) A kind of application program disturbance-free method and mobile terminal
CN108182896B (en) A kind of brightness detection method, device and mobile terminal
CN109461117A (en) A kind of image processing method and mobile terminal
CN108628565A (en) A kind of mobile terminal operating method and mobile terminal
CN109409244A (en) A kind of object puts the output method and mobile terminal of scheme
CN108920119A (en) A kind of sharing method and mobile terminal
CN108427873A (en) A kind of biological feather recognition method and mobile terminal
CN110533651A (en) A kind of image processing method and device
CN109461124A (en) A kind of image processing method and terminal device
CN107831891A (en) A kind of brightness adjusting method and mobile terminal
CN110007758A (en) A kind of control method and terminal of terminal
CN108198127A (en) A kind of image processing method, device and mobile terminal
CN109065060A (en) A kind of voice awakening method and terminal
CN107843993A (en) A kind of control method and mobile terminal of display screen visible angle
CN109190607A (en) A kind of motion images processing method, device and terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN108196740A (en) A kind of icon display method, device and mobile terminal
CN109448069A (en) A kind of template generation method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109871253A (en) A kind of display methods and terminal
CN109799912A (en) A kind of display control method, equipment and computer readable storage medium
CN109816601A (en) A kind of image processing method and terminal device
CN108958623A (en) A kind of application program launching method and terminal device
CN109545321A (en) A kind of policy recommendation method and device
CN108600544A (en) A kind of Single-hand control method and terminal

Legal Events

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