Skin color detection method and device

A technology of skin color detection and detection, which is applied in the field of computer vision, can solve the problems of time-consuming and labor-consuming, and achieve the effect of improving efficiency and good skin color detection effect

Inactive Publication Date: 2016-06-15
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it needs to collect a large number of samples for statistics to get a better segmentation effect, and the collection of samples is a time-consuming and labor-intensive task.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Skin color detection method and device
  • Skin color detection method and device
  • Skin color detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a technical flow chart of Embodiment 1 of the present invention, combined with figure 1 , a skin color detection method in the embodiment of the present invention mainly includes the following steps:

[0025] Step 110: read the RGB image, and convert the RGB image from the RGB color space to the r-g color space to obtain the image to be detected;

[0026] In the embodiment of the present invention, the RGB image is converted from the RGB color space to the r-g color space using the following formula:

[0027] r = R R + G + B

[0028] g = G R + G + B

[0029] b=1-r-g

[0030] Wherein, R is the red value of the pixel point, G is the green value of the pixel point, and B is...

Embodiment 2

[0068] figure 2 It is the technical flow chart of Embodiment 2 of the present invention, combining figure 2 , in a skin color detection method in an embodiment of the present invention, the establishment of the mixed Gaussian model mainly includes the following steps

[0069] Step 210: mark the skin pixel area and non-skin pixel area of ​​the RGB sample image to obtain skin pixel samples and non-skin pixel samples;

[0070] In the embodiment of the present invention, the RGB sample picture is first marked, which may be artificial, to distinguish the skin area and non-skin area in the picture, that is, to obtain skin pixel samples and non-skin pixel samples. Classifying the samples in advance helps to improve the efficiency of the subsequent EM algorithm in calculating the parameters of the mixed Gaussian model and the closeness of the parameters to the actual model.

[0071] Step 220: converting the skin pixel samples and non-skin pixel samples from RGB color space to r-g ...

Embodiment 3

[0088] image 3 is a schematic structural diagram of a skin color detection device according to an embodiment of the present invention, combined with image 3 , a skin color detection device mainly includes the following large modules: an image conversion module 310 , a probability calculation module 320 , and a skin color area judgment module 330 .

[0089] The image conversion module 310 is configured to read an RGB image, and convert the RGB image from the RGB color space to the r-g color space to obtain an image to be detected;

[0090] The probability calculation module 320 is connected to the image conversion module 310, and is used to traverse and read each pixel in the image to be detected and calculate the mixture Gaussian value of the pixel in the skin according to the pre-established Gaussian mixture model. The first probability density under the model and the second probability density of the pixel point under the non-skin mixture Gaussian model; used to calculate...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention provides a skin color detection method and a skin color detection device. The skin color detection method comprises the steps of: reading an RGB image, and switching the RGB image from an RGB color space into a r-g color space to obtain an image to be detected; traversing and reading each pixel point in the image to be detected, and calculating a first probability density of the pixel point in a skin mixture Gaussian model and a second probability density of the pixel point in a non-skin mixture Gaussian model according to a pre-established mixture Gaussian model; calculating a posterior probability of each pixel point belonging to a skin region according to the first probability density and the second probability density of the pixel point; and attributing the pixel points to the skin region when determining that the posterior probabilities are greater than a preset posterior probability threshold value. The skin color detection method and the skin color detection device achieve efficient skin color detection under the condition of few samples.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer vision, and in particular to a skin color detection method and device. Background technique [0002] In various human-related machine vision systems, skin color detection has been paid more and more attention. For example, in gesture-based human-computer interaction systems, it is necessary to first obtain the position of the hand in the image. At present, the most commonly used method is to obtain gesture information by detecting skin color. Segmenting the hand from the image, the most commonly used segmentation method is based on skin color segmentation. [0003] According to whether the process of imaging is involved, the methods of skin color detection are divided into two basic types: statistical-based methods and physical-based methods. The skin color detection method based on statistics is mainly through the establishment of a skin color statistical model for skin color detec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/40G06V10/56G06V10/764
CPCG06T2207/10024H04N1/628G06T2207/30088G06T7/11G06T7/143G06T7/90G06T7/187G06T2207/20076G06V40/10G06V10/56G06V10/764G06F18/2415G06F18/2321H04N1/6016
Inventor 李艳杰
Owner LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products