You are on page 1of 1

Fig 3.

1 Overall system configuration Flow Diagram


CHAPTER- 4
IMPLEMENTATION
4.1. IMPLEMENTATION DETAILS
4.1.1 FORM DESIGN
Form is a tool with a message. It is the physical carrier of data or information
. It also can constitute authority for actions. In the form command buttons are
used to do each module. The following are list of command buttons used in this p
roject.
4.1.2 LOAD IMAGE AND CAPTURE BUTTON
The load button and capture button are used to take the source image. The load b
utton is designed with an open dialog box feature with .jpg filtered list. The f
orm have a video box which read the video stream from the camera the frame is ca
ptured in the using the capture button.
4.1.3 SKIN COLOR DETECTING BUTTON
This button replaces the skin color region with white color and other
region with block color. The skin color is detected using the rule based algorit
hm it s a RGB color ratio that is used to remove to detect the skin color.
The condition of RGB skin color filter is as follows
(R > 95 & R < 220 & G > 40 & B > 20 &max{R, G, B} min{R, G, B} > 15 &?R G? >
15 & R > G & R > B)
We formulate the skin detection task as a standard two-class classification prob
lem. Taking color vector xc as input and producing binary output - 1 for skin,
0 for non-skin. Pixel-based skin detector works by sequentially and independentl
y analyzing each image pixel s color and labeling the pixel as skin or non-skin.
A good example of input and output of a skin detector is shown in gure 1. The b
i nary output image is usually called the skin map. Source image (left) and skin
m ap (right) example. Skin pixels marked with white. Some detectors are capable
of producing not binary, but continuous output - skin likelihood value (sometim
es called skinness), usually normalized to [0; 1]. In this case skin map turns i
nto one-channel skin likelihood image, which can be transformed into skin map by
th resholding.
4.1.4 REMOVE NOISE BUTTON
The noise removal button removes the noise from the unwanted small noise. The fi
lters used here for filtering the noise are dilation and erosion. The erosion re
moves the small doted noise from the image which is given as the input. The dila
tion increases the size of the small dots. The erosion and dilation are done rep
eatedly to remove the maximum noise.
Eroding and Dilating Image Objects
The basic morphological operations, erosion and dilation, produce contrasting re
sults when applied to either grayscale or binary images. Erosion shrinks image o
bjects while dilation expands them. The specific actions of each operation are c
overed in the following sections.
Characteristics of Erosion
Erosion generally decreases the sizes of objects and removes small anomalies by
subtracting objects with a radius smaller than the structuring element. With gra