CN113576421A - Intelligent skin measuring method and device - Google Patents
Intelligent skin measuring method and device Download PDFInfo
- Publication number
- CN113576421A CN113576421A CN202111058616.0A CN202111058616A CN113576421A CN 113576421 A CN113576421 A CN 113576421A CN 202111058616 A CN202111058616 A CN 202111058616A CN 113576421 A CN113576421 A CN 113576421A
- Authority
- CN
- China
- Prior art keywords
- skin
- user
- intelligent
- parameter data
- skin type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 10
- 230000036555 skin type Effects 0.000 claims abstract description 53
- 238000013135 deep learning Methods 0.000 claims abstract description 10
- 238000001514 detection method Methods 0.000 claims description 10
- 238000010998 test method Methods 0.000 claims description 9
- 206010000496 acne Diseases 0.000 claims description 6
- 230000011218 segmentation Effects 0.000 claims description 6
- 208000002874 Acne Vulgaris Diseases 0.000 claims description 3
- 235000002673 Dioscorea communis Nutrition 0.000 claims description 3
- 241000544230 Dioscorea communis Species 0.000 claims description 3
- 208000035753 Periorbital contusion Diseases 0.000 claims description 3
- 230000014759 maintenance of location Effects 0.000 claims description 3
- 239000011148 porous material Substances 0.000 claims description 3
- 230000037303 wrinkles Effects 0.000 claims description 3
- 210000004369 blood Anatomy 0.000 claims description 2
- 239000008280 blood Substances 0.000 claims description 2
- 230000005808 skin problem Effects 0.000 abstract description 3
- 239000002537 cosmetic Substances 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 210000003743 erythrocyte Anatomy 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/0059—Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
- A61B5/0077—Devices for viewing the surface of the body, e.g. camera, magnifying lens
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/44—Detecting, measuring or recording for evaluating the integumentary system, e.g. skin, hair or nails
- A61B5/441—Skin evaluation, e.g. for skin disorder diagnosis
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Dermatology (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
The invention discloses an intelligent skin measuring method, which comprises the following steps: s1, taking a picture to obtain a picture of the user; s2, calculating the skin type module parameter data of the user by using a deep learning skin algorithm for the obtained user photo; s3, dividing the data area into percentage ranges according to the size of the parameter data area of the skin type module; s4, comparing the skin type module parameter data of the current user with the corresponding percentage of the preset skin type, and analyzing the skin type grade of the user; s5, providing a skin care scheme and a skin care suggestion of the percentage corresponding to the skin type for the user according to the analyzed skin type module parameter data; s6, providing intelligent skin management service for users according to skin care schemes and skin care suggestions; the invention is more innovative and intelligent, and not only can meet the intelligent requirements of users, but also can enable the users to know the skin conditions and pay more attention to the skin problems.
Description
Technical Field
The invention relates to the technical field of skin measurement, in particular to an intelligent skin measurement method and device.
Background
The existing cosmetic mirror is a glass mirror surface, and a light supplement lamp or an LED mirror surface can be carried in a slightly better way, but the existing cosmetic mirror is only a common mirror when being seen on the whole, is only suitable for the simple requirement of a user for looking after the existing cosmetic mirror, and cannot meet the requirement of the user on intellectualization; the skin condition of the user cannot be analyzed, and an intelligent service skin care scheme cannot be provided; if a user wants to know the skin condition of the user, the user needs to use some skin measuring app to take a picture for detection or use equipment capable of measuring the skin, so that the skin measuring operation is inconvenient; it is desirable to provide a method and apparatus for implementing intelligent skin measurement, analyzing the skin condition of a user, and providing a skin care regimen for the user.
Disclosure of Invention
The invention aims to provide a method and a device which are convenient to operate, can realize intelligent skin measurement, can analyze the skin condition of a user and can provide a skin care scheme for the user.
The invention is realized by the following technical scheme:
an intelligent skin test method comprises the following steps:
step S1, taking a picture to obtain a picture of the user;
step S2, calculating the skin type module parameter data of the user by using a deep learning skin algorithm for the obtained user photo;
step S3, dividing the data area into percentage ranges according to the size of the parameter data area of the skin type module;
step S4, comparing the skin type module parameter data of the current user with the corresponding percentage of the preset skin type, and analyzing the skin type grade of the user;
step S5, according to the analyzed skin type module parameter data, providing a skin care proposal and a skin care suggestion of the percentage corresponding to the skin type for the user;
and step S6, providing intelligent skin management service for the user according to the skin care scheme and the skin care suggestion.
Further, in step S2, the skin algorithm calculating the skin type module parameter data of the user includes the following steps:
step S21, detecting the human face and carrying out human face skin segmentation treatment;
step S22, extracting skin type module parameter data information by using a Sobel operator, and judging by using a connected domain to obtain a final detection region; collecting a plurality of skin areas, and respectively calculating the skin areas and LAB color difference of data in preset skin types; wherein, L represents lightness, A represents red-green color difference, B represents blue-yellow color difference, and the color difference is minimum, namely the degree is minimum;
and step S23, performing speckle detection by using a high contrast retention algorithm, binarizing the gray-scale image after high contrast, and selecting a specified threshold value to obtain a detection area.
Further, the skin algorithm adopts an image semantic segmentation method, and adopts a U-net network structure and a PSPNet network structure.
Further, in step S22, the skin modules include a pore module, a stain module, a red blood cell module and an acne module.
Further, in the step S23, the skin type module includes a wrinkle module, a black eye module and a blackhead module.
Further, in step S1, a photo of the user is taken by using a smart phone or a digital camera.
Further, an intelligent skin measuring device comprises an intelligent mirror; the intelligent mirror is used for intelligently measuring the skin, analyzing the skin condition of a user and providing a skin care scheme for the user.
The invention has the beneficial effects that:
the method comprises the steps of obtaining a photo of a user by photographing; calculating the skin type module parameter data of the user by utilizing a deep learning skin algorithm for the obtained user photo; dividing the data area into percentage ranges according to the size of the skin type module parameter data area; comparing the skin type module parameter data of the current user with the corresponding percentage of the preset skin type, and analyzing the skin type grade of the user; providing a skin care scheme and a skin care suggestion of the percentage corresponding to the skin type for the user according to the analyzed skin type module parameter data; providing intelligent skin management service for users according to skin care schemes and skin care suggestions; the invention is more innovative and intelligent, and not only can meet the intelligent requirements of users, but also can enable the users to know the skin conditions and pay more attention to the skin problems.
Drawings
FIG. 1 is a block diagram of a process flow of an embodiment of the present invention.
Detailed Description
The invention will be described in detail with reference to the drawings and specific embodiments, which are illustrative of the invention and are not to be construed as limiting the invention.
It should be noted that the descriptions referring to "first" and "second" in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
In the present invention, unless expressly stated or limited otherwise, the term "coupled" is to be interpreted broadly, e.g., "coupled" may be fixedly coupled, detachably coupled, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
An intelligent skin test method comprises the following steps:
step S1, taking a picture to obtain a picture of the user;
step S2, calculating the skin type module parameter data of the user by using a deep learning skin algorithm for the obtained user photo;
step S3, dividing the data area into percentage ranges according to the size of the parameter data area of the skin type module;
step S4, comparing the skin type module parameter data of the current user with the corresponding percentage of the preset skin type, and analyzing the skin type grade of the user;
step S5, according to the analyzed skin type module parameter data, providing a skin care proposal and a skin care suggestion of the percentage corresponding to the skin type for the user;
and step S6, providing intelligent skin management service for the user according to the skin care scheme and the skin care suggestion.
It should be noted that the occurrence of the deep learning framework reduces the threshold of entry, the user does not need to start coding from a complex neural network, the user can select an existing model according to needs, obtain model parameters through training, and the user can also add a layer on the basis of the existing model or select a classifier and an optimization algorithm which are needed by the user at the top. The fields in which the different frames are applicable are not completely consistent. In general, the deep learning framework provides a series of deep learning components, and when a new algorithm needs to be used, a user needs to define the new algorithm by himself and then the function interface of the deep learning framework is called to use the new algorithm customized by the user.
Specifically, in this embodiment, in step S2, the calculating the skin type module parameter data of the user by the skin algorithm includes the following steps:
step S21, detecting the human face and carrying out human face skin segmentation treatment;
step S22, extracting skin type module parameter data information by using a Sobel operator, and judging by using a connected domain to obtain a final detection region; collecting a plurality of skin areas, and respectively calculating the skin areas and LAB color difference of data in preset skin types; wherein, L represents lightness, A represents red-green color difference, B represents blue-yellow color difference, and the color difference is minimum, namely the degree is minimum;
and step S23, performing speckle detection by using a high contrast retention algorithm, binarizing the gray-scale image after high contrast, and selecting a specified threshold value to obtain a detection area.
Specifically, in the scheme of this embodiment, the skin algorithm adopts an image semantic segmentation method, and the skin algorithm adopts a U-net network structure and a PSPNet network structure.
Specifically, in this embodiment, in step S22, the skin module includes a pore module, a color spot module, a red blood streak module, and an acne module.
Specifically, in this embodiment, in step S23, the skin modules include a wrinkle module, a black eye module, and a blackhead module.
Specifically, in this embodiment, in step S1, a smart phone or a digital camera is used to take a picture to obtain a photo of the user.
Specifically, in the embodiment, the intelligent skin measuring device includes an intelligent mirror; the intelligent mirror is used for intelligently measuring the skin, analyzing the skin condition of a user and providing a skin care scheme for the user.
Specifically, referring to fig. 1, first, the present invention obtains a photo of a user by taking a picture; calculating the skin type module parameter data of the user by utilizing a deep learning skin algorithm for the obtained user photo; dividing the data area into percentage ranges according to the size of the skin type module parameter data area; comparing the skin type module parameter data of the current user with the corresponding percentage of the preset skin type, and analyzing the skin type grade of the user; providing a skin care scheme and a skin care suggestion of the percentage corresponding to the skin type for the user according to the analyzed skin type module parameter data; providing intelligent skin management service for users according to skin care schemes and skin care suggestions; the invention is more innovative and intelligent, and not only can meet the intelligent requirements of users, but also can enable the users to know the skin conditions and pay more attention to the skin problems.
The technical solutions provided by the embodiments of the present invention are described in detail above, and the principles and embodiments of the present invention are explained herein by using specific examples, and the descriptions of the embodiments are only used to help understanding the principles of the embodiments of the present invention; meanwhile, for a person skilled in the art, according to the embodiments of the present invention, there may be variations in the specific implementation manners and application ranges, and in summary, the content of the present description should not be construed as a limitation to the present invention.
Claims (7)
1. An intelligent skin test method is characterized by comprising the following steps:
step S1, taking a picture to obtain a picture of the user;
step S2, calculating the skin type module parameter data of the user by using a deep learning skin algorithm for the obtained user photo;
step S3, dividing the data area into percentage ranges according to the size of the parameter data area of the skin type module;
step S4, comparing the skin type module parameter data of the current user with the corresponding percentage of the preset skin type, and analyzing the skin type grade of the user;
step S5, according to the analyzed skin type module parameter data, providing a skin care proposal and a skin care suggestion of the percentage corresponding to the skin type for the user;
and step S6, providing intelligent skin management service for the user according to the skin care scheme and the skin care suggestion.
2. The intelligent skin test method according to claim 1, characterized in that: in step S2, the skin algorithm calculating the skin type module parameter data of the user includes the following steps:
step S21, detecting the human face and carrying out human face skin segmentation treatment;
step S22, extracting skin type module parameter data information by using a Sobel operator, and judging by using a connected domain to obtain a final detection region; collecting a plurality of skin areas, and respectively calculating the skin areas and LAB color difference of data in preset skin types; wherein, L represents lightness, A represents red-green color difference, B represents blue-yellow color difference, and the color difference is minimum, namely the degree is minimum;
and step S23, performing speckle detection by using a high contrast retention algorithm, binarizing the gray-scale image after high contrast, and selecting a specified threshold value to obtain a detection area.
3. The intelligent skin test method according to claim 1, characterized in that: the skin algorithm adopts an image semantic segmentation method, and adopts a U-net network structure and a PSPNet network structure.
4. The intelligent skin test method according to claim 1, characterized in that: in step S22, the skin model includes a pore model, a mottle model, a red blood silk model and an acne model.
5. The intelligent skin test method according to claim 1, characterized in that: in step S23, the skin type module includes a wrinkle module, a black eye module, and a blackhead module.
6. The intelligent skin test method according to claim 1, characterized in that: in step S1, a smart phone or a digital camera is used to take a picture to obtain a photo of the user.
7. An intelligent skin test device using the intelligent skin test method of any one of claims 1-5, characterized by: comprises an intelligent mirror; the intelligent mirror is used for intelligently measuring the skin, analyzing the skin condition of a user and providing a skin care scheme for the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111058616.0A CN113576421A (en) | 2021-09-10 | 2021-09-10 | Intelligent skin measuring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111058616.0A CN113576421A (en) | 2021-09-10 | 2021-09-10 | Intelligent skin measuring method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113576421A true CN113576421A (en) | 2021-11-02 |
Family
ID=78241707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111058616.0A Pending CN113576421A (en) | 2021-09-10 | 2021-09-10 | Intelligent skin measuring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113576421A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150127898A (en) * | 2014-05-07 | 2015-11-18 | 주식회사 엘리샤코이 | Portable device for skin condition diagnosis and method for diagnosing and managing skin using the same |
CN107437073A (en) * | 2017-07-19 | 2017-12-05 | 竹间智能科技(上海)有限公司 | Face skin quality analysis method and system based on deep learning with generation confrontation networking |
CN108323203A (en) * | 2017-07-17 | 2018-07-24 | 深圳和而泰智能控制股份有限公司 | A kind of method, apparatus and intelligent terminal quantitatively detecting face skin quality parameter |
CN111814520A (en) * | 2019-04-12 | 2020-10-23 | 虹软科技股份有限公司 | Skin type detection method, skin type grade classification method, and skin type detection device |
CN113095147A (en) * | 2021-03-16 | 2021-07-09 | 深圳市雄帝科技股份有限公司 | Skin area detection method, system, image processing terminal and storage medium |
-
2021
- 2021-09-10 CN CN202111058616.0A patent/CN113576421A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150127898A (en) * | 2014-05-07 | 2015-11-18 | 주식회사 엘리샤코이 | Portable device for skin condition diagnosis and method for diagnosing and managing skin using the same |
CN108323203A (en) * | 2017-07-17 | 2018-07-24 | 深圳和而泰智能控制股份有限公司 | A kind of method, apparatus and intelligent terminal quantitatively detecting face skin quality parameter |
CN107437073A (en) * | 2017-07-19 | 2017-12-05 | 竹间智能科技(上海)有限公司 | Face skin quality analysis method and system based on deep learning with generation confrontation networking |
CN111814520A (en) * | 2019-04-12 | 2020-10-23 | 虹软科技股份有限公司 | Skin type detection method, skin type grade classification method, and skin type detection device |
CN113095147A (en) * | 2021-03-16 | 2021-07-09 | 深圳市雄帝科技股份有限公司 | Skin area detection method, system, image processing terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020207423A1 (en) | Skin type detection method, skin type grade classification method and skin type detection apparatus | |
US11849998B2 (en) | Method for pupil detection for cognitive monitoring, analysis, and biofeedback-based treatment and training | |
JP2020522807A (en) | System and method for guiding a user to take a selfie | |
KR101937323B1 (en) | System for generating signcription of wireless mobie communication | |
CN111460988B (en) | Illegal behavior recognition method and device | |
CN106846339A (en) | A kind of image detecting method and device | |
WO2019037739A1 (en) | Image processing parameter acquisition method, readable storage medium and computer device | |
CN105139404A (en) | Identification camera capable of detecting photographing quality and photographing quality detecting method | |
CN107172354A (en) | Method for processing video frequency, device, electronic equipment and storage medium | |
Yu et al. | Dynamic heart rate estimation using principal component analysis | |
CN113034354A (en) | Image processing method and device, electronic equipment and scale storage medium | |
CN116849612B (en) | Multispectral tongue picture image acquisition and analysis system | |
CN114612885A (en) | Driver fatigue state detection method based on computer vision | |
Kim et al. | Evaluation of hair and scalp condition based on microscopy image analysis | |
CA3041991A1 (en) | System and method for correcting color of digital image based on the human sclera and pupil | |
CN110874572B (en) | Information detection method and device and storage medium | |
CN111429409A (en) | Method and system for identifying glasses worn by person in image and storage medium thereof | |
CN110222647A (en) | A kind of human face in-vivo detection method based on convolutional neural networks | |
CN107578372B (en) | Image processing method, image processing device, computer-readable storage medium and electronic equipment | |
CN113576421A (en) | Intelligent skin measuring method and device | |
Arsic et al. | Improved lip detection algorithm based on region segmentation and edge detection | |
CN113298841B (en) | Skin oil parting method, computer equipment, system and storage medium | |
US10909351B2 (en) | Method of improving image analysis | |
Tian et al. | Detecting good quality frames in videos captured by a wearable camera for blind navigation | |
EP3813012B1 (en) | Skin spot detection method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |