CN111179155B - Image processing method and device, electronic equipment and storage medium - Google Patents

Image processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111179155B
CN111179155B CN201911319987.2A CN201911319987A CN111179155B CN 111179155 B CN111179155 B CN 111179155B CN 201911319987 A CN201911319987 A CN 201911319987A CN 111179155 B CN111179155 B CN 111179155B
Authority
CN
China
Prior art keywords
beauty
target
user
video
parameters
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.)
Active
Application number
CN201911319987.2A
Other languages
Chinese (zh)
Other versions
CN111179155A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201911319987.2A priority Critical patent/CN111179155B/en
Publication of CN111179155A publication Critical patent/CN111179155A/en
Application granted granted Critical
Publication of CN111179155B publication Critical patent/CN111179155B/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
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to an image processing method, an image processing device, an electronic device and a storage medium, wherein the method comprises the following steps: receiving a beautifying processing request of a current user sent by a target terminal; according to the corresponding relation between each predetermined user and the beauty parameters, the beauty parameters corresponding to the current user are determined and used as recommended beauty Yan Canshu of the current user; and sending a recommended beauty Yan Canshu to the target terminal so that the target terminal displays the recommended beauty parameters and performs the beauty treatment on the image to be treated by using the recommended beauty parameters when acquiring the beauty treatment instruction of the current user on the image to be treated. According to the technical scheme provided by the embodiment of the disclosure, the terminal can carry out the beauty treatment on the image to be treated by using the recommended beauty parameters, and the beauty effect of the image obtained by the beauty treatment is not fixed for different users, so that the personalized requirements of the users can be met.

Description

Image processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image processing method, an image processing device, an electronic device, and a storage medium.
Background
With the popularity of mobile terminals, more and more users prefer to use mobile terminals to capture images or videos. In order to make the photographed image or video look more beautiful, users typically perform a beauty treatment on the photographed image or video through a beauty function of the mobile terminal.
In the related art, a beautifying template is utilized to perform operations such as large eyes, face thinning, small mouths and the like on target objects such as human faces in images or videos, so that the purpose of beautifying the target objects is achieved.
In the beautifying processing mode in the related technology, because the beautifying template is fixed, after the beautifying processing is carried out on the target object in the image or the video, the beautifying effect is single, and the personalized requirement of the user can not be met.
Disclosure of Invention
In order to solve the technical problem that the beauty effect is single and the personalized requirements of users cannot be met in the related technology, the disclosure provides a square image processing method, a device, electronic equipment and a storage medium, and the technical scheme of the disclosure is as follows:
According to a first aspect of an embodiment of the present disclosure, there is provided an image processing method including:
receiving a beautifying processing request of a current user sent by a target terminal;
according to the corresponding relation between each predetermined user and the beauty parameters, the beauty parameters corresponding to the current user are determined and used as recommended beauty Yan Canshu of the current user;
And sending the recommended beauty Yan Canshu to the target terminal, so that the target terminal displays the recommended beauty parameters, and when acquiring a beauty processing instruction of the current user to the image to be processed, performing beauty processing on the image to be processed by using the recommended beauty parameters.
Optionally, the determining process of the correspondence between each user and the beauty parameter includes:
According to historical behavior data of a target user watching videos, determining target videos interested by the target user, wherein the target user is any user in the users;
Extracting beauty Yan Canshu corresponding to each beauty function in the target video respectively;
For a target beauty function, determining a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, wherein the target beauty function is any one of the beauty functions;
and determining the determined target beauty parameters as beauty parameters corresponding to the target users.
Optionally, the determining process of the correspondence between each user and the beauty parameter includes:
According to historical behavior data of a target user watching videos, determining the watched videos of the target user, and acquiring first videos which are the same as the watched videos of the target user in video type and are used as target videos which are interested by the target user, wherein the target user is any user in the users;
Extracting beauty Yan Canshu corresponding to each beauty function in the target video respectively;
For a target beauty function, determining a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, wherein the target beauty function is any one of the beauty functions;
and determining the determined target beauty parameters as beauty parameters corresponding to the target users.
Optionally, the determining process of the correspondence between each user and the beauty parameter includes:
determining an associated user of a target user based on user characteristics of each user, wherein the matching degree of the user characteristics of the associated user and the user characteristics of the target user is larger than a preset matching degree, and the target user is any user of the users;
according to the historical behavior data of the video watched by the associated user, determining a second video which is interested by the associated user, and taking the second video as a target video which is interested by the target user;
Extracting beauty Yan Canshu corresponding to each beauty function in the target video respectively;
For a target beauty function, determining a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, wherein the target beauty function is any one of the beauty functions;
and determining the determined target beauty parameters as beauty parameters corresponding to the target users.
Optionally, the determining, according to each of the beauty parameters corresponding to the target beauty function, the target beauty parameter corresponding to the target beauty function includes:
determining a beauty Yan Canshu section in which each beauty parameter of the target beauty function is located;
Determining a target beauty Yan Canshu interval according to the number of the beauty parameters in the beauty parameter interval;
and determining the target beauty parameters corresponding to the target beauty functions according to the beauty parameters of the target beauty parameter interval.
Optionally, the historical behavior data includes one or more of the following: the method comprises the steps of selecting behavior data of a user for video, comment behavior data of the user for video, collecting behavior data of the video and clicking behavior data of a user for the same-frame button of the video.
Optionally, the beautifying function includes one or more of the following: whitening, skin abrasion, eye treatment, chin treatment and face treatment.
According to a second aspect of the embodiments of the present disclosure, there is provided an image processing apparatus including:
The receiving module is configured to execute a beautifying processing request of a current user sent by the receiving target terminal;
The determining module is configured to determine the beauty parameters corresponding to the current user according to the corresponding relation between each predetermined user and the beauty parameters, and the beauty parameters are used as recommended beauty Yan Canshu of the current user;
And the recommending module is configured to send the recommended beauty Yan Canshu to the target terminal so that the target terminal displays the recommended beauty parameters and performs beauty treatment on the image to be treated by using the recommended beauty parameters when acquiring the beauty treatment instruction of the current user on the image to be treated.
Optionally, the apparatus further includes: the corresponding relation determining module of the user and the beauty parameters;
the corresponding relation determining module of the user and the beauty parameter comprises:
a target video determining unit configured to perform determining a target video of interest to a target user, which is any one of the respective users, from historical behavior data of the target user viewing the video;
The beauty parameter extraction unit is configured to execute the respective extraction of beauty Yan Canshu corresponding to each beauty function in the target video;
A beauty parameter determining unit configured to perform a target beauty function, and determine a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions;
And the corresponding relation determining unit is configured to determine the determined target beauty parameters as the beauty parameters corresponding to the target users.
Optionally, the apparatus further includes: the corresponding relation determining module of the user and the beauty parameters;
the corresponding relation determining module of the user and the beauty parameter comprises:
A target video determining unit configured to perform determining a watched video of a target user according to historical behavior data of the watched video of the target user, and acquiring a first video of the same video type as the watched video of the target user as a target video of interest to the target user, the target user being any one of the respective users;
The beauty parameter extraction unit is configured to execute the respective extraction of beauty Yan Canshu corresponding to each beauty function in the target video;
A beauty parameter determining unit configured to perform a target beauty function, and determine a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions;
And the corresponding relation determining unit is configured to determine the determined target beauty parameters as the beauty parameters corresponding to the target users.
Optionally, the apparatus further includes: the corresponding relation determining module of the user and the beauty parameters;
the corresponding relation determining module of the user and the beauty parameter comprises:
An associated user determining unit configured to perform determining, based on user features of respective users, an associated user of a target user, a degree of matching of the user features of the associated user with the user features of the target user being greater than a preset degree of matching, the target user being any one of the respective users;
a target video determining unit configured to perform determining a second video of interest to the associated user based on historical behavior data of the video watched by the associated user, and regarding the second video as a target video of interest to the target user;
the beauty parameter extraction unit is configured to extract beauty Yan Canshu corresponding to each beauty function in the target video respectively;
A beauty parameter determining unit configured to perform a target beauty function, and determine a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions;
And the corresponding relation determining unit is configured to determine the determined target beauty parameters as the beauty parameters corresponding to the target users.
Optionally, the beauty parameter determination unit is configured to perform:
determining a beauty Yan Canshu section in which each beauty parameter of the target beauty function is located;
Determining a target beauty Yan Canshu interval according to the number of the beauty parameters in the beauty parameter interval;
and determining the target beauty parameters corresponding to the target beauty functions according to the beauty parameters of the target beauty parameter interval.
Optionally, the historical behavior data includes one or more of the following: the method comprises the steps of selecting behavior data of a user for video, comment behavior data of the user for video, collecting behavior data of the video and clicking behavior data of a user for the same-frame button of the video.
Optionally, the beautifying function includes one or more of the following: whitening, skin abrasion, eye treatment, chin treatment and face treatment.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the image processing method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the image processing method of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to implement the image processing method of the first aspect.
According to the technical scheme provided by the embodiment of the disclosure, after the electronic device receives the beauty treatment request of the current user sent by the target terminal, the recommendation beauty Yan Canshu of the current user can be determined according to the corresponding relation between each user and the beauty parameters, and the recommendation beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal can display the recommendation beauty parameters, and when the target terminal obtains the beauty treatment instruction of the current user to-be-treated image, the beauty treatment can be performed on the to-be-treated image by using the recommendation beauty parameters of the current user, unlike the prior art, the beauty treatment is performed on the to-be-treated image by using the fixed beauty template, and therefore the beauty effect of the image obtained by the beauty treatment is high in probability of being liked by the user, that is, the beauty effect of the image obtained by the beauty treatment is not fixed for different users, and the personalized requirements of the user can be met.
Drawings
FIG. 1 is a flowchart illustrating a method of image processing according to an exemplary embodiment;
FIG. 2 is a flow chart of one implementation of step S12 in the example of FIG. 1;
FIG. 3 is a flow chart of one implementation of step S12 in the example of FIG. 1;
FIG. 4 is a flow chart of one implementation of step S12 in the example of FIG. 1;
FIG. 5 is a flow chart of one implementation of step S23 in the example of FIG. 2;
Fig. 6 is a block diagram of an image processing apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram of an electronic device, shown in accordance with an exemplary embodiment;
Fig. 8 is a block diagram of an image processing apparatus according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In order to solve the technical problem that the beautifying effect is single and the personalized requirements of users cannot be met in the related technology, the embodiment of the disclosure provides an image processing method, an image processing device, electronic equipment and a storage medium.
In a first aspect, an image processing method provided by an embodiment of the present disclosure will be described in detail.
It should be noted that, an execution body of an image processing method provided by the embodiments of the present disclosure is an image processing apparatus, and the image processing apparatus may be operated in an electronic device, and the electronic device may be a server.
Figure 1 is a flow chart illustrating a method of image processing according to an exemplary embodiment,
As shown in fig. 1, the method may include the following steps.
In step S11, a request for a beauty treatment of a current user sent by a target terminal is received.
The target terminal may be any terminal in current operation, and the current user may be a user who is currently using the target terminal.
When the current user wants to perform the beauty treatment on the image shot by the target terminal, the target terminal may send a beauty treatment request to the electronic device as the execution subject, so that the electronic device as the execution subject may receive the beauty treatment request of the current user sent by the target terminal.
Or when the current user wants to perform the beauty treatment on any frame of image in the video shot by the target terminal, the target terminal can send a beauty treatment request to the electronic device as the execution subject, so that the electronic device as the execution subject can receive the beauty treatment request of the current user sent by the target terminal.
Or when the current user wants to perform the beauty treatment on any one of the images stored in the target terminal, the target terminal may send a beauty treatment request to the electronic device as the execution subject, and the electronic device as the execution subject may receive the beauty treatment request of the current user.
The request for the beauty treatment may carry a user identifier, such as a user ID, of the current user.
In step S12, according to the predetermined correspondence between each user and the beauty parameters, the beauty parameters corresponding to the current user are determined and used as recommended beauty parameters of the current user.
After receiving the beautifying processing request of the current user sent by the target terminal, the electronic device serving as the execution subject can determine the beautifying parameter corresponding to the current user according to the corresponding relation between each user and the beautifying parameter, which is predetermined, and the beautifying parameter is used as the recommended beautifying parameter of the current user. Specifically, the users have a one-to-one correspondence with the beauty parameters, and the beauty parameters corresponding to each user may include: whitening parameters, skin grinding parameters, large eye parameters, chin parameters, face thinning parameters and the like.
For clarity of description of the solution, a detailed description will be given of a process of determining correspondence between each user and the beauty parameters in the following embodiments.
In step S13, the recommended beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal displays the recommended beauty parameters, and performs the beauty treatment on the image to be treated by using the recommended beauty parameters when the beauty treatment instruction of the current user on the image to be treated is obtained.
After determining the recommended beauty parameters of the current user, the electronic device serving as the execution subject can adopt the beauty parameters which are liked by the current user in the subsequent steps to perform beauty on the image which the current user wants to be beautified, and can recommend the recommended beauty parameters of the current user to the target terminal.
In this way, after the target terminal receives the recommended beautifying parameters of the current user, the recommended beautifying parameters can be displayed on the display interface of the target terminal, and when the target terminal obtains the beautifying processing instruction of the current user to the image to be processed, the target terminal can utilize the recommended beautifying parameters of the current user to process the image to be processed. Because the recommended beauty parameters of the current user are the beauty parameters corresponding to the current user, after the target terminal performs the beauty treatment on the image to be treated by using the recommended beauty parameters of the current user, the probability that the beauty effect of the obtained image is the beauty effect liked by the user is high, so that the personalized requirements of the user can be met, and the beauty experience of the user is improved.
For example, the recommended beauty parameters sent by the electronic device to the target terminal include: whitening parameters a, skin grinding parameters b, large eye parameters c, chin parameters d, and face thinning parameters e. The target terminal can display the recommended beauty Yan Canshu in the display interface, and when the target terminal receives the beauty treatment instruction of the current user on the image to be treated, the image to be treated can be treated according to the recommended beauty parameters, so that the probability that the beauty effect of the obtained image is the favorite beauty effect of the user is high. Namely, for the current user, the whitening effect of the characters in the obtained image is more suitable, the skin grinding effect is more suitable, the eye size is more suitable, the chin effect is more suitable, and the face shape is also more suitable, so that the beautifying experience of the user is improved.
According to the technical scheme provided by the embodiment of the disclosure, after the electronic device receives the beauty treatment request of the current user sent by the target terminal, the recommendation beauty Yan Canshu of the current user can be determined according to the corresponding relation between each user and the beauty parameters, and the recommendation beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal can display the recommendation beauty parameters, and when the target terminal obtains the beauty treatment instruction of the current user to-be-treated image, the beauty treatment can be performed on the to-be-treated image by using the recommendation beauty parameters of the current user, unlike the prior art, the beauty treatment is performed on the to-be-treated image by using the fixed beauty template, and therefore the beauty effect of the image obtained by the beauty treatment is high in probability of being liked by the user, that is, the beauty effect of the image obtained by the beauty treatment is not fixed for different users, and the personalized requirements of the user can be met.
For clarity of description of the solution, a detailed description will be given of a process of determining correspondence between each user and the beauty parameters in the following embodiments.
In one embodiment, as shown in fig. 2, the process of determining the correspondence between each user and the beauty parameters may include the following steps:
In step S21, a target video of interest to a target user is determined according to historical behavior data of the target user viewing the video, the target user being any one of the respective users.
Wherein, the historical behavior data comprises one or more of the following: the method comprises the steps of selecting behavior data of a user for video, comment behavior data of the user for video, collecting behavior data of the video and clicking behavior data of a user for the same-frame button of the video.
Specifically, for the target user, the target video of interest to the target user can be determined according to the historical behavior data of the video watched by the target user. It can be appreciated that the technical solution of the present disclosure needs to determine the beauty parameters that the target user likes, that is, determine the recommended beauty parameters of the target user, so that the target videos may be beauty videos, that is, the images in the videos include the images subjected to the beauty treatment.
Moreover, there are various ways in which the electronic device as the execution subject determines the target video of interest to the target user based on the historical behavior data of the video viewed by the user.
In a first embodiment, the video that the target user has endorsed may be determined as the target video that the target user is interested in.
In a second embodiment, the video that the target user reviews, such as the video that the target user reviews, may be determined to be the target video that the target user is interested in.
In a third embodiment, the video shared by the target user may be determined as the target video of interest to the target user.
In the fourth embodiment, the video collected by the target user may be determined as the target video of interest to the target user.
In the fifth embodiment, the video in which the target user has clicked the in-frame button may be determined as the target video in which the target user is interested.
Of course, the above only lists several ways of determining the target video of interest to the target user, and the ways of determining the target video of interest to the target user in the embodiments of the present disclosure are not limited in detail.
In addition, the electronic device serving as the execution subject can acquire the target video of interest of the target user in real time, or the electronic device can acquire the target video of interest of the target user once every preset time, wherein the preset time can be one day, one week, one month and the like, and the preset time is not particularly limited.
In step S22, the beauty parameters corresponding to the respective beauty functions in the target video are extracted.
The beautifying function can comprise one or more of the following: whitening, skin abrasion, eye treatment, chin treatment and face treatment.
Since the beauty function may include a plurality of functions, for example, a whitening function of whitening skin, a skin-grinding function of grinding skin, an eye-treatment function of beautifying eyes, such as a function of making eyes large, a chin-treatment function of beautifying chin, such as a function of making chin pointed, and a face-treatment function of beautifying face, such as a function of making face thin. After the electronic device determines the target videos interested by the target user, the electronic device can extract the beauty parameters corresponding to the beauty functions in each target video.
For example, let n target videos of interest to the target user be the first video, the second video, the third video, …, and the nth video, respectively, where n is an integer. The whitening function is labeled a, the peeling function is labeled B, the eye treatment function is labeled C, the chin treatment function is treated as D, and the face treatment function is labeled E.
For the first video, extracting beauty Yan Canshu A1 corresponding to a beauty function A, a skin-grinding parameter B1 corresponding to a skin-grinding function B, beauty Yan Canshu C1 corresponding to an eye processing function C, beauty Yan Canshu D1 corresponding to a chin processing function D and beauty parameter E1 corresponding to a face processing function E.
For the second video, the beauty Yan Canshu A2 corresponding to the beauty function a, the skin-grinding parameter B2 corresponding to the skin-grinding function B, the beauty Yan Canshu C2 corresponding to the eye processing function C, the beauty Yan Canshu D2 corresponding to the chin processing function D, and the beauty parameter E2 corresponding to the face processing function E may be extracted.
For the third video, the beauty Yan Canshu A3 corresponding to the beauty function a, the skin-grinding parameter B3 corresponding to the skin-grinding function B, the beauty Yan Canshu C3 corresponding to the eye processing function C, the beauty Yan Canshu D3 corresponding to the chin processing function D, and the beauty parameter E3 corresponding to the face processing function E may be extracted.
……
For the nth video, the beauty Yan Canshu An corresponding to the beauty function a, the skin-grinding parameter Bn corresponding to the skin-grinding function B, the beauty Yan Canshu Cn corresponding to the eye processing function C, the beauty Yan Canshu Dn corresponding to the chin processing function D, and the beauty parameter En corresponding to the face processing function E can be extracted.
In step S23, for the target beauty function, the target beauty parameter corresponding to the target beauty function is determined according to each beauty parameter corresponding to the target beauty function.
Wherein the target beauty function is any of the various beauty functions.
Specifically, for any target beauty function of the beauty functions, the target beauty parameters corresponding to the target beauty functions can be determined according to the beauty parameters corresponding to the target beauty functions.
Still taking the example in step S22 as an example, assuming that the target beautifying function is the whitening function a, the beautifying parameters corresponding to the beautifying function a are: a1, A2, A3, …, an. Similarly, assuming that the target skin-beautifying function is the skin-polishing function B, the skin-beautifying parameters corresponding to the skin-polishing function B are: b1, B2, B3, …, bn. Assuming that the target beauty function is an eye processing function C, the beauty parameters corresponding to the eye processing function C are: c1, C2, C3, …, cn. Assuming that the target beauty function is a chin processing function D, then the beauty parameters corresponding to the chin processing function D are: d1, D2, D3, …, dn. Assuming that the target beauty function is a face processing function E, the beauty parameters corresponding to the face processing function E are: e1, E2, E3, …, en.
After the multiple beauty parameters corresponding to the whitening function a are determined, the target beauty parameters corresponding to the whitening function a can be determined according to the distribution situation of the multiple beauty parameters corresponding to the whitening function a. For example, if the plurality of beauty parameters corresponding to the whitening function a are all distributed around 83, the target beauty parameter corresponding to the whitening function a may be determined as 83. Similarly, the same manner may be adopted to determine the target beauty parameters corresponding to the skin-grinding function B, the target beauty parameters corresponding to the eye-treatment function C, the target beauty parameters corresponding to the chin-treatment function D, and the target beauty parameters corresponding to the face-treatment function E.
For clarity of description of the solution, a specific implementation of step S23 will be explained in detail in the following embodiments.
In step S24, the determined target beauty parameters are determined as beauty parameters corresponding to the target user.
After the target beauty parameters corresponding to the beauty functions are determined, that is, it is determined which beauty parameters are generally preferred to be used for performing beauty when the user performs the beauty treatment on the image to be processed, so that the determined target beauty parameters can be determined as the beauty parameters corresponding to the target user.
Therefore, through the technical scheme provided by the embodiment, the corresponding relation between each user and the beauty parameters can be accurately determined, namely the recommended beauty Yan Canshu of each user can be accurately determined, so that in the subsequent steps, the electronic equipment serving as the execution main body can send the recommended beauty Yan Canshu liked by the user to the terminal, thereby meeting the personalized requirements of the user and improving the beauty experience of the user.
In one embodiment, as shown in fig. 3, the process of determining the correspondence between each user and the beauty parameters may include the following steps:
in step S31, according to the historical behavior data of the video watched by the target user, the video watched by the target user is determined, and the first video of the same video type as the video watched by the target user is acquired as the target video of interest to the target user, the target user being any one of the users.
Wherein, the historical behavior data comprises one or more of the following: the method comprises the steps of selecting behavior data of a user for video, comment behavior data of the user for video, collecting behavior data of the video and clicking behavior data of a user for the same-frame button of the video.
Specifically, for the target user, the watched video of the target user, that is, the video consumed by the target user, may be determined according to the historical behavior data of the target user watching the video. For example, videos that the target user has endorsed, videos that the target user has commented on, videos that the target user has shared, videos that the target user has collectable, or videos that the target user has clicked on a one-box button, etc. may be determined as videos that the target user has consumed. Also, the first video, which is the same as the video type of the video of the target user that has been watched, has a high probability of being a video of interest to the target user, and therefore the electronic device as the execution subject can acquire the first video and take the first video as a target video of interest to the target user.
Moreover, since the technical solution of the present disclosure needs to determine the beauty parameters that the target user likes, that is, determine the recommended beauty parameters of the target user, the watched video of the target user may be a beauty video, that is, the images in the watched video include the images subjected to the beauty processing. The first video may also be a beauty video, that is, the images in the first video include images subjected to beauty treatment.
Thus, the determination of the first video may be: for any one of the beauty videos, the beauty effect of the beauty video can be matched with the beauty effect of the watched video of the target user, and if the matching degree of the beauty effect of the beauty video with the beauty effect of the watched video of the target user is higher, the beauty video can be determined to be the first video with the same type as the watched video of the target user.
Specifically, the beautifying effect includes: the method comprises the steps of whitening effects, skin grinding effects, eye beautifying effects, chin beautifying effects, face thinning beautifying effects and the like, so that for any one beautifying video, each beautifying effect of the beautifying video can be matched with the beautifying effect corresponding to the video watched by the target user, and if the matching degree is high, the beautifying video is determined to be a first video with the same type as the video watched by the target user.
Of course, the first video may also be determined in other ways, which the present disclosure does not specifically limit.
In step S32, the beauty parameters corresponding to the respective beauty functions in the target video are extracted.
Since step S32 is the same as step S22, step S22 has already been described in detail in fig. 2, and the detailed description of step S32 is omitted here.
In step S33, for the target beauty function, according to each beauty parameter corresponding to the target beauty function, determining a target beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions.
Since step S33 is the same as step S23, step S23 has already been described in detail in fig. 2, and the description of step S33 will not be repeated here.
In step S24, the determined target beauty parameters are determined as beauty parameters corresponding to the target user.
Since step S34 is the same as step S24, step S24 has already been described in detail in fig. 2, and the description of step S34 will not be repeated here.
Therefore, through the technical scheme provided by the embodiment, the corresponding relation between each user and the beauty parameters can be accurately determined, namely the recommended beauty Yan Canshu of each user can be accurately determined, so that in the subsequent steps, the electronic equipment serving as the execution main body can send the recommended beauty Yan Canshu liked by the user to the terminal, thereby meeting the personalized requirements of the user and improving the beauty experience of the user.
In another embodiment, as shown in fig. 4, the process of determining the correspondence between each user and the beauty parameters may include the following steps:
in step S41, based on the user characteristics of each user, an associated user of the target user is determined, and the matching degree between the user characteristics of the associated user and the user characteristics of the target user is greater than a preset matching degree, where the target user is any one of the users.
It will be appreciated that a user's user characteristics may be abstracted from the user's historical behavioral data to describe tags for user preferences. The higher the matching degree of the user features of any two users, the more similar the user preferences of the two users are, for example, the same types of beauty videos the two users like to watch.
Therefore, for any other user, the matching degree of the user features of the target user and the user features of the other user can be calculated, if the matching degree of the user features of the target user and the user of the other user is higher, that is, the matching degree is greater than the preset matching degree, it is indicated that the user preferences of the other user and the target user are similar, and therefore the other user can be determined as the associated user of the target user.
In step S42, a second video of interest to the associated user is determined according to the historical behavior data of the video watched by the associated user, and the second video is taken as a target video of interest to the target user.
Wherein, the historical behavior data comprises one or more of the following: the method comprises the steps of selecting behavior data of a user for video, comment behavior data of the user for video, collecting behavior data of the video and clicking behavior data of a user for the same-frame button of the video.
Specifically, for an associated user, a second video of interest to the associated user may be determined based on historical behavior data of the associated user viewing the video. For example, videos that have been endorsed by the associated user, videos that have been reviewed by the associated user, videos that have been shared by the associated user, videos that have been collectioned by the associated user, or videos that have been clicked by the associated user on a one-box button, etc., may be determined to be second videos of interest to the associated user.
Moreover, since the matching degree of the user characteristics of the associated user and the user characteristics of the target user is high, the user preferences of the associated user and the target user are similar, and therefore the second video of interest to the associated user can be determined as the target video of interest to the target user.
It can be appreciated that, in the technical solution of the present disclosure, it is necessary to determine the beauty parameters that the target user likes, that is, determine the recommended beauty parameters of the target user, so these second videos may be beauty videos, that is, the images in the videos include the images subjected to the beauty treatment.
In step S43, the beauty parameters corresponding to the respective beauty functions in the target video are extracted.
Since step S43 is the same as step S22, step S22 has already been described in detail in fig. 2, and the description of step S43 will not be repeated here.
In step S44, for the target beauty function, according to each beauty parameter corresponding to the target beauty function, determining a target beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions.
Since step S44 is the same as step S23, step S23 has already been described in detail in fig. 2, and the description of step S43 will not be repeated here.
In step S45, the determined target beauty parameters are determined as beauty parameters corresponding to the target user.
Since step S45 is the same as step S24, step S24 has already been described in detail in fig. 2, and the detailed description of step S45 is omitted here.
Therefore, through the technical scheme provided by the embodiment, the corresponding relation between each user and the beauty parameters can be accurately determined, namely the recommended beauty Yan Canshu of each user can be accurately determined, so that in the subsequent steps, the electronic equipment serving as the execution main body can send the recommended beauty Yan Canshu liked by the user to the terminal, thereby meeting the personalized requirements of the user and improving the beauty experience of the user.
For clarity of description of the solution, a specific implementation of step S23 will be explained in detail in the following embodiments.
Specifically, step S23 may include steps S231 to S233, as shown in fig. 5.
S231, determining a beauty parameter interval in which each beauty parameter of the target beauty function is located.
Specifically, for each target beautifying function, a plurality of beautifying parameter intervals may be preset, for example, the beautifying parameter intervals may be: (1, 10), (10, 20), (20, 30), … (90, 100), of course, this is merely an example listing of beauty Yan Canshu intervals, and the beauty parameter intervals are not particularly limited in the embodiments of the present disclosure.
After setting the plurality of beauty parameter sections, it is possible to locate in which beauty Yan Canshu section the respective beauty parameters of the target beauty function are, for example, 15 for one beauty parameter of the target beauty function, and then locate in (10, 20) this beauty parameter section.
S232, determining a target beauty parameter interval according to the number of the beauty parameters in the beauty parameter interval.
For a target beauty function, after determining which beauty parameter section the beauty parameters of the target beauty function are located in, the number of beauty parameters located in each beauty parameter section may be determined. And the more the number of the beauty parameters in which the beauty parameter interval is, the better the achieved beauty effect is, namely the target user considers that the beauty is performed by using the beauty parameters in the beauty parameter interval, and the beauty parameter interval can be determined as the target beauty parameter interval.
For example, the target beauty function is a whitening function a, and the respective beauty parameters corresponding to the whitening function a are respectively: a1, A2, A3, …, an. Most of the n beauty parameters are located in the beauty Yan Canshu section (30, 40), which means that the user feels that the beauty parameter section (30, 40) is adopted for whitening, and the achieved whitening effect is the best, so that the beauty Yan Canshu section (30, 40) can be determined as the target beauty parameter section corresponding to the whitening function A.
S233, determining the target beauty parameters corresponding to the target beauty functions according to the beauty parameters of the target beauty parameter interval.
The method for determining the target beauty parameters corresponding to the target beauty function according to the beauty parameters in the target beauty parameter interval can be various.
In an alternative embodiment, an average value of two interval endpoint values of the target beauty parameter interval may be determined as the target beauty parameter corresponding to the target beauty function. For example, the target cosmetic Yan Canshu interval is (x, y), then (x+y)/2 can be determined as the target cosmetic parameter.
In another alternative embodiment, a weighted average of two interval end points of the target beauty parameter interval may be calculated, and the calculated weighted average may be determined as the target beauty parameter. When calculating the weighted average of the two interval end values, the weighted average may be determined according to the distribution of the beauty parameters corresponding to the target beauty function in the target beauty parameter interval, for example, the beauty parameters corresponding to the target beauty function are mostly close to the left end point of the beauty parameter interval, and then a larger weight may be given to the left end point value of the target beauty parameter interval. Similarly, if the beauty parameter corresponding to the target beauty function is mostly close to the right end point of the beauty parameter interval, a larger weight may be given to the right end point value of the target beauty parameter interval.
In yet another alternative embodiment, any of the beauty parameters within the target beauty Yan Canshu interval may be determined as the target beauty parameter.
Of course, the manner of determining the target beauty parameter according to the beauty parameter in the target beauty Yan Canshu interval is not limited to the above three types, and the embodiment of the disclosure is not limited thereto specifically.
Therefore, according to the technical scheme provided by the embodiment of the disclosure, the target beauty parameters corresponding to the target beauty function can be determined according to the beauty parameters corresponding to the target beauty function, so that the corresponding relation between each user and the beauty parameters can be determined, and in the subsequent steps, the electronic equipment serving as the execution main body can send recommended beauty Yan Canshu liked by the user to the terminal, so that the personalized requirements of the user can be met, and the beauty experience of the user is improved.
According to a second aspect of the embodiments of the present disclosure, there is provided an image processing apparatus, as shown in fig. 6, including:
a receiving module 610, configured to execute a request for receiving a beauty treatment of a current user sent by a target terminal;
A determining module 620, configured to determine, as a recommended beauty Yan Canshu of the current user, a beauty parameter corresponding to the current user according to a predetermined correspondence between each user and the beauty parameter;
And the recommending module 630 is configured to send the recommended beauty Yan Canshu to the target terminal, so that the target terminal displays the recommended beauty parameters, and performs the beauty treatment on the image to be treated by using the recommended beauty parameters when the beauty treatment instruction of the current user on the image to be treated is acquired.
According to the technical scheme provided by the embodiment of the disclosure, after the electronic device receives the beauty treatment request of the current user sent by the target terminal, the recommendation beauty Yan Canshu of the current user can be determined according to the corresponding relation between each user and the beauty parameters, and the recommendation beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal can display the recommendation beauty parameters, and when the target terminal obtains the beauty treatment instruction of the current user to-be-treated image, the beauty treatment can be performed on the to-be-treated image by using the recommendation beauty parameters of the current user, unlike the prior art, the beauty treatment is performed on the to-be-treated image by using the fixed beauty template, and therefore the beauty effect of the image obtained by the beauty treatment is high in probability of being liked by the user, that is, the beauty effect of the image obtained by the beauty treatment is not fixed for different users, and the personalized requirements of the user can be met.
In an alternative embodiment, the apparatus further comprises: the corresponding relation determining module of the user and the beauty parameters;
the corresponding relation determining module of the user and the beauty parameter comprises:
a target video determining unit configured to perform determining a target video of interest to a target user, which is any one of the respective users, from historical behavior data of the target user viewing the video;
The beauty parameter extraction unit is configured to execute the respective extraction of beauty Yan Canshu corresponding to each beauty function in the target video;
A beauty parameter determining unit configured to perform a target beauty function, and determine a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions;
And the corresponding relation determining unit is configured to determine the determined target beauty parameters as the beauty parameters corresponding to the target users.
Optionally, the historical behavior data includes one or more of the following: the method comprises the steps of selecting behavior data of a user for video, comment behavior data of the user for video, collecting behavior data of the video and clicking behavior data of a user for the same-frame button of the video.
Optionally, the beautifying function includes one or more of the following: whitening, skin abrasion, eye treatment, chin treatment and face treatment.
In another alternative embodiment, the apparatus further comprises: the corresponding relation determining module of the user and the beauty parameters;
the corresponding relation determining module of the user and the beauty parameter comprises:
A target video determining unit configured to perform determining a watched video of a target user according to historical behavior data of the watched video of the target user, and acquiring a first video of the same video type as the watched video of the target user as a target video of interest to the target user, the target user being any one of the respective users;
The beauty parameter extraction unit is configured to execute the respective extraction of beauty Yan Canshu corresponding to each beauty function in the target video;
A beauty parameter determining unit configured to perform a target beauty function, and determine a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions;
And the corresponding relation determining unit is configured to determine the determined target beauty parameters as the beauty parameters corresponding to the target users.
In yet another alternative embodiment, the apparatus further comprises: the corresponding relation determining module of the user and the beauty parameters;
the corresponding relation determining module of the user and the beauty parameter comprises:
An associated user determining unit configured to perform determining, based on user features of respective users, an associated user of a target user, a degree of matching of the user features of the associated user with the user features of the target user being greater than a preset degree of matching, the target user being any one of the respective users;
a target video determining unit configured to perform determining a second video of interest to the associated user based on historical behavior data of the video watched by the associated user, and regarding the second video as a target video of interest to the target user;
the beauty parameter extraction unit is configured to extract beauty Yan Canshu corresponding to each beauty function in the target video respectively;
A beauty parameter determining unit configured to perform a target beauty function, and determine a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, where the target beauty function is any one of the beauty functions;
And the corresponding relation determining unit is configured to determine the determined target beauty parameters as the beauty parameters corresponding to the target users.
Therefore, through the technical scheme provided by the embodiment, the corresponding relation between each user and the beauty parameters can be accurately determined, namely the recommended beauty Yan Canshu of each user can be accurately determined, so that in the subsequent steps, the electronic equipment serving as the execution main body can send the recommended beauty Yan Canshu liked by the user to the terminal, thereby meeting the personalized requirements of the user and improving the beauty experience of the user.
In an alternative embodiment, the beauty parameter determination unit is configured to perform:
determining a beauty Yan Canshu section in which each beauty parameter of the target beauty function is located;
Determining a target beauty Yan Canshu interval according to the number of the beauty parameters in the beauty parameter interval;
and determining the target beauty parameters corresponding to the target beauty functions according to the beauty parameters of the target beauty parameter interval.
Therefore, according to the technical scheme provided by the embodiment of the disclosure, the target beauty parameters corresponding to the target beauty function can be determined according to the beauty parameters corresponding to the target beauty function, so that the corresponding relation between each user and the beauty parameters can be determined, and in the subsequent steps, the electronic equipment serving as the execution main body can send recommended beauty Yan Canshu liked by the user to the terminal, so that the personalized requirements of the user can be met, and the beauty experience of the user is improved.
In a third aspect, embodiments of the present disclosure provide an electronic device. Fig. 7 is a block diagram of an electronic device, according to an example embodiment. Referring to fig. 7, the electronic device includes:
A processor 710;
a memory 720 for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the image processing method provided by the present disclosure.
According to the technical scheme provided by the embodiment of the disclosure, after the electronic device receives the beauty treatment request of the current user sent by the target terminal, the recommendation beauty Yan Canshu of the current user can be determined according to the corresponding relation between each user and the beauty parameters, and the recommendation beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal can display the recommendation beauty parameters, and when the target terminal obtains the beauty treatment instruction of the current user to-be-treated image, the beauty treatment can be performed on the to-be-treated image by using the recommendation beauty parameters of the current user, unlike the prior art, the beauty treatment is performed on the to-be-treated image by using the fixed beauty template, and therefore the beauty effect of the image obtained by the beauty treatment is high in probability of being liked by the user, that is, the beauty effect of the image obtained by the beauty treatment is not fixed for different users, and the personalized requirements of the user can be met.
Fig. 8 is a block diagram illustrating an apparatus 800 for image processing according to an exemplary embodiment. For example, the apparatus 800 may be provided as a server. Referring to fig. 8, apparatus 800 includes a processing component 822 that further includes one or more processors and memory resources, represented by memory 832, for storing instructions, such as application programs, executable by processing component 822. The application programs stored in memory 832 may include one or more modules each corresponding to a set of instructions. Further, the processing component 822 is configured to execute instructions to perform the image processing methods described above.
The apparatus 800 may also include a power component 826 configured to perform power management of the apparatus 800, a wired or wireless network interface 850 configured to connect the apparatus 800 to a network, and an input/output (I/O) interface 858. The device 800 may operate based on an operating system stored in memory 832, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
According to the technical scheme provided by the embodiment of the disclosure, after the electronic device receives the beauty treatment request of the current user sent by the target terminal, the recommendation beauty Yan Canshu of the current user can be determined according to the corresponding relation between each user and the beauty parameters, and the recommendation beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal can display the recommendation beauty parameters, and when the target terminal obtains the beauty treatment instruction of the current user to-be-treated image, the beauty treatment can be performed on the to-be-treated image by using the recommendation beauty parameters of the current user, unlike the prior art, the beauty treatment is performed on the to-be-treated image by using the fixed beauty template, and therefore the beauty effect of the image obtained by the beauty treatment is high in probability of being liked by the user, that is, the beauty effect of the image obtained by the beauty treatment is not fixed for different users, and the personalized requirements of the user can be met.
In a fourth aspect of the disclosure, the embodiments of the disclosure further provide a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the image processing method provided by the embodiments of the disclosure.
According to the technical scheme provided by the embodiment of the disclosure, after the electronic device receives the beauty treatment request of the current user sent by the target terminal, the recommendation beauty Yan Canshu of the current user can be determined according to the corresponding relation between each user and the beauty parameters, and the recommendation beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal can display the recommendation beauty parameters, and when the target terminal obtains the beauty treatment instruction of the current user to-be-treated image, the beauty treatment can be performed on the to-be-treated image by using the recommendation beauty parameters of the current user, unlike the prior art, the beauty treatment is performed on the to-be-treated image by using the fixed beauty template, and therefore the beauty effect of the image obtained by the beauty treatment is high in probability of being liked by the user, that is, the beauty effect of the image obtained by the beauty treatment is not fixed for different users, and the personalized requirements of the user can be met.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to implement the image processing method of the first aspect.
According to the technical scheme provided by the embodiment of the disclosure, after the electronic device receives the beauty treatment request of the current user sent by the target terminal, the recommendation beauty Yan Canshu of the current user can be determined according to the corresponding relation between each user and the beauty parameters, and the recommendation beauty Yan Canshu of the current user is sent to the target terminal, so that the target terminal can display the recommendation beauty parameters, and when the target terminal obtains the beauty treatment instruction of the current user to-be-treated image, the beauty treatment can be performed on the to-be-treated image by using the recommendation beauty parameters of the current user, unlike the prior art, the beauty treatment is performed on the to-be-treated image by using the fixed beauty template, and therefore the beauty effect of the image obtained by the beauty treatment is high in probability of being liked by the user, that is, the beauty effect of the image obtained by the beauty treatment is not fixed for different users, and the personalized requirements of the user can be met.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An image processing method, comprising:
receiving a beautifying processing request of a current user sent by a target terminal;
according to the corresponding relation between each predetermined user and the beauty parameters, the beauty parameters corresponding to the current user are determined and used as recommended beauty Yan Canshu of the current user;
Sending the recommended beauty Yan Canshu to the target terminal so that the target terminal displays the recommended beauty Yan Canshu, and carrying out beauty treatment on the image to be treated by utilizing the recommended beauty parameters when acquiring a beauty treatment instruction of the current user on the image to be treated;
The process for determining the corresponding relation between each user and the beauty parameters comprises the following steps:
Determining an associated user of a target user based on user characteristics of each user, wherein the user characteristics are labels which are abstracted according to historical behavior data of the user and are used for describing user preferences, the matching degree of the user characteristics of the associated user and the user characteristics of the target user is larger than a preset matching degree, and the target user is any user of the users;
according to the historical behavior data of the video watched by the associated user, determining a second video which is interested by the associated user, and taking the second video as a target video which is interested by the target user;
extracting beauty Yan Canshu corresponding to each beauty function in the target video respectively;
For a target beauty function, determining a target beauty parameter corresponding to the target beauty function according to each beauty parameter corresponding to the target beauty function, wherein the target beauty function is any one of the beauty functions;
and determining the determined target beauty parameters as beauty parameters corresponding to the target users.
2. The method according to claim 1, wherein the determining the target beauty parameters corresponding to the target beauty function according to the respective beauty parameters corresponding to the target beauty function includes:
determining a beauty Yan Canshu section in which each beauty parameter of the target beauty function is located;
Determining a target beauty Yan Canshu interval according to the number of the beauty parameters in the beauty parameter interval;
and determining the target beauty parameters corresponding to the target beauty functions according to the beauty parameters of the target beauty parameter interval.
3. The method of claim 1, wherein the historical behavior data of viewing video by the associated user comprises one or more of: the method comprises the steps of associating praise behavior data of a user on a video, comment behavior data of the user on the video, collection behavior data of the user on the video and clap same-frame button click behavior data of the user on the video.
4. The method of claim 1, wherein the cosmetic function comprises one or more of: whitening, skin abrasion, eye treatment, chin treatment and face treatment.
5. An image processing apparatus, comprising:
the receiving module is configured to receive a beautifying processing request of a current user sent by the target terminal;
the determining module is configured to determine the beauty parameters corresponding to the current user according to the corresponding relation between each predetermined user and the beauty parameters, and the beauty parameters are used as recommended beauty Yan Canshu of the current user;
the recommending module is configured to send the recommended beauty Yan Canshu to the target terminal so that the target terminal displays the recommended beauty Yan Canshu, and when a beauty treatment instruction of the current user to the image to be treated is acquired, the image to be treated is subjected to beauty treatment by utilizing the recommended beauty parameter;
The apparatus further comprises: the corresponding relation determining module of the user and the beauty parameters;
the corresponding relation determining module of the user and the beauty parameter comprises:
The related user determining unit is configured to determine related users of target users based on user characteristics of the users, wherein the user characteristics are labels which are abstracted according to historical behavior data of the users and are used for describing user preferences, the matching degree of the user characteristics of the related users and the user characteristics of the target users is larger than a preset matching degree, and the target users are any user of the users;
A target video determining unit configured to determine a second video of interest to the associated user according to historical behavior data of the video watched by the associated user, and take the second video as a target video of interest to the target user;
The beauty parameter extraction unit is configured to extract beauty Yan Canshu corresponding to each beauty function in the target video respectively;
The system comprises a beauty parameter determining unit, a target beauty function and a control unit, wherein the beauty parameter determining unit is configured to determine target beauty parameters corresponding to target beauty functions according to the respective beauty parameters corresponding to the target beauty functions, and the target beauty functions are any one of the respective beauty functions;
and the corresponding relation determining unit is configured to determine the determined target beauty parameters as the beauty parameters corresponding to the target users.
6. The apparatus according to claim 5, wherein the beauty parameter determination unit is configured to:
determining a beauty Yan Canshu section in which each beauty parameter of the target beauty function is located;
Determining a target beauty Yan Canshu interval according to the number of the beauty parameters in the beauty parameter interval;
and determining the target beauty parameters corresponding to the target beauty functions according to the beauty parameters of the target beauty parameter interval.
7. The apparatus of claim 5, wherein the historical behavior data of the associated user viewing the video comprises one or more of: the method comprises the steps of associating praise behavior data of a user on a video, comment behavior data of the user on the video, collection behavior data of the user on the video and clap same-frame button click behavior data of the user on the video.
8. The apparatus of claim 5, wherein the cosmetic function comprises one or more of: whitening, skin abrasion, eye treatment, chin treatment and face treatment.
9. An electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the image processing method of any one of claims 1 to 4.
10. A storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the image processing method of any of claims 1 to 4.
CN201911319987.2A 2019-12-19 2019-12-19 Image processing method and device, electronic equipment and storage medium Active CN111179155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911319987.2A CN111179155B (en) 2019-12-19 2019-12-19 Image processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911319987.2A CN111179155B (en) 2019-12-19 2019-12-19 Image processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111179155A CN111179155A (en) 2020-05-19
CN111179155B true CN111179155B (en) 2024-05-21

Family

ID=70651994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911319987.2A Active CN111179155B (en) 2019-12-19 2019-12-19 Image processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111179155B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766123B (en) * 2021-08-26 2022-10-04 深圳市有方科技股份有限公司 Photographing beautifying method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181612A1 (en) * 2016-04-18 2017-10-26 乐视控股(北京)有限公司 Personalized video recommendation method and device
CN107832784A (en) * 2017-10-27 2018-03-23 维沃移动通信有限公司 A kind of method of image beautification and a kind of mobile terminal
CN107862654A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and electronic equipment
CN107862653A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Method for displaying image, device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181612A1 (en) * 2016-04-18 2017-10-26 乐视控股(北京)有限公司 Personalized video recommendation method and device
CN107832784A (en) * 2017-10-27 2018-03-23 维沃移动通信有限公司 A kind of method of image beautification and a kind of mobile terminal
CN107862654A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and electronic equipment
CN107862653A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Method for displaying image, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111179155A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN108830235B (en) Method and apparatus for generating information
CN109547808B (en) Data processing method, device, server and storage medium
CN109214374B (en) Video classification method, device, server and computer-readable storage medium
CN112188220A (en) Method and device for prompting information in live broadcast, storage medium and electronic device
CN111368796A (en) Face image processing method and device, electronic equipment and storage medium
CN112667887B (en) Content recommendation method and device, electronic equipment and server
CN103546803A (en) Image processing method, client side and image processing system
CN112527115A (en) User image generation method, related device and computer program product
CN107249137A (en) The method of information push, apparatus and system
CN111179155B (en) Image processing method and device, electronic equipment and storage medium
CN110363814A (en) A kind of method for processing video frequency, device, electronic device and storage medium
CN113034221A (en) Information processing method and device, client and server
CN112767053A (en) Information processing method, information processing device, electronic equipment and storage medium
CN109327736B (en) Program recommendation method based on program viewing expression and user information
CN112308950A (en) Video generation method and device
CN113793252B (en) Image processing method, device, chip and module equipment thereof
CN111258414A (en) Method and device for adjusting screen
CN113761281B (en) Virtual resource processing method, device, medium and electronic equipment
CN114268848A (en) Video generation method and device, electronic equipment and storage medium
CN112650596B (en) Cross-process sharing method, device and equipment for target data and storage medium
CN111125501B (en) Method and device for processing information
CN113421141A (en) Shopping processing method and device based on brain-computer and brain nerve signals and electronic equipment
CN109145942B (en) Image processing method and device for intelligent recognition
CN112785490A (en) Image processing method and device and electronic equipment
CN113780047A (en) Virtual makeup trying method and device, electronic equipment and storage medium

Legal Events

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