CN111953905A - Beautifying function starting method and device and electronic equipment - Google Patents

Beautifying function starting method and device and electronic equipment Download PDF

Info

Publication number
CN111953905A
CN111953905A CN202010874120.XA CN202010874120A CN111953905A CN 111953905 A CN111953905 A CN 111953905A CN 202010874120 A CN202010874120 A CN 202010874120A CN 111953905 A CN111953905 A CN 111953905A
Authority
CN
China
Prior art keywords
attribute information
target
condition
skin
starting
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
CN202010874120.XA
Other languages
Chinese (zh)
Other versions
CN111953905B (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 CN202010874120.XA priority Critical patent/CN111953905B/en
Publication of CN111953905A publication Critical patent/CN111953905A/en
Priority to PCT/CN2021/114148 priority patent/WO2022042502A1/en
Application granted granted Critical
Publication of CN111953905B publication Critical patent/CN111953905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a beautifying function opening method and device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: under the condition of starting a beauty mode, acquiring target attribute information of a target user in a preview image; and starting a beautifying function corresponding to the target attribute information under the condition that the target attribute information meets a preset condition. The method and the device can achieve the purpose of saving power consumption and performance overhead of the camera, and improve user experience.

Description

Beautifying function starting method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a beautifying function opening method and device and electronic equipment.
Background
With the continuous popularization of intelligent electronic devices, more and more people use electronic devices (such as mobile phones, tablet computers and the like) to take pictures, and most people can take pictures by using the function of beautifying, such as skin grinding, face thinning, eye enlarging, skin color whitening and the like.
The more the beautifying functions are started, the greater the influence on the power consumption and the performance of the camera is, at present, the beautifying functions in the beautifying software in the market are manually controlled by users, in the process, the users usually start various beautifying functions, and in the situation, the redundant beautifying functions may be started, so that unnecessary power consumption and performance overhead are caused.
Disclosure of Invention
The embodiment of the application aims to provide a beautifying function starting method, a beautifying function starting device and electronic equipment, and the method, the device and the electronic equipment can solve the problems that in the prior art, a beautifying function starting mode may start redundant beautifying functions, and unnecessary power consumption and performance overhead are caused.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for opening a beauty function, where the method includes:
under the condition of starting a beauty mode, acquiring target attribute information of a target user in a preview image;
and starting a beautifying function corresponding to the target attribute information under the condition that the target attribute information meets a preset condition.
In a second aspect, an embodiment of the present application provides a beauty function opening device, including:
the target attribute acquisition module is used for acquiring target attribute information of a target user in the preview image under the condition of starting the beauty mode;
and the beautifying function starting module is used for starting the beautifying function corresponding to the target attribute information under the condition that the target attribute information meets the preset condition.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the beauty function starting method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the beautifying function starting method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the beautifying function starting method according to the first aspect.
In the embodiment of the application, the target attribute information of the target user in the preview image is acquired under the condition that the beauty mode is started, and the beauty function corresponding to the target attribute information is started under the condition that the target attribute information meets the preset condition. According to the embodiment of the application, the corresponding beautifying function is started by combining the attribute information of the user in the preview image, so that the problem of starting redundant beautifying functions can be avoided, the purpose of saving power consumption and performance overhead of a camera can be achieved, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for opening a beauty function according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a beauty function opening device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a beautifying function opening scheme provided by the embodiment of the present application through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
Referring to fig. 1, a flowchart illustrating steps of a beautifying function opening method provided in an embodiment of the present application is shown, and as shown in fig. 1, the beautifying function opening method may specifically include the following steps:
step 101: and acquiring target attribute information of the target user in the preview image under the condition of starting the beauty mode.
The embodiment of the application can be applied to scenes in which the matched beautifying function is automatically started in combination with the attribute information of the user in the image in the beautifying mode.
The beauty mode is a mode for beautifying the skin, skin color and the like of a user, which is arranged in the electronic equipment, and can realize beautifying the skin of the user in an image, such as skin grinding, face thinning and the like.
The target user refers to a user needing to be beautified in the preview image, in this embodiment, the target user may be one user or multiple users, and specifically, may be determined according to business requirements, which is not limited in this embodiment.
The target attribute information refers to attribute information of a target user in the preview image, and in this embodiment, the target attribute information may include at least one of skin attribute information, skin color attribute information, face shape attribute information, and the like.
In the case that the electronic device starts the beauty mode, a preview image taken by a camera may be acquired, and the skin of the target user in the preview image is recognized to acquire target attribute information of the target user.
After the target attribute information of the target user in the preview image is acquired, step 102 is executed.
Step 102: and starting a beautifying function corresponding to the target attribute information under the condition that the target attribute information meets a preset condition.
The preset condition is a condition preset by a service person for determining whether the target attribute satisfies a condition for starting a corresponding beauty function, and it can be understood that different target attribute information may correspond to different preset conditions, for example, when the target attribute information is skin attribute information, the preset condition may be a preset skin attribute condition, and the like.
The beautifying function refers to a function provided in the electronic device for beautifying the skin of the user in the image, and in this embodiment, the beautifying function may include: the functions of grinding skin and beautifying, adjusting skin color and beautifying, adjusting facial form and the like.
The skin-grinding and beautifying function is used for grinding the skin of a user, the skin of the user can be finer and smoother through the skin-grinding and beautifying function, the figure outline is clearer, and wrinkles, acne scars and the like of the face of the user in an image can be removed through the skin-grinding and beautifying function, so that the fine degree of the face of the user is improved.
The skin color adjusting and beautifying function is a function for adjusting the skin color of a user, and the skin color adjusting and beautifying function can adjust the darkness and brightness of the skin of the user, for example, the brightness of the skin with bright skin color is properly reduced, and the brightness of the skin with dark skin color is properly improved, so that the uniformity of the skin color is improved.
The face shape adjusting and beautifying function is a function for adjusting the face shape of a user, and the face shape of the user can be properly adjusted through the face shape adjusting and beautifying function, such as face slimming, face cutting, chin slimming and the like.
Of course, in practical applications, the beautifying function is not limited to the above three beautifying functions, and may further include: the present invention provides a cosmetic function, such as removing black eye circles, brightening eyes, removing black eye circles, enlarging nose, thinning nose, adjusting eye distance, and the like, and specifically, the cosmetic function can be determined according to the cosmetic function provided in the electronic device, which is not limited in this embodiment.
After the target attribute information of the target user in the preview image is acquired, whether the target attribute information meets a preset condition or not can be judged.
And under the condition that the target attribute information meets the preset condition, the beautifying function corresponding to the target attribute information can be started. In particular, the detailed description may be combined with the following specific implementations.
In a specific implementation manner of the present application, the target attribute information may include skin attribute information, and the step 102 may include:
substep S1: and starting a skin grinding and beautifying function corresponding to the skin attribute information under the condition that the skin attribute information meets the preset skin attribute condition.
In this embodiment, the preset skin attribute condition refers to a condition used by the service person to determine whether the skin meets beautification.
After the skin attribute information of the target user in the preview image is acquired, whether the skin attribute information meets the preset skin attribute condition or not can be judged, the skin grinding and beautifying function can be started when the skin attribute information meets the preset skin attribute condition, and the skin grinding and beautifying function is not started when the skin attribute information does not meet the preset skin attribute condition.
Of course, when the skin-polishing and beautifying function is currently turned on and it is detected that the skin attribute information of the target user skin does not satisfy the preset skin attribute condition, the skin-polishing and beautifying function may be automatically turned off, or a simplified skin-polishing function with a smaller function and performance may be used, for example, when it is detected that the skin of the user skin is already good, the skin-polishing function may be automatically turned off, or a simplified skin-polishing function with a smaller power consumption and performance may be used.
In this embodiment, the determination criterion of the skin quality is mainly determined by detecting the number of blemishes and color patches on the face of a person, and when the number of blemishes and color patches on the detected skin is smaller than a set threshold, the skin quality of the skin of the user can be considered to be better. The simplified plate buffing function is a function of buffing the face by adopting a buffing algorithm with lower algorithm complexity, for example, the buffing processing needs to be carried out on three high, middle and low frequency bands of a face image before, and the simplified plate buffing function only needs to carry out the buffing processing on the low frequency part of the image, so that the performance and the power consumption can be reduced because the algorithm complexity is reduced.
In another specific implementation manner of the embodiment of the present application, the target attribute information may include skin color attribute information, and the step 102 may include:
substep S2: and under the condition that the skin color attribute information meets the preset skin color attribute condition, starting a skin color adjusting and beautifying function corresponding to the skin color attribute information.
In this embodiment, the preset skin color attribute condition is a condition used by a service staff to determine whether skin color meets beautifying requirements.
After obtaining the skin color attribute information of the target user in the preview image, whether the skin color attribute information meets the preset skin color attribute condition or not can be judged, the skin color adjusting and beautifying function can be started when the skin color attribute information meets the preset skin color attribute condition, and the skin color adjusting and beautifying function is not started under the condition that the skin color attribute information does not meet the preset skin color attribute condition.
Of course, when the skin color adjustment and beautification function is currently turned on and it is detected that the skin color attribute information of the target user does not satisfy the preset skin color attribute condition, the skin color adjustment and beautification function may be automatically turned off, for example, when it is detected that the skin color of the user is very standard, the skin color adjustment and beautification function is automatically turned off.
In this embodiment, the criterion of skin color is determined by calculating an LAB median of the skin region, and comparing the LAB median with the standard skin color values in the database, and if the difference between the detected LAB median and the euclidean distance of the standard skin color values in the database is within a certain range, determining that the skin color of the current skin is standard. The standard skin color values in the database are obtained through a large number of statistical generalizations of standard skin color images.
In another specific implementation manner of the embodiment of the present application, the target attribute information may include facial attribute information, and the step 102 may include:
substep S3: and under the condition that the face attribute information meets the preset face attribute condition, opening a face adjusting and beautifying function corresponding to the face attribute information.
In the present embodiment, the preset face shape attribute condition is a condition used by the service person to determine whether the face shape satisfies beautification.
After the face type attribute information of the target user in the preview image is acquired, whether the face type attribute information meets the preset face type attribute condition or not can be judged, the face shape adjusting and beautifying function can be started when the face type attribute information meets the preset face type attribute condition, and the face shape adjusting and beautifying function is not started when the face type attribute information does not meet the preset face type attribute condition.
Of course, when the face shape adjusting and beautifying function is currently turned on and it is detected that the face shape attribute information of the face of the target user does not satisfy the preset face shape attribute condition, the face shape adjusting and beautifying function may be automatically turned off, for example, when it is detected that the face shape of the user is standard, the face shape adjusting and beautifying function such as thin face and big eyes may be automatically turned off.
In this embodiment, whether the face shape is standard or not can be judged according to the industry common rule of three groups of five eyes, wherein the three groups refer to the length proportion of the face, the length of the face is divided into three equal parts, the length is 1/3 which is equal to the length of the face from the forehead hairline to the eyebrow bone, from the eyebrow bone to the nose bottom, from the nose bottom to the chin and respectively accounts for the length of the face, the five eyes refer to the width proportion of the face, the width of the face is divided into five equal parts by taking the length of the eye shape as a unit, and the length of the eye shape is five equal parts from the left hairline to the right hair. There is a distance between the two eyes, and the distance between the outer side of the two eyes and the lateral hairline is 1/5 of the proportion of each eye.
In this embodiment, a user identifier of a user in the image may also be recorded, and when it is detected again that the user with the same user identifier needs to perform the beautifying function within a preset time period, the beautifying function that is started last time is automatically started, which may be described in detail with reference to the following specific implementation manner.
In another specific implementation manner of the present application, the method may further include:
step M1: and within a preset time length from the closing of the beautifying mode, acquiring a target preview image under the condition of starting the beautifying mode again.
In this embodiment, the preset duration refers to a duration preset by a service person and used for determining whether to start the beauty mode again, and the preset duration may be 10s, 10min, 5min, and the like, specifically, the preset duration may be determined according to a service requirement, and a specific numerical value of the preset duration is not limited in this embodiment.
The target preview image refers to a preview image acquired with a camera.
In the case where the beauty mode is activated again within a preset time period from the turning off of the beauty mode, the target preview image may be acquired, and then, step M2 is performed.
Step M2: and under the condition that the shooting environment parameters of the target preview image and the preview image are determined to be the same, acquiring the user identification of the user in the target preview image.
The shooting environment parameter refers to an environment parameter where the shot preview image is located, and in this embodiment, the shooting environment parameter may include parameters such as a shooting scene and a shooting environment.
After the target preview image is acquired, the shooting environment parameters of the target preview image and the preview image may be acquired separately to determine whether the shooting environment parameters of the target preview image and the preview image are the same.
In the case where the shooting environment parameters of the target preview image and the preview image are the same, the user identifier of the user in the target preview image may be acquired.
After acquiring the user identification of the user in the target preview image, step M3 is performed.
Step M3: and starting a beauty function corresponding to the target attribute information under the condition that the user identification is the same as the target user identification of the target user.
And under the condition that the user identification is the same as the target user identification of the target user, the beautifying function corresponding to the target attribute information can be started. For example, the system automatically binds the ID information of each face with the beauty function combination parameters, and since the attribute information such as the skin, skin color, face shape, and the like of the user under the similar scene and environmental condition does not change much in a short time, when the user uses the beauty camera function again in a short time under the similar scene and environmental condition, the system does not need to repeatedly perform face attribute detection, and only needs to take out the beauty function combination parameters corresponding to the ID information, thereby further reducing power consumption and performance overhead.
According to the method for starting the beauty function, the target attribute information of the target user in the preview image is obtained under the condition that the beauty mode is started, and the beauty function corresponding to the target attribute information is started under the condition that the target attribute information meets the preset condition. According to the embodiment of the application, the corresponding beautifying function is started by combining the attribute information of the user in the preview image, so that the problem of starting redundant beautifying functions can be avoided, the purpose of saving power consumption and performance overhead of a camera can be achieved, and the user experience is improved.
It should be noted that, in the beautifying function opening method provided in the embodiment of the present application, the executing main body may be a beautifying function opening device, or a control module of the beautifying function opening method used for executing in the beautifying function opening device. In the embodiment of the present application, a method for executing a beauty function by a beauty function opener is taken as an example to describe the beauty function opener provided in the embodiment of the present application.
Referring to fig. 2, a schematic structural diagram of a beauty function opening device provided in an embodiment of the present application is shown, and as shown in fig. 2, the beauty function opening device 200 may specifically include the following modules:
a target attribute obtaining module 210, configured to obtain target attribute information of a target user in a preview image when the beauty mode is started;
the beautifying function starting module 220 is configured to start a beautifying function corresponding to the target attribute information when the target attribute information meets a preset condition.
Optionally, the target attribute information includes skin attribute information, and the beautifying function starting module 220 includes:
and the skin grinding and beautifying function starting unit is used for starting the skin grinding and beautifying function corresponding to the skin attribute information under the condition that the skin attribute information meets the preset skin attribute condition.
Optionally, the target attribute information includes skin color attribute information, and the beautifying function starting module 220 includes:
and the skin color beautifying function opening unit is used for opening a skin color adjusting and beautifying function corresponding to the skin color attribute information under the condition that the skin color attribute information meets a preset skin color attribute condition.
Optionally, the target attribute information includes facial form attribute information, and the beautifying function starting module 220 includes:
and the face shape beautifying function opening unit is used for opening the face shape adjusting and beautifying function corresponding to the face shape attribute information under the condition that the face shape attribute information meets the preset face shape attribute condition.
Optionally, the apparatus further comprises:
the target image acquisition module is used for acquiring a target preview image within a preset time length from the turning-off of the beauty mode under the condition that the beauty mode is started again;
the user identifier acquisition module is used for acquiring the user identifier of the user in the target preview image under the condition that the shooting environment parameters of the target preview image and the preview image are the same;
and the target function starting module is used for starting the beauty function corresponding to the target attribute information under the condition that the user identification is the same as the target user identification of the target user.
According to the device for opening the beauty function, the target attribute information of the target user in the preview image is acquired under the condition that the beauty mode is opened, and the beauty function corresponding to the target attribute information is opened under the condition that the target attribute information meets the preset condition. According to the embodiment of the application, the corresponding beautifying function is started by combining the face attribute information of the user in the preview image, so that the problem of starting redundant beautifying functions can be avoided, the purpose of saving power consumption and performance overhead of a camera can be achieved, and the user experience is improved.
The beautifying function opening device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The beauty function opening device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The beautifying function starting device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and executable on the processor 301, where the program or the instruction is executed by the processor 301 to implement the processes of the foregoing beautifying function starting method embodiment, and can achieve the same technical effects, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 410 is configured to, in a case that the beauty mode is started, obtain target attribute information of a target user in a preview image; and starting a beautifying function corresponding to the target attribute information under the condition that the target attribute information meets a preset condition.
According to the embodiment of the application, the corresponding beautifying function is started by combining the attribute information of the user in the preview image, so that the problem of starting redundant beautifying functions can be avoided, the purpose of saving power consumption and performance overhead of a camera can be achieved, and the user experience is improved.
Optionally, the processor 410 is further configured to, when the skin property information meets a preset skin property condition, start a skin polishing and beautifying function corresponding to the skin property information.
Optionally, the processor 410 is further configured to start a skin color adjustment and beauty function corresponding to the skin color attribute information when the skin color attribute information meets a preset skin color attribute condition.
Optionally, the processor 410 is further configured to, when the face shape attribute information meets a preset face shape attribute condition, start a face shape adjusting and beautifying function corresponding to the face shape attribute information.
Optionally, the processor 410 is further configured to, within a preset time period from the turning off of the beauty mode, obtain a target preview image in case of starting the beauty mode again; under the condition that the shooting environment parameters of the target preview image and the preview image are determined to be the same, acquiring a user identifier of a user in the target preview image; and starting a beauty function corresponding to the target attribute information under the condition that the user identification is the same as the target user identification of the target user.
According to the embodiment of the application, the corresponding beautifying function is started by combining the skin attribute of the skin of the user in the preview image, so that the problem of starting redundant beautifying functions can be avoided, the purposes of saving the power consumption and performance overhead of the camera can be achieved, and the user experience is improved.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing method for opening a beauty function, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the method for opening a beauty function, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for starting a beautifying function is characterized by comprising the following steps:
under the condition of starting a beauty mode, acquiring target attribute information of a target user in a preview image;
and starting a beautifying function corresponding to the target attribute information under the condition that the target attribute information meets a preset condition.
2. The method according to claim 1, wherein the target attribute information includes skin attribute information, and the starting of the beauty function corresponding to the target attribute information when the target attribute information satisfies a preset condition includes:
and starting a skin grinding and beautifying function corresponding to the skin attribute information under the condition that the skin attribute information meets the preset skin attribute condition.
3. The method according to claim 1, wherein the target attribute information includes skin color attribute information, and the starting of the beauty function corresponding to the target attribute information when the target attribute information satisfies a preset condition includes:
and under the condition that the skin color attribute information meets the preset skin color attribute condition, starting a skin color adjusting and beautifying function corresponding to the skin color attribute information.
4. The method according to claim 1, wherein the target attribute information includes facial form attribute information, and the starting of the beauty function corresponding to the target attribute information when the target attribute information satisfies a preset condition includes:
and under the condition that the face attribute information meets the preset face attribute condition, opening a face adjusting and beautifying function corresponding to the face attribute information.
5. The method according to claim 1, further comprising, after the starting of the beauty function corresponding to the target attribute information:
acquiring a target preview image under the condition that the beauty mode is started again within a preset time length from the closing of the beauty mode;
under the condition that the shooting environment parameters of the target preview image and the preview image are determined to be the same, acquiring a user identifier of a user in the target preview image;
and starting a beauty function corresponding to the target attribute information under the condition that the user identification is the same as the target user identification of the target user.
6. A beauty function opening device, comprising:
the target attribute acquisition module is used for acquiring target attribute information of a target user in the preview image under the condition of starting the beauty mode;
and the beautifying function starting module is used for starting the beautifying function corresponding to the target attribute information under the condition that the target attribute information meets the preset condition.
7. The apparatus of claim 6, wherein the target attribute information comprises skin attribute information, and wherein the beauty function enabling module comprises:
and the skin grinding and beautifying function starting unit is used for starting the skin grinding and beautifying function corresponding to the skin attribute information under the condition that the skin attribute information meets the preset skin attribute condition.
8. The apparatus of claim 6, wherein the target attribute information comprises skin tone attribute information, and wherein the beauty function enabling module comprises:
and the skin color beautifying function opening unit is used for opening a skin color adjusting and beautifying function corresponding to the skin color attribute information under the condition that the skin color attribute information meets a preset skin color attribute condition.
9. The apparatus of claim 6, wherein the target attribute information comprises facial shape attribute information, and the beauty function opening module comprises:
and the face shape beautifying function opening unit is used for opening the face shape adjusting and beautifying function corresponding to the face shape attribute information under the condition that the face shape attribute information meets the preset face shape attribute condition.
10. The apparatus of claim 6, further comprising:
the target image acquisition module is used for acquiring a target preview image within a preset time length from the turning-off of the beauty mode under the condition that the beauty mode is started again;
the user identifier acquisition module is used for acquiring the user identifier of the user in the target preview image under the condition that the shooting environment parameters of the target preview image and the preview image are the same;
and the target function starting module is used for starting the beauty function corresponding to the target attribute information under the condition that the user identification is the same as the target user identification of the target user.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the beauty function opening method according to any one of claims 1-5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the beauty function opening method according to any one of claims 1-5.
CN202010874120.XA 2020-08-26 2020-08-26 Beautifying function starting method and device, electronic equipment and readable storage medium Active CN111953905B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010874120.XA CN111953905B (en) 2020-08-26 2020-08-26 Beautifying function starting method and device, electronic equipment and readable storage medium
PCT/CN2021/114148 WO2022042502A1 (en) 2020-08-26 2021-08-23 Beautifying function enabling method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010874120.XA CN111953905B (en) 2020-08-26 2020-08-26 Beautifying function starting method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111953905A true CN111953905A (en) 2020-11-17
CN111953905B CN111953905B (en) 2021-11-16

Family

ID=73367457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010874120.XA Active CN111953905B (en) 2020-08-26 2020-08-26 Beautifying function starting method and device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN111953905B (en)
WO (1) WO2022042502A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022042502A1 (en) * 2020-08-26 2022-03-03 维沃移动通信有限公司 Beautifying function enabling method and apparatus, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130088618A1 (en) * 2011-10-06 2013-04-11 Keiji Kunishige Imaging device, imaging method, and computer readable recording medium
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN104850342A (en) * 2015-04-29 2015-08-19 努比亚技术有限公司 Mobile terminal and rapid startup method and device for applications of mobile terminal
CN106060581A (en) * 2016-07-05 2016-10-26 广州华多网络科技有限公司 Video real-time transmission data processing method, device and system
CN108256500A (en) * 2018-02-05 2018-07-06 广东欧珀移动通信有限公司 Recommendation method, apparatus, terminal and the storage medium of information
CN109831636A (en) * 2019-01-28 2019-05-31 努比亚技术有限公司 Interdynamic video control method, terminal and computer readable storage medium
CN111047511A (en) * 2019-12-31 2020-04-21 维沃移动通信有限公司 Image processing method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092284A (en) * 2003-09-12 2005-04-07 Nintendo Co Ltd Pickup image synthesizer and pickup image synthesizing program
CN103605975B (en) * 2013-11-28 2018-10-19 小米科技有限责任公司 A kind of method, apparatus and terminal device of image procossing
CN105069007B (en) * 2015-07-02 2018-01-19 广东欧珀移动通信有限公司 A kind of method and device for establishing U.S. face database
CN105279487B (en) * 2015-10-15 2022-03-15 Oppo广东移动通信有限公司 Method and system for screening beauty tools
CN107274354A (en) * 2017-05-22 2017-10-20 奇酷互联网络科技(深圳)有限公司 image processing method, device and mobile terminal
CN107995415A (en) * 2017-11-09 2018-05-04 深圳市金立通信设备有限公司 A kind of image processing method, terminal and computer-readable medium
CN111953905B (en) * 2020-08-26 2021-11-16 维沃移动通信有限公司 Beautifying function starting method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130088618A1 (en) * 2011-10-06 2013-04-11 Keiji Kunishige Imaging device, imaging method, and computer readable recording medium
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN104850342A (en) * 2015-04-29 2015-08-19 努比亚技术有限公司 Mobile terminal and rapid startup method and device for applications of mobile terminal
CN106060581A (en) * 2016-07-05 2016-10-26 广州华多网络科技有限公司 Video real-time transmission data processing method, device and system
CN108256500A (en) * 2018-02-05 2018-07-06 广东欧珀移动通信有限公司 Recommendation method, apparatus, terminal and the storage medium of information
CN109831636A (en) * 2019-01-28 2019-05-31 努比亚技术有限公司 Interdynamic video control method, terminal and computer readable storage medium
CN111047511A (en) * 2019-12-31 2020-04-21 维沃移动通信有限公司 Image processing method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无: "美颜相机巧搭美图贴贴__打造最in自拍范", 《计算机与网络》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022042502A1 (en) * 2020-08-26 2022-03-03 维沃移动通信有限公司 Beautifying function enabling method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN111953905B (en) 2021-11-16
WO2022042502A1 (en) 2022-03-03

Similar Documents

Publication Publication Date Title
US10438329B2 (en) Image processing method and image processing apparatus
US20180286097A1 (en) Method and camera device for processing image
CN107578380A (en) Image processing method and device, electronic equipment and storage medium
CN109741280A (en) Image processing method, device, storage medium and electronic equipment
CN103268475A (en) Skin beautifying method based on face and skin color detection
WO2022143387A1 (en) Display control method and apparatus, electronic device, and medium
US11403789B2 (en) Method and electronic device for processing images
CN107085823B (en) Face image processing method and device
CN112422817B (en) Image processing method and device
CN112581395A (en) Image processing method, image processing device, electronic equipment and storage medium
CN111953905B (en) Beautifying function starting method and device, electronic equipment and readable storage medium
CN114501144A (en) Image-based television control method, device, equipment and storage medium
CN112153281A (en) Image processing method and device
CN112883821B (en) Image processing method and device and electronic equipment
CN112184540A (en) Image processing method, image processing device, electronic equipment and storage medium
CN112399078B (en) Shooting method and device and electronic equipment
CN112734661A (en) Image processing method and device
CN110473156B (en) Image information processing method and device, storage medium and electronic equipment
CN111968605A (en) Exposure adjusting method and device
CN112785490B (en) Image processing method and device and electronic equipment
CN113610723B (en) Image processing method and related device
CN107085822B (en) Face image processing method and device
CN113962840A (en) Image processing method, image processing device, electronic equipment and storage medium
CN111856759B (en) Lens parameter adjusting method and device
CN113572955A (en) Image processing method and device and electronic equipment

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