Skin blemish detection method, detection device, terminal equipment and readable storage medium
A detection method and a technology for skin blemishes, applied in the computer field, can solve problems such as inability to perform parallel operations, inability to make full use of image processing units, waste of GPU resources, etc., and achieve the effect of avoiding the waste of GPU resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] The skin blemish detection method provided in Embodiment 1 of the present application is described below, please refer to the attached figure 1 , the skin blemish detection method comprises:
[0043] In step S101, acquire an image to be processed containing a portrait, and determine the position information of the skin area of the portrait in the image to be processed;
[0044] In the embodiment of the present application, in order to detect blemishes on the skin (for example, acne, acne marks and / or spots, etc.), the step S101 needs to first determine the position information of the skin area in the image to be processed. Specifically, a neural network model for detecting skin regions can be trained in advance, and the above image to be processed can be detected through the neural network model to determine the position information of the skin region in the image to be processed; or output prompt information to remind The user selects the skin area of the portrait...
Embodiment 2
[0086] Another skin blemish detection method provided in Embodiment 2 of the present application is described below, please refer to the attached Figure 5 , the skin blemish detection method comprises:
[0087] In step S501, acquire a to-be-processed image containing a portrait, and determine the position information of the skin area of the portrait in the to-be-processed image;
[0088] In step S502, the detection radius is determined based on the size of the portrait relative to the image to be processed;
[0089] In step S503, in the skin area indicated by the above position, select P pixels as pixels to be detected, where P is an integer and P is greater than 1;
[0090] In step S504, for each pixel to be detected, the following steps are performed:
[0091] S1. Determine the ring to be detected corresponding to the pixel to be detected, wherein the ring to be detected is a ring with the pixel to be detected as the center and the detection radius as the radius;
[00...
Embodiment 3
[0139] Embodiment 3 of the present application provides a skin blemish detection device. For ease of description, only the relevant parts of the application are shown, such as Figure 7 As shown, the skin blemish detection device 700 includes:
[0140] A skin determination module 701, configured to acquire an image to be processed including a portrait, and determine the position information of the skin region of the portrait in the image to be processed;
[0141] A radius determination module 702, configured to determine a detection radius based on the size of the portrait relative to the image to be processed;
[0142] The point selection module 703 to be detected is used to select a pixel point as a pixel point to be detected in the skin area indicated by the above position information;
[0143] The to-be-detected ring determination module 704 is configured to determine a to-be-detected ring corresponding to the above-mentioned pixel to be detected, wherein the to-be-detec...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com