WO2020073392A1 - Method, apparatus and mobile phone for evaluating skin, and computer device and storage medium - Google Patents

Method, apparatus and mobile phone for evaluating skin, and computer device and storage medium Download PDF

Info

Publication number
WO2020073392A1
WO2020073392A1 PCT/CN2018/113858 CN2018113858W WO2020073392A1 WO 2020073392 A1 WO2020073392 A1 WO 2020073392A1 CN 2018113858 W CN2018113858 W CN 2018113858W WO 2020073392 A1 WO2020073392 A1 WO 2020073392A1
Authority
WO
WIPO (PCT)
Prior art keywords
skin
image
subject
test light
condition
Prior art date
Application number
PCT/CN2018/113858
Other languages
French (fr)
Chinese (zh)
Inventor
蔡义文
李建星
胡新成
Original Assignee
蔡义文
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 蔡义文 filed Critical 蔡义文
Publication of WO2020073392A1 publication Critical patent/WO2020073392A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/44Detecting, measuring or recording for evaluating the integumentary system, e.g. skin, hair or nails
    • A61B5/441Skin evaluation, e.g. for skin disorder diagnosis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0059Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
    • A61B5/0077Devices for viewing the surface of the body, e.g. camera, magnifying lens

Definitions

  • the invention relates to the technical field of measurement and evaluation, in particular to a method, device, mobile phone, computer equipment and storage medium for skin evaluation.
  • the skin condition is mainly detected by a skin tester.
  • the skin tester is mainly used in beauty and medical treatment, including desktop, special for TV, special for computer, single function, and multi-functional comprehensive.
  • the skin tester can measure human skin condition qualitatively and quantitatively.
  • the beauty and medical industries have been actively developing related technologies to meet market demand.
  • the inventor found that there are at least the following problems in the prior art: the skin tester has a high degree of specialization, requires special personnel to operate, and the subjects need to undergo strict training in advance, and can only be obtained by interpretation by professionals The skin condition of the examinee. This leads to inconvenient skin evaluation.
  • the embodiments of the present invention provide skin evaluation methods, devices, mobile phones, computer equipment, and storage media, which can conveniently implement skin evaluation.
  • a skin evaluation method includes the following steps: sending an illumination instruction to an illumination unit; the illumination instruction is used to trigger the illumination unit to emit specific skin test light; the skin test light is used to illuminate a subject's skin; Acquire a skin image captured by the photographing device; the skin image includes an image of the skin of the subject when the skin test light is irradiated; and evaluate the skin state of the subject based on the skin image.
  • the step of evaluating the skin state of the subject based on the skin image includes: comparing the skin image with a plurality of skin reference images, and determining the skin state according to the comparison result Parameters; evaluating the skin condition of the subject based on the skin condition parameters.
  • the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the first skin image with the plurality of skin color reference images Yes; determine the skin color reference image matching the first skin image according to the comparison result, and determine the skin color corresponding to the matching skin color reference image as the skin color of the subject's skin; the first skin The image includes the skin image when the subject's skin is illuminated with white light.
  • the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: performing the second skin image with the plurality of red blood filament reference images Comparison; according to the comparison result, a red blood capillary reference image matching the second skin image is determined, and the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary of the subject's skin Value; the second skin image includes the skin image of the subject's skin when irradiated with infrared light.
  • the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: performing a third skin image with the plurality of porphyrin reference images Comparison; determining a porphyrin reference image matching the third skin image according to the comparison result, and determining the porphyrin value corresponding to the matching porphyrin reference image as the porphyrin of the subject's skin Value; the third skin image includes the skin image of the subject's skin when irradiated with ultraviolet light.
  • the method further includes: determining a candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state The database contains candidate skin state parameters and a mapping table of candidate skin state parameters and cosmetic information; the corresponding cosmetic information is determined according to the candidate skin state parameter with the highest matching degree and the mapping table, and the cosmetic information is output through an output device .
  • the step of evaluating the skin condition of the subject based on the skin image includes: determining the size and shape of the dark area in the skin image when irradiating white light; according to the size and shape Determine the skin morphology to which the dark area belongs; the skin morphology includes spots, pores, and wrinkles; and determine the skin condition of the subject according to the skin morphology of the dark area.
  • the method before the step of sending the irradiation instruction to the lighting unit, the method further includes: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame Compare; when the deviation between the calibration image and the reference frame does not meet the preset conditions, output a deviation prompt; when the deviation meets the preset conditions, send an illumination instruction to the front lighting unit; The front lighting unit is set on the phone.
  • an embodiment of the present invention provides a skin evaluation device, including: an instruction sending module, configured to send an illumination instruction to an illumination unit; the illumination instruction is used to trigger the illumination unit to emit specific skin test light; The skin test light is used to illuminate the skin of the subject; the skin image acquisition module is used to acquire the skin image captured by the photographing device; the skin image includes an image of the skin of the subject when the skin test light is irradiated; and, The skin condition evaluation module is used to evaluate the skin condition of the subject based on the skin image.
  • a skin evaluation mobile phone including: an illumination unit, a photographing device, and a processing unit; the processing unit is used to send an illumination instruction to the illumination unit; and the illumination unit is used to emit specific skin test light according to the illumination instruction
  • the skin test light is used to irradiate the skin of the subject;
  • the photographing device is used to photograph the skin image of the skin of the subject when the skin test light is irradiated, and the skin image is sent to the process Unit;
  • the processing unit is also used to evaluate the skin condition of the subject based on the skin image.
  • the skin evaluation method, device, and mobile phone described above control the lighting unit to emit specific skin test light, and can conveniently analyze the skin condition of the subject according to the skin image taken under the specific light source.
  • a computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program, the following steps are implemented: sending an irradiation instruction to an illumination unit; the irradiation The instruction is used to trigger the lighting unit to emit specific skin test light; the skin test light is used to illuminate the skin of the subject; the skin image captured by the shooting device is acquired; the skin image includes the skin of the subject. An image of skin test light irradiation; assess the skin condition of the subject based on the skin image.
  • the above computer device controls the lighting unit to emit specific skin test light, and can conveniently analyze the skin condition of the subject according to the skin image taken under the specific light source.
  • the above-mentioned computer-readable storage medium controls the lighting unit to emit specific skin test light, and can conveniently analyze the skin state of the subject according to the skin image taken under the specific light source.
  • FIG. 1 is an application environment diagram of a skin evaluation method in an embodiment
  • FIG. 2 is a schematic flowchart of a skin evaluation method in an embodiment
  • FIG. 3 is a schematic flowchart of a skin evaluation method in another embodiment
  • FIG. 4 is a schematic flowchart of a skin evaluation method in still another embodiment
  • FIG. 5 is a structural block diagram of a skin evaluation device in an embodiment
  • FIG. 6 is a structural block diagram of a skin evaluation mobile phone in an embodiment.
  • the skin evaluation method provided in this application can be applied to the computer device shown in FIG. 1.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 1.
  • the computer device includes a processor, memory, network interface, and database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the database of the computer device is used to store data such as skin images, skin reference images, and reference frames.
  • the network interface of the computer device is used to communicate with external terminals through a network connection.
  • a skin evaluation method is realized.
  • the computer device may also be a smart terminal such as a mobile phone.
  • the smart terminal emits skin test light to illuminate the skin of the subject, and then analyzes the skin state of the subject based on the skin image.
  • FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Include more or less components than shown in the figure, or combine certain components, or have a different arrangement of components.
  • Embodiments of the present invention provide a skin evaluation method, device, mobile phone, computer equipment, and storage medium. The details are described below.
  • a skin evaluation method is provided. Taking this method applied to the processor side in FIG. 1 as an example for description, it includes the following steps:
  • S201 Send an illumination instruction to the illumination unit; the illumination instruction is used to trigger the illumination unit to emit specific skin test light; and the skin test light is used to illuminate the skin of the subject.
  • the processor sends an illumination instruction to the illumination unit, and the illumination unit emits specific skin test light according to the illumination instruction to illuminate the skin of the subject.
  • the illumination unit refers to a structure that can emit light and has an illumination function, and can refer to an illumination lamp, a flashlight, and the like.
  • the lighting unit may be composed of a plurality of light bulbs, which can selectively emit skin test light (different light bulbs can emit the same or different skin test light).
  • the lighting unit can be set on a skin tester, mobile phone, etc. When it is installed on a mobile phone, the lighting unit may refer to the front lighting unit or the rear lighting unit (for example, through a flash, etc.).
  • Skin test light refers to light that can illuminate the skin of the subject to make the skin more clearly show the skin state, which can be white light, infrared light, ultraviolet light, etc.
  • the subject may refer to humans, animals, and the like.
  • the skin of the subject may refer to the skin of the face, the skin of the hand, or the skin of other parts.
  • the irradiation instruction may include the category information of the skin test light. For example, if the irradiation instruction includes information to emit white light, the lighting unit emits white light after receiving the irradiation instruction.
  • S202 Acquire a skin image captured by a photographing device; the skin image includes an image of a subject's skin when the skin test light is irradiated.
  • the photographing device photographs the skin of the subject, obtains the corresponding skin image, and sends the skin image to the processor.
  • the skin state refers to the state of the subject's skin, and the subject can objectively understand his skin condition according to the skin state.
  • the skin condition may be skin color, red blood condition, porphyrin condition, pores, stains, wrinkles, moisture content, oiliness, etc.
  • the lighting unit is controlled to emit specific skin test light, and the skin state of the subject can be conveniently analyzed according to the skin image taken under the specific light source, and the implementation process is simple.
  • the step of sending an illumination instruction to the illumination unit includes: sending an illumination instruction to the front illumination unit; the front illumination unit is provided on the mobile phone.
  • the mobile phone in this embodiment includes a front lighting unit that can emit skin test light to illuminate the skin of the subject.
  • the mobile phone may refer to a mobile phone currently in common use, and it may have a front lighting unit and a front camera. Other functions in the mobile phone, such as: surfing the Internet, making a call, connecting to WIFI, etc., can be used normally.
  • the corresponding shooting device may refer to the front camera of the mobile phone.
  • an adjustment button or touch button for adjusting the front lighting unit and the front camera can be set on the mobile phone, and the subject can adjust the shooting state during the skin evaluation according to their own conditions, such as setting the focal length and other shooting parameters when the camera scans.
  • the realization process of acquiring the skin image may be: the subject points the front of the mobile phone at his face and presses the trigger button of the front lighting unit; the front lighting unit emits a specific skin test light; the subject presses again before pressing
  • the front camera takes a picture of the face of the subject, and the face image can be used as the skin image.
  • the front lighting unit and the front camera can be triggered at the same time, that is, after the subject presses the "photograph skin” button, the front lighting unit emits skin test light to illuminate the subject's skin.
  • the front camera takes a picture of the subject's skin.
  • the process of determining the skin condition of the subject may be as shown in FIG. 3, which includes the following steps: S301. Adjust the relative distance between the subject and the mobile phone to obtain a better shooting position. S302. The skin image of the subject's face is photographed by using the front lighting unit of the mobile phone and the camera. S303. Determine the skin condition of the subject according to the skin image obtained by shooting.
  • the step of sending an irradiation instruction to the lighting unit further includes: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame Yes; when the deviation between the calibration image and the reference frame does not meet the preset conditions, a deviation prompt is output; when the deviation meets the preset conditions, an illumination instruction is sent to the front lighting unit; the front The lighting unit is set on the phone.
  • the purpose of the output deviation prompt is to prompt the subject to adjust the face position or angle to achieve a better shooting position.
  • the preferred shooting position means that the positional deviation between the calibration image and the reference frame is less than the deviation threshold.
  • the deviation threshold may be: the plane position deviation is 1 cm, and the inclination deviation is 5%. Performing shooting calibration during picture shooting can obtain a better shooting position, thereby ensuring accuracy and repeatability of the evaluation.
  • the output deviation prompt can be carried out by text, voice, picture, video.
  • the reference frame can be a frame of any selected face shape, and its role is to ensure that the picture clarity and shooting angle obtained by repeated repeated photographing are consistent, thereby ensuring the accuracy and repeatability of the evaluation, which is beneficial to the subsequent Picture analysis and data processing.
  • the positional calibration may not be performed, but the acquired skin image may be subjected to picture processing, so that the state of the compared skin image is more consistent.
  • the process of achieving a better shooting position may be: collecting a face image for calibration; comparing the collected face image for calibration with a preset reference face frame, on the mobile phone The position deviation is displayed on the screen, and then the subject adjusts the relative distance between the mobile phone and the face until the position deviation falls within the control range to achieve a better shooting position.
  • the host itself contains a grease test probe and nine skin test probe connection holes, which can be connected to up to nine The same or different skin test probes;
  • American Visia skin analyzer composed of a host computer and supporting computer, using multi-spectral photography to measure the skin surface and subcutaneous conditions, measuring the skin spots, wrinkles, texture, ultraviolet spots, pores, brown Spots, red areas, purple matter and other data.
  • the current skin tester is too specialized and requires special personnel to operate.
  • the test subject needs strict training in advance, and the data after the test needs to be interpreted by professionals to obtain the skin condition of the testee.
  • the skin test light is emitted through the front lighting unit of the mobile phone, and then the skin image of the subject is taken to determine the skin state of the subject.
  • the mobile phone is for ordinary consumers. As long as the subject has a mobile phone with a front light unit, they can easily know their skin condition, which greatly facilitates people's understanding of their skin condition.
  • the step of evaluating the skin state of the subject based on the skin image includes: comparing the skin image with a plurality of skin reference images, and determining skin state parameters according to the comparison result ; Evaluate the skin condition of the subject based on the skin condition parameters.
  • the skin reference image refers to a skin image corresponding to a certain skin state parameter (or skin state parameter range). Since the skin state may include multiple levels, the skin state parameters of these levels may correspond to different skin reference images. After acquiring the skin image, the skin image is compared with each skin reference image, and the skin state parameter corresponding to the closest skin reference image is the subject's skin state parameter.
  • the skin test light emitted by the mobile phone when acquiring the skin image and the skin reference image and the environmental conditions should be consistent to prevent environmental factors such as brightness from affecting the accuracy of the skin condition.
  • the focal length at the time of shooting can be stored in the mobile phone memory together with the skin reference image, so that it can be recalled when the skin image is acquired later.
  • the average value of the skin state parameter of each pixel in the skin image and the skin reference image can be determined separately, and the average value of the skin state parameters of the two can be compared; or a single pixel Comparison.
  • the corresponding relationship between the skin state parameter and the skin state can be determined in advance.
  • the skin state information that can be easily understood by the subject can be determined according to the corresponding relationship.
  • the skin state parameter corresponding to the acquired skin image is determined according to the skin reference image, and then the subject's skin state is evaluated according to the skin state parameter, and the subject's skin state can be accurately determined.
  • the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the first skin image with the plurality of skin color reference images; The comparison result determines a skin color reference image matching the first skin image, and determines the skin color corresponding to the matching skin color reference image as the skin color of the subject's skin; the first skin image includes The skin image of the test subject's skin when illuminated with white light.
  • the specific implementation process of determining the skin color can be:
  • the front light unit of the mobile phone emits white light to illuminate the face of the subject, and at the same time, the front camera is used to photograph the skin of the face of the subject and generate a corresponding first skin image.
  • the first skin image is stored in the memory of the mobile phone.
  • the front light unit of the mobile phone is used to emit white light to illuminate the faces of different volunteers with predetermined skin color from good to poor (the volunteers used for specific selection refer to the habits of the beauty industry), and at the same time use the front camera to take pictures of the volunteers' faces Image, and generate multiple skin color reference images (also called standard series images) with reference chroma.
  • the skin color reference image divides the skin color under the white light into multiple standard partitions, and each standard partition has a certain range of reference skin color values. It should be understood that in order to ensure the accuracy of the subsequent determination of the skin color, the shooting is the same as the shooting conditions in step S402, that is, shooting is performed under the same environmental conditions and the same focal length.
  • the determination of the skin state parameters can be distinguished according to the individual situation, when distinguishing can be divided into men and women, age (for example: under 15 years old, 15 to 25 years old, 25 to 35 years old, 35 to 45 years old, 45 to 55 years old, 55 ⁇ 65 years old, over 65 years old), etc., each gender and age can correspond to different skin color reference images. Taking a 30-year-old female as a subject for example, a skin color reference image of a 25-35 year-old female can be found as the skin color reference image of the subject, and then the skin condition parameters can be determined. Of course, the determination of the skin state parameters may not be distinguished according to individual conditions.
  • the skin morphology of the dark area in the skin of the subject can be determined: the step of evaluating the skin condition of the subject based on the skin image includes: The size and shape of the dark area in the first skin image at the time; the skin morphology to which the dark area belongs is determined according to the size and shape (S405); the skin morphology includes spots, pores and wrinkles; according to the deep The skin morphology of the colored area determines the skin condition of the subject.
  • the dark area refers to an area with a higher color value (RGB value, etc.) than the surrounding area.
  • the realization process of determining the skin morphology may be: irradiating the skin of the subject with white light to determine the average focal length when the skin color is taken as the focal length to take a skin image, determine the number of pixels contained in each dark area in the skin image, and then The number of pixels in each dark area determines the size and shape of each dark area in the skin image.
  • the dark area is a block or point distribution: the diameter greater than 0.1mm is judged to be spots, and the judgment is less than or equal to 0.1mm as pores; when the dark area is elongated, it is judged to be wrinkles. Finally, the distribution of spots, pores and wrinkles were counted.
  • the shooting conditions for determining the morphology of the skin may be the same as the shooting conditions for determining the skin color, or may be different.
  • the skin image used when determining the skin shape to which it belongs can also directly use the first skin image when determining the skin color.
  • the subject when determining the skin condition, may also irradiate other types of light than white light.
  • the embodiment of the present invention does not limit the specific light, and the spots, pores and wrinkles of the subject can be determined.
  • the mobile phone is controlled to emit white light, and the skin color of the subject is determined according to the obtained first skin image and the predetermined skin color reference image.
  • the determination process is simple; the results obtained at the same time are intuitive.
  • the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the second skin image with the plurality of red blood streak reference images Yes; according to the comparison result, a red blood capillary reference image matching the second skin image is determined, and the red blood capillary value corresponding to the matching red blood capillary reference image is determined as the red blood capillary value of the subject's skin
  • the second skin image includes the skin image of the subject's skin when irradiated with infrared light.
  • the infrared light may refer to infrared polarized light.
  • the specific implementation process of determining the skin red blood value may be:
  • the front light unit of the mobile phone emits infrared light to illuminate the face of the subject, and at the same time, the front camera is used to photograph the skin of the face of the subject and generate a corresponding second skin image.
  • the second skin image is stored in the memory of the mobile phone.
  • the front light unit of the mobile phone is used to emit infrared light to illuminate different volunteers 'faces from the best to the poor, and at the same time, the front camera is used to capture the images of the volunteers' faces to generate red blood capillaries with reference chromaticity. Reference image.
  • the red blood capillary reference image limits the chromaticity of the skin under infrared light irradiation to multiple standard divisions, and each standard division has a range of reference red capillary values. It should be understood that, in order to ensure the accuracy of the subsequent determination of the skin redness value, the shooting process is the same as the shooting conditions in the above step S406.
  • the mobile phone is controlled to emit infrared light, and the red blood capillary value of the subject's skin is determined according to the obtained second skin image and the predetermined red blood capillary reference image.
  • the determination process is simple; the results obtained at the same time are intuitive.
  • the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the third skin image with the plurality of porphyrin reference images Yes; determine the porphyrin reference image matching the third skin image according to the comparison result, and determine the porphyrin value corresponding to the matching porphyrin reference image as the porphyrin value of the subject's skin
  • the third skin image includes the skin image of the subject's skin when irradiated with ultraviolet light.
  • the specific implementation process of determining the skin porphyrin value may be:
  • the front light unit of the mobile phone emits ultraviolet light to illuminate the face of the subject, and at the same time, the front camera is used to photograph the skin of the face of the subject and generate a corresponding third skin image.
  • the third skin image is stored in the memory of the mobile phone.
  • the front-light unit of the mobile phone uses the front-light unit of the mobile phone to emit ultraviolet light to illuminate the faces of different volunteers with predetermined to poor porphyrin problems.
  • the front-facing camera is used to capture the volunteer images and generate a porphyrin reference image with chromaticity.
  • the porphyrin reference image defines the chromaticity of the skin under ultraviolet light irradiation into multiple standard divisions, and each standard division has a range of reference porphyrin values. It should be understood that, in order to ensure the accuracy when subsequently determining the skin porphyrin value, the shooting process is the same as the shooting conditions in step S409 described above.
  • step S412 of determining the skin state of the subject according to the skin state parameter is included.
  • the mobile phone is controlled to emit ultraviolet light, and the porphyrin value of the subject's skin is determined based on the obtained third skin image and the predetermined porphyrin reference image.
  • the determination process is simple; the results obtained at the same time are intuitive.
  • the method further includes: determining the candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state database It contains candidate skin state parameters and a mapping table of candidate skin state parameters and cosmetic information; the corresponding cosmetic information is determined according to the candidate skin state parameter with the highest matching degree and the mapping table, and the cosmetic information is output through an output device.
  • the output device may be a mobile phone screen, a speaker, and so on. You can output cosmetic information through text, voice, and video.
  • the cosmetics may also include skin care products.
  • the skin state database can be established as follows: (1) Find male and female volunteers of different ages and skin types; perform skin tests on the volunteers to determine the value range of the skin state parameters corresponding to healthy skin and problem skin, so as to Summarize the value table of candidate skin state parameters. (2) Collect cosmetics on the market and classify them according to efficacy to get a cosmetics catalog. (3) Determine the mapping table of the candidate skin state parameters and the cosmetics catalog according to the efficacy of the cosmetics.
  • the cosmetics suitable for the subject are determined according to the skin state of the subject, the function of reasonably recommending cosmetics according to the skin state of the user is realized, and the user experience is improved.
  • the front-illumination unit of the mobile phone emits specific skin test light to illuminate the face of the subject, and at the same time, the front-facing camera is used to capture the image of the face of the subject.
  • the processor of the mobile phone calls the skin image in the memory, and then calculates the skin condition parameters such as spots, wrinkles, skin color, pores, red blood count and porphyrin value of the subject's skin based on the analysis and calculation.
  • the processor determines the skin state of the subject based on the calculated skin state parameters.
  • the processor calls the standard skin state database in the memory, performs matching calculation with the subject's skin state parameters, and then recommends cosmetics for the subject according to the matching situation.
  • the lighting unit is controlled to emit specific skin test light, which can conveniently analyze the skin condition of the subject according to the skin image taken under the specific light source, and then recommend suitable cosmetics for the subject, which are used by ordinary consumers Very convenient.
  • the present invention also provides a skin evaluation device, which can be used to execute the skin evaluation method.
  • a skin evaluation device which can be used to execute the skin evaluation method.
  • the structural schematic diagram of the embodiment of the skin evaluation device only shows the parts related to the embodiment of the present invention.
  • the illustrated structure does not constitute a limitation to the device, and may include a comparison chart. Show more or fewer parts, or combine some parts, or arrange different parts.
  • the skin evaluation device includes an instruction sending module 501, a skin image acquisition module 502, and a skin condition evaluation module 503, which are described in detail as follows:
  • the instruction sending module 501 is used to send an irradiation instruction to the lighting unit; the irradiation instruction is used to trigger the lighting unit to emit specific skin test light; and the skin test light is used to illuminate the skin of the subject.
  • the skin image acquisition module 502 is used to acquire a skin image captured by a photographing device; the skin image includes an image of a subject's skin when the skin test light is irradiated.
  • the skin condition evaluation module 503 is used to evaluate the skin condition of the subject based on the skin image.
  • the lighting unit is controlled to emit specific skin test light, and the skin condition of the subject can be conveniently analyzed according to the skin image captured under the specific light source.
  • the skin state evaluation module 503 includes: a state parameter determination sub-module for comparing the skin image with a plurality of skin reference images, and determining a skin state parameter according to the comparison result; a skin state determination sub The module is used for evaluating the skin state of the subject according to the skin state parameter.
  • the state parameter determination sub-module is further used to compare the first skin image with multiple skin color reference images; determine the skin color reference image matching the first skin image according to the comparison result, The skin color corresponding to the matched skin color reference image is determined to be the skin color of the subject's skin; the first skin image includes the skin image of the subject's skin when irradiated with white light.
  • the state parameter determination sub-module is also used to compare the second skin image with a plurality of red blood capillary reference images; according to the comparison result, a red blood capillary reference matching the second skin image is determined Image, the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary value of the subject's skin; the second skin image includes the skin image of the subject's skin when the infrared light is irradiated.
  • the state parameter determination sub-module is also used to compare the third skin image with multiple porphyrin reference images; and determine the porphyrin reference matching the third skin image according to the comparison result Image, the porphyrin value corresponding to the matched porphyrin reference image is determined as the porphyrin value of the subject's skin; the third skin image includes the skin image of the subject's skin when irradiated with ultraviolet light.
  • the skin state evaluation module 503 further includes: a candidate parameter determination sub-module for determining the candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state database Contains candidate skin state parameters and a mapping table of candidate skin state parameters and cosmetic information; a cosmetic information determination submodule is used to determine corresponding cosmetic information according to the candidate skin state parameter with the highest matching degree and the mapping table, by The output device outputs the cosmetic information.
  • the skin state evaluation module 503 includes: a morphology determination sub-module for determining the size and shape of the dark area in the skin image when irradiating white light; a skin state determination sub-module for determining the size and The shape determines the skin morphology to which the dark area belongs; the skin morphology includes spots, pores, and wrinkles; the skin state determination submodule is used to determine the skin condition of the subject according to the skin morphology of the dark area.
  • the method further includes: a comparison module for acquiring a calibration image of the skin evaluation part of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame; a prompt module, It is used to output a deviation prompt when the deviation between the calibration image and the reference frame does not meet the preset condition; an illumination instruction sending module is used to send to the front lighting unit when the deviation meets the preset condition Irradiation instruction; the front lighting unit is set on the mobile phone.
  • a comparison module for acquiring a calibration image of the skin evaluation part of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame
  • a prompt module It is used to output a deviation prompt when the deviation between the calibration image and the reference frame does not meet the preset condition
  • an illumination instruction sending module is used to send to the front lighting unit when the deviation meets the preset condition Irradiation instruction
  • the front lighting unit is set on the mobile phone.
  • a skin evaluation mobile phone including: an illumination unit, a photographing device, and a processing unit; the processing unit is used to send an illumination instruction to the illumination unit; and the illumination unit is used according to the illumination instruction Emit specific skin test light; the skin test light is used to irradiate the skin of the subject; the photographing device is used to photograph a skin image of the skin of the subject when the skin test light is irradiated, and the skin The image is sent to the processing unit; the processing unit is also used to evaluate the skin condition of the subject based on the skin image.
  • the lighting unit in the skin evaluation mobile phone is a front lighting unit 602, and the shooting device is a front camera 603.
  • the evaluation mobile phone may further include a storage unit 604 and a display unit 605.
  • the processing unit 601 is a core component, which can compare the collected face image for calibration with a preset reference face frame, and calculate the position deviation.
  • the processing unit 601 may calculate the skin state parameter according to the skin image obtained by shooting, and determine the skin state of the subject according to the calculated skin state parameter. Specifically, the processing unit 601 compares the skin image captured by the camera with a predetermined skin reference image, acquires the chromaticity difference between the chromaticity of the skin image and the reference chromaticity of the standard image, and determines the skin color according to the chromaticity difference , Red blood count and porphyrin value.
  • the processing unit 601 can obtain the image of each dark area in the skin image and the number of pixels included according to the focal length and the skin image when photographing the skin of the subject, calculate the size and shape of each dark area in the skin image, and further Determine whether the dark areas are spots, pores or wrinkles, and finally count the distribution of spots, pores and wrinkles respectively.
  • the front lighting unit 602 includes a plurality of light bulbs that emit light of different wavelengths, and can selectively emit white light, ultraviolet light, and infrared light for illuminating the face of the subject.
  • the front camera 603 is used to photograph the skin of the subject, and the photographing process can generate a skin image. This shooting operation can be completed by using the existing camera function of the camera.
  • the storage unit 604 is used to store the skin image generated by the front camera 603 and related parameters at the time of shooting, such as focal length, ambient light, and so on. On the other hand, the storage unit 604 also stores skin state parameters, candidate skin state parameters involved in determining the skin state, skin care suggestions corresponding to different skin states, skin state parameter value tables, cosmetic catalogs, spots / wrinkles / skin tone / Calculation results of pore / red blood count value / porphyrin value, relevant skin reference images, etc.
  • the display unit 605 is a necessary component of the mobile phone. In the present invention, it is used to output the calculated skin state parameters, candidate skin state parameters, skin states determined by comparison, and skin care suggestions. Pictures and text messages.
  • the evaluation mobile phone in this embodiment controls the front lighting unit to emit specific skin test light, which can conveniently analyze the skin state of the subject according to the skin image taken under the specific light source, and it is very convenient to use.
  • the skin evaluation device of the present invention and the mobile phone correspond to the skin evaluation method of the present invention one by one, and the technical features and beneficial effects described in the above embodiments of the skin evaluation method are applicable to the skin evaluation device 1.
  • the embodiment of the mobile phone for specific content, please refer to the description in the method embodiment of the present invention.
  • each module unit
  • the logical division of each module (unit) is only an example, and in actual applications, it can be based on needs, for example, due to the configuration requirements of the corresponding hardware or the convenience of software implementation
  • the above function allocation is performed by different program modules, that is, the internal structure of the skin evaluation device and the mobile phone is divided into different program modules to complete all or part of the functions described above.
  • a computer device which includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program, the following steps are implemented: sending an illumination instruction to the lighting unit
  • the irradiation instruction is used to trigger the lighting unit to emit specific skin test light;
  • the skin test light is used to illuminate the skin of the subject;
  • the skin image captured by the photographing device is acquired;
  • the skin image includes the subject's An image of the skin when it is illuminated by the skin test light; the skin condition of the subject is evaluated based on the skin image.
  • the processor also implements the following steps when executing the computer program: comparing the skin image with a plurality of skin reference images, determining the skin state parameter according to the comparison result; evaluating the skin state parameter according to the skin state parameter Subject's skin condition.
  • the processor also implements the following steps when executing the computer program: comparing the first skin image with multiple skin color reference images; determining the skin color reference matching the first skin image according to the comparison result An image, the skin color corresponding to the matched skin color reference image is determined as the skin color of the subject's skin; the first skin image includes the skin image of the subject's skin when irradiated with white light.
  • the processor further implements the following steps when executing the computer program: comparing the second skin image with a plurality of red blood reference images; determining a red color matching the second skin image according to the comparison result A blood capillary reference image, the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary value of the subject's skin; the second skin image includes the skin of the subject's skin when irradiated with infrared light image.
  • the processor also implements the following steps when executing the computer program: comparing the third skin image with a plurality of porphyrin reference images; determining the porphyry matching the third skin image according to the comparison result A porphyrin reference image, the porphyrin value corresponding to the matched porphyrin reference image is determined as the porphyrin value of the subject's skin; the third skin image includes the skin of the subject's skin when irradiated with ultraviolet light image.
  • the processor also implements the following steps when executing the computer program: determining the candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state database contains the candidate skin state A mapping table of parameters and candidate skin state parameters and cosmetic information; determining corresponding cosmetic information according to the candidate skin state parameter with the highest matching degree and the mapping table, and outputting the cosmetic information through an output device.
  • the processor also implements the following steps when executing the computer program: determining the size and shape of the dark area in the skin image when illuminating white light; determining the skin shape to which the dark area belongs according to the size and shape;
  • the skin morphology includes spots, pores, and wrinkles; the skin condition of the subject is determined according to the skin morphology of the dark area.
  • the processor also implements the following steps when executing the computer program: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame; when When the deviation between the calibration image and the reference frame does not meet the preset conditions, a deviation prompt is output; when the deviation meets the preset conditions, an illumination instruction is sent to the front lighting unit; the front lighting unit settings On the phone.
  • a computer-readable storage medium on which a computer program is stored.
  • the following steps are implemented: sending an irradiation instruction to an illumination unit; the irradiation instruction is used to trigger the The lighting unit emits specific skin test light; the skin test light is used to illuminate the skin of the subject; the skin image captured by the shooting device is acquired; the skin image includes the skin of the subject when the skin test light is irradiated Image; assess the skin condition of the subject based on the skin image.
  • the following steps are further implemented: comparing the skin image with a plurality of skin reference images, determining the skin state parameter according to the comparison result; evaluating the skin state parameter according to the skin state parameter Describe the skin condition of the subject.
  • the following steps are further implemented: comparing the first skin image with multiple skin color reference images; determining the skin color matching the first skin image according to the comparison result
  • the reference image determines the skin color corresponding to the matching skin color reference image as the skin color of the subject's skin; the first skin image includes the skin image when the subject's skin is irradiated with white light.
  • the following steps are further implemented: comparing the second skin image with a plurality of red blood filament reference images; determining, according to the comparison result, a match with the second skin image A red blood capillary reference image, the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary value of the subject's skin; the second skin image includes when the subject's skin is illuminated with infrared light Skin image.
  • the following steps are further implemented: comparing the third skin image with a plurality of porphyrin reference images; according to the comparison result, determining a match with the third skin image A porphyrin reference image, the porphyrin value corresponding to the matched porphyrin reference image is determined to be the porphyrin value of the subject's skin; the third skin image includes when the subject's skin is irradiated with ultraviolet light Skin image.
  • the candidate skin state parameter with the highest matching degree with the skin state parameter is determined from the skin state database;
  • the skin state database contains the candidate skin A mapping table of status parameters and candidate skin status parameters and cosmetic information; determining corresponding cosmetic information according to the candidate skin status parameter with the highest matching degree and the mapping table, and outputting the cosmetic information through an output device.
  • the following steps are further implemented: determining the size and shape of the dark area in the skin image when illuminating white light; determining the skin shape to which the dark area belongs according to the size and shape
  • the skin morphology includes spots, pores, and wrinkles; the skin condition of the subject is determined according to the skin morphology of the dark area.
  • the method when the computer program is executed by the processor, the following steps are further implemented: before the step of sending the illumination instruction to the illumination unit, the method further includes: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and Comparing the calibration image with a predetermined reference frame; when the deviation between the calibration image and the reference frame does not satisfy the preset condition, a deviation prompt is output; when the deviation meets the preset condition, Send an illumination instruction to the front lighting unit; the front lighting unit is set on the mobile phone.
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other appropriate if necessary Process to obtain the program electronically and then store it in computer memory.
  • each part of the present invention may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system.
  • a logic gate circuit for implementing a logic function on a data signal
  • PGA programmable gate arrays
  • FPGA field programmable gate arrays

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Veterinary Medicine (AREA)
  • Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Dermatology (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The present invention relates to the technical field of evaluations, and provides a method, apparatus and mobile phone for evaluating skin, and a computer device and a storage medium. The method comprises: sending an irradiation instruction to an illumination unit, the irradiation instruction being used for triggering the illumination unit to emit specific skin test light, and the skin test light being used to irradiate the skin of a subject; obtaining a skin image photographed by a photographing device, the skin image comprising an image of the skin of the subject when irradiated by the skin test light; and evaluating a skin state of the subject based on the skin image. According to the technical solution, the problem that skin evaluation is not convenient enough is solved. The illumination unit is controlled to emit the specific skin test light, and the skin state of the subject can be conveniently analyzed according to the skin image photographed under the specific light source.

Description

皮肤的测评方法、装置、手机、计算机设备及存储介质Skin evaluation method, device, mobile phone, computer equipment and storage medium 技术领域Technical field
本发明涉及测评技术领域,特别是涉及皮肤的测评方法、装置、手机、计算机设备及存储介质。The invention relates to the technical field of measurement and evaluation, in particular to a method, device, mobile phone, computer equipment and storage medium for skin evaluation.
背景技术Background technique
随着人们对生活质量要求的提高,人们越来越关注皮肤的健康状况。目前皮肤状态主要通过皮肤测试仪来检测。皮肤测试仪主要应用在美容、医疗方面,有台式的,有电视专用的,也有电脑专用的,有单一功能的,也有多功能综合性的。皮肤测试仪能定性、定量地测量人体皮肤状态,美容、医疗行业已在积极开发相关技术以满足市场需求。在实现本发明过程中,发明人发现现有技术中至少存在如下问题:皮肤测试仪专业化程度高,需要专人操作,受试者需要事先经过严格培训,且需经专业人员解读才能得出受试者的皮肤状态。这就导致对皮肤的测评不够便捷。With the improvement of people's requirements for quality of life, people are paying more and more attention to the health of skin. At present, the skin condition is mainly detected by a skin tester. The skin tester is mainly used in beauty and medical treatment, including desktop, special for TV, special for computer, single function, and multi-functional comprehensive. The skin tester can measure human skin condition qualitatively and quantitatively. The beauty and medical industries have been actively developing related technologies to meet market demand. In the process of implementing the present invention, the inventor found that there are at least the following problems in the prior art: the skin tester has a high degree of specialization, requires special personnel to operate, and the subjects need to undergo strict training in advance, and can only be obtained by interpretation by professionals The skin condition of the examinee. This leads to inconvenient skin evaluation.
发明内容Summary of the invention
基于此,本发明实施例提供了皮肤的测评方法、装置、手机、计算机设备及存储介质,能方便地实现对皮肤的测评。Based on this, the embodiments of the present invention provide skin evaluation methods, devices, mobile phones, computer equipment, and storage media, which can conveniently implement skin evaluation.
本发明实施例的内容如下:The contents of the embodiments of the present invention are as follows:
一种皮肤的测评方法,包括以下步骤:向光照单元发送照射指令; 所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像;根据所述皮肤图像评估所述受试者的皮肤状态。A skin evaluation method includes the following steps: sending an illumination instruction to an illumination unit; the illumination instruction is used to trigger the illumination unit to emit specific skin test light; the skin test light is used to illuminate a subject's skin; Acquire a skin image captured by the photographing device; the skin image includes an image of the skin of the subject when the skin test light is irradiated; and evaluate the skin state of the subject based on the skin image.
在其中一个实施例中,所述根据所述皮肤图像评估所述受试者的皮肤状态的步骤,包括:将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数;根据所述皮肤状态参数评估所述受试者的皮肤状态。In one of the embodiments, the step of evaluating the skin state of the subject based on the skin image includes: comparing the skin image with a plurality of skin reference images, and determining the skin state according to the comparison result Parameters; evaluating the skin condition of the subject based on the skin condition parameters.
在其中一个实施例中,所述将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数的步骤,包括:将第一皮肤图像与多个肤色参考图像进行比对;根据比对结果确定出与所述第一皮肤图像相匹配的肤色参考图像,将所述相匹配的肤色参考图像对应的肤色确定为所述受试者皮肤的肤色;所述第一皮肤图像包括受试者的皮肤照射白光时的皮肤图像。In one of the embodiments, the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the first skin image with the plurality of skin color reference images Yes; determine the skin color reference image matching the first skin image according to the comparison result, and determine the skin color corresponding to the matching skin color reference image as the skin color of the subject's skin; the first skin The image includes the skin image when the subject's skin is illuminated with white light.
在其中一个实施例中,所述将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数的步骤,包括:将第二皮肤图像与多个红血丝参考图像进行比对;根据比对结果确定出与所述第二皮肤图像相匹配的红血丝参考图像,将所述相匹配的红血丝参考图像对应的红血丝值确定为所述受试者皮肤的红血丝值;所述第二皮肤图像包括受试者的皮肤照射红外光时的皮肤图像。In one of the embodiments, the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: performing the second skin image with the plurality of red blood filament reference images Comparison; according to the comparison result, a red blood capillary reference image matching the second skin image is determined, and the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary of the subject's skin Value; the second skin image includes the skin image of the subject's skin when irradiated with infrared light.
在其中一个实施例中,所述将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数的步骤,包括:将第三皮 肤图像与多个卟啉参考图像进行比对;根据比对结果确定出与所述第三皮肤图像相匹配的卟啉参考图像,将所述相匹配的卟啉参考图像对应的卟啉值确定为所述受试者皮肤的卟啉值;所述第三皮肤图像包括受试者的皮肤照射紫外光时的皮肤图像。In one of the embodiments, the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: performing a third skin image with the plurality of porphyrin reference images Comparison; determining a porphyrin reference image matching the third skin image according to the comparison result, and determining the porphyrin value corresponding to the matching porphyrin reference image as the porphyrin of the subject's skin Value; the third skin image includes the skin image of the subject's skin when irradiated with ultraviolet light.
在其中一个实施例中,所述根据比对结果确定皮肤状态参数的步骤之后,还包括:从皮肤状态数据库中确定出与所述皮肤状态参数匹配度最高的候选皮肤状态参数;所述皮肤状态数据库中包含有候选皮肤状态参数以及候选皮肤状态参数与化妆品信息的映射表;根据所述匹配度最高的候选皮肤状态参数和所述映射表确定对应的化妆品信息,通过输出装置输出所述化妆品信息。In one embodiment, after the step of determining the skin state parameter according to the comparison result, the method further includes: determining a candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state The database contains candidate skin state parameters and a mapping table of candidate skin state parameters and cosmetic information; the corresponding cosmetic information is determined according to the candidate skin state parameter with the highest matching degree and the mapping table, and the cosmetic information is output through an output device .
在其中一个实施例中,所述根据所述皮肤图像评估所述受试者的皮肤状态的步骤,包括:确定照射白光时的皮肤图像中深色区域的大小和形状;根据所述大小和形状确定所述深色区域所属的皮肤形态;所述皮肤形态包括斑点、毛孔和皱纹;根据所述深色区域的皮肤形态确定所述受试者的皮肤状态。In one of the embodiments, the step of evaluating the skin condition of the subject based on the skin image includes: determining the size and shape of the dark area in the skin image when irradiating white light; according to the size and shape Determine the skin morphology to which the dark area belongs; the skin morphology includes spots, pores, and wrinkles; and determine the skin condition of the subject according to the skin morphology of the dark area.
在其中一个实施例中,所述向光照单元发送照射指令的步骤之前,还包括:获取拍摄装置采集的受试者皮肤测评部位的校准图像,将所述校准用图像与预先确定的基准图框进行比对;当校准用图像与所述基准图框的偏差不满足预设的条件时,输出偏差提示;当所述偏差满足预设的条件时,向前置光照单元发送照射指令;所述前置光照单元设置在手机上。In one of the embodiments, before the step of sending the irradiation instruction to the lighting unit, the method further includes: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame Compare; when the deviation between the calibration image and the reference frame does not meet the preset conditions, output a deviation prompt; when the deviation meets the preset conditions, send an illumination instruction to the front lighting unit; The front lighting unit is set on the phone.
相应的,本发明实施例提供一种皮肤的测评装置,包括:指令发 送模块,用于向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;皮肤图像获取模块,用于获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像;以及,皮肤状态评估模块,用于根据所述皮肤图像评估所述受试者的皮肤状态。Correspondingly, an embodiment of the present invention provides a skin evaluation device, including: an instruction sending module, configured to send an illumination instruction to an illumination unit; the illumination instruction is used to trigger the illumination unit to emit specific skin test light; The skin test light is used to illuminate the skin of the subject; the skin image acquisition module is used to acquire the skin image captured by the photographing device; the skin image includes an image of the skin of the subject when the skin test light is irradiated; and, The skin condition evaluation module is used to evaluate the skin condition of the subject based on the skin image.
还提供一种皮肤的测评手机,包括:光照单元、拍摄装置以及处理单元;所述处理单元,用于向光照单元发送照射指令;所述光照单元,用于根据照射指令发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;所述拍摄装置,用于拍摄受试者的皮肤被所述皮肤测试光照射时的皮肤图像,将所述皮肤图像发送给所述处理单元;所述处理单元,还用于根据所述皮肤图像评估所述受试者的皮肤状态。A skin evaluation mobile phone is also provided, including: an illumination unit, a photographing device, and a processing unit; the processing unit is used to send an illumination instruction to the illumination unit; and the illumination unit is used to emit specific skin test light according to the illumination instruction The skin test light is used to irradiate the skin of the subject; the photographing device is used to photograph the skin image of the skin of the subject when the skin test light is irradiated, and the skin image is sent to the process Unit; the processing unit is also used to evaluate the skin condition of the subject based on the skin image.
上述皮肤的测评方法、装置及手机,控制光照单元发射特定的皮肤测试光,能根据特定光源下拍摄得到的皮肤图像方便地分析出受试者的皮肤状态。The skin evaluation method, device, and mobile phone described above control the lighting unit to emit specific skin test light, and can conveniently analyze the skin condition of the subject according to the skin image taken under the specific light source.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像;根据所述皮肤图像评估所述受试者的皮肤状态。A computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented: sending an irradiation instruction to an illumination unit; the irradiation The instruction is used to trigger the lighting unit to emit specific skin test light; the skin test light is used to illuminate the skin of the subject; the skin image captured by the shooting device is acquired; the skin image includes the skin of the subject. An image of skin test light irradiation; assess the skin condition of the subject based on the skin image.
上述计算机设备,控制光照单元发射特定的皮肤测试光,能根据特定光源下拍摄得到的皮肤图像方便地分析出受试者的皮肤状态。The above computer device controls the lighting unit to emit specific skin test light, and can conveniently analyze the skin condition of the subject according to the skin image taken under the specific light source.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像;根据所述皮肤图像评估所述受试者的皮肤状态。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: sending an irradiation instruction to a lighting unit; the irradiation instruction is used to trigger the lighting unit to emit a specific skin Test light; the skin test light is used to irradiate the skin of the subject; the skin image captured by the photographing device is acquired; the skin image includes the image of the skin of the subject when the skin test light is irradiated; according to the skin The image assesses the skin condition of the subject.
上述计算机可读存储介质,控制光照单元发射特定的皮肤测试光,能根据特定光源下拍摄得到的皮肤图像方便地分析出受试者的皮肤状态。The above-mentioned computer-readable storage medium controls the lighting unit to emit specific skin test light, and can conveniently analyze the skin state of the subject according to the skin image taken under the specific light source.
附图说明BRIEF DESCRIPTION
图1为一个实施例中皮肤的测评方法的应用环境图;FIG. 1 is an application environment diagram of a skin evaluation method in an embodiment;
图2为一个实施例中皮肤的测评方法的流程示意图;FIG. 2 is a schematic flowchart of a skin evaluation method in an embodiment;
图3为另一个实施例中皮肤的测评方法的流程示意图;FIG. 3 is a schematic flowchart of a skin evaluation method in another embodiment;
图4为再一个实施例中皮肤的测评方法的流程示意图;4 is a schematic flowchart of a skin evaluation method in still another embodiment;
图5为一个实施例中皮肤的测评装置的结构框图;FIG. 5 is a structural block diagram of a skin evaluation device in an embodiment;
图6为一个实施例中皮肤的测评手机的结构框图。FIG. 6 is a structural block diagram of a skin evaluation mobile phone in an embodiment.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合 附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not intended to limit the present invention.
本申请提供的皮肤的测评方法可以应用于如图1所示的计算机设备中。该计算机设备可以是服务器,其内部结构图可以如图1所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储皮肤图像、皮肤参考图像、基准图框等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时实现一种皮肤的测评方法。该计算机设备也可以是手机等智能终端。智能终端发射皮肤测试光来照射受试者的皮肤,进而根据皮肤图像来分析受试者的皮肤状态。The skin evaluation method provided in this application can be applied to the computer device shown in FIG. 1. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 1. The computer device includes a processor, memory, network interface, and database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store data such as skin images, skin reference images, and reference frames. The network interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, a skin evaluation method is realized. The computer device may also be a smart terminal such as a mobile phone. The smart terminal emits skin test light to illuminate the skin of the subject, and then analyzes the skin state of the subject based on the skin image.
本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Include more or less components than shown in the figure, or combine certain components, or have a different arrangement of components.
本发明实施例提供一种皮肤的测评方法、装置、手机、计算机设备和存储介质。以下分别进行详细说明。Embodiments of the present invention provide a skin evaluation method, device, mobile phone, computer equipment, and storage medium. The details are described below.
在一个实施例中,如图2所示,提供了一种皮肤的测评方法。以该方法应用于图1中的处理器端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a skin evaluation method is provided. Taking this method applied to the processor side in FIG. 1 as an example for description, it includes the following steps:
S201、向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤。S201. Send an illumination instruction to the illumination unit; the illumination instruction is used to trigger the illumination unit to emit specific skin test light; and the skin test light is used to illuminate the skin of the subject.
本步骤中,处理器向光照单元发送照射指令,光照单元根据该照射指令发射特定的皮肤测试光,以照射受试者的皮肤。In this step, the processor sends an illumination instruction to the illumination unit, and the illumination unit emits specific skin test light according to the illumination instruction to illuminate the skin of the subject.
其中,光照单元指的是能发射光、具有照射功能的结构,可以指照明灯、闪光灯等。光照单元可以由多个灯泡构成,这些灯泡可以选择性地发射皮肤测试光(不同的灯泡可以发射相同或不同的皮肤测试光)。光照单元可以设置在皮肤测试仪、手机等上。当设置在手机上时,光照单元可以指前置光照单元,也可以指后置光照单元(如通过闪光灯等实现)。Among them, the illumination unit refers to a structure that can emit light and has an illumination function, and can refer to an illumination lamp, a flashlight, and the like. The lighting unit may be composed of a plurality of light bulbs, which can selectively emit skin test light (different light bulbs can emit the same or different skin test light). The lighting unit can be set on a skin tester, mobile phone, etc. When it is installed on a mobile phone, the lighting unit may refer to the front lighting unit or the rear lighting unit (for example, through a flash, etc.).
皮肤测试光指的是照射在受试者皮肤上能使皮肤更明显地展现出皮肤状态的光,可以是白光、红外光、紫外光等。受试者可以指人、动物等。受试者的皮肤可以指脸部皮肤、手部皮肤或者其他部位的皮肤。Skin test light refers to light that can illuminate the skin of the subject to make the skin more clearly show the skin state, which can be white light, infrared light, ultraviolet light, etc. The subject may refer to humans, animals, and the like. The skin of the subject may refer to the skin of the face, the skin of the hand, or the skin of other parts.
另外,照射指令中可以包括皮肤测试光的类别信息,例如:照射指令中包含发射白光的信息,则光照单元接收到照射指令后发射出白光。In addition, the irradiation instruction may include the category information of the skin test light. For example, if the irradiation instruction includes information to emit white light, the lighting unit emits white light after receiving the irradiation instruction.
S202、获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像。S202: Acquire a skin image captured by a photographing device; the skin image includes an image of a subject's skin when the skin test light is irradiated.
本步骤中,当皮肤测试光照射受试者的皮肤时,拍摄装置拍摄受试者的皮肤,得到对应的皮肤图像,并将该皮肤图像发送给处理器。In this step, when the skin test light illuminates the skin of the subject, the photographing device photographs the skin of the subject, obtains the corresponding skin image, and sends the skin image to the processor.
S203、根据所述皮肤图像评估所述受试者的皮肤状态。S203. Assess the skin condition of the subject based on the skin image.
其中,皮肤状态指的是受试者的皮肤所处状态,受试者根据该皮肤状态能客观地了解到自己的皮肤情况。该皮肤状态可以是皮肤的肤色、红血丝情况、卟啉情况、毛孔、色斑、皱纹、水分含量、油性等状态。Among them, the skin state refers to the state of the subject's skin, and the subject can objectively understand his skin condition according to the skin state. The skin condition may be skin color, red blood condition, porphyrin condition, pores, stains, wrinkles, moisture content, oiliness, etc.
本实施例,控制光照单元发射特定的皮肤测试光,能根据特定光源下拍摄得到的皮肤图像方便地分析出受试者的皮肤状态,实现过程简单。In this embodiment, the lighting unit is controlled to emit specific skin test light, and the skin state of the subject can be conveniently analyzed according to the skin image taken under the specific light source, and the implementation process is simple.
在一个实施例中,所述向光照单元发送照射指令的步骤,包括:向前置光照单元发送照射指令;所述前置光照单元设置在手机上。In one embodiment, the step of sending an illumination instruction to the illumination unit includes: sending an illumination instruction to the front illumination unit; the front illumination unit is provided on the mobile phone.
本实施例中的手机包括前置光照单元,该前置光照单元能发射皮肤测试光以照射受试者的皮肤。该手机可以指目前常用的手机,具有前置光照单元和前置摄像头即可。手机中的其他功能例如:上网、打电话、连接WIFI等可以正常使用。通过前置光照单元照射皮肤时,对应的拍摄装置可以指手机的前置摄像头。另外,手机上可以设置调节前置光照单元和前置摄像头的调节按键或触摸键,受试者可以根据自身情况来调节皮肤测评时的拍摄状态,例如设置摄像头扫描时的焦距和其他拍摄参数。The mobile phone in this embodiment includes a front lighting unit that can emit skin test light to illuminate the skin of the subject. The mobile phone may refer to a mobile phone currently in common use, and it may have a front lighting unit and a front camera. Other functions in the mobile phone, such as: surfing the Internet, making a call, connecting to WIFI, etc., can be used normally. When the skin is illuminated by the front lighting unit, the corresponding shooting device may refer to the front camera of the mobile phone. In addition, an adjustment button or touch button for adjusting the front lighting unit and the front camera can be set on the mobile phone, and the subject can adjust the shooting state during the skin evaluation according to their own conditions, such as setting the focal length and other shooting parameters when the camera scans.
获取皮肤图像的实现过程可以为:受试者将手机正面对准自己的脸部并按下前置光照单元的触发键;前置光照单元发射特定的皮肤测试光;受试者再按下前置摄像头的调节按键时,前置摄像头拍摄受试 者的脸部图像,该脸部图像就可以作为皮肤图像。当然,前置光照单元和前置摄像头的触发可以同时进行,即受试者按下“拍摄皮肤图像”的按键后,前置光照单元发射皮肤测试光照射受试者的皮肤,一段时间后,前置摄像头拍摄受试者的皮肤图像。The realization process of acquiring the skin image may be: the subject points the front of the mobile phone at his face and presses the trigger button of the front lighting unit; the front lighting unit emits a specific skin test light; the subject presses again before pressing When the adjustment button of the camera is set, the front camera takes a picture of the face of the subject, and the face image can be used as the skin image. Of course, the front lighting unit and the front camera can be triggered at the same time, that is, after the subject presses the "photograph skin" button, the front lighting unit emits skin test light to illuminate the subject's skin. The front camera takes a picture of the subject's skin.
确定受试者的皮肤状态的过程可以如图3所示,包括以下步骤:S301、调整受试者与手机的相对距离,获得较佳的拍摄位置。S302、采用手机的前置光照单元和摄像头拍摄受试者脸部的皮肤图像。S303、根据拍摄得到的皮肤图像确定受试者的皮肤状态。The process of determining the skin condition of the subject may be as shown in FIG. 3, which includes the following steps: S301. Adjust the relative distance between the subject and the mobile phone to obtain a better shooting position. S302. The skin image of the subject's face is photographed by using the front lighting unit of the mobile phone and the camera. S303. Determine the skin condition of the subject according to the skin image obtained by shooting.
另外,如图3所示,向光照单元发送照射指令的步骤,还包括:获取拍摄装置采集的受试者皮肤测评部位的校准图像,将所述校准用图像与预先确定的基准图框进行比对;当校准用图像与所述基准图框的偏差不满足预设的条件时,输出偏差提示;当所述偏差满足预设的条件时,向前置光照单元发送照射指令;所述前置光照单元设置在手机上。In addition, as shown in FIG. 3, the step of sending an irradiation instruction to the lighting unit further includes: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame Yes; when the deviation between the calibration image and the reference frame does not meet the preset conditions, a deviation prompt is output; when the deviation meets the preset conditions, an illumination instruction is sent to the front lighting unit; the front The lighting unit is set on the phone.
输出偏差提示的目的是提示受试者调整脸部位置或角度,达到较佳的拍摄位置。较佳的拍摄位置是指校准用图像与基准图框的位置偏差小于偏差阈值。偏差阈值可以为:平面位置偏差1cm,倾斜度偏差5%。在图片拍摄时进行拍摄校准,可以获得较佳的拍摄位置,从而确保测评的准确度和可重复性。同时,输出偏差提示可以通过文字、语音、图片、视频的方式进行。The purpose of the output deviation prompt is to prompt the subject to adjust the face position or angle to achieve a better shooting position. The preferred shooting position means that the positional deviation between the calibration image and the reference frame is less than the deviation threshold. The deviation threshold may be: the plane position deviation is 1 cm, and the inclination deviation is 5%. Performing shooting calibration during picture shooting can obtain a better shooting position, thereby ensuring accuracy and repeatability of the evaluation. At the same time, the output deviation prompt can be carried out by text, voice, picture, video.
基准图框可以是任意选定的人脸形状的图框,其作用在于确保多次重复拍照所获得的图片清晰度和拍摄角度一致,从而确保测评的准 确度和可重复性,有利于后续的图片分析和数据处理。另一方面,拍摄皮肤图像时也可以不进行位置校准,而是将所获取的皮肤图像进行图片处理,使得相比较的皮肤图像的状态更保持一致。The reference frame can be a frame of any selected face shape, and its role is to ensure that the picture clarity and shooting angle obtained by repeated repeated photographing are consistent, thereby ensuring the accuracy and repeatability of the evaluation, which is beneficial to the subsequent Picture analysis and data processing. On the other hand, when the skin image is taken, the positional calibration may not be performed, but the acquired skin image may be subjected to picture processing, so that the state of the compared skin image is more consistent.
以皮肤测评部位为脸部为例,达到较佳的拍摄位置的实现过程可以为:采集校准用人脸图像;将所采集的校准用人脸图像和预置的基准人脸图框比对,在手机屏幕上显示位置偏差,然后受试者通过调整手机与人脸的相对距离直至位置偏差落入控制范围内,达到较佳的拍摄位置。Taking the skin evaluation part as a face as an example, the process of achieving a better shooting position may be: collecting a face image for calibration; comparing the collected face image for calibration with a preset reference face frame, on the mobile phone The position deviation is displayed on the screen, and then the subject adjusts the relative distance between the mobile phone and the face until the position deviation falls within the control range to achieve a better shooting position.
传统的皮肤测评主要通过皮肤测试仪来实现,如以下皮肤测试仪:德国CK公司的MPA10多功能皮肤测试仪,主机自身含一个油脂测试探头和九个皮肤测试探头的连接孔,可连接最多九个相同或不同的皮肤测试探头;美国Visia皮肤分析仪,由主机和配套电脑组成,应用多光谱照相测量皮肤表面和皮下情况,测出表皮的斑点、皱纹、纹理、紫外线色斑、毛孔、棕色斑、红色区、紫质等数据。但是目前的皮肤测试仪专业化程度过高,需要专人操作,被测试的受试者事先需要严格培训,且测试后的数据需经专业人员解读才能得出被测试者的皮肤状态。还有,现有技术提供的皮肤测试仪虽然在产品小型化、便携性做出了研究和尝试,但是仍存在性能差、功能单一、携带不够方便的问题。因此,现有技术提供的皮肤测试仪难以普及到普通消费者中。另一方面,手机已成为全球使用最广泛的一种随身携带的具备通讯、支付、照相、数字和图形处理等功能的综合平台。智能手机是一种开放性的载体,将人们工作、生活相关的各种工具集成到手机上是 潮流趋势。Traditional skin evaluation is mainly achieved through skin testers, such as the following skin testers: MPA10 multi-function skin tester from CK company in Germany. The host itself contains a grease test probe and nine skin test probe connection holes, which can be connected to up to nine The same or different skin test probes; American Visia skin analyzer, composed of a host computer and supporting computer, using multi-spectral photography to measure the skin surface and subcutaneous conditions, measuring the skin spots, wrinkles, texture, ultraviolet spots, pores, brown Spots, red areas, purple matter and other data. However, the current skin tester is too specialized and requires special personnel to operate. The test subject needs strict training in advance, and the data after the test needs to be interpreted by professionals to obtain the skin condition of the testee. In addition, although the skin tester provided by the prior art has been researched and tried in product miniaturization and portability, it still has the problems of poor performance, single function, and inconvenient carrying. Therefore, the skin tester provided by the prior art is difficult to popularize to ordinary consumers. On the other hand, mobile phones have become the world's most widely used integrated platform with functions such as communication, payment, photography, digital and graphic processing. Smart phones are an open carrier, and it is a trend to integrate various tools related to people's work and life into mobile phones.
本实施例,通过手机的前置光照单元发射皮肤测试光,进而拍摄受试者的皮肤图像,确定受试者的皮肤状态。手机是面向普通消费者的,受试者只要拥有具有前置光照单元的手机就能方便地获知自己的皮肤状态,极大地方便了人们对自己皮肤状况的了解。In this embodiment, the skin test light is emitted through the front lighting unit of the mobile phone, and then the skin image of the subject is taken to determine the skin state of the subject. The mobile phone is for ordinary consumers. As long as the subject has a mobile phone with a front light unit, they can easily know their skin condition, which greatly facilitates people's understanding of their skin condition.
在一个实施例中,所述根据所述皮肤图像评估所述受试者的皮肤状态的步骤,包括:将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数;根据所述皮肤状态参数评估所述受试者的皮肤状态。In one embodiment, the step of evaluating the skin state of the subject based on the skin image includes: comparing the skin image with a plurality of skin reference images, and determining skin state parameters according to the comparison result ; Evaluate the skin condition of the subject based on the skin condition parameters.
其中,皮肤参考图像指的是某一皮肤状态参数(或皮肤状态参数范围)对应的皮肤图像。由于皮肤状态可能包括多个等级,因此这些等级的皮肤状态参数可以对应有不同的皮肤参考图像。获取皮肤图像以后,将皮肤图像与各个皮肤参考图像进行比对,最相近的皮肤参考图像对应的皮肤状态参数即为该受试者的皮肤状态参数。The skin reference image refers to a skin image corresponding to a certain skin state parameter (or skin state parameter range). Since the skin state may include multiple levels, the skin state parameters of these levels may correspond to different skin reference images. After acquiring the skin image, the skin image is compared with each skin reference image, and the skin state parameter corresponding to the closest skin reference image is the subject's skin state parameter.
另外,获取皮肤图像和皮肤参考图像时手机所发射的皮肤测试光以及所处的环境条件(外界光照、焦距等)应该一致,以防止亮度等环境因素影响皮肤状态的结果准确性。拍摄皮肤参考图像以后,可以将拍摄时的焦距连同皮肤参考图像一起存储到手机存储器中,以便后续获取皮肤图像时进行调用。In addition, the skin test light emitted by the mobile phone when acquiring the skin image and the skin reference image and the environmental conditions (external light, focal length, etc.) should be consistent to prevent environmental factors such as brightness from affecting the accuracy of the skin condition. After the skin reference image is taken, the focal length at the time of shooting can be stored in the mobile phone memory together with the skin reference image, so that it can be recalled when the skin image is acquired later.
皮肤图像与皮肤参考图像进行比对时,可以分别确定皮肤图像与皮肤参考图像中各个像素的皮肤状态参数的平均值,将两者的皮肤状 态参数平均值进行比对;也可以是进行单个像素的比对。When comparing the skin image with the skin reference image, the average value of the skin state parameter of each pixel in the skin image and the skin reference image can be determined separately, and the average value of the skin state parameters of the two can be compared; or a single pixel Comparison.
可以预先确定皮肤状态参数与皮肤状态的对应关系,当确定某一受试者的皮肤状态参数时,根据该对应关系就能确定出能被受试者轻易理解的皮肤状态信息。The corresponding relationship between the skin state parameter and the skin state can be determined in advance. When the skin state parameter of a certain subject is determined, the skin state information that can be easily understood by the subject can be determined according to the corresponding relationship.
本实施例,根据皮肤参考图像来确定所获取的皮肤图像对应的皮肤状态参数,进而根据皮肤状态参数评估受试者的皮肤状态,能准确地确定出受试者的皮肤状态。In this embodiment, the skin state parameter corresponding to the acquired skin image is determined according to the skin reference image, and then the subject's skin state is evaluated according to the skin state parameter, and the subject's skin state can be accurately determined.
如图4所示,调整受试者与手机的相对位置获得较佳的拍摄位置(S401)后,还包括根据皮肤图像确定皮肤状态参数的过程,确定皮肤状态参数的过程可以通过以下三个实施例实现:As shown in FIG. 4, after adjusting the relative position of the subject and the mobile phone to obtain a better shooting position (S401), the process of determining the skin state parameters based on the skin image is also included. Example implementation:
在一个实施例中,将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数的步骤,包括:将第一皮肤图像与多个肤色参考图像进行比对;根据比对结果确定出与所述第一皮肤图像相匹配的肤色参考图像,将所述相匹配的肤色参考图像对应的肤色确定为所述受试者皮肤的肤色;所述第一皮肤图像包括受试者的皮肤照射白光时的皮肤图像。In one embodiment, the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the first skin image with the plurality of skin color reference images; The comparison result determines a skin color reference image matching the first skin image, and determines the skin color corresponding to the matching skin color reference image as the skin color of the subject's skin; the first skin image includes The skin image of the test subject's skin when illuminated with white light.
如图4所示,确定皮肤肤色的具体实现过程可以为:As shown in FIG. 4, the specific implementation process of determining the skin color can be:
S402、采用手机的前置光照单元发射白光照射受试者脸部,同时用前置摄像头拍摄受试者的脸部皮肤并生成相应的第一皮肤图像。将第一皮肤图像存储于手机的存储器中。S402. The front light unit of the mobile phone emits white light to illuminate the face of the subject, and at the same time, the front camera is used to photograph the skin of the face of the subject and generate a corresponding first skin image. The first skin image is stored in the memory of the mobile phone.
S403、采用手机的前置光照单元发射白光照射预定的肤色由好到 差的不同志愿者(具体使用的志愿者参考美容行业的习惯选定)脸部,同时用前置摄像头拍摄志愿者脸部图像,并生成具有参考色度的多个肤色参考图像(也可以称为标准系列图像)。该肤色参考图像将白光照射下的皮肤颜色限定分为多个标准分区,每个标准分区具有一定范围的参考肤色值。应该理解的是,为确保后续确定皮肤颜色时的精确性,该拍摄与步骤S402中的拍摄条件相同,也即在同样的环境条件、相同的焦距下进行拍摄。S403. The front light unit of the mobile phone is used to emit white light to illuminate the faces of different volunteers with predetermined skin color from good to poor (the volunteers used for specific selection refer to the habits of the beauty industry), and at the same time use the front camera to take pictures of the volunteers' faces Image, and generate multiple skin color reference images (also called standard series images) with reference chroma. The skin color reference image divides the skin color under the white light into multiple standard partitions, and each standard partition has a certain range of reference skin color values. It should be understood that in order to ensure the accuracy of the subsequent determination of the skin color, the shooting is the same as the shooting conditions in step S402, that is, shooting is performed under the same environmental conditions and the same focal length.
S404、将第一皮肤图像和得到的多个肤色参考图像进行比对匹配,比对过程中确定第一皮肤图像与哪一标准分区的肤色参考图像最为接近,也即确定与标准系列图像的色度差值最小的肤色参考图像,对应的最接近的标准分区代表即为皮肤的颜色,即肤色。S404. Compare and match the first skin image with the obtained multiple skin color reference images. During the comparison process, determine which standard partition skin color reference image the first skin image is closest to, that is, determine the color of the standard series of images The skin color reference image with the smallest degree difference value, and the corresponding nearest standard partition represents the skin color, that is, skin color.
另外,皮肤状态参数的确定可以根据个体情况进行区分,进行区分时可以分男女、年龄(例如:15岁以下、15~25岁、25~35岁、35~45岁、45~55岁、55~65岁、65岁以上)等,各个性别、年龄可以对应不同的肤色参考图像。以30岁的女性为受试者为例,可以找出25~35岁女性的肤色参考图像作为该受试者的肤色参考图像,进而确定其皮肤状态参数。当然,皮肤状态参数的确定也可以不根据个体情况区分。In addition, the determination of the skin state parameters can be distinguished according to the individual situation, when distinguishing can be divided into men and women, age (for example: under 15 years old, 15 to 25 years old, 25 to 35 years old, 35 to 45 years old, 45 to 55 years old, 55 ~ 65 years old, over 65 years old), etc., each gender and age can correspond to different skin color reference images. Taking a 30-year-old female as a subject for example, a skin color reference image of a 25-35 year-old female can be found as the skin color reference image of the subject, and then the skin condition parameters can be determined. Of course, the determination of the skin state parameters may not be distinguished according to individual conditions.
进一步地,受试者皮肤照射白光时,可以确定受试者皮肤中深色区域的皮肤形态:所述根据所述皮肤图像评估所述受试者的皮肤状态的步骤,包括:确定皮肤照射白光时的第一皮肤图像中深色区域的大小和形状;根据所述大小和形状确定所述深色区域所属的皮肤形态(S405);所述皮肤形态包括斑点、毛孔和皱纹;根据所述深色区域 的皮肤形态确定所述受试者的皮肤状态。Further, when the skin of the subject is irradiated with white light, the skin morphology of the dark area in the skin of the subject can be determined: the step of evaluating the skin condition of the subject based on the skin image includes: The size and shape of the dark area in the first skin image at the time; the skin morphology to which the dark area belongs is determined according to the size and shape (S405); the skin morphology includes spots, pores and wrinkles; according to the deep The skin morphology of the colored area determines the skin condition of the subject.
其中,深色区域指的是颜色值比周围区域的颜色值(RGB值等)更高的区域。The dark area refers to an area with a higher color value (RGB value, etc.) than the surrounding area.
确定皮肤形态的实现过程可以为:通过白光照射受试者的皮肤,以确定肤色时的焦距平均值为焦距拍摄皮肤图像,确定该皮肤图像中每个深色区域包含的像素数量,随后根据每个深色区域包含的像素数量确定皮肤图像中每个深色区域的大小和形状。当深色区域为块状或点状分布时:直径大于0.1mm的判断为斑点,小于或等于0.1mm的判断为毛孔;当深色区域为长条状分布时,判断为皱纹。最后分别统计出斑点、毛孔和皱纹的分布数量。当然,也可以结合图像中的其他信息来确定深色区域所属的皮肤形态,例如,对皮肤图像进行频率分析,将其中频率高且为长条状分布的区域确定为皱纹。The realization process of determining the skin morphology may be: irradiating the skin of the subject with white light to determine the average focal length when the skin color is taken as the focal length to take a skin image, determine the number of pixels contained in each dark area in the skin image, and then The number of pixels in each dark area determines the size and shape of each dark area in the skin image. When the dark area is a block or point distribution: the diameter greater than 0.1mm is judged to be spots, and the judgment is less than or equal to 0.1mm as pores; when the dark area is elongated, it is judged to be wrinkles. Finally, the distribution of spots, pores and wrinkles were counted. Of course, you can also combine other information in the image to determine the skin shape to which the dark area belongs. For example, perform a frequency analysis on the skin image, and determine the area where the frequency is high and the distribution is elongated as wrinkles.
确定所属皮肤形态的拍摄条件可以和确定肤色时的拍摄条件一致,也可以不一致。另外,确定所属皮肤形态时使用的皮肤图像也可以直接使用确定肤色时的第一皮肤图像。The shooting conditions for determining the morphology of the skin may be the same as the shooting conditions for determining the skin color, or may be different. In addition, the skin image used when determining the skin shape to which it belongs can also directly use the first skin image when determining the skin color.
此外,确定皮肤状态时,受试者也可以照射白光之外的其他种类的光。本发明实施例对具体的光不做限制,能确定出受试者的斑点、毛孔和皱纹等即可。In addition, when determining the skin condition, the subject may also irradiate other types of light than white light. The embodiment of the present invention does not limit the specific light, and the spots, pores and wrinkles of the subject can be determined.
本实施例,控制手机发射白光,并根据所得到的第一皮肤图像以及预先确定的肤色参考图像确定受试者的肤色。确定过程简便;同时得到的结果直观。In this embodiment, the mobile phone is controlled to emit white light, and the skin color of the subject is determined according to the obtained first skin image and the predetermined skin color reference image. The determination process is simple; the results obtained at the same time are intuitive.
在一个实施例中,所述将所述皮肤图像与多个皮肤参考图像进行 比对,根据比对结果确定皮肤状态参数的步骤,包括:将第二皮肤图像与多个红血丝参考图像进行比对;根据比对结果确定出与所述第二皮肤图像相匹配的红血丝参考图像,将所述相匹配的红血丝参考图像对应的红血丝值确定为所述受试者皮肤的红血丝值;所述第二皮肤图像包括受试者的皮肤照射红外光时的皮肤图像。In one embodiment, the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the second skin image with the plurality of red blood streak reference images Yes; according to the comparison result, a red blood capillary reference image matching the second skin image is determined, and the red blood capillary value corresponding to the matching red blood capillary reference image is determined as the red blood capillary value of the subject's skin The second skin image includes the skin image of the subject's skin when irradiated with infrared light.
该红外光可以指红外偏振光。The infrared light may refer to infrared polarized light.
如图4所示,确定皮肤红血丝值的具体实现过程可以为:As shown in FIG. 4, the specific implementation process of determining the skin red blood value may be:
S406、采用手机的前置光照单元发射红外光照射受试者脸部,同时用前置摄像头拍摄受试者的脸部皮肤并生成相应的第二皮肤图像。将第二皮肤图像存储于手机的存储器中。S406. The front light unit of the mobile phone emits infrared light to illuminate the face of the subject, and at the same time, the front camera is used to photograph the skin of the face of the subject and generate a corresponding second skin image. The second skin image is stored in the memory of the mobile phone.
S407、采用手机的前置光照单元发射红外光照射预定的皮肤红血丝问题由好到差的不同志愿者脸部,同时用前置摄像头拍摄志愿者脸部图像,生成具有参考色度的红血丝参考图像。红血丝参考图像将皮肤在红外光照射下的色度限定为多个标准分区,每个标准分区具有一定范围的参考红血丝值。应该理解的是,为确保后续确定皮肤红血丝值时的精确性,该拍摄过程与上述步骤S406中的拍摄条件相同。S407. The front light unit of the mobile phone is used to emit infrared light to illuminate different volunteers 'faces from the best to the poor, and at the same time, the front camera is used to capture the images of the volunteers' faces to generate red blood capillaries with reference chromaticity. Reference image. The red blood capillary reference image limits the chromaticity of the skin under infrared light irradiation to multiple standard divisions, and each standard division has a range of reference red capillary values. It should be understood that, in order to ensure the accuracy of the subsequent determination of the skin redness value, the shooting process is the same as the shooting conditions in the above step S406.
S408、将第二皮肤图像和红血丝参考图像进行比对匹配,比对过程中确定第二皮肤图像与哪一标准分区的红血丝参考图像最为接近,则最接近的标准分区代表的红血丝值即为受试者皮肤的红血丝值。S408. Match and match the second skin image and the red blood reference image. During the comparison, determine which standard partition of the red blood reference image is closest to the second skin image, and the closest standard partition represents the red blood value It is the red blood value of the subject's skin.
本实施例,控制手机发射红外光,并根据所得到的第二皮肤图像以及预先确定的红血丝参考图像确定受试者皮肤的红血丝值。确定过程简便;同时得到的结果直观。In this embodiment, the mobile phone is controlled to emit infrared light, and the red blood capillary value of the subject's skin is determined according to the obtained second skin image and the predetermined red blood capillary reference image. The determination process is simple; the results obtained at the same time are intuitive.
在一个实施例中,所述将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数的步骤,包括:将第三皮肤图像与多个卟啉参考图像进行比对;根据比对结果确定出与所述第三皮肤图像相匹配的卟啉参考图像,将所述相匹配的卟啉参考图像对应的卟啉值确定为所述受试者皮肤的卟啉值;所述第三皮肤图像包括受试者的皮肤照射紫外光时的皮肤图像。In one embodiment, the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes: comparing the third skin image with the plurality of porphyrin reference images Yes; determine the porphyrin reference image matching the third skin image according to the comparison result, and determine the porphyrin value corresponding to the matching porphyrin reference image as the porphyrin value of the subject's skin The third skin image includes the skin image of the subject's skin when irradiated with ultraviolet light.
如图4所示,确定皮肤卟啉值的具体实现过程可以为:As shown in FIG. 4, the specific implementation process of determining the skin porphyrin value may be:
S409、采用手机的前置光照单元发射紫外光照射受试者脸部,同时用前置摄像头拍摄受试者的脸部皮肤并生成相应的第三皮肤图像。将第三皮肤图像存储于手机的存储器中。S409. The front light unit of the mobile phone emits ultraviolet light to illuminate the face of the subject, and at the same time, the front camera is used to photograph the skin of the face of the subject and generate a corresponding third skin image. The third skin image is stored in the memory of the mobile phone.
S410、采用手机的前置光照单元发射紫外光照射预定的皮肤卟啉问题由好到差的不同志愿者脸部,同时用前置摄像头拍摄志愿者图像,并生成具有色度的卟啉参考图像。卟啉参考图像将皮肤紫外光照射下的色度限定为多个标准分区,每个标准分区具有一定范围的参考卟啉值。应该理解的是,为确保后续确定皮肤卟啉值时的精确性,该拍摄过程与上述步骤S409中的拍摄条件相同。S410. Using the front-light unit of the mobile phone to emit ultraviolet light to illuminate the faces of different volunteers with predetermined to poor porphyrin problems. At the same time, the front-facing camera is used to capture the volunteer images and generate a porphyrin reference image with chromaticity. . The porphyrin reference image defines the chromaticity of the skin under ultraviolet light irradiation into multiple standard divisions, and each standard division has a range of reference porphyrin values. It should be understood that, in order to ensure the accuracy when subsequently determining the skin porphyrin value, the shooting process is the same as the shooting conditions in step S409 described above.
S411、将第三皮肤图像和卟啉参考图像进行比对匹配,比对过程中确定第三皮肤图像与哪一标准分区的卟啉参考图像最为接近,则最接近的标准分区代表的卟啉值即为受试者皮肤的卟啉值。S411. Compare and match the third skin image with the porphyrin reference image. During the comparison, determine which standard partition of the porphyrin reference image the third skin image is closest to, and the closest standard partition represents the porphyrin value. This is the porphyrin value of the subject's skin.
之后还包括根据皮肤状态参数确定受试者的皮肤状态的步骤S412。Then, step S412 of determining the skin state of the subject according to the skin state parameter is included.
本实施例,控制手机发射紫外光,并根据所得到的第三皮肤图像 以及预先确定的卟啉参考图像确定受试者皮肤的卟啉值。确定过程简便;同时得到的结果直观。In this embodiment, the mobile phone is controlled to emit ultraviolet light, and the porphyrin value of the subject's skin is determined based on the obtained third skin image and the predetermined porphyrin reference image. The determination process is simple; the results obtained at the same time are intuitive.
在一个实施例中,所述根据比对结果确定皮肤状态参数的步骤之后,还包括:从皮肤状态数据库中确定出与所述皮肤状态参数匹配度最高的候选皮肤状态参数;所述皮肤状态数据库中包含有候选皮肤状态参数以及候选皮肤状态参数与化妆品信息的映射表;根据所述匹配度最高的候选皮肤状态参数和所述映射表确定对应的化妆品信息,通过输出装置输出所述化妆品信息。In one embodiment, after the step of determining the skin state parameter according to the comparison result, the method further includes: determining the candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state database It contains candidate skin state parameters and a mapping table of candidate skin state parameters and cosmetic information; the corresponding cosmetic information is determined according to the candidate skin state parameter with the highest matching degree and the mapping table, and the cosmetic information is output through an output device.
其中,输出装置可以为手机屏幕、音箱等。可以通过文字、语音、视频的方式输出化妆品信息。Among them, the output device may be a mobile phone screen, a speaker, and so on. You can output cosmetic information through text, voice, and video.
另外,该化妆品也可以包括护肤品等。In addition, the cosmetics may also include skin care products.
皮肤状态数据库可以按如下方法建立:(1)寻找不同年龄和皮肤类型的男女志愿者;对志愿者进行皮肤测试,分别确定健康肤质、问题肌肤所对应的皮肤状态参数的取值区间,从而汇总出候选皮肤状态参数的取值表。(2)搜集市面上的化妆品,按功效分类,得出化妆品目录。(3)根据化妆品的功效确定候选皮肤状态参数与化妆品目录的映射表。The skin state database can be established as follows: (1) Find male and female volunteers of different ages and skin types; perform skin tests on the volunteers to determine the value range of the skin state parameters corresponding to healthy skin and problem skin, so as to Summarize the value table of candidate skin state parameters. (2) Collect cosmetics on the market and classify them according to efficacy to get a cosmetics catalog. (3) Determine the mapping table of the candidate skin state parameters and the cosmetics catalog according to the efficacy of the cosmetics.
另外,若未找到相匹配的候选皮肤状态参数,也可以向受试者推荐通用型的化妆品。In addition, if no matching candidate skin condition parameters are found, general-purpose cosmetics can also be recommended to the subject.
本实施例根据受试者的皮肤状态确定适合受试者的化妆品,实现了根据用户皮肤状态合理推荐化妆品的功能,提升了用户体验度。In this embodiment, the cosmetics suitable for the subject are determined according to the skin state of the subject, the function of reasonably recommending cosmetics according to the skin state of the user is realized, and the user experience is improved.
为了更好地理解上述方法,以下详细阐述一个本发明皮肤的测评方法的应用实例。In order to better understand the above method, an application example of the skin evaluation method of the present invention is elaborated below.
1、采用手机的前置摄像头拍摄受试者脸部,采集校准用人脸图像;然后将所采集的校准用人脸图像和预先设定的基准图框比对,在屏幕上显示两者的位置偏差。受试者调整手机与人脸的相对距离或角度直至位置偏差落入可控范围内,以获得较佳的拍摄位置。1. Use the front camera of the mobile phone to capture the face of the subject and collect the face image for calibration; then compare the collected face image for calibration with the preset reference frame to display the positional deviation of the two on the screen . The subject adjusted the relative distance or angle between the mobile phone and the face until the position deviation fell within the controllable range to obtain a better shooting position.
2、采用手机的前置光照单元发射特定的皮肤测试光照射受试者脸部,同时用前置摄像头拍摄受试者的脸部皮肤图像。2. The front-illumination unit of the mobile phone emits specific skin test light to illuminate the face of the subject, and at the same time, the front-facing camera is used to capture the image of the face of the subject.
3、手机的处理器调用存储器内的皮肤图像,然后基于分析计算得出受试者皮肤的斑点、皱纹、肤色、毛孔、红血丝值、卟啉值等皮肤状态参数。3. The processor of the mobile phone calls the skin image in the memory, and then calculates the skin condition parameters such as spots, wrinkles, skin color, pores, red blood count and porphyrin value of the subject's skin based on the analysis and calculation.
4、处理器根据计算出来的皮肤状态参数确定受试者的皮肤状态。4. The processor determines the skin state of the subject based on the calculated skin state parameters.
5、处理器调用存储器内的标准皮肤状态数据库,与受试者的皮肤状态参数进行匹配性计算,然后根据匹配情况为受试者推荐化妆品。5. The processor calls the standard skin state database in the memory, performs matching calculation with the subject's skin state parameters, and then recommends cosmetics for the subject according to the matching situation.
本实施例,控制光照单元发射特定的皮肤测试光,能根据特定光源下拍摄得到的皮肤图像方便地分析出受试者的皮肤状态,进而为受试者推荐合适的化妆品,普通消费者使用起来非常方便。In this embodiment, the lighting unit is controlled to emit specific skin test light, which can conveniently analyze the skin condition of the subject according to the skin image taken under the specific light source, and then recommend suitable cosmetics for the subject, which are used by ordinary consumers Very convenient.
需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采 用其它顺序或者同时进行。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the sequence of actions described because According to the invention, certain steps may be performed in other orders or simultaneously.
基于与上述实施例中的皮肤的测评方法相同的思想,本发明还提供皮肤的测评装置,该装置可用于执行上述皮肤的测评方法。为了便于说明,皮肤的测评装置实施例的结构示意图中,仅仅示出了与本发明实施例相关的部分,本领域技术人员可以理解,图示结构并不构成对装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Based on the same idea as the skin evaluation method in the above embodiment, the present invention also provides a skin evaluation device, which can be used to execute the skin evaluation method. For ease of explanation, the structural schematic diagram of the embodiment of the skin evaluation device only shows the parts related to the embodiment of the present invention. Those skilled in the art can understand that the illustrated structure does not constitute a limitation to the device, and may include a comparison chart. Show more or fewer parts, or combine some parts, or arrange different parts.
如图5所述,皮肤的测评装置包括指令发送模块501、皮肤图像获取模块502和皮肤状态评估模块503,详细说明如下:As shown in FIG. 5, the skin evaluation device includes an instruction sending module 501, a skin image acquisition module 502, and a skin condition evaluation module 503, which are described in detail as follows:
指令发送模块501,用于向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤。The instruction sending module 501 is used to send an irradiation instruction to the lighting unit; the irradiation instruction is used to trigger the lighting unit to emit specific skin test light; and the skin test light is used to illuminate the skin of the subject.
皮肤图像获取模块502,用于获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像。The skin image acquisition module 502 is used to acquire a skin image captured by a photographing device; the skin image includes an image of a subject's skin when the skin test light is irradiated.
以及,皮肤状态评估模块503,用于根据所述皮肤图像评估所述受试者的皮肤状态。And, the skin condition evaluation module 503 is used to evaluate the skin condition of the subject based on the skin image.
本实施例,控制光照单元发射特定的皮肤测试光,能根据特定光源下拍摄得到的皮肤图像方便地分析出受试者的皮肤状态。In this embodiment, the lighting unit is controlled to emit specific skin test light, and the skin condition of the subject can be conveniently analyzed according to the skin image captured under the specific light source.
在一个实施例中,皮肤状态评估模块503,包括:状态参数确定子模块,用于将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数;皮肤状态确定子模块,用于根据所述皮肤 状态参数评估所述受试者的皮肤状态。In one embodiment, the skin state evaluation module 503 includes: a state parameter determination sub-module for comparing the skin image with a plurality of skin reference images, and determining a skin state parameter according to the comparison result; a skin state determination sub The module is used for evaluating the skin state of the subject according to the skin state parameter.
在一个实施例中,状态参数确定子模块,还用于将第一皮肤图像与多个肤色参考图像进行比对;根据比对结果确定出与所述第一皮肤图像相匹配的肤色参考图像,将所述相匹配的肤色参考图像对应的肤色确定为所述受试者皮肤的肤色;所述第一皮肤图像包括受试者的皮肤照射白光时的皮肤图像。In one embodiment, the state parameter determination sub-module is further used to compare the first skin image with multiple skin color reference images; determine the skin color reference image matching the first skin image according to the comparison result, The skin color corresponding to the matched skin color reference image is determined to be the skin color of the subject's skin; the first skin image includes the skin image of the subject's skin when irradiated with white light.
在一个实施例中,状态参数确定子模块,还用于将第二皮肤图像与多个红血丝参考图像进行比对;根据比对结果确定出与所述第二皮肤图像相匹配的红血丝参考图像,将所述相匹配的红血丝参考图像对应的红血丝值确定为所述受试者皮肤的红血丝值;所述第二皮肤图像包括受试者的皮肤照射红外光时的皮肤图像。In one embodiment, the state parameter determination sub-module is also used to compare the second skin image with a plurality of red blood capillary reference images; according to the comparison result, a red blood capillary reference matching the second skin image is determined Image, the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary value of the subject's skin; the second skin image includes the skin image of the subject's skin when the infrared light is irradiated.
在一个实施例中,状态参数确定子模块,还用于将第三皮肤图像与多个卟啉参考图像进行比对;根据比对结果确定出与所述第三皮肤图像相匹配的卟啉参考图像,将所述相匹配的卟啉参考图像对应的卟啉值确定为所述受试者皮肤的卟啉值;所述第三皮肤图像包括受试者的皮肤照射紫外光时的皮肤图像。In one embodiment, the state parameter determination sub-module is also used to compare the third skin image with multiple porphyrin reference images; and determine the porphyrin reference matching the third skin image according to the comparison result Image, the porphyrin value corresponding to the matched porphyrin reference image is determined as the porphyrin value of the subject's skin; the third skin image includes the skin image of the subject's skin when irradiated with ultraviolet light.
在一个实施例中,皮肤状态评估模块503,还包括:候选参数确定子模块,用于从皮肤状态数据库中确定出与所述皮肤状态参数匹配度最高的候选皮肤状态参数;所述皮肤状态数据库中包含有候选皮肤状态参数以及候选皮肤状态参数与化妆品信息的映射表;化妆品信息确定子模块,用于根据所述匹配度最高的候选皮肤状态参数和所述映射表确定对应的化妆品信息,通过输出装置输出所述化妆品信息。In one embodiment, the skin state evaluation module 503 further includes: a candidate parameter determination sub-module for determining the candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state database Contains candidate skin state parameters and a mapping table of candidate skin state parameters and cosmetic information; a cosmetic information determination submodule is used to determine corresponding cosmetic information according to the candidate skin state parameter with the highest matching degree and the mapping table, by The output device outputs the cosmetic information.
在一个实施例中,皮肤状态评估模块503,包括:形态确定子模块,用于确定照射白光时的皮肤图像中深色区域的大小和形状;皮肤状态确定子模块,用于根据所述大小和形状确定所述深色区域所属的皮肤形态;所述皮肤形态包括斑点、毛孔和皱纹;皮肤状态确定子模块,用于根据所述深色区域的皮肤形态确定所述受试者的皮肤状态。In one embodiment, the skin state evaluation module 503 includes: a morphology determination sub-module for determining the size and shape of the dark area in the skin image when irradiating white light; a skin state determination sub-module for determining the size and The shape determines the skin morphology to which the dark area belongs; the skin morphology includes spots, pores, and wrinkles; the skin state determination submodule is used to determine the skin condition of the subject according to the skin morphology of the dark area.
在一个实施例中,还包括:比对模块,用于获取拍摄装置采集的受试者皮肤测评部位的校准图像,将所述校准用图像与预先确定的基准图框进行比对;提示模块,用于当校准用图像与所述基准图框的偏差不满足预设的条件时,输出偏差提示;照射指令发送模块,用于当所述偏差满足预设的条件时,向前置光照单元发送照射指令;所述前置光照单元设置在手机上。In one embodiment, the method further includes: a comparison module for acquiring a calibration image of the skin evaluation part of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame; a prompt module, It is used to output a deviation prompt when the deviation between the calibration image and the reference frame does not meet the preset condition; an illumination instruction sending module is used to send to the front lighting unit when the deviation meets the preset condition Irradiation instruction; the front lighting unit is set on the mobile phone.
在一个实施例中,还提供一种皮肤的测评手机,包括:光照单元、拍摄装置以及处理单元;所述处理单元,用于向光照单元发送照射指令;所述光照单元,用于根据照射指令发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;所述拍摄装置,用于拍摄受试者的皮肤被所述皮肤测试光照射时的皮肤图像,将所述皮肤图像发送给所述处理单元;所述处理单元,还用于根据所述皮肤图像评估所述受试者的皮肤状态。In one embodiment, a skin evaluation mobile phone is also provided, including: an illumination unit, a photographing device, and a processing unit; the processing unit is used to send an illumination instruction to the illumination unit; and the illumination unit is used according to the illumination instruction Emit specific skin test light; the skin test light is used to irradiate the skin of the subject; the photographing device is used to photograph a skin image of the skin of the subject when the skin test light is irradiated, and the skin The image is sent to the processing unit; the processing unit is also used to evaluate the skin condition of the subject based on the skin image.
如图6所示,该皮肤的测评手机中的光照单元为前置光照单元602,拍摄装置为前置摄像头603,另外该测评手机还可以包括存储单元604和显示单元605。As shown in FIG. 6, the lighting unit in the skin evaluation mobile phone is a front lighting unit 602, and the shooting device is a front camera 603. In addition, the evaluation mobile phone may further include a storage unit 604 and a display unit 605.
处理单元601是的核心组件,可将所采集的校准用人脸图像和预置的基准人脸图框进行比对,并计算位置偏差。处理单元601可根据拍摄得到的皮肤图像计算皮肤的状态参数,并根据计算出来的皮肤状态参数确定受试者的皮肤状态。具体地,处理单元601将摄像头拍摄的皮肤图像和预定的皮肤参考图像进行比对,获取皮肤图像的色度与标准图像的参考色度的色度差值,并根据色度差值确定皮肤肤色、红血丝值和卟啉值。处理单元601可根据拍摄受试者皮肤时的焦距和皮肤图像,获取皮肤图像中每个深色区域的图像及所包含的像素数量,计算皮肤图像中每个深色区域的大小和形状,进而确定深色区域是斑点、毛孔还是皱纹,最后分别统计出斑点、毛孔和皱纹的分布数量。The processing unit 601 is a core component, which can compare the collected face image for calibration with a preset reference face frame, and calculate the position deviation. The processing unit 601 may calculate the skin state parameter according to the skin image obtained by shooting, and determine the skin state of the subject according to the calculated skin state parameter. Specifically, the processing unit 601 compares the skin image captured by the camera with a predetermined skin reference image, acquires the chromaticity difference between the chromaticity of the skin image and the reference chromaticity of the standard image, and determines the skin color according to the chromaticity difference , Red blood count and porphyrin value. The processing unit 601 can obtain the image of each dark area in the skin image and the number of pixels included according to the focal length and the skin image when photographing the skin of the subject, calculate the size and shape of each dark area in the skin image, and further Determine whether the dark areas are spots, pores or wrinkles, and finally count the distribution of spots, pores and wrinkles respectively.
前置光照单元602包括发射不同波长的光的多个灯泡,可选择性的发射白光、紫外光、红外光,用于照射受试者脸部。The front lighting unit 602 includes a plurality of light bulbs that emit light of different wavelengths, and can selectively emit white light, ultraviolet light, and infrared light for illuminating the face of the subject.
前置摄像头603用于拍摄受试者的皮肤,该拍摄过程可生成皮肤图像。采用摄像头现有的摄像功能可完成该拍摄操作。The front camera 603 is used to photograph the skin of the subject, and the photographing process can generate a skin image. This shooting operation can be completed by using the existing camera function of the camera.
存储单元604用于存储前置摄像头603产生的皮肤图像以及拍摄时的相关参数,例如焦距、外界环境光线等等。另一方面,存储单元604也存储皮肤状态参数、确定皮肤状态所涉及的候选皮肤状态参数、与不同皮肤状态对应的皮肤护理建议、皮肤状态参数取值表、化妆品目录、斑点/皱纹/肤色/毛孔/红血丝值/卟啉值的计算结果、相关的皮肤参考图像等。The storage unit 604 is used to store the skin image generated by the front camera 603 and related parameters at the time of shooting, such as focal length, ambient light, and so on. On the other hand, the storage unit 604 also stores skin state parameters, candidate skin state parameters involved in determining the skin state, skin care suggestions corresponding to different skin states, skin state parameter value tables, cosmetic catalogs, spots / wrinkles / skin tone / Calculation results of pore / red blood count value / porphyrin value, relevant skin reference images, etc.
显示单元605是手机的必需组件,在本发明中其用于输出计算 得到的皮肤状态参数、候选皮肤状态参数、比对确定的皮肤状态以及皮肤护理建议,用户通过显示单元605获取皮肤状态的相关图片和文字信息。The display unit 605 is a necessary component of the mobile phone. In the present invention, it is used to output the calculated skin state parameters, candidate skin state parameters, skin states determined by comparison, and skin care suggestions. Pictures and text messages.
本实施例中的测评手机控制前置光照单元发射特定的皮肤测试光,能根据特定光源下拍摄得到的皮肤图像方便地分析出受试者的皮肤状态,使用起来很方便。The evaluation mobile phone in this embodiment controls the front lighting unit to emit specific skin test light, which can conveniently analyze the skin state of the subject according to the skin image taken under the specific light source, and it is very convenient to use.
需要说明的是,本发明的皮肤的测评装置、手机与本发明的皮肤的测评方法一一对应,在上述皮肤的测评方法的实施例阐述的技术特征及其有益效果均适用于皮肤的测评装置、手机的实施例中,具体内容可参见本发明方法实施例中的叙述,此处不再赘述,特此声明。It should be noted that the skin evaluation device of the present invention and the mobile phone correspond to the skin evaluation method of the present invention one by one, and the technical features and beneficial effects described in the above embodiments of the skin evaluation method are applicable to the skin evaluation device 1. In the embodiment of the mobile phone, for specific content, please refer to the description in the method embodiment of the present invention.
此外,上述示例的皮肤的测评装置、手机的实施方式中,各模块(单元)的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的程序模块完成,即将所述皮肤的测评装置、手机的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分功能。In addition, in the embodiments of the skin evaluation device and the mobile phone in the above examples, the logical division of each module (unit) is only an example, and in actual applications, it can be based on needs, for example, due to the configuration requirements of the corresponding hardware or the convenience of software implementation Consider that the above function allocation is performed by different program modules, that is, the internal structure of the skin evaluation device and the mobile phone is divided into different program modules to complete all or part of the functions described above.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;获取拍摄装置拍摄的皮肤图像;所述皮肤图像包 括受试者的皮肤被所述皮肤测试光照射时的图像;根据所述皮肤图像评估所述受试者的皮肤状态。In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented: sending an illumination instruction to the lighting unit The irradiation instruction is used to trigger the lighting unit to emit specific skin test light; the skin test light is used to illuminate the skin of the subject; the skin image captured by the photographing device is acquired; the skin image includes the subject's An image of the skin when it is illuminated by the skin test light; the skin condition of the subject is evaluated based on the skin image.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数;根据所述皮肤状态参数评估所述受试者的皮肤状态。In one embodiment, the processor also implements the following steps when executing the computer program: comparing the skin image with a plurality of skin reference images, determining the skin state parameter according to the comparison result; evaluating the skin state parameter according to the skin state parameter Subject's skin condition.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:将第一皮肤图像与多个肤色参考图像进行比对;根据比对结果确定出与所述第一皮肤图像相匹配的肤色参考图像,将所述相匹配的肤色参考图像对应的肤色确定为所述受试者皮肤的肤色;所述第一皮肤图像包括受试者的皮肤照射白光时的皮肤图像。In one embodiment, the processor also implements the following steps when executing the computer program: comparing the first skin image with multiple skin color reference images; determining the skin color reference matching the first skin image according to the comparison result An image, the skin color corresponding to the matched skin color reference image is determined as the skin color of the subject's skin; the first skin image includes the skin image of the subject's skin when irradiated with white light.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:将第二皮肤图像与多个红血丝参考图像进行比对;根据比对结果确定出与所述第二皮肤图像相匹配的红血丝参考图像,将所述相匹配的红血丝参考图像对应的红血丝值确定为所述受试者皮肤的红血丝值;所述第二皮肤图像包括受试者的皮肤照射红外光时的皮肤图像。In one embodiment, the processor further implements the following steps when executing the computer program: comparing the second skin image with a plurality of red blood reference images; determining a red color matching the second skin image according to the comparison result A blood capillary reference image, the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary value of the subject's skin; the second skin image includes the skin of the subject's skin when irradiated with infrared light image.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:将第三皮肤图像与多个卟啉参考图像进行比对;根据比对结果确定出与所述第三皮肤图像相匹配的卟啉参考图像,将所述相匹配的卟啉参考图像对应的卟啉值确定为所述受试者皮肤的卟啉值;所述第三皮肤图像包括受试者的皮肤照射紫外光时的皮肤图像。In one embodiment, the processor also implements the following steps when executing the computer program: comparing the third skin image with a plurality of porphyrin reference images; determining the porphyry matching the third skin image according to the comparison result A porphyrin reference image, the porphyrin value corresponding to the matched porphyrin reference image is determined as the porphyrin value of the subject's skin; the third skin image includes the skin of the subject's skin when irradiated with ultraviolet light image.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:从皮肤状态数据库中确定出与所述皮肤状态参数匹配度最高的候选皮 肤状态参数;所述皮肤状态数据库中包含有候选皮肤状态参数以及候选皮肤状态参数与化妆品信息的映射表;根据所述匹配度最高的候选皮肤状态参数和所述映射表确定对应的化妆品信息,通过输出装置输出所述化妆品信息。In one embodiment, the processor also implements the following steps when executing the computer program: determining the candidate skin state parameter with the highest matching degree with the skin state parameter from the skin state database; the skin state database contains the candidate skin state A mapping table of parameters and candidate skin state parameters and cosmetic information; determining corresponding cosmetic information according to the candidate skin state parameter with the highest matching degree and the mapping table, and outputting the cosmetic information through an output device.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:确定照射白光时的皮肤图像中深色区域的大小和形状;根据所述大小和形状确定所述深色区域所属的皮肤形态;所述皮肤形态包括斑点、毛孔和皱纹;根据所述深色区域的皮肤形态确定所述受试者的皮肤状态。In one embodiment, the processor also implements the following steps when executing the computer program: determining the size and shape of the dark area in the skin image when illuminating white light; determining the skin shape to which the dark area belongs according to the size and shape; The skin morphology includes spots, pores, and wrinkles; the skin condition of the subject is determined according to the skin morphology of the dark area.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取拍摄装置采集的受试者皮肤测评部位的校准图像,将所述校准用图像与预先确定的基准图框进行比对;当校准用图像与所述基准图框的偏差不满足预设的条件时,输出偏差提示;当所述偏差满足预设的条件时,向前置光照单元发送照射指令;所述前置光照单元设置在手机上。In one embodiment, the processor also implements the following steps when executing the computer program: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and comparing the calibration image with a predetermined reference frame; when When the deviation between the calibration image and the reference frame does not meet the preset conditions, a deviation prompt is output; when the deviation meets the preset conditions, an illumination instruction is sent to the front lighting unit; the front lighting unit settings On the phone.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像;根据所述皮肤图像评估所述受试者的皮肤状态。In one embodiment, a computer-readable storage medium is provided on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: sending an irradiation instruction to an illumination unit; the irradiation instruction is used to trigger the The lighting unit emits specific skin test light; the skin test light is used to illuminate the skin of the subject; the skin image captured by the shooting device is acquired; the skin image includes the skin of the subject when the skin test light is irradiated Image; assess the skin condition of the subject based on the skin image.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤: 将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数;根据所述皮肤状态参数评估所述受试者的皮肤状态。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: comparing the skin image with a plurality of skin reference images, determining the skin state parameter according to the comparison result; evaluating the skin state parameter according to the skin state parameter Describe the skin condition of the subject.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:将第一皮肤图像与多个肤色参考图像进行比对;根据比对结果确定出与所述第一皮肤图像相匹配的肤色参考图像,将所述相匹配的肤色参考图像对应的肤色确定为所述受试者皮肤的肤色;所述第一皮肤图像包括受试者的皮肤照射白光时的皮肤图像。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: comparing the first skin image with multiple skin color reference images; determining the skin color matching the first skin image according to the comparison result The reference image determines the skin color corresponding to the matching skin color reference image as the skin color of the subject's skin; the first skin image includes the skin image when the subject's skin is irradiated with white light.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:将第二皮肤图像与多个红血丝参考图像进行比对;根据比对结果确定出与所述第二皮肤图像相匹配的红血丝参考图像,将所述相匹配的红血丝参考图像对应的红血丝值确定为所述受试者皮肤的红血丝值;所述第二皮肤图像包括受试者的皮肤照射红外光时的皮肤图像。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: comparing the second skin image with a plurality of red blood filament reference images; determining, according to the comparison result, a match with the second skin image A red blood capillary reference image, the red blood capillary value corresponding to the matched red blood capillary reference image is determined as the red blood capillary value of the subject's skin; the second skin image includes when the subject's skin is illuminated with infrared light Skin image.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:将第三皮肤图像与多个卟啉参考图像进行比对;根据比对结果确定出与所述第三皮肤图像相匹配的卟啉参考图像,将所述相匹配的卟啉参考图像对应的卟啉值确定为所述受试者皮肤的卟啉值;所述第三皮肤图像包括受试者的皮肤照射紫外光时的皮肤图像。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: comparing the third skin image with a plurality of porphyrin reference images; according to the comparison result, determining a match with the third skin image A porphyrin reference image, the porphyrin value corresponding to the matched porphyrin reference image is determined to be the porphyrin value of the subject's skin; the third skin image includes when the subject's skin is irradiated with ultraviolet light Skin image.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:从皮肤状态数据库中确定出与所述皮肤状态参数匹配度最高的候选皮肤状态参数;所述皮肤状态数据库中包含有候选皮肤状态参数以及候选皮肤状态参数与化妆品信息的映射表;根据所述匹配度最高的候选皮肤状态参数和所述映射表确定对应的化妆品信息,通过输出装置 输出所述化妆品信息。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the candidate skin state parameter with the highest matching degree with the skin state parameter is determined from the skin state database; the skin state database contains the candidate skin A mapping table of status parameters and candidate skin status parameters and cosmetic information; determining corresponding cosmetic information according to the candidate skin status parameter with the highest matching degree and the mapping table, and outputting the cosmetic information through an output device.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:确定照射白光时的皮肤图像中深色区域的大小和形状;根据所述大小和形状确定所述深色区域所属的皮肤形态;所述皮肤形态包括斑点、毛孔和皱纹;根据所述深色区域的皮肤形态确定所述受试者的皮肤状态。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the size and shape of the dark area in the skin image when illuminating white light; determining the skin shape to which the dark area belongs according to the size and shape The skin morphology includes spots, pores, and wrinkles; the skin condition of the subject is determined according to the skin morphology of the dark area.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:所述向光照单元发送照射指令的步骤之前,还包括:获取拍摄装置采集的受试者皮肤测评部位的校准图像,将所述校准用图像与预先确定的基准图框进行比对;当校准用图像与所述基准图框的偏差不满足预设的条件时,输出偏差提示;当所述偏差满足预设的条件时,向前置光照单元发送照射指令;所述前置光照单元设置在手机上。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: before the step of sending the illumination instruction to the illumination unit, the method further includes: acquiring a calibration image of the skin evaluation site of the subject collected by the photographing device, and Comparing the calibration image with a predetermined reference frame; when the deviation between the calibration image and the reference frame does not satisfy the preset condition, a deviation prompt is output; when the deviation meets the preset condition, Send an illumination instruction to the front lighting unit; the front lighting unit is set on the mobile phone.
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,作为独立的产品销售或使用。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或 其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。A person of ordinary skill in the art may understand that all or part of the process in the method in the above embodiments may be completed by instructing relevant hardware through a computer program, and the program may be stored in a computer-readable storage medium as Independent product sales or use. More specific examples of computer-readable media (non-exhaustive list) include the following: electrical connections (electronic devices) with one or more wires, portable computer cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other appropriate if necessary Process to obtain the program electronically and then store it in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present invention may be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if it is implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: a logic gate circuit for implementing a logic function on a data signal Discrete logic circuits, dedicated integrated circuits with appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本发明实施例的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或(模块)单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or (module) units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optional The ground also includes other steps or units inherent to these processes, methods, products, or equipment.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be arbitrarily combined. To simplify the description, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered within the scope of this description.
以上所述实施例仅表达了本发明的几种实施方式,不能理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进, 这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiment only expresses several embodiments of the present invention, and cannot be construed as limiting the patent scope of the present invention. It should be noted that, those of ordinary skill in the art, without departing from the concept of the present invention, can also make several modifications and improvements, which all fall within the protection scope of the present invention. Therefore, the protection scope of the invention patent shall be subject to the appended claims.

Claims (10)

  1. 一种皮肤的测评方法,其特征在于,包括以下步骤:A skin evaluation method, which is characterized by the following steps:
    向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;Sending an irradiation instruction to the illumination unit; the irradiation instruction is used to trigger the illumination unit to emit specific skin test light; the skin test light is used to illuminate the skin of the subject;
    获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像;Acquiring a skin image captured by a photographing device; the skin image includes an image of a subject's skin when the skin test light is irradiated;
    根据所述皮肤图像评估所述受试者的皮肤状态。The skin condition of the subject is evaluated based on the skin image.
  2. 根据权利要求1所述的皮肤的测评方法,其特征在于,所述根据所述皮肤图像评估所述受试者的皮肤状态的步骤,包括:The skin evaluation method according to claim 1, wherein the step of evaluating the skin condition of the subject based on the skin image includes:
    将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数;Comparing the skin image with a plurality of skin reference images, and determining skin state parameters according to the comparison result;
    根据所述皮肤状态参数评估所述受试者的皮肤状态。The skin condition of the subject is evaluated based on the skin condition parameters.
  3. 根据权利要求2所述的皮肤的测评方法,其特征在于,所述将所述皮肤图像与多个皮肤参考图像进行比对,根据比对结果确定皮肤状态参数的步骤,包括:The skin evaluation method according to claim 2, wherein the step of comparing the skin image with a plurality of skin reference images and determining the skin state parameter according to the comparison result includes:
    将第一皮肤图像与多个肤色参考图像进行比对;根据比对结果确定出与所述第一皮肤图像相匹配的肤色参考图像,将所述相匹配的肤色参考图像对应的肤色确定为所述受试者皮肤的肤色;所述第一皮肤图像包括受试者的皮肤照射白光时的皮肤图像;Comparing the first skin image with a plurality of skin color reference images; determining the skin color reference image matching the first skin image according to the comparison result, and determining the skin color corresponding to the matching skin color reference image as the The skin color of the subject's skin; the first skin image includes the skin image of the subject's skin when irradiated with white light;
    和/或,and / or,
    将第二皮肤图像与多个红血丝参考图像进行比对;根据比对结果确定出与所述第二皮肤图像相匹配的红血丝参考图像,将所述相匹配的红血丝参考图像对应的红血丝值确定为所述受试者皮肤的红血丝 值;所述第二皮肤图像包括受试者的皮肤照射红外光时的皮肤图像;Comparing the second skin image with a plurality of red blood capillary reference images; determining the red blood capillary reference image matching the second skin image according to the comparison result, and matching the red corresponding to the matching red blood capillary reference image The blood capillary value is determined as the red blood capillary value of the subject's skin; the second skin image includes the skin image of the subject's skin when irradiated with infrared light;
    和/或,and / or,
    将第三皮肤图像与多个卟啉参考图像进行比对;根据比对结果确定出与所述第三皮肤图像相匹配的卟啉参考图像,将所述相匹配的卟啉参考图像对应的卟啉值确定为所述受试者皮肤的卟啉值;所述第三皮肤图像包括受试者的皮肤照射紫外光时的皮肤图像。Comparing the third skin image with multiple porphyrin reference images; determining the porphyrin reference image matching the third skin image according to the comparison result, and matching the porphyrin reference image corresponding to the porphyrin reference image The porphyrin value is determined as the porphyrin value of the subject's skin; the third skin image includes the skin image of the subject's skin when irradiated with ultraviolet light.
  4. 根据权利要求2所述的皮肤的测评方法,其特征在于,所述根据比对结果确定皮肤状态参数的步骤之后,还包括:The skin evaluation method according to claim 2, wherein after the step of determining the skin state parameter according to the comparison result, further comprising:
    从皮肤状态数据库中确定出与所述皮肤状态参数匹配度最高的候选皮肤状态参数;所述皮肤状态数据库中包含有候选皮肤状态参数以及候选皮肤状态参数与化妆品信息的映射表;Determine the candidate skin state parameter with the highest degree of matching with the skin state parameter from the skin state database; the skin state database contains the candidate skin state parameter and the mapping table of the candidate skin state parameter and cosmetic information;
    根据所述匹配度最高的候选皮肤状态参数和所述映射表确定对应的化妆品信息,通过输出装置输出所述化妆品信息。The corresponding cosmetic information is determined according to the candidate skin state parameter with the highest matching degree and the mapping table, and the cosmetic information is output through the output device.
  5. 根据权利要求1所述的皮肤的测评方法,其特征在于,所述根据所述皮肤图像评估所述受试者的皮肤状态的步骤,包括:The skin evaluation method according to claim 1, wherein the step of evaluating the skin condition of the subject based on the skin image includes:
    确定照射白光时的皮肤图像中深色区域的大小和形状;Determine the size and shape of dark areas in skin images when irradiated with white light;
    根据所述大小和形状确定所述深色区域所属的皮肤形态;所述皮肤形态包括斑点、毛孔和皱纹;Determine the skin morphology to which the dark area belongs according to the size and shape; the skin morphology includes spots, pores and wrinkles;
    根据所述深色区域的皮肤形态确定所述受试者的皮肤状态。The skin condition of the subject is determined according to the skin morphology of the dark area.
  6. 根据权利要求1至5任一项所述的皮肤的测评方法,其特征在于,所述向光照单元发送照射指令的步骤,包括:The skin evaluation method according to any one of claims 1 to 5, wherein the step of sending an irradiation instruction to the lighting unit includes:
    获取拍摄装置采集的受试者皮肤测评部位的校准图像,将所述校 准用图像与预先确定的基准图框进行比对;Acquiring a calibration image of the skin evaluation part of the subject collected by the shooting device, and comparing the calibration image with a predetermined reference frame;
    当校准用图像与所述基准图框的偏差不满足预设的条件时,输出偏差提示;When the deviation between the calibration image and the reference frame does not satisfy the preset condition, a deviation prompt is output;
    当所述偏差满足预设的条件时,向前置光照单元发送照射指令;所述前置光照单元设置在手机上。When the deviation meets a preset condition, an illumination instruction is sent to the front lighting unit; the front lighting unit is set on the mobile phone.
  7. 一种皮肤的测评装置,其特征在于,包括:A skin evaluation device, which is characterized by comprising:
    指令发送模块,用于向光照单元发送照射指令;所述照射指令用于触发所述光照单元发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;An instruction sending module, used to send an irradiation instruction to the lighting unit; the irradiation instruction is used to trigger the lighting unit to emit specific skin test light; the skin test light is used to illuminate the skin of the subject;
    皮肤图像获取模块,用于获取拍摄装置拍摄的皮肤图像;所述皮肤图像包括受试者的皮肤被所述皮肤测试光照射时的图像;A skin image acquisition module, configured to acquire a skin image captured by a photographing device; the skin image includes an image of a subject's skin when illuminated by the skin test light;
    以及,皮肤状态评估模块,用于根据所述皮肤图像评估所述受试者的皮肤状态。And, a skin condition evaluation module, configured to evaluate the skin condition of the subject based on the skin image.
  8. 一种皮肤的测评手机,其特征在于,包括:光照单元、拍摄装置以及处理单元;A skin evaluation mobile phone, which is characterized by comprising: a lighting unit, a photographing device and a processing unit;
    所述处理单元,用于向光照单元发送照射指令;The processing unit is used to send an irradiation instruction to the lighting unit;
    所述光照单元,用于根据照射指令发射特定的皮肤测试光;所述皮肤测试光用于照射受试者的皮肤;The lighting unit is used to emit specific skin test light according to the irradiation instruction; the skin test light is used to illuminate the skin of the subject;
    所述拍摄装置,用于拍摄受试者的皮肤被所述皮肤测试光照射时的皮肤图像,将所述皮肤图像发送给所述处理单元;The photographing device is used to photograph a skin image of the skin of the subject when the skin test light is irradiated, and send the skin image to the processing unit;
    所述处理单元,还用于根据所述皮肤图像评估所述受试者的皮肤状态。The processing unit is further configured to evaluate the skin condition of the subject based on the skin image.
  9. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1至6任意一项所述的皮肤的测评方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the skin evaluation method according to any one of claims 1 to 6 is realized.
  10. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至6任意一项所述的皮肤的测评方法。A computer device, including a memory, a processor, and a computer program stored on the memory and runable on the processor, characterized in that, when the processor executes the program, it is implemented as claimed in any one of claims 1 to 6. The skin evaluation method mentioned above.
PCT/CN2018/113858 2018-10-08 2018-11-03 Method, apparatus and mobile phone for evaluating skin, and computer device and storage medium WO2020073392A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811169487.0 2018-10-08
CN201811169487.0A CN109363634A (en) 2018-10-08 2018-10-08 Assessment method, device, mobile phone, computer equipment and the storage medium of skin

Publications (1)

Publication Number Publication Date
WO2020073392A1 true WO2020073392A1 (en) 2020-04-16

Family

ID=65403175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/113858 WO2020073392A1 (en) 2018-10-08 2018-11-03 Method, apparatus and mobile phone for evaluating skin, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN109363634A (en)
WO (1) WO2020073392A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110298304A (en) * 2019-06-27 2019-10-01 维沃移动通信有限公司 A kind of skin detecting method and terminal
CN110533651B (en) * 2019-08-29 2022-04-08 维沃移动通信有限公司 Image processing method and device
CN111166290A (en) * 2020-01-06 2020-05-19 华为技术有限公司 Health state detection method, equipment and computer storage medium
JP7044120B2 (en) * 2020-02-07 2022-03-30 カシオ計算機株式会社 Discriminator, discriminator learning method, discriminating method and program
CN113749614B (en) * 2020-06-05 2023-03-10 华为技术有限公司 Skin detection method and apparatus
CN111600985A (en) * 2020-07-08 2020-08-28 深圳插画师创意有限公司 Terminal accessory and light source control method
CN111683170A (en) * 2020-07-08 2020-09-18 深圳插画师创意有限公司 Terminal accessory and light source control method
CN111950637B (en) * 2020-08-14 2024-05-03 厦门美图宜肤科技有限公司 Ultraviolet detection method, device, skin detector and readable storage medium
CN113663226B (en) * 2021-07-31 2022-06-24 天一智能科技(东莞)有限公司 Full-spectrum LED illumination based beauty device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152476A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Mobile phone capable of detecting skin state and use method thereof
CN105205490A (en) * 2015-09-23 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
CN106295615A (en) * 2016-08-23 2017-01-04 姜汇洋 Skin detection based on mobile interchange terminal and auxiliary maintenance system
WO2018039024A1 (en) * 2016-08-22 2018-03-01 Galderma Research And Development Uv device for smartphone-based evaluation of skin conditions
CN108392182A (en) * 2017-02-07 2018-08-14 三星电子株式会社 The method of skin information is provided and supports the electronic equipment of the method
CN108511063A (en) * 2017-12-28 2018-09-07 张瑞国 A kind of skin skin quality detection device and skin skin quality detection method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1961820B (en) * 2005-11-08 2011-03-16 株式会社资生堂 Skin state analysis method and device
AU2008204997A1 (en) * 2007-01-05 2008-07-17 Myskin, Inc. System, device and method for dermal imaging
US20140378810A1 (en) * 2013-04-18 2014-12-25 Digimarc Corporation Physiologic data acquisition and analysis
CN103690149B (en) * 2013-12-30 2016-08-17 惠州Tcl移动通信有限公司 Taken pictures by face and identify mobile terminal and its implementation of physical condition
CN104586364B (en) * 2015-01-19 2019-07-09 武汉理工大学 A kind of skin quality detection system and method
US11134848B2 (en) * 2016-04-25 2021-10-05 Samsung Electronics Co., Ltd. Mobile hyperspectral camera system and human skin monitoring using a mobile hyperspectral camera system
CN106650215A (en) * 2016-10-11 2017-05-10 武汉嫦娥医学抗衰机器人股份有限公司 Skin type detection and individuation evaluation system and method based on cloud platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152476A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Mobile phone capable of detecting skin state and use method thereof
CN105205490A (en) * 2015-09-23 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
WO2018039024A1 (en) * 2016-08-22 2018-03-01 Galderma Research And Development Uv device for smartphone-based evaluation of skin conditions
CN106295615A (en) * 2016-08-23 2017-01-04 姜汇洋 Skin detection based on mobile interchange terminal and auxiliary maintenance system
CN108392182A (en) * 2017-02-07 2018-08-14 三星电子株式会社 The method of skin information is provided and supports the electronic equipment of the method
CN108511063A (en) * 2017-12-28 2018-09-07 张瑞国 A kind of skin skin quality detection device and skin skin quality detection method

Also Published As

Publication number Publication date
CN109363634A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
WO2020073392A1 (en) Method, apparatus and mobile phone for evaluating skin, and computer device and storage medium
US7764303B2 (en) Imaging apparatus and methods for capturing and analyzing digital images of the skin
JP6545658B2 (en) Estimating bilirubin levels
RU2763756C1 (en) Obtaining images for use in determining one or more properties of the subject's skin
KR20210084102A (en) Electronic apparatus, scalp care system and method for controlling the electronic apparatus and the server
JPWO2014208067A1 (en) Skin sensory evaluation apparatus and skin evaluation method
US11730372B2 (en) Accessory device and imaging device
US20180263551A1 (en) Information processing apparatus, information processing method, and program
TW201839718A (en) Skin detection device and the method therefor
CN107106026A (en) Method for measuring capillary refill time
JP4421071B2 (en) Makeup counseling device
US11231366B2 (en) Method and device for determining a gloss value of hair
CN109887044B (en) Reproductive data evaluation method and system
US20190239729A1 (en) Remote monitoring of a region of interest
US20200060548A1 (en) Diagnostic Device Using Near Infrared Light
CN116509326A (en) Tongue image multispectral image generation method, device, equipment and storage medium
KR101957773B1 (en) Evaluation method for skin condition using image and evaluation apparatus for skin condition using image
KR102378195B1 (en) System of measuring and analysing skin and hair
Kibria et al. Smartphone-based point-of-care urinalysis assessment
CN109864702B (en) Skin detection and maintenance system and method
KR100562755B1 (en) Complexion Camera System
TWI650548B (en) Skin detection and treatment system and method thereof
CN113631094A (en) System, device, method, and computer program for determining physical and mental states
KR20200008484A (en) Systme for recommending cosmetic product through skin diagnosis
CN111259683A (en) Skin detection method and image processing apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 1205 DATED 06.08.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18936747

Country of ref document: EP

Kind code of ref document: A1