WO2021185210A1 - 肤质检测方法及电子设备 - Google Patents

肤质检测方法及电子设备 Download PDF

Info

Publication number
WO2021185210A1
WO2021185210A1 PCT/CN2021/080830 CN2021080830W WO2021185210A1 WO 2021185210 A1 WO2021185210 A1 WO 2021185210A1 CN 2021080830 W CN2021080830 W CN 2021080830W WO 2021185210 A1 WO2021185210 A1 WO 2021185210A1
Authority
WO
WIPO (PCT)
Prior art keywords
skin quality
electronic device
quality detection
user
module
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.)
Ceased
Application number
PCT/CN2021/080830
Other languages
English (en)
French (fr)
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
Publication of WO2021185210A1 publication Critical patent/WO2021185210A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30088Skin; Dermal
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Definitions

  • the embodiment of the present invention relates to the field of communication technology, and in particular to a skin quality detection method and electronic equipment.
  • a user uses an application with a skin quality detection function to check the quality of his skin.
  • a skin quality detection function to check the quality of his skin.
  • the user when the electronic device performs skin quality detection, the user needs to enter the interface of the skin quality detection application program, click the control button on the application program to start the camera function of the electronic device, to collect the user's facial image, and then apply The program performs skin quality detection on the collected facial images.
  • the aforementioned skin quality detection method is not only complicated to operate, but also takes a long time and has poor human-computer interaction performance.
  • the embodiments of the present invention provide a skin quality detection method and an electronic device, so as to solve the problem of cumbersome operation and long time-consuming when the electronic device performs skin quality detection on a user.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a skin quality detection method.
  • the method includes: when the electronic device is unlocking or photographing the face, collecting the facial image of the photographed subject, and invoking the skin quality detection function; Skin quality test, get skin quality test results; display skin quality test results.
  • an embodiment of the present invention also provides an electronic device that includes a collection module, a calling module, a detection module, and a display module; wherein, the collection module is used to unlock or photograph the face of the electronic device , To collect the facial image of the photographed subject; the calling module to call the skin quality detection function; the detection module to perform skin quality detection on the facial image collected by the collection module to obtain the skin quality detection result; the display module to display the detection module The skin quality test results obtained.
  • an embodiment of the present invention provides an electronic device including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor, the following On the one hand, the steps of the skin quality detection method.
  • an embodiment of the present invention provides a readable storage medium storing a computer program on the readable storage medium, and when the computer program is executed by a processor, the steps of the skin quality detection method as described in the first aspect are implemented.
  • the electronic device when the electronic device is unlocking or photographing the face, the electronic device collects the user's facial image and invokes the skin quality detection function to perform skin quality detection on the facial image, so that the electronic device can be used in any application
  • the program calls the shooting function of the electronic device or unlocks the electronic device, it directly triggers the electronic device to use the currently collected user's facial image for skin quality detection without the user's perception. This not only simplifies the skin quality detection process, but also can Reduce the power consumption of electronic equipment.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a skin quality detection method provided by an embodiment of the present invention.
  • FIG. 3 is one of the schematic diagrams of an interface applied by a skin quality detection method provided by an embodiment of the present invention
  • FIG. 4 is a second schematic diagram of an interface applied by a skin quality detection method provided by an embodiment of the present invention.
  • FIG. 5 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 6 is the second structural diagram of an electronic device provided by an embodiment of the present invention.
  • A/B can mean A or B
  • the "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone.
  • the words “first”, “second”, etc. are used for the same or similar items with basically the same function or effect. Distinguishing, those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and execution order.
  • the first predetermined condition and the second predetermined condition are used to distinguish different predetermined conditions, rather than a specific order used to describe the predetermined conditions.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • the electronic device in the embodiment of the present invention may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA)
  • the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present invention does not specifically limit it.
  • the execution subject of the skin quality detection method provided by the embodiment of the present invention may be the above-mentioned electronic equipment (including mobile terminal equipment and non-mobile terminal equipment), or may be a functional module and/or that can implement the skin quality detection method in the electronic equipment. Or functional entities, which can be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present invention.
  • the following takes an electronic device as an example to illustrate the skin quality detection method provided by the embodiment of the present invention.
  • the electronic device in the embodiment of the present invention may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the Android operating system as an example to introduce the software environment to which the skin quality detection method provided by the embodiment of the present invention is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop a software program that implements the skin quality detection method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the skin quality detection method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the skin quality detection method provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the skin quality detection method provided by the embodiment of the present invention can be applied to a face unlocking scene or a shooting scene of an electronic device.
  • the electronic device when the electronic device is unlocking or photographing the face, the electronic device can collect the user's facial image, and then call the skin quality detection of the target application in the background.
  • the function performs skin quality detection on the facial image, and displays the skin quality detection result on the negative one-screen page of the electronic device.
  • you can directly view the skin quality test results on the negative one-screen page of the electronic device.
  • an embodiment of the present invention provides a skin quality detection method.
  • the method may include the following steps 201 to 202:
  • Step 201 When the electronic device performs face unlocking or shooting, the electronic device collects the facial image of the photographed subject, calls the skin quality detection function, performs skin quality detection on the facial image, and obtains the skin quality detection result.
  • the aforementioned skin quality detection function may be a skin quality detection function integrated with a system of an electronic device, or may be a function in a target application installed in the electronic device.
  • Step 202 The electronic device displays the aforementioned skin quality detection result.
  • the face unlocking scene of the electronic device in the embodiment of the present invention may include at least the following two scenes:
  • the electronic device can collect the user's facial image through the camera when the user uses the face unlock function to unlock the screen.
  • the electronic device turns on the face unlocking function
  • the electronic device turns on the camera to collect the user's facial image, and compares the facial features in the facial image with the facial features of the user stored in the electronic device.
  • the electronic device in the embodiment of the present invention can directly borrow the user's facial image obtained when the electronic device unlocks the screen to perform skin quality detection without opening an application or a web page.
  • the electronic device can collect the user's facial image through the camera when the user uses the face unlock function to open a certain function of a certain application program (for example, facial payment verification). Similar to the principle in scenario 1, when the electronic device obtains the user's facial image for payment verification, the electronic device can directly borrow the user's facial image obtained during payment verification without opening an application or webpage to perform skin quality. Detection.
  • the shooting scene in the embodiment of the present invention may include the following scene 3:
  • the electronic device can collect the user's facial image through the camera when the user uses the camera function of the electronic device to shoot.
  • the electronic device can store a facial image taken by the user, and use the facial image to perform skin quality detection on the user.
  • the electronic device may also automatically perform image collection on the current preview screen when it detects that a human face is included in the shooting preview screen, obtain the user's facial image, and use the facial image to perform skin quality detection.
  • the electronic device can complete the user's facial image collection without the user's perception, and perform skin quality detection on the facial image.
  • the electronic device may collect the face image of the subject when the face is unlocked, or may collect the face image of the subject after the face is successfully unlocked. Take the electronic device as an example.
  • the electronic device can collect the face image of the subject before the shooting, or after the shooting is completed, it can directly use the captured image as the user's facial image for skin quality Detection.
  • the electronic device when the electronic device executes the above step 201, it may perform skin quality detection on the facial image when a predetermined trigger condition is satisfied.
  • the foregoing predetermined triggering condition may be triggered by the unlocking function of the electronic device, for example, after the electronic device is successfully unlocked, the foregoing skin quality detection process is triggered.
  • the foregoing predetermined trigger condition may also be triggered when another application installed in the electronic device invokes the shooting function of the electronic device.
  • the above-mentioned predetermined trigger condition may also be that the electronic device monitors in real time whether there is a new image containing a person in the photo album application, and when the electronic device detects that there is a new person image in the photo album application, it triggers execution The above skin quality detection function.
  • the electronic device triggering the execution of the skin quality detection function by real-time monitoring of whether there is a new image containing a person in the photo album application.
  • the application in the electronic device calls the shooting function of the electronic device to shoot, it usually generates the captured image in the album. Therefore, the electronic device can detect whether there are new images in the album application, and when it detects that there are new images And when the image contains a person, the skin quality detection function is triggered to perform skin quality detection on the image.
  • the electronic device can call the skin quality detection function interface provided by the target application after collecting the user's facial image, and use The facial image is tested for skin quality.
  • the above-mentioned target application program may be an application program with a skin quality detection function built in the electronic device system, or may be a third-party application program installed in the electronic device.
  • the aforementioned skin quality detection function interface may also be provided by a system of an electronic device.
  • the above-mentioned target application program may be used as a background service that the electronic device runs in real time, or may be an application program that is started in the background when the electronic device calls the skin quality detection function of the target application program.
  • certain functions for example, skin quality detection function
  • the application installed in the electronic device can be opened to other applications in the form of an interface, and other applications installed in the electronic device can call the interface to implement the corresponding Function.
  • the application 1 installed in an electronic device providing a skin quality detection function interface as an example.
  • the input of the interface is the user's facial image
  • the output is the skin quality detection result generated using the facial image.
  • the electronic device can call the skin quality detection function interface of the application 1, use the acquired facial image as the input of the interface, and obtain the application 1 according to the facial image Generate skin quality test results.
  • the aforementioned skin quality detection result may include: a description of the user's skin quality and an analysis result of the user's skin quality.
  • the aforementioned skin quality description may include at least one of the following: skin quality, skin tone, number of acne, whether there are wrinkles, whether there are dark circles, blackheads, etc.
  • the above analysis results may include: reasonable improvement suggestions for the above skin quality description. For example, if the skin quality description shows that the user has dark circles under the eyes, the electronic device can conclude that the user is not sleeping enough and has the habit of staying up late. In the improvement suggestions, users can be reminded to reduce staying up late and pay attention to rest.
  • FIG. 3 it is the display interface of the skin quality detection result obtained by the electronic device after the skin quality detection on the collected facial image of the user.
  • FIG. 3 includes a skin quality test result interface 30.
  • the skin quality test result interface 30 includes an analysis report 31, a last skin quality test result query button 32, and a next skin quality test result query button 33 (if currently displayed If the skin quality test result is the most recent skin quality test result, the button 33 is in an unavailable state) and the recommended product button 34.
  • the above analysis report 31 is used to display the user's skin quality parameters (including: skin quality, skin tone, number of acne, wrinkles, dark circles, and blackheads) and the analysis results obtained according to the skin quality parameters.
  • skin quality parameters including: skin quality, skin tone, number of acne, wrinkles, dark circles, and blackheads
  • the user can read the analysis report 31 It is learned that the skin quality test results show that the user has dark circles under the eyes and the skin tone is sallow. According to the results, it can be concluded that the user may have stayed up late or lack of sleep recently, and reminds the user to ensure sleep and a reasonable diet.
  • the above button 32 is used to display the skin quality test report generated before the current skin quality test report. In this way, the user can click the button to query the skin quality test report before this skin quality test report, and understand their past skin quality .
  • the aforementioned button 33 is used to display the skin quality test report generated after the current skin quality test report. In this way, the user can switch to the next or latest skin quality test report by clicking the button.
  • the recommended product button 34 is used to display reasonable skin care products or foods recommended according to the analysis results after the user clicks, so that the user can click this button to learn about products and foods suitable for his current skin type.
  • the electronic device may also make a comparative analysis result based on the historical skin quality detection result. For example, if the user’s last skin quality test result showed dark circles, but the skin quality test result did not have dark circles under the eyes, the electronic device can conclude that the user has reduced staying up late and increased the rest time. It reminds users to maintain good living habits.
  • the accuracy of the above-mentioned skin quality detection result depends on the high-quality facial image. Therefore, in order to improve the accuracy of the electronic device on the user's skin quality detection result, the electronic device can satisfy the first requirement. 2. Under predetermined conditions, perform skin quality detection on the user's facial image.
  • the electronic device when the shooting condition of the electronic device does not satisfy any of the following conditions, the electronic device performs skin quality detection on the collected facial image of the user.
  • condition 1 the electronic device is in a dim environment, and the user's facial image collected at this time is not clear enough, and the user's skin color cannot be accurately recognized. Therefore, the user's face collected by the electronic device in a dim environment The image cannot be used as a facial image for skin quality detection.
  • condition 2 the facial image of the user collected by the electronic device is not complete.
  • the electronic device performs skin quality detection on the facial image when the facial image is not complete, which may cause deviations in the results.
  • the user has an acne on the chin due to overtime work and staying up late. Due to the incomplete facial image, the facial image of the user's chin is not collected. As a result, the system thinks that the user's skin is of good quality and cannot be drawn to the user's attention. Rest test results.
  • condition 3 when the user uses the electronic device to take a selfie, the beauty function is turned on. At this time, the user's facial image collected by the electronic device cannot truly reflect the quality of the user's skin due to the beautification. Therefore, the electronic device The user's facial image collected when the beauty function is turned on cannot be used as the facial image for skin quality detection.
  • the facial image of the user collected by the electronic device when the conditions are met can obtain accurate skin quality detection results and provide the user with correct and reasonable suggestions.
  • the electronic The device can display the generated skin quality test results in an obvious location.
  • the aforementioned step 202 may include the following step 202a:
  • Step 202a The electronic device displays the above-mentioned skin quality detection result on the negative one-screen page.
  • the above-mentioned negative one-screen page is: among the multiple desktop pages of the electronic device, it is distinguished from the page displaying the application program icon, and the page can display the information of the corresponding application in the form of a shortcut label or a card.
  • the screen page is usually the leftmost page among the multiple desktop pages of the electronic device.
  • Figure 4 it is the display content of the electronic device on the negative one screen page, where Figure 4 includes the negative one screen page 40 of the electronic device and the skin quality test result card 41 generated by the electronic device at 23:00. .
  • the electronic device collects the user's facial image, it generates the skin quality detection result at 23:00 based on the facial image, and displays it in the form of a card (41 in Figure 4) on the negative one-screen page 40 of the electronic device . Since the electronic device recognizes from the collected facial images of the user that the user currently has dark circles and has a waxy skin tone, it prompts the user to respond in the skin quality test report card 41, and reminds the user to take a break and eat more. Foods rich in vitamin C. At the same time, when the electronic device detects that the user is still using the electronic device late (for example, 23:00), it will also remind the user to go to bed early to ensure adequate sleep.
  • the electronic device may receive a card (for example, the skin quality test report card 41 in FIG. 4) displaying the skin quality test results on the negative one-screen page of the user.
  • the electronic device displays the target interface of the target application.
  • the target interface includes the user's current skin quality test results and historical skin quality test results.
  • the aforementioned historical skin quality detection result and the corresponding facial image of the user may also be saved in the form of a picture in an album of the electronic device, and the user may view it in the album.
  • the electronic device displays the skin quality detection result on the negative one-screen page of the electronic device, which can facilitate the user to directly view the skin quality detection result without opening the interface of the target application.
  • the user wants to query the historical skin quality test results, he can also click on the card to jump to the target application to query the historical skin quality test results.
  • the electronic device in order to prevent the electronic device from performing skin quality testing on users other than the user of the electronic device, causing unnecessary waste of system resources and generating excessive useless skin quality testing results, may perform skin quality detection on the acquired facial image when the first predetermined condition is satisfied.
  • step 201 may include the following step 201a:
  • Step 201a If the electronic device is successfully unlocked, the electronic device invokes the skin quality detection function.
  • the skin quality detection function is invoked.
  • the electronic device can unlock the face or capture the scene while the target application is running. , Directly call the skin quality detection function of the target application in the background.
  • the electronic device calling the skin quality detection function may include the following step 201b:
  • Step 201b During the running of the target application, if the electronic device displays the interface of the first application, after the facial image of the subject is collected, the skin quality detection function of the target application is called in the background.
  • the electronic device collects the facial image of the photographed subject, before calling the skin quality detection function of the target application in the background, the above-mentioned target application runs in the electronic device in the background.
  • the above-mentioned first application program may be a photographing application of the electronic device, or may be another application program capable of invoking the photographing function of the electronic device.
  • the electronic device triggers the above-mentioned skin quality detection process to check the acquired face of the user.
  • Image for skin quality detection when a user uses the chat application to make a video call with others or take a selfie photo and post it to Moments, the electronic device triggers the above-mentioned skin quality detection process to check the acquired face of the user.
  • the facial image since the user cannot perceive the skin quality detection process, in order to prevent the user's privacy from leaking, the facial image only includes the user's face, and does not include other parts of the user's body.
  • the electronic device starts the camera to shoot in an application other than the target application, if it detects a human face image in the current shooting preview screen, it acquires the face image of the person in the shooting preview screen. If the acquired facial image is a facial image of the user of the electronic device, skin quality detection is performed on the facial image.
  • the electronic device can perform skin quality detection on the user without the user's perception when other applications call the shooting function of the electronic device, which simplifies the skin quality detection process and saves the user's waiting time.
  • the aforementioned skin quality detection function is the skin quality detection function of the target application.
  • the user can not only query the skin quality test result of the user through the card displaying the skin quality test result on the one-screen page of the electronic device, but also query the skin quality test result in the target application.
  • the embodiment of the present invention may further include the following steps 202a1 and 202a2:
  • Step 202a The electronic device displays the interface of the target application.
  • Step 202a2 The electronic device receives the user's first input on the aforementioned interface.
  • step 202 may include the following step 202a3:
  • Step 202a3 In response to the aforementioned first input, the electronic device displays the user's skin quality detection result on the aforementioned interface.
  • the user can not only query the skin quality test result through the card on the electronic negative one-screen page, but also query the skin quality test result on the interface of the target application.
  • the skin quality detection method provided by the embodiment of the present invention collects a user's facial image when unlocking or photographing the face of the electronic device, and calls the skin quality detection function to perform skin quality detection on the facial image.
  • the application calls the photographing function of the electronic device or when the electronic device is unlocked, the user's facial image is obtained, so that the user's skin quality can be detected without the user's perception.
  • Displaying the detection result on the negative one-screen page of the electronic device can facilitate the user to query the skin quality detection result without entering the target application program interface.
  • the prompt information contained in the skin quality test result can also remind the user to take appropriate measures to improve the skin quality. Therefore, the skin quality detection method provided in the present invention in real time not only simplifies the skin quality detection process, brings a more humanized experience to the user, but also reduces the power consumption of the electronic device.
  • the skin quality detection methods shown in the figures of the above methods are all exemplified in combination with one figure in the embodiment of the present invention.
  • the skin quality detection methods shown in the drawings of the above methods can also be implemented in combination with any other drawings illustrated in the above embodiments that can be combined, and details are not described herein again.
  • Fig. 5 is a schematic diagram of a possible structure for implementing an electronic device provided by an embodiment of the present invention.
  • the electronic device 600 includes: a collection module 601, a calling module 602, a detection module 603, and a display module 604, in which:
  • the collection module 601 is configured to collect the facial image of the photographed subject when the electronic device 600 performs face unlocking or photographing.
  • the calling module 602 is used to call the skin quality detection function.
  • the detection module 603 is configured to perform skin quality detection on the facial image collected by the collection module 601 to obtain the skin quality detection result.
  • the display module 604 is used to display the skin quality detection result obtained by the detection module 603.
  • the calling module 602 is specifically configured to call the skin quality detection function if the unlocking is successful when the electronic device 600 is unlocking the face.
  • the desktop of the electronic device 600 also includes a negative one-screen page; the display module 604 is specifically configured to display the skin quality detection result on the negative one-screen page.
  • the calling module 602 is specifically configured to call the skin quality of the target application in the background if the electronic device 600 displays the interface of the first application program during the operation of the target application program, after the facial image of the subject is collected Detection function.
  • the electronic device 600 further includes: a display module 605 and a receiving module 606; wherein the above skin quality detection function is the skin quality detection function of the target application; the display module 605 is used to display the interface of the target application; the receiving module 606 is configured to receive a user's first input on the interface displayed by the display module 605; the display module 604 is specifically configured to display the skin quality detection result on the interface in response to the first input received by the receiving module 606.
  • the above skin quality detection function is the skin quality detection function of the target application
  • the display module 605 is used to display the interface of the target application
  • the receiving module 606 is configured to receive a user's first input on the interface displayed by the display module 605
  • the display module 604 is specifically configured to display the skin quality detection result on the interface in response to the first input received by the receiving module 606.
  • the modules that must be included in the electronic device 600 are indicated by solid lines, such as the calling module 602, the detection module 603, and the display module 604; the electronic device 600 may or may not include modules It is indicated by a dashed frame, such as the display module 605 and the receiving module 606.
  • the electronic device provided by the embodiment of the present invention collects a user's facial image when unlocking or photographing the face of the electronic device, and calls the skin quality detection function to perform skin quality detection on the facial image.
  • the electronic device can be used in any application When the photographing function of the electronic device is called or the electronic device is unlocked, the user's facial image is obtained, so that the skin quality of the user can be detected without the user's perception. Displaying the detection result on the negative one-screen page of the electronic device can facilitate the user to query the skin quality detection result without entering the target application program interface.
  • the prompt information contained in the skin quality test result can also remind the user to take appropriate measures to improve the skin quality. Therefore, the skin quality detection method provided in the present invention in real time not only simplifies the skin quality detection process, brings a more humanized experience to the user, but also reduces the power consumption of the electronic device.
  • the electronic device provided by the embodiment of the present invention can implement the various processes implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, a power supply 111, a camera assembly 112 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, a power supply 111, a camera assembly 112 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit
  • the aforementioned camera assembly 112 includes a camera.
  • the electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, and a pedometer.
  • the camera component 112 is used to collect the facial image of the photographed subject when the electronic device is unlocking or photographing the face; the processor 110 is used to call the skin quality detection after the camera component 112 collects the facial image of the photographed subject Function to perform skin quality detection on the aforementioned facial image to obtain the skin quality detection result.
  • the display unit 106 is configured to display the skin quality detection result obtained by the processing unit 110.
  • the electronic device provided by the embodiment of the present invention collects a user's facial image when unlocking or photographing the face of the electronic device, and calls the skin quality detection function to perform skin quality detection on the facial image.
  • the electronic device can be used in any application When the photographing function of the electronic device is called or the electronic device is unlocked, the user's facial image is obtained, so that the skin quality of the user can be detected without the user's perception. Displaying the detection result on the negative one-screen page of the electronic device can facilitate the user to query the skin quality detection result without entering the target application program interface.
  • the prompt information contained in the skin quality test result can also remind the user to take appropriate measures to improve the skin quality. Therefore, the skin quality detection method provided in the present invention in real time not only simplifies the skin quality detection process, brings a more humanized experience to the user, but also reduces the power consumption of the electronic device.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
  • the electronic device 100 provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the electronic device 100.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operate).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device 100, in some embodiments, the touch panel 1071 and the display panel 1061 can be combined.
  • the input and output functions of the electronic device 100 are realized by integration, which is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device 100, which uses various interfaces and lines to connect the various parts of the entire electronic device 100, runs or executes the software programs and/or modules stored in the memory 109, and calls the storage in the memory 109 , Execute various functions of the electronic device 100 and process data, so as to monitor the electronic device 100 as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor 110.
  • the computer program is executed by the processor, the above-mentioned skin is realized.
  • Each process of the embodiment of the quality detection method can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • the embodiment of the present invention also provides a readable storage medium, and a computer program is stored on the readable storage medium.
  • a computer program is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiment.
  • the readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.

Landscapes

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

Abstract

一种肤质检测方法及电子设备,应用于通信技术领域,应用于摄像头采集人脸图像场景。该方法包括:在电子设备进行面部解锁或拍摄的情况下,采集拍摄对象的面部图像,并调用肤质检测功能,对面部图像进行肤质检测,得到肤质检测结果(201);展示肤质检测结果(202)。

Description

肤质检测方法及电子设备
相关申请的交叉引用
本申请主张在2020年03月16日在中国提交的中国专利申请号No.202010183269.3的优先权,其全部内容通过引用包含于此。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种肤质检测方法及电子设备。
背景技术
随着电子设备技术的发展,用户使用电子设备的频率越来越高,用户在电子设备上使用各种应用程序的频率也越来越高。例如,用户使用具有肤质检测功能的应用程序检测自己的皮肤质量。对用户进行肤质检测,需要获取用户的面部图像。
在相关技术中,电子设备在进行皮肤质量检测时,需要用户进入肤质检测应用程序的界面,通过点击应用程序上的控件按钮来启动电子设备的拍照功能,来采集用户的面部图像,之后应用程序对采集到的面部图像进行肤质检测。
然而,上述肤质检测方法不仅操作繁琐,而且耗时较长,人机交互性能差。
发明内容
本发明实施例提供一种肤质检测方法及电子设备,以解决电子设备对用户进行肤质检测时操作繁琐、耗时较长的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供一种肤质检测方法,该方法包括:在电子设备进行面部解锁或拍摄的情况下,采集拍摄对象的面部图像,并调用肤质检测功能;对面部图像进行肤质检测,得到肤质检测结果;展示肤质检测结果。
第二方面,本发明实施例还提供了一种电子设备,该电子设备包括采集模块、调用模块、检测模块和展示模块;其中,采集模块,用于在电子设备进行面部解锁或拍摄的情况下,采集拍摄对象的面部图像;调用模块,用于调用肤质检测功能;检测模块,用于对采集模块采集的面部图像进行肤质检测,得到肤质检测结果;展示模块,用于展示检测模块得到的肤质检测结果。
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的肤质检测方法的步骤。
第四方面,本发明实施例提供了一种可读存储介质,该可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的肤质检测方法的步骤。
在本发明实施例中,在电子设备进行面部解锁或者拍摄时,电子设备通过采集用户的面部图像,并调用肤质检测功能对该面部图像进行肤质检测的方式,使得电子设备可以在任一应用程序调用电子设备的拍摄功能或者电子设备进行解锁时,在用户无感知的情况下,直接触发电子设备使用当前采集的用户的面部图像进行肤质检测,不仅简化了肤质检测过程,同时也能降低电子设备的功耗。
附图说明
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本发明实施例提供的一种肤质检测方法流程示意图;
图3为本发明实施例提供的一种肤质检测方法所应用的界面的示意图之一;
图4为本发明实施例提供的一种肤质检测方法所应用的界面的示意图之二;
图5为本发明实施例提供的一种电子设备的结构示意图之一;
图6为本发明实施例提供的一种电子设备的结构示意图之二。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
需要说明的是,本文中的“多个”是指两个或多于两个。
需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
需要说明的是,为了便于清楚描述本发明实施例的技术方案,在本发明实施例中,采用了“第一”、“第二”等字样对功能或作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。例如,第一预定条件和第二预定条件是用于区别不同的预定条件,而不是用于描述预定条件的特定顺序。
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
本发明实施例中的电子设备可以为移动终端设备,也可以为非移动终端设备。移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。
本发明实施例提供的肤质检测方法的执行主体可以为上述的电子设备(包括移动终端设备和非移动终端设备),也可以为该电子设备中能够实现该肤质检测方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的肤质检测方法进行示例性的说明。
本发明实施例中的电子设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的 操作系统,本发明实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本发明实施例提供的肤质检测方法所应用的软件环境。
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的肤质检测方法的软件程序,从而使得该肤质检测方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的肤质检测方法。
本发明实施例提供的肤质检测方法可以应用于电子设备进行面部解锁场景或者拍摄场景中。
示例性的,针对电子设备进行面部解锁的场景,当用户想要了解自己的皮肤质量时,在相关技术中,需要用户在电子设备上使用浏览器打开可以进行肤质检测的网页,或者打开具有肤质检测功能的应用程序,并通过点击网页或应用程序上的控件按钮,来上传或者拍摄用户的面部图像,之后,上述网页或应用程序利用用户的面部图像,对用户进行肤质检测,并生成检测结果。然而, 上述两种方式都需要用户手动参与,整体过程步骤繁琐,且耗时较长。
针对这一问题,在本发明实施例提供的技术方案中,在电子设备进行面部解锁或拍摄的情况下,电子设备可以采集到用户的面部图像,之后,在后台调用目标应用程序的肤质检测功能对该面部图像进行肤质检测,并将肤质检测结果展示在电子设备的负一屏页面中,这样,无需再打开网页或者应用程序拍摄或上传面部图像,并且当用户想要了解自己的皮肤质量时,可以直接在电子设备的负一屏页面中查看肤质检测结果。如此,不仅能实现用户面部图像采集以及肤质检测全程用户无感知,还提高了肤质检测效率,节省了用户时间,减少了电子设备进行肤质检测时的能耗。
下面结合相关附图对本发明实施例的肤质检测方法进行说明。
如图2所示,本发明实施例提供的一种肤质检测方法,该方法可以包括下述步骤201至步骤202:
步骤201、在电子设备进行面部解锁或拍摄的情况下,电子设备采集拍摄对象的面部图像,并调用肤质检测功能,对上述面部图像进行肤质检测,得到肤质检测结果。
示例性的,上述肤质检测功能可以为电子设备的系统集成的肤质检测功能,也可以为电子设备中安装的目标应用程序中的功能。
步骤202、电子设备展示上述肤质检测结果。
示例性的,本发明实施例中的电子设备进行面部解锁场景,至少可以包括以下两种场景:
场景1:
在场景1中,电子设备可以在用户使用面部解锁功能来解锁屏幕时,通过摄像头采集用户的面部图像。当电子设备开启面部解锁功能时,电子设备会开启摄像头采集用户的面部图像,并根据面部图像中的人脸特征与电子设备中存储的用户的人脸特征进行比较。如此,本发明实施例中的电子设备便可无需打开应用程序或者网页,直接借用电子设备在解锁屏幕时获取的用户的面部图像来进行肤质检测。
场景2:
在场景2中,电子设备可以在用户使用面部解锁功能来开启某一应用程序的某一功能(如,人脸支付验证)时,通过摄像头采集用户的面部图像。与场景1中的原理类似,当电子设备获取用户面部图像用于支付验证时,电子设备便可无需打开应用程序或者网页,直接借用电子设备在支付验证时获取的用户的面部图像来进行肤质检测。
示例性的,本发明实施例中的拍摄场景可以包括以下场景3:
场景3:
在场景3中,电子设备可以在用户使用电子设备的相机功能进行拍摄时,通过摄像头采集用户的面部图像。以用户使用电子设备进行自拍为例,当用户使用电子设备进行自拍时,电子设备可以将用户拍摄的面部图像存储,并利用该面部图像对用户进行肤质检测。或者,电子设备还可以在检测到拍摄预览画面中包含人脸时,自动对当前预览画面进行图像采集,获取用户的面部图像,并利用该面部图像进行肤质检测。
如此,当用户使用电子设备的拍摄功能时,电子设备可以在用户无感知的情况下完成用户的面部图像采集,并对该面部图像进行肤质检测。
示例性的,以电子设备进行面部解锁为例,在电子设备进行面部解锁时,电子设备可以在面部解锁时采集拍摄对象的面部图像,也可以在面部解锁成功后采集拍摄对象的面部图像。以电子设备进行拍摄为例,在电子设备进行人物拍摄时,电子设备可以在拍摄前采集拍摄对象的面部图像,也可以在拍摄完成后,直接使用拍摄好的图像作为用户的面部图像进行肤质检测。
示例性的,电子设备在执行上述步骤201时,可以在满足预定触发条件时对面部图像进行肤质检测。
在一种示例中,上述预定触发条件可以是电子设备的解锁功能触发执行,例如,电子设备解锁成功后,触发上述肤质检测过程。
在另一种示例中,上述预定触发条件还可以是电子设备中安装的其他应用调用电子设备的拍摄功能时触发执行。
在又一种示例中,上述预定触发条件还可以是电子设备实时监控相册应用中是否有新增的包含有人物的图像,当电子设备检测到相册应用中有新增的人 物图像时,触发执行上述肤质检测功能。
举例说明,以电子设备通过实时监控相册应用中是否有新增的包含有人物的图像来触发执行上述肤质检测功能为例。当电子设备中的应用程序调用电子设备的拍摄功能进行拍摄时,通常会在相册中生成拍摄图像,因此,电子设备可以检测相册应用中是否有新增的图像,当检测到有新增的图像,并且该图像中包含人物时,触发上述肤质检测功能,对该图像进行肤质检测。
示例性的,以上述肤质检测功能为电子设备中目标应用程序的肤质检测功能为例,电子设备在采集到用户的面部图像后,可以调用目标应用程序提供的肤质检测功能接口,利用该面部图像进行肤质检测。其中,上述目标应用程序可以为电子设备系统内置的具有肤质检测功能的应用程序,也可以为电子设备中安装的第三方应用程序。
示例性的,上述肤质检测功能接口也可以由电子设备的系统提供。
示例性的,上述目标应用程序可以作为电子设备实时运行的后台服务,也可以为在电子设备调用该目标应用程序的肤质检测功能时在后台启动的应用程序。
示例性的,电子设备中安装的应用程序提供的某些功能(例如,肤质检测功能),可以通过接口的形式开放给其他应用程序,电子设备中安装的其他应用程序可以调用该接口实现相应的功能。
例如,以电子设备中安装的应用程序1提供肤质检测功能接口为例,该接口的输入为用户的面部图像,输出为利用面部图像生成的肤质检测结果。当电子设备进行面部解锁时,获取到了用户的面部图像,电子设备可以调用应用程序1的肤质检测功能接口,将获取到的面部图像作为该接口的输入,并得到应用程序1根据该面部图像生成肤质检测结果。
示例性的,上述肤质检测结果可以包括:用户的皮肤质量描述以及对用户肤质的分析结果。其中,上述皮肤质量描述可以包括以下至少一项:肤质、肤色、痘的数量、是否有皱纹、是否有黑眼圈以及黑头等。其中,上述分析结果可以包括:针对上述的皮肤质量描述提出的合理化改善建议,例如,皮肤质量描述中显示用户有黑眼圈,那么电子设备可以据此得出用户睡眠不足、有熬夜 习惯的结论,可以在改善建议中提示用户减少熬夜,注意休息。
例如,如图3所示,为电子设备在对采集到的用户的面部图像进行肤质检测后,得到的肤质检测结果的展示界面。其中,图3中包括肤质检测结果界面30,该肤质检测结果界面30中包括分析报告31、上次肤质检测结果查询按钮32、下次肤质检测结果查询按钮33(若当前显示的肤质检测结果为最近一次的肤质检测结果,则该按钮33为不可用状态)以及推荐产品按钮34。
上述分析报告31用于显示用户的皮肤质量参数(包括:肤质、肤色、痘数量、皱纹、黑眼圈以及黑头)以及根据该皮肤质量参数得到的分析结果,如此,用户便可从分析报告31中得知,本次肤质检测结果显示用户有黑眼圈,且肤色蜡黄,根据该结果可以得出用户最近可能存在熬夜或睡眠不足的情况,并提醒用户保证睡眠以及合理饮食。
上述按钮32用于显示在当前肤质检测报告之前生成的肤质检测报告,如此,用户便可通过点击该按钮查询在此肤质检测报告之前的肤质检测报告,了解自己的过往肤质质量。
上述按钮33用于显示在当前肤质检测报告之后生成的肤质检测报告,如此,用户便可通过点击该按钮切换到下一份或最新的肤质检测报告。
推荐产品按钮34用于在用户点击后,显示根据分析结果推荐的合理的护肤产品或者食品等,如此,用户便可以点击该按钮了解适合自己当前肤质的产品和食品。
示例性的,电子设备还可以根据历史肤质检测结果,作出对比分析结果。例如,用户上次肤质检测结果中显示有黑眼圈,而本次肤质检测结果中没有黑眼圈,则电子设备据此得出用户减少了熬夜,增加了休息时间,可以在肤质检测结果中提示用户注意保持良好的生活习惯。
可选地,在本发明实施例中,上述肤质检测结果的准确性依赖于高质量的面部图像,因此,为了提高电子设备对用户的肤质检测结果的准确性,电子设备可以在满足第二预定条件时,对用户的面部图像进行肤质检测。
示例性的,当电子设备的拍摄条件不满足以下任一条件时,电子设备对采集到的用户的面部图像进行肤质检测。
条件1:
在条件1中,电子设备处于昏暗的环境中,此时采集的用户的面部图像,不够清晰,也不能够准确的识别出用户的肤色等,因此,电子设备在昏暗环境中采集的用户的面部图像,不能作为肤质检测的面部图像。
条件2:
在条件2中,电子设备采集到的用户的面部图像不够完整,此时,电子设备在面部图像不够完整的情况下对该面部图像进行肤质检测,可能会造成结果存在偏差。例如,用户由于加班熬夜,在下巴处长了一颗痘,由于面部图像的不完整,并没有采集到用户下巴处的面部图像,导致系统认为用户的皮肤质量很好,因而不能得出让用户注意休息的检测结果。
条件3:
在条件3中,用户使用电子设备进行自拍时,开启了美颜功能,此时电子设备采集的用户的面部图像,由于经过了美化,并不能真实的反应用户的皮肤质量,因此,电子设备在开启美颜功能时采集的用户的面部图像,不能做为肤质检测的面部图像。
如此,电子设备在满足条件的情况下采集的用户的面部图像,才能够得到准确的肤质检测结果,并向用户提供正确且合理的建议。
可选地,在本发明实施例中,以上述肤质检测功能为电子设备中目标应用程序的肤质检测功能为例,为了方便用户更加直观的看到电子设备生成的肤质检测结果,电子设备可以将生成的肤质检测结果显示在明显的位置。
示例性的,若上述电子设备的桌面包括负一屏页面,上述步骤202,可以包括以下步骤202a:
步骤202a、电子设备在负一屏页面上,展示上述肤质检测结果。
示例性的,上述负一屏页面为:电子设备的多个桌面页面中,区分于显示应用程序图标的页面,该页面可以以快捷标签或卡片的形式显示对应的应用程序的信息,该负一屏页面通常为位于电子设备的多个桌面页面中最左边的页面。
例如,如图4所示,为电子设备在负一屏页面的显示内容,其中,图4中包括电子设备的负一屏页面40,以及电子设备在23:00生成的肤质检测结果卡 片41。电子设备在采集到用户的面部图像后,根据该面部图像在23:00生成了肤质检测结果,并以卡片的形式(如图4中的41)展示在电子设备的负一屏页面40上。由于电子设备从采集到的用户的面部图像中识别出用户当前有黑眼圈,并且肤色蜡黄,因此,在肤质检测报告卡片41中对用户进行了响应的提示,并且提醒用户注意休息,多吃富含维C的食物。同时,电子设备在检测到用户很晚(例如,23:00)还在使用电子设备时,也会提醒用户注意早睡,以保证睡眠充足。
示例性的,当用户想要查询历史肤质检测结果时,电子设备可以接收用户在上述负一屏页面上显示有肤质检测结果的卡片(例如,图4中的皮肤质量检测报告卡片41)的手势输入,电子设备响应于该手势输入,显示目标应用程序的目标界面。该目标界面中包括用户的当前肤质检测结果,以及历史肤质检测结果。
示例性的,上述历史肤质检测结果以及对应的用户的面部图像还可以以图片的形式保存在电子设备的相册中,用户可以在相册中查看。
如此,电子设备将肤质检测结果显示在电子设备的负一屏页面上,可以方便用户在不打开目标应用程序的界面的情况下直接查看肤质检测结果。同时,当用户想要查询历史肤质检测结果时,也可以通过点击该卡片跳转到目标应用中查询历史肤质检测结果。
可选地,在本发明实施例中,为了防止电子设备对电子设备的使用者之外的其他用户进行肤质检测,造成不必要的系统资源浪费,以及产生过多的无用肤质检测结果,电子设备可以在满足第一预定条件时,对获取到的面部图像进行肤质检测。
示例性的,上述步骤201,可以包括以下步骤201a:
步骤201a、若电子设备解锁成功,则电子设备调用肤质检测功能。
在电子设备进行面部解锁的情况下,若电子设备解锁成功,则调用肤质检测功能。
如此,当电子设备解锁成功时,说明该用户为电子设备的使用者,此时对获取到的面部图像进行肤质检测才能避免对电子设备造成不必要的资源浪费, 降低电子设备的功耗。
可选地,在本发明实施例中,以上述肤质检测功能为电子设备中目标应用程序的肤质检测功能为例,在目标应用程序运行过程中,电子设备可以在面部解锁或拍摄场景中,直接后台调用目标应用程序的肤质检测功能。
示例性的,上述步骤201中,电子设备调用肤质检测功能,可以包括以下步骤201b:
步骤201b、在目标应用程序运行过程中,若电子设备显示第一应用程序的界面,则在采集到拍摄对象的面部图像之后,后台调用目标应用程序的肤质检测功能。
示例性的,电子设备在采集到拍摄对象的面部图像之后,后台调用目标应用程序的肤质检测功能之前,上述目标应用程序后台运行与电子设备中。
示例性的,上述第一应用程序可以为电子设备的拍照应用,也可以为其他能够调用电子设备拍摄功能的应用程序。
例如,以上述第一应用程序为聊天应用为例,当用户使用该聊天应用与他人进行视频通话或者拍摄自拍照片发布到朋友圈时,电子设备触发上述肤质检测流程,对获取到的用户面部图像进行肤质检测。
示例性的,由于上述肤质检测过程用户感知不到,因此,为了防止用户隐私泄露,上述面部图像只包括用户的面部,而不包括用户身体的其他部位。
示例性的,当电子设备在目标应用程序之外的其他应用中启动摄像头进行拍摄时,若检测到当前的拍摄预览画面中有人脸图像,则获取拍摄预览画面中人物的面部图像。若获取到的面部图像为电子设备的使用者的面部图像,则对该面部图像进行肤质检测。
如此,电子设备可以在其他应用程序调用电子设备的拍摄功能时,在用户无感知的情况下对用户进行肤质检测,简化了肤质检测流程,节省了用户的等待时间。
可选地,在本发明实施例中,上述肤质检测功能为目标应用程序的肤质检测功能。用户不仅可以通过电子设备负一屏页面上的显示有肤质检测结果的卡片来查询用户的肤质检测结果,也可以在目标应用程序中查询肤质检测结果。
示例性的,上述步骤202之前,本发明实施例还可以包括以下步骤202a1和步骤202a2:
步骤202a1、电子设备显示目标应用程序的界面。
步骤202a2、电子设备接收用户在上述界面上的第一输入。
示例性的,在上述步骤202可以包括以下步骤202a3:
步骤202a3、响应于上述第一输入,电子设备在上述界面上展示用户的肤质检测结果。
如此,用户可以不仅可以通过电子的负一屏页面上的卡片中查询肤质检测结果,还可以在目标应用程序的界面上查询肤质检测结果。
本发明实施例提供的肤质检测方法,通过在电子设备进行面部解锁或者拍摄时,采集用户的面部图像,并调用肤质检测功能对该面部图像进行肤质检测的方式,电子设备可以在任一应用程序调用电子设备的拍摄功能或者电子设备进行解锁时,获取到用户的面部图像,从而能够在用户无感知的情况下对用户进行肤质检测。将检测结果显示在电子设备的负一屏页面上能够方便用户在不进入目标应用程序界面的情况下查询肤质检测结果。肤质检测结果中包含的提示信息,也可以提醒用户采取合适的方法来改善肤质。因此,本发明实时里提供的肤质检测方法,不仅简化了肤质检测过程,给用户带来更加人性化的体验,同时也能降低电子设备的功耗。
需要说明的是,本发明实施例中,上述各个方法附图所示的肤质检测方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的肤质检测方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。
图5为实现本发明实施例提供的一种电子设备的可能的结构示意图,如图5所示,电子设备600包括:采集模块601、调用模块602、检测模块603和展示模块604,其中:
采集模块601,用于在电子设备600进行面部解锁或拍摄的情况下,采集拍摄对象的面部图像。
调用模块602,用于调用肤质检测功能。
检测模块603,用于对采集模块601采集的面部图像进行肤质检测,得到肤质检测结果。
展示模块604,用于展示检测模块603得到的肤质检测结果。
可选地,调用模块602,具体用于在电子设备600进行面部解锁的情况下,若解锁成功,则调用肤质检测功能。
可选地,电子设备600还的桌面包括负一屏页面;展示模块604,具体用于在负一屏页面上,展示肤质检测结果。
可选地,调用模块602,具体用于在目标应用程序运行过程中,若电子设备600显示第一应用程序的界面,则在采集到拍摄对象的面部图像之后,后台调用目标应用程序的肤质检测功能。
可选地,电子设备600还包括:显示模块605和接收模块606;其中,上述肤质检测功能为目标应用程序的肤质检测功能;显示模块605,用于显示目标应用程序的界面;接收模块606,用于接收用户在显示模块605显示的界面上的第一输入;展示模块604,具体用于响应于接收模块606接收到的第一输入,在界面上展示肤质检测结果。
需要说明的是,如图5所示,电子设备600中一定包括的模块用实线框示意,如调用模块602、检测模块603和展示模块604;电子设备600中可以包括也可以不包括的模块用虚线框示意,如显示模块605和接收模块606。
本发明实施例提供的电子设备,通过在电子设备进行面部解锁或者拍摄时,采集用户的面部图像,并调用肤质检测功能对该面部图像进行肤质检测的方式,电子设备可以在任一应用程序调用电子设备的拍摄功能或者电子设备进行解锁时,获取到用户的面部图像,从而能够在用户无感知的情况下对用户进行肤质检测。将检测结果显示在电子设备的负一屏页面上能够方便用户在不进入目标应用程序界面的情况下查询肤质检测结果。肤质检测结果中包含的提示信息,也可以提醒用户采取合适的方法来改善肤质。因此,本发明实时里提供的肤质检测方法,不仅简化了肤质检测过程,给用户带来更加人性化的体验,同时也能降低电子设备的功耗。
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的 各个过程,为避免重复,这里不再赘述。
图6为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、电源111以及摄像头组件112等部件。本领域技术人员可以理解,图6中示出的电子设备100的结构并不构成对电子设备的限定,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中,上述摄像头组件112包括摄像头。在本发明实施例中,电子设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。
其中,摄像头组件112,用于在电子设备进行面部解锁或拍摄的情况下,采集拍摄对象的面部图像;处理器110,用于在摄像头组件112采集到拍摄对象的面部图像后,调用肤质检测功能,对上述面部图像进行肤质检测,得到肤质检测结果。
显示单元106,用于展示上述处理单元110得到的肤质检测结果。
本发明实施例提供的电子设备,通过在电子设备进行面部解锁或者拍摄时,采集用户的面部图像,并调用肤质检测功能对该面部图像进行肤质检测的方式,电子设备可以在任一应用程序调用电子设备的拍摄功能或者电子设备进行解锁时,获取到用户的面部图像,从而能够在用户无感知的情况下对用户进行肤质检测。将检测结果显示在电子设备的负一屏页面上能够方便用户在不进入目标应用程序界面的情况下查询肤质检测结果。肤质检测结果中包含的提示信息,也可以提醒用户采取合适的方法来改善肤质。因此,本发明实时里提供的肤质检测方法,不仅简化了肤质检测过程,给用户带来更加人性化的体验,同时也能降低电子设备的功耗。
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外, 射频单元101还可以通过无线通信系统与网络和其他设备通信。
电子设备100通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板 1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图6中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备100的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(Input/Output,I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是电子设备100的控制中心,利用各种接口和线路连接整个电子设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备100的各种功能和处理数据,从而对电子设备100进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。
可选地,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述肤质检测方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种可读存储介质,可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述肤质检测方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的处理器为上述实施例中所述的电子设备中的处理器。所述的可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (14)

  1. 一种肤质检测方法,应用于电子设备,其中,所述方法包括:
    在所述电子设备进行面部解锁或拍摄的情况下,采集拍摄对象的面部图像,并调用肤质检测功能,对所述面部图像进行肤质检测,得到肤质检测结果;
    展示所述肤质检测结果。
  2. 根据权利要求1所述的方法,其中,在所述电子设备进行面部解锁的情况下,所述调用肤质检测功能,包括:
    若解锁成功,则调用肤质检测功能。
  3. 根据权利要求2所述的方法,其中,所述电子设备的桌面包括负一屏页面;
    所述展示所述肤质检测结果,包括:
    在所述负一屏页面上,展示所述肤质检测结果。
  4. 根据权利要求1所述的方法,其中,所述调用肤质检测功能,包括:
    在目标应用程序运行过程中,若所述电子设备显示第一应用程序的界面,则在采集到所述拍摄对象的面部图像之后,后台调用所述目标应用程序的肤质检测功能。
  5. 根据权利要求1所述的方法,其中,所述肤质检测功能为目标应用程序的肤质检测功能;所述展示所述肤质检测结果之前,所述方法还包括:
    显示所述目标应用程序的界面;
    接收用户在所述界面上的第一输入;
    所述展示所述肤质检测结果,包括:
    响应于所述第一输入,在所述界面上展示所述肤质检测结果。
  6. 一种电子设备,其中,所述电子设备包括采集模块、调用模块、检测模块和展示模块;
    所述采集模块,用于在所述电子设备进行面部解锁或拍摄的情况下,采集拍摄对象的面部图像;
    所述调用模块,用于调用肤质检测功能;
    所述检测模块,用于对所述采集模块采集的所述面部图像进行肤质检测,得到肤质检测结果;
    所述展示模块,用于展示所述检测模块得到的所述肤质检测结果。
  7. 根据权利要求6所述的电子设备,其中,
    所述调用模块,具体用于在所述电子设备进行面部解锁的情况下,若解锁成功,则调用肤质检测功能。
  8. 根据权利要求7所述的电子设备,其中,所述电子设备的桌面包括负一屏页面;
    所述展示模块,具体用于在所述负一屏页面上,展示所述肤质检测结果。
  9. 根据权利要求6所述的电子设备,其中,
    所述调用模块,具体用于在目标应用程序运行过程中,若所述电子设备显示第一应用程序的界面,则在采集到所述拍摄对象的面部图像之后,后台调用所述目标应用程序的肤质检测功能。
  10. 根据权利要求6所述的电子设备,其中,所述电子设备还包括:显示模块和接收模块;所述肤质检测功能为目标应用程序的肤质检测功能;
    所述显示模块,用于显示所述目标应用程序的界面;
    所述接收模块,用于接收用户在所述显示模块显示的所述界面上的第一输入;
    所述展示模块,具体用于响应于所述接收模块接收到的第一输入,在所述界面上展示所述肤质检测结果。
  11. 一种电子设备,其中,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的肤质检测方法的步骤。
  12. 一种计算机程序产品,其中,所述程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的方法。
  13. 一种可读存储介质,其中,所述可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的方法的步骤。
  14. 一种肤质检测装置,其中,包括所述装置被配置成用于执行如权利要求1至5中任一项所述的方法。
PCT/CN2021/080830 2020-03-16 2021-03-15 肤质检测方法及电子设备 Ceased WO2021185210A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010183269.3A CN111325746A (zh) 2020-03-16 2020-03-16 一种肤质检测方法及电子设备
CN202010183269.3 2020-03-16

Publications (1)

Publication Number Publication Date
WO2021185210A1 true WO2021185210A1 (zh) 2021-09-23

Family

ID=71167554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/080830 Ceased WO2021185210A1 (zh) 2020-03-16 2021-03-15 肤质检测方法及电子设备

Country Status (2)

Country Link
CN (1) CN111325746A (zh)
WO (1) WO2021185210A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111325746A (zh) * 2020-03-16 2020-06-23 维沃移动通信有限公司 一种肤质检测方法及电子设备
CN113749614B (zh) * 2020-06-05 2023-03-10 华为技术有限公司 皮肤检测方法和设备
CN112107296B (zh) * 2020-09-10 2023-03-14 深圳安道客网络科技有限公司 皮肤信息检测系统及检测方法
CN114066578A (zh) * 2021-11-26 2022-02-18 珠海格力电器股份有限公司 护肤产品的推荐方法、装置、存储介质及终端设备
CN115171188B (zh) * 2022-07-07 2026-04-07 拉扎斯网络科技(上海)有限公司 一种面部皮肤状态识别方法、装置、电子设备及存储设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104586364A (zh) * 2015-01-19 2015-05-06 武汉理工大学 一种肤质检测系统及方法
CN105431852A (zh) * 2014-03-14 2016-03-23 三星电子株式会社 提供健康状态信息的电子装置及其控制方法,以及计算机可读存储介质
CN106650215A (zh) * 2016-10-11 2017-05-10 武汉嫦娥医学抗衰机器人股份有限公司 一种基于云平台的肤质检测及个性化评价系统及方法
US20170270348A1 (en) * 2016-03-21 2017-09-21 Xerox Corporation Interactive display for facial skin monitoring
CN108198618A (zh) * 2018-01-02 2018-06-22 联想(北京)有限公司 一种健康分析方法和电子设备
CN111325746A (zh) * 2020-03-16 2020-06-23 维沃移动通信有限公司 一种肤质检测方法及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106264452A (zh) * 2016-07-21 2017-01-04 深圳市金立通信设备有限公司 一种皮肤检测的方法及终端
CN109381165B (zh) * 2018-09-12 2022-05-03 维沃移动通信有限公司 一种皮肤检测方法及移动终端
CN109793498B (zh) * 2018-12-26 2020-10-27 华为终端有限公司 一种皮肤检测方法及电子设备
CN110287809B (zh) * 2019-06-03 2021-08-24 Oppo广东移动通信有限公司 图像处理方法及相关产品

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105431852A (zh) * 2014-03-14 2016-03-23 三星电子株式会社 提供健康状态信息的电子装置及其控制方法,以及计算机可读存储介质
CN104586364A (zh) * 2015-01-19 2015-05-06 武汉理工大学 一种肤质检测系统及方法
US20170270348A1 (en) * 2016-03-21 2017-09-21 Xerox Corporation Interactive display for facial skin monitoring
CN106650215A (zh) * 2016-10-11 2017-05-10 武汉嫦娥医学抗衰机器人股份有限公司 一种基于云平台的肤质检测及个性化评价系统及方法
CN108198618A (zh) * 2018-01-02 2018-06-22 联想(北京)有限公司 一种健康分析方法和电子设备
CN111325746A (zh) * 2020-03-16 2020-06-23 维沃移动通信有限公司 一种肤质检测方法及电子设备

Also Published As

Publication number Publication date
CN111325746A (zh) 2020-06-23

Similar Documents

Publication Publication Date Title
CN110891144B (zh) 一种图像显示方法及电子设备
WO2021185210A1 (zh) 肤质检测方法及电子设备
WO2021104197A1 (zh) 对象跟踪方法及电子设备
JP2022534757A (ja) 撮像方法及び端末
CN108182271B (zh) 一种拍照方法、终端及计算机可读存储介质
WO2021121398A1 (zh) 一种视频录制方法及电子设备
CN107707762A (zh) 一种应用程序操作方法及移动终端
WO2021082772A1 (zh) 截屏方法及电子设备
WO2021129698A1 (zh) 拍摄方法及电子设备
WO2023222130A9 (zh) 一种显示方法和电子设备
CN108848256A (zh) 一种双屏终端的按键控制方法及双屏终端
WO2020238562A1 (zh) 显示方法及终端
CN108848309A (zh) 一种相机程序启动方法及移动终端
CN109448069B (zh) 一种模板生成方法及移动终端
CN110852217A (zh) 人脸识别的方法及电子设备
CN109753331A (zh) 一种信息预览方法及移动终端
CN111464746B (zh) 拍照方法及电子设备
CN107959755A (zh) 一种拍照方法及移动终端
CN108345657B (zh) 一种图片筛选方法及移动终端
CN108762641B (zh) 一种文本编辑方法及终端设备
CN108628534A (zh) 一种字符展示方法及移动终端
CN109922256B (zh) 拍摄方法及终端设备
WO2020168859A1 (zh) 拍照方法及终端设备
CN111696051A (zh) 人像修复方法及电子设备
CN107995413B (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: 21770830

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: 21770830

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 23.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21770830

Country of ref document: EP

Kind code of ref document: A1