Image Guarder
Image Guarder
Image Guarder
1
Department of Computer Science and Technology, Harbin Institute of Technology, China
2
Institute of Computing Technology, Chinese Academy of Sciences, China
{wzeng, tzhang ,yliu}@jdl.ac.cn; wgao@ict.ac.cn
original image skin color mask processed mask As C4.5 is the most popular decision tree method, it is
successfully used in the person image classification [3].
Fig.5. Examples of skin texture validation
We compared the C4.5 decision tree classifier and the
SVM in adult image recognition. Two types of kernel
5. ADULT IMAGE RECOGNITION functions, linear kernel function and radial basis function,
are used, which are represented as SVM 1 and SVM 2. Table
After the skin detection, the coarse object mask of human 1 illustrates the recognition results of C4.5 and SVM. It is
body is obtained. All the skin regions are treated as the shown that SVM 2 has highest accuracy, while SVM 1 has
the lowest accuracy. All the three classifiers have above zero to one. Zero means that no skin color detected in the
90% accuracy. image, and vise versa. From figure 6, there is about 99%
In this paper, we use precision and recall to test the adult image and the 14% benign images that have above
classifier performance. Table 2 illustrates the precision and ten percentage of skin color. That is to say, if the
recall of the SVMs. It is clear to see that C4.5 has the threshold is set 0.1, 99% adult images and 14% benign
highest recall, but its precision is the lowest. The SVM images will be classified as candidates of adult images.
based on radial basis function has the highest precision. The threshold 0.1 is also adopted in the Image Guarder
Therefore, the SVM with radial basis function is adopted because 86% benign images are correctly recognized.
in the Image Guarder as the second layer’s classifier. Figure 6(b) shows the texture occupation rate (TOR)
curves of skin region. The texture occupation rate defined
Table 2. The precision and recall of the three classifiers as the percentage of smooth texture for the skin color
Precision/Recall C4.5 SVM1 SVM2 regions detected by the skin color detector. TOR
1 73.03/73.73 72.62/67.16 75.49/70.18 represents the quantity of smooth texture in the detected
2 72.54/69.01 73.42/64.59 77.29/67.59 skin color regions. The adult image set and benign image
3 72.58/73.38 73.16/67.07 76.31/70.40 set have different TOR curves shown in figure 6(b). It can
4 72.19/72.44 72.65/68.03 75.67/70.47 be clearly seen that above 96% adult images have the 30%
5 72.04/69.36 72.68/67.77 75.97/70.38 smooth skin texture, while only 22% benign images have
such quantity of smooth texture. That is to say that if the
6 71.43/72.15 72.64/67.85 76.38/69.59
threshold for skin texture analysis si set as 0.3, 72%
7 72.05/72.02 72.70/67.72 75.80/71.24
benign images can be recognized by the skin texture
8 71.15/71.26 72.66/68.46 76.06/70.53
validation process.
9 70.48/71.73 73.05/67.04 76.42/70.15
10 70.78/74.34 72.57/68.26 75.86/70.36
Average 71.83/71.94 72.82/67.30 76.13/70.09