WO2022042502A1 - 美颜功能开启方法、装置及电子设备 - Google Patents
美颜功能开启方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2022042502A1 WO2022042502A1 PCT/CN2021/114148 CN2021114148W WO2022042502A1 WO 2022042502 A1 WO2022042502 A1 WO 2022042502A1 CN 2021114148 W CN2021114148 W CN 2021114148W WO 2022042502 A1 WO2022042502 A1 WO 2022042502A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- attribute information
- target
- beauty
- enabling
- user
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000006870 function Effects 0.000 claims description 159
- 230000003796 beauty Effects 0.000 claims description 146
- 230000036548 skin texture Effects 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 5
- 241001417519 Priacanthidae Species 0.000 description 2
- 210000000988 bone and bone Anatomy 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 208000002874 Acne Vulgaris Diseases 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 206010039580 Scar Diseases 0.000 description 1
- 206010000496 acne Diseases 0.000 description 1
- 238000005282 brightening Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000001061 forehead Anatomy 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002435 rhinoplasty Methods 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- 230000002087 whitening effect Effects 0.000 description 1
- 230000037303 wrinkles Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
Definitions
- the present application belongs to the field of communication technologies, and in particular, relates to a method, device and electronic device for enabling a beauty function.
- the purpose of the embodiments of the present application is to provide a method, device and electronic device for enabling the beauty function, which can solve the problem that the method for enabling the beauty function in the prior art may turn on the redundant beauty function, resulting in some unnecessary power consumption and performance. cost issue.
- an embodiment of the present application provides a method for enabling a beauty function, the method comprising:
- the beauty function corresponding to the target attribute information is enabled.
- an embodiment of the present application provides a device for enabling a beauty function, the device comprising:
- the target attribute acquisition module is used to obtain the target attribute information of the target user in the preview image when the beauty mode is activated;
- the beauty function enabling module is configured to enable the beauty function corresponding to the target attribute information when the target attribute information satisfies a preset condition.
- embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method for enabling the beauty function according to the first aspect when executed.
- an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the beauty function as described in the first aspect is implemented Steps to open the method.
- an embodiment of the present application provides a chip, 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, and implement the first aspect The method for enabling the beauty function.
- the target attribute information of the target user in the preview image is obtained when the beauty mode is turned on, and the beauty function corresponding to the target attribute information is turned on when the target attribute information satisfies a preset condition.
- the problem of enabling redundant beauty functions can be avoided, thereby saving the power consumption and performance overhead of the camera and improving the user experience.
- FIG. 1 is a flow chart of steps of a method for enabling a beauty function provided by an application embodiment
- FIG. 2 is a schematic structural diagram of a device for enabling a beauty function 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 application.
- FIG. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
- first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
- the objects are usually of one type, and the number of objects is not limited.
- the first object may be one or more than one.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- FIG. 1 a flowchart of steps of a method for enabling a beauty function provided by an embodiment of the present application is shown.
- the method for enabling a beauty function may specifically include the following steps:
- Step 101 When the beauty mode is activated, acquire target attribute information of the target user in the preview image.
- the embodiments of the present application may be applied to a scene in which a matching beauty function is automatically enabled in combination with the attribute information of the user in the image in the beauty mode.
- Beauty mode refers to the mode set in the electronic device to beautify the skin texture and skin tone of the user.
- the user's skin in the image can be beautified, such as skin resurfacing and face reduction.
- the target user refers to the user who needs to be beautified in the preview image.
- the target user may be one user or multiple users. Specifically, it may be determined according to business requirements, which is not added in this embodiment. limit.
- the target attribute information refers to the attribute information of the target user in the preview image.
- the target attribute information may include at least one of skin quality attribute information, skin color attribute information, and face shape attribute information.
- a preview image captured by the camera can be obtained, and the skin of the target user in the preview image can be identified to obtain the target attribute information of the target user.
- step 102 After acquiring the target attribute information of the target user in the preview image, step 102 is performed.
- Step 102 In the case that the target attribute information satisfies a preset condition, enable the beauty function corresponding to the target attribute information.
- the preset conditions refer to the conditions preset by the business personnel to determine whether the target attribute meets the conditions for enabling the corresponding beauty function. It is understandable that different target attribute information may correspond to different preset conditions.
- the preset condition may be a preset skin texture attribute condition
- the preset condition may be a preset skin tone attribute condition and the like.
- the beauty function refers to a function set in the electronic device to beautify the skin of the user in the image.
- the beauty function may include: skin retouching function, skin color adjustment beauty function, face shape adjustment beauty function Wait.
- the microdermabrasion and beauty function refers to the function for microdermabrasion of the user's skin.
- the microdermabrasion and beauty function can make the user's skin more delicate and the outline of the character clearer.
- the microdermabrasion and beauty function can remove images. Wrinkles, acne scars, etc. on the user's face in order to improve the delicateness of the user's face.
- the skin tone adjustment and beauty function refers to the function used to adjust the skin tone of the user.
- the skin tone adjustment and beauty function can be used to adjust the darkness and lightness of the user's skin. For darker skin, increase the brightness appropriately to improve the evenness of the skin tone.
- the face shape adjustment and beauty function refers to the function used to adjust the user's face shape. Through the face shape adjustment and beauty function, the user's face shape can be properly adjusted, such as face-lifting, face-shaping, and chin-lifting.
- the beauty function is not limited to the above three beauty functions, but can also include: dark circles removal, eye brightening, dark circle removal, rhinoplasty, nose thinning, eye distance adjustment and other beauty functions. Specifically, it may be determined according to the beauty function provided in the electronic device, which is not limited in this embodiment.
- the target attribute information of the target user in the preview image After acquiring the target attribute information of the target user in the preview image, it can be determined whether the target attribute information satisfies the preset condition.
- the beauty function corresponding to the target attribute information can be enabled. Specifically, detailed description may be made in conjunction with the following specific implementation manners.
- the target attribute information may include skin quality attribute information
- the above step 102 may include:
- Sub-step S1 in the case that the skin quality attribute information satisfies the preset skin quality attribute condition, enable the microdermabrasion and beautifying function corresponding to the skin quality attribute information.
- the preset skin quality attribute condition refers to a condition used by business personnel to determine whether the skin quality satisfies beautification.
- the microdermabrasion beauty After obtaining the skin quality attribute information of the target user in the preview image, it can be judged whether the skin quality attribute information meets the preset skin quality attribute conditions, and when the skin quality attribute information meets the preset skin quality attribute conditions, the microdermabrasion beauty is enabled. If the skin texture attribute information does not meet the preset skin texture attribute conditions, the microdermabrasion and beauty function will not be enabled.
- the microdermabrasion and beautification function when the microdermabrasion and beautification function is currently enabled, and it is detected that the skin quality attribute information of the target user's skin does not meet the preset skin quality attribute conditions, the microdermabrasion and beautification function can be automatically turned off, or the function and performance are improved.
- a small simplified microdermabrasion function for example, when it is detected that the skin quality of the user's skin is already good, the microdermabrasion is automatically turned off, or a simplified version of the microdermabrasion function with less power consumption and performance is used.
- the criterion for determining whether the skin is good or bad is mainly determined by detecting the number of spots and acne blemishes and color patches on the human face. It can be considered that the skin texture of the user's skin is good.
- the simplified version of the microdermabrasion function refers to the function of microdermabrasion processing of the human face by using the microdermabrasion algorithm with lower algorithm complexity. The function only needs to perform microdermabrasion on the low-frequency part of the image, because the algorithm complexity is reduced, so the performance and power consumption will also be reduced.
- the target attribute information may include skin color attribute information
- the foregoing step 102 may include:
- Sub-step S2 in the case that the skin color attribute information satisfies the preset skin color attribute condition, enable the skin color adjustment and beauty function corresponding to the skin color attribute information.
- the preset skin color attribute condition refers to a condition used by business personnel to determine whether skin color satisfies beautification.
- the skin color adjustment and beauty function After acquiring the skin color attribute information of the target user in the preview image, it can be judged whether the skin color attribute information satisfies the preset skin color attribute conditions, and when the skin color attribute information meets the preset skin color attribute conditions, the skin color adjustment and beauty function can be enabled, and when the skin color attribute information meets the preset skin color attribute conditions If the skin color attribute information does not meet the preset skin color attribute conditions, the skin color adjustment and beauty function is not enabled.
- the skin color adjustment and beauty function when the skin color adjustment and beauty function is currently enabled, and it is detected that the skin color attribute information of the target user does not meet the preset skin color attribute conditions, the skin color adjustment and beauty function can be automatically turned off.
- the skin tone adjustment and beauty function is automatically turned off.
- the basis for judging whether the skin color is standard is the LAB (color model) median value, that is, the LAB median value of the skin area is counted, and then compared with the standard skin color value in the database. If the detected LAB median value is the same as the If the difference between the Euclidean distances of the standard skin color values in the database is within a certain range, the skin color of the current skin is considered to be standard.
- the standard skin color values in the database are obtained by statistical induction of a large number of standard skin color images.
- the target attribute information may include face shape attribute information
- the foregoing step 102 may include:
- Sub-step S3 in the case that the face shape attribute information satisfies the preset face shape attribute condition, enable the face shape adjustment and beauty function corresponding to the face shape attribute information.
- the preset face shape attribute condition refers to a condition used by business personnel to determine whether the face shape satisfies the beautification condition.
- the face shape adjustment and beauty function After obtaining the face shape attribute information of the target user in the preview image, it can be judged whether the face shape attribute information satisfies the preset face shape attribute conditions, and when the face shape attribute information meets the preset face shape attribute conditions, the face shape adjustment and beauty function can be enabled, and when the face shape attribute information meets the preset face shape attribute conditions If the face shape attribute information does not meet the preset face shape attribute conditions, the face shape adjustment and beauty function will not be enabled.
- the face shape adjustment beauty function can be automatically turned off.
- the face shape adjustment and beauty functions such as face reduction and big eyes are automatically turned off.
- whether the face shape is standard can be determined by the industry general rule of three courts and five eyes.
- the three courts refer to the length ratio of the human face, and the length of the human face is divided into three equal parts, starting from the forehead hairline To the brow bone, from the brow bone to the bottom of the nose, from the bottom of the nose to the chin, each occupies 1/3 of the length of the face
- the five eyes refers to the width ratio of the face, and the width of the face is divided into five units with the length of the eye shape as the unit. Divide equally, from the left hairline to the right hairline, for the length of five eyes. There is the distance of one eye between the two eyes, and the distance between the outer side of the two eyes to the side hairline is the distance of one eye, each accounting for 1/5 of the proportion.
- the user ID of the user in the image can also be recorded, and when it is detected again within a preset time period that the user with the same user ID needs to perform the beauty function, the beauty function that was turned on last time is automatically enabled. It can be described in detail in conjunction with the following specific implementation manners.
- the method may further include:
- Step M1 within a preset time period from turning off the beauty mode, and in the case of reactivating the beauty mode, acquire the target preview image.
- the preset duration refers to the duration preset by the business personnel for determining whether to activate the beauty mode again, and the preset duration may be 10s, 10min, 5min, etc. Specifically, it may be determined according to business requirements , this embodiment does not limit the specific value of the preset duration.
- the target preview image refers to the preview image obtained by the camera.
- the target preview image may be acquired, and then step M2 is performed.
- Step M2 In the case where it is determined that the shooting environment parameters of the target preview image and the preview image are the same, acquire the user ID of the user in the target preview image.
- the shooting environment parameter refers to the environment parameter where the shot preview image is located.
- the shooting environment parameter may include parameters such as the shooting scene and the shooting environment.
- the shooting environment parameters of the target preview image and the preview image may be acquired respectively to determine whether the shooting environment parameters of the two are the same.
- the user identification of the user in the target preview image can be acquired.
- step M3 After acquiring the user ID of the user in the target preview image, step M3 is performed.
- Step M3 In the case that the user ID is the same as the target user ID of the target user, enable the beauty function corresponding to the target attribute information.
- the beauty function corresponding to the target attribute information can be enabled.
- the system automatically binds the ID information of each face with the combination parameters of the beauty function. Due to the similar scene and environmental conditions, the user's skin quality, skin color and face shape and other attribute information will not change significantly in a short time. Therefore, when the user uses the beauty camera function again in a short time under similar scenes and environmental conditions, the system does not need to repeat the face attribute detection, but only needs to take out the combination parameters of the beauty function corresponding to the ID information. This further reduces power consumption and performance overhead.
- the target attribute information of the target user in the preview image is obtained when the beauty mode is turned on, and when the target attribute information satisfies a preset condition, the corresponding target attribute information is turned on. beauty function.
- the embodiments of the present application enable the corresponding beauty function in combination with the attribute information of the user in the preview image, so as to avoid the problem of enabling redundant beauty functions, thereby saving the power consumption and performance overhead of the camera and improving the user experience.
- the execution subject may be a device for enabling the beauty function, or a control module in the device for enabling the beauty function for executing the method for enabling the beauty function.
- the device for enabling a beautifying function provided by the embodiment of the present application is described by taking the method for enabling a beautifying function performed by a device for enabling a beautifying function as an example.
- the device for enabling a beauty function 200 may specifically include the following modules:
- the target attribute obtaining module 210 is configured to obtain target attribute information of the target user in the preview image when the beauty mode is activated;
- the beauty function enabling module 220 is configured to enable the beauty function corresponding to the target attribute information when the target attribute information satisfies a preset condition.
- the target attribute information includes skin quality attribute information
- the beauty function enabling module 220 includes:
- the microdermabrasion and beautifying function enabling unit is configured to enable the microdermabrasion and beautifying function corresponding to the skin quality attribute information under the condition that the skin quality attribute information satisfies the preset skin quality attribute conditions.
- the target attribute information includes skin color attribute information
- the beauty function enabling module 220 includes:
- the skin color beautification function enabling unit is configured to enable the skin color adjustment and beautification function corresponding to the skin color attribute information under the condition that the skin color attribute information satisfies the preset skin color attribute condition.
- the target attribute information includes face shape attribute information
- the beauty function enabling module 220 includes:
- a face shape beautifying function enabling unit configured to enable the face shape adjustment and beauty function corresponding to the face shape attribute information under the condition that the face shape attribute information satisfies the preset face shape attribute condition.
- the device further includes:
- a target image acquisition module configured to acquire a target preview image when the beautifying mode is activated again within a preset time period from turning off the beautifying mode
- a user identification acquiring module configured to acquire the user identification 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 determined to be the same;
- a target function enabling module configured to enable the beauty function corresponding to the target attribute information when the user ID is the same as the target user ID of the target user.
- the device for enabling the beauty function acquires the target attribute information of the target user in the preview image when the beauty mode is turned on, and when the target attribute information satisfies a preset condition, enables the corresponding target attribute information beauty function.
- the problem of enabling redundant beauty functions can be avoided, thereby achieving the purpose of saving the power consumption and performance overhead of the camera, and improving the user's experience. experience.
- the device for enabling the beauty function in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- netbook or a personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- Network Attached Storage NAS
- personal computer personal computer, PC
- television television
- teller machine or self-service machine etc.
- the device for enabling the beauty function 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, which are not specifically limited in the embodiments of the present application.
- the device for enabling a beauty function provided in this embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
- an embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, a program or instruction stored in the memory 302 and executable on the processor 301,
- an electronic device 300 including a processor 301, a memory 302, a program or instruction stored in the memory 302 and executable on the processor 301,
- the program or instruction is executed by the processor 301, each process of the above-mentioned embodiment of the method for enabling the beauty function is realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
- 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: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.
- the electronic device 400 may also include a power source (such as 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 manage charging, discharging, and power management through the power management system. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 4 does not constitute a limitation to the electronic device.
- the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
- the processor 410 is configured to acquire target attribute information of the target user in the preview image when the beauty mode is activated; when the target attribute information satisfies a preset condition, enable the corresponding target attribute information Beauty function.
- the embodiments of the present application enable the corresponding beauty function in combination with the attribute information of the user in the preview image, so as to avoid the problem of enabling redundant beauty functions, thereby saving the power consumption and performance overhead of the camera and improving the user experience.
- the processor 410 is further configured to enable the microdermabrasion and beautifying function corresponding to the skin quality attribute information when the skin quality attribute information satisfies a preset skin quality attribute condition.
- the processor 410 is further configured to enable the skin color adjustment and beauty function corresponding to the skin color attribute information when the skin color attribute information satisfies a preset skin color attribute condition.
- the processor 410 is further configured to enable a face shape adjustment and beautifying function corresponding to the face shape attribute information when the face shape attribute information satisfies a preset face shape attribute condition.
- the processor 410 is further configured to obtain a target preview image when the beauty mode is activated again within a preset time period from turning off the beauty mode; after determining the target preview image and the beauty mode In the case where the shooting environment parameters of the preview image are the same, the user ID of the user in the target preview image is obtained; in the case where the user ID is the same as the target user ID of the target user, the corresponding target attribute information is enabled. beauty function.
- the problem of enabling redundant beauty functions can be avoided, so as to achieve the purpose of saving the power consumption and performance overhead of the camera, and improve the user experience .
- the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 406 may include a display panel 4061, which 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 .
- the touch panel 4071 is also called 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, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- Memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
- the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 410.
- the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above embodiment of the method for enabling the beauty function is implemented, and can To achieve the same technical effect, in order to avoid repetition, details are not repeated here.
- the processor is the processor in the electronic device described in the foregoing embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An 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 used to run a program or an instruction to implement the above method for enabling the beauty function In order to avoid repetition, the details are not repeated here.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (15)
- 一种美颜功能开启方法,包括:在启动美颜模式的情况下,获取预览图像中目标用户的目标属性信息;在所述目标属性信息满足预设条件的情况下,开启所述目标属性信息对应的美颜功能。
- 根据权利要求1所述的方法,其中,所述目标属性信息包括肤质属性信息,所述在所述目标属性信息满足预设条件的情况下,开启所述目标属性信息对应的美颜功能,包括:在所述肤质属性信息满足预设肤质属性条件的情况下,开启所述肤质属性信息对应的磨皮美颜功能。
- 根据权利要求1所述的方法,其中,所述目标属性信息包括肤色属性信息,所述在所述目标属性信息满足预设条件的情况下,开启所述目标属性信息对应的美颜功能,包括:在所述肤色属性信息满足预设肤色属性条件的情况下,开启所述肤色属性信息对应的肤色调整美颜功能。
- 根据权利要求1所述的方法,其中,所述目标属性信息包括脸型属性信息,所述在所述目标属性信息满足预设条件的情况下,开启所述目标属性信息对应的美颜功能,包括:在所述脸型属性信息满足预设脸型属性条件的情况下,开启所述脸型属性信息对应的脸型调整美颜功能。
- 根据权利要求1所述的方法,其中,在所述开启所述目标属性信息对应的美颜功能之后,还包括:在距离关闭所述美颜模式的预设时长内,再次启动美颜模式的情况下,获取目标预览图像;在确定所述目标预览图像和所述预览图像的拍摄环境参数相同的情况下,获取所述目标预览图像中的用户的用户标识;在所述用户标识与所述目标用户的目标用户标识相同的情况下,开启所述目标属性信息对应的美颜功能。
- 一种美颜功能开启装置,包括:目标属性获取模块,用于在启动美颜模式的情况下,获取预览图像中目标用户的目标属性信息;美颜功能开启模块,用于在所述目标属性信息满足预设条件的情况下,开启所述目标属性信息对应的美颜功能。
- 根据权利要求6所述的装置,其中,所述目标属性信息包括肤质属性信息,所述美颜功能开启模块包括:磨皮美颜功能开启单元,用于在所述肤质属性信息满足预设肤质属性条件的情况下,开启所述肤质属性信息对应的磨皮美颜功能。
- 根据权利要求6所述的装置,其中,所述目标属性信息包括肤色属性信息,所 述美颜功能开启模块包括:肤色美颜功能开启单元,用于在所述肤色属性信息满足预设肤色属性条件的情况下,开启所述肤色属性信息对应的肤色调整美颜功能。
- 根据权利要求6所述的装置,其中,所述目标属性信息包括脸型属性信息,所述美颜功能开启模块包括:脸型美颜功能开启单元,用于在所述脸型属性信息满足预设脸型属性条件的情况下,开启所述脸型属性信息对应的脸型调整美颜功能。
- 根据权利要求6所述的装置,其中,还包括:目标图像获取模块,用于在距离关闭所述美颜模式的预设时长内,在再次启动美颜模式的情况下,获取目标预览图像;用户标识获取模块,用于在确定所述目标预览图像和所述预览图像的拍摄环境参数相同的情况下,获取所述目标预览图像中的用户的用户标识;目标功能开启模块,用于在所述用户标识与所述目标用户的目标用户标识相同的情况下,开启所述目标属性信息对应的美颜功能。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的美颜功能开启方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的美颜功能开启方法的步骤。
- 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的美颜功能开启方法。
- 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至5中任一项所述的美颜功能开启方法。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的美颜功能开启方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010874120.XA CN111953905B (zh) | 2020-08-26 | 2020-08-26 | 美颜功能开启方法、装置、电子设备及可读存储介质 |
CN202010874120.X | 2020-08-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022042502A1 true WO2022042502A1 (zh) | 2022-03-03 |
Family
ID=73367457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/114148 WO2022042502A1 (zh) | 2020-08-26 | 2021-08-23 | 美颜功能开启方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111953905B (zh) |
WO (1) | WO2022042502A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111953905B (zh) * | 2020-08-26 | 2021-11-16 | 维沃移动通信有限公司 | 美颜功能开启方法、装置、电子设备及可读存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050057657A1 (en) * | 2003-09-12 | 2005-03-17 | Nintendo Co., Ltd. | Photographed image composing apparatus and a storage medium storing a photographed image composing program |
CN103605975A (zh) * | 2013-11-28 | 2014-02-26 | 小米科技有限责任公司 | 一种图像处理的方法、装置及终端设备 |
CN105069007A (zh) * | 2015-07-02 | 2015-11-18 | 广东欧珀移动通信有限公司 | 一种建立美颜数据库的方法及装置 |
CN105279487A (zh) * | 2015-10-15 | 2016-01-27 | 广东欧珀移动通信有限公司 | 美颜工具筛选方法和系统 |
CN107274354A (zh) * | 2017-05-22 | 2017-10-20 | 奇酷互联网络科技(深圳)有限公司 | 图像处理方法、装置和移动终端 |
CN107995415A (zh) * | 2017-11-09 | 2018-05-04 | 深圳市金立通信设备有限公司 | 一种图像处理方法、终端及计算机可读介质 |
CN111953905A (zh) * | 2020-08-26 | 2020-11-17 | 维沃移动通信有限公司 | 美颜功能开启方法、装置及电子设备 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5872834B2 (ja) * | 2011-10-06 | 2016-03-01 | オリンパス株式会社 | 撮像装置、撮像方法および撮像プログラム |
CN104715236A (zh) * | 2015-03-06 | 2015-06-17 | 广东欧珀移动通信有限公司 | 一种美颜拍照方法及装置 |
CN104850342A (zh) * | 2015-04-29 | 2015-08-19 | 努比亚技术有限公司 | 移动终端及其应用程序的快速启动方法和装置 |
CN106060581B (zh) * | 2016-07-05 | 2019-05-07 | 广州华多网络科技有限公司 | 一种视频实时传输数据处理方法、装置及系统 |
CN108256500A (zh) * | 2018-02-05 | 2018-07-06 | 广东欧珀移动通信有限公司 | 信息的推荐方法、装置、终端及存储介质 |
CN109831636B (zh) * | 2019-01-28 | 2021-03-16 | 努比亚技术有限公司 | 互动视频控制方法、终端及计算机可读存储介质 |
CN111047511A (zh) * | 2019-12-31 | 2020-04-21 | 维沃移动通信有限公司 | 一种图像处理方法及电子设备 |
-
2020
- 2020-08-26 CN CN202010874120.XA patent/CN111953905B/zh active Active
-
2021
- 2021-08-23 WO PCT/CN2021/114148 patent/WO2022042502A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050057657A1 (en) * | 2003-09-12 | 2005-03-17 | Nintendo Co., Ltd. | Photographed image composing apparatus and a storage medium storing a photographed image composing program |
CN103605975A (zh) * | 2013-11-28 | 2014-02-26 | 小米科技有限责任公司 | 一种图像处理的方法、装置及终端设备 |
CN105069007A (zh) * | 2015-07-02 | 2015-11-18 | 广东欧珀移动通信有限公司 | 一种建立美颜数据库的方法及装置 |
CN105279487A (zh) * | 2015-10-15 | 2016-01-27 | 广东欧珀移动通信有限公司 | 美颜工具筛选方法和系统 |
CN107274354A (zh) * | 2017-05-22 | 2017-10-20 | 奇酷互联网络科技(深圳)有限公司 | 图像处理方法、装置和移动终端 |
CN107995415A (zh) * | 2017-11-09 | 2018-05-04 | 深圳市金立通信设备有限公司 | 一种图像处理方法、终端及计算机可读介质 |
CN111953905A (zh) * | 2020-08-26 | 2020-11-17 | 维沃移动通信有限公司 | 美颜功能开启方法、装置及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN111953905B (zh) | 2021-11-16 |
CN111953905A (zh) | 2020-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11367307B2 (en) | Method for processing images and electronic device | |
US11443462B2 (en) | Method and apparatus for generating cartoon face image, and computer storage medium | |
US10438329B2 (en) | Image processing method and image processing apparatus | |
US10489635B2 (en) | Method for detecting skin region and apparatus for detecting skin region | |
CN107767333B (zh) | 美颜拍照的方法、设备及计算机可存储介质 | |
WO2016145830A1 (zh) | 图像处理方法、终端及计算机存储介质 | |
US11030733B2 (en) | Method, electronic device and storage medium for processing image | |
CN106249508B (zh) | 自动对焦方法和系统、拍摄装置 | |
WO2022068806A1 (zh) | 图像处理方法、装置及电子设备 | |
WO2022143387A1 (zh) | 显示控制方法、装置、电子设备及介质 | |
CN112333385B (zh) | 电子防抖控制方法及装置 | |
WO2022089272A1 (zh) | 图像处理方法及装置 | |
WO2023010796A1 (zh) | 图像处理方法及相关装置 | |
CN109325924A (zh) | 图像处理方法、装置、终端及存储介质 | |
CN108920368A (zh) | 数据测试的方法、装置及电子设备 | |
CN107085823B (zh) | 人脸图像处理方法及装置 | |
WO2023056950A1 (zh) | 图像处理方法和电子设备 | |
WO2022042502A1 (zh) | 美颜功能开启方法、装置及电子设备 | |
WO2022143382A1 (zh) | 图像处理方法及装置 | |
CN113255396A (zh) | 图像处理模型的训练方法及装置、图像处理方法及装置 | |
CN114501144A (zh) | 基于图像的电视控制方法、装置、设备及存储介质 | |
CN114242023A (zh) | 显示屏亮度调节方法、显示屏亮度调节装置和电子设备 | |
CN112511890A (zh) | 视频图像处理方法、装置及电子设备 | |
WO2023103813A1 (zh) | 图像处理方法、装置、设备、存储介质及程序产品 | |
CN112785490B (zh) | 图像处理方法、装置及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21860337 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21860337 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/08/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21860337 Country of ref document: EP Kind code of ref document: A1 |