The Application of Body-feature Based Skin-detecting Algorithm in Erotic Image Filtering

Author
TanWeiHeng
Advisor
ShenZuoJing
School
Jilin University
Major
Applied Computer Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2006
Downloads
243
Citations
5

Request the full text

Abstract

Building up content-based image filtering on the Internet is a crucial issuebecause of the recent explosion in the amount of online images .But the usualfiltering methods are only based on the IP address and the web text content .In thispaper, a method for detecting skin color which is based on human face and bodypositional information have been proposed to solve the problems .Concretely, themain contributes of the paper are:1)We review the development of face detecting technology .In the view ofveracity and velocity, we select Viola’s rapid face detecting algorithm which isbased on the Integral Image and the AdaBoost training .The method make useof the Integral Image to calculate the rectangle features which will compose astrong classifier after the AdaBoost training .Because the rapid calculating ofthe integral image ,the simple-to-complex strategy and the cascade structure ofthe classifier ,the classifying speed increase greatly .We implement the facedetecting with the Intel corporation’s OpenCV image processing library .Inorder to successfully detect rotated faces ,each input image is passed to facedetector three times .The first time is the original image ,the next two times areits rotated variants with rotation angle of 45 degrees anticlockwise andclockwise respectively .On the base of rotated face detection we calculate theaverage and the variance of quantum in the YCrCb color space as the face skinfeatures .Then we employ the thinking of ellipse fitting to establish a humanbody model with a series of mathematic formulas .As a result, we achieve togetting the body approximate location .Because there is large naked skin area inerotic image ,the body here means the largest part of exposed skin area in thisalgorithm .2)During the summary of classic skin algorithm ,we analyze the character of theskin as well as the color space .Comparison has been made among several skincolor models .The skin color models include Statistical Color Model;GaussianMixture Model;Chroma Space Model .The classic skin algorithm also use thetexture detecting for the filtration .After the analysis and comparison of thetexture usual algorithm ,our system introduce the one-rank-gray statconsidering the result and speed .In the classic skin detection we only use thecolor information and ignore the importance of the pixel positioninformation .To our common sense ,even the same color in differentdistribution maybe present different object .And the skin pixel appear more inthe center area and around the object than other area .Aiming at the deficiencyof the traditional skin color algorithm, we propose the dynamic thresholdmethod based on the pixel positional information using the body approximatelocating algorithm in the Chapter 2 .Firstly we define the absolute distance andrelative distance to measure the pixel position .Here the absolute distancemeans the distance from the pixel to the center of the image and the relativedistance means the minimum of the distance from the pixel to the center of theface ellipse and the body ellipse .Secondly we take advantage of the Bayestheory to establish the relation between the pixel distance and the skinprobability .The skin probability of the pixel will be larger when its relativedistance is more little .Then the skin threshold can be dynamically determinedaccording to the skin probability and the face skin feature. In the comparison ofstatic algorithm, our algorithm’ advantage is that different pixel in differentimage has different skin threshold .After having a experiment on 814 images,we find that the method can wipe off the skin-like color background effetely.3)Erotic image filtering is a non-trivial and challenging task .This paper does notconcentrate on the essence of filter, but focus on offering effective classifyingfeatures to the filter. Although there are many sophisticated classificationmethods such as Support Vector Machine (SVM) and Artificial NeuralNetwork (ANN) ,we opt for using decision tree for its simplicity and itsparticular efficiency .For one thing we summary the usual features of eroticimage .For another, the body model features are proposed after the facedetection and body approximate location .We hope these body features andimproved skin features can wide off the skin-like background effectively .Forthe sake of the experiments, we use a library including 1714 images .From theresult, we find that the passive rate decrease while the positive rates varies little.The reasons for the result include two points: one is that face detection canoffer good skin information;the other is that the face and body positionalinformation directly increases the information inputted the algorithm.4)We introduce the technology of dynamic link library .It has the advantage ofsaving memory, easy upgrading and good service .According to the character ofthe program, we pack the correlative algorithms in the DLL documents .Thealgorithm of the face detection and the body location are packed in theModel.dll, and the dynamic skin threshold are packed in the Distance.dll..

Table of contents

The first chapter 7-13 1.1 topics background 7-9 1.2 domestic and international technology development overview 9-11 1.3 papers The main research content and structure arrangements 11-13 second face detection and human preliminary positioning 13-31 2.1 Face Detection 13-21 < br /> 2.1.1 Face Detection technique 13-15 2.1.2 fast face detection 15-21 2.2 OpenCV image processing library 21 the -25 2.2.1 OpenCV About 21-22 2.2.2 the OpenCV common data types 22-25 2.3 body preliminary positioning 25 -31 2.3.1 rotating face detection 25 2.3.2 face color feature extraction 25-26 2.3.3 Face verification 26-27 2.3.4 human model of 27-31 Chapter skin detection the 31-49 3.1 traditional complexion method of determining 31-44 3.1.1 skin detection algorithm research and modeling 31-39 3.1.2 Texture Detection model 39-44 the 3.2 improved complexion determination method 44-49 3.2.1 dynamic threshold method based on the pixel location information 45-47 3.2.2 Improved color algorithm experimental results 47-49 Chapter sensitive image filters to achieve 49-53 4.1 sensitive filter characteristics 49 the 4.2 human model feature extraction nbsp dynamic link 49-51 4.3 image classification 51-53 Chapter dynamic link technology 53-61 5.1 ; 53-56 5.1.1 dynamic link generated background the 53-54 5.1.2 Dynamic Link About 54-55 5.1.3 The advantage of dynamic link library the 55-56 5.2 dynamic link library implementation 56-61 Chapter 6 Conclusions 61-65 6.1 this article summary of the work the 61-62 6.2 Job Outlook 62-65 Reference 65-68 Summary 68-70 ABSTRACT 70-73 Acknowledgements 73-74 instructor and author are found; 74

Related dissertations

  1. Research and Realization of Face Detection and Recognition
    YangNing ·Northeastern University ·2012 ·Master's thesis
  2. Supervised Local Subspace Learning for Head Pose Estimation
    HuHongBo ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research and Application of OpenCV in Face Access System
    GongYanYu ·Hebei University of Technology ·2012 ·Master's thesis
  4. Face Recognition Software System Based on Sparse Representation
    WangXiaoLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Face Recognition Technology Research Based on Skin Color
    ZhaoJing ·Tianjin University of Technology ·2013 ·Master's thesis
  6. The Research and Implementation of Face Detection Based on AdaBoost Algorithm
    LiFang ·Wuhan University of Technology ·2012 ·Master's thesis
  7. The Research and Implementation of Face Detection and Tracking Based on Adaboost and TLD
    ZhangShangDi ·Harbin Engineering University ·2013 ·Master's thesis
  8. The Detection of Driving Fatigue Based on Facial Features
    ZhangLiZuo ·Hefei University of Technology ·2013 ·Master's thesis
  9. Research on intelligent recognition algorithm based on evolutionary algorithm for dynamic video stream
    LiKai ·Jiangxi University of Technology ·2013 ·Master's thesis
  10. Study of Pedestrians Counting Based on Face Detection
  11. Researh on Fatigue Driving Detection Method and Its Implemention in Embeded System
    YangCaiKun ·Northeastern University ·2013 ·Master's thesis
  12. A Study of the Content-based Face Image Retrieval Technology
  13. Parallel Face Detection CUDA Accelerating
  14. Face Detection Using Asymmetric Boosting with Gabor Feature
    LvPengWei ·Central South University ·2013 ·Master's thesis
  15. Research and Implementation of Image Edge Detection Technology in Face Recognition
  16. An Improved Face Recognition Algorithm Based on Blocked DCT and Two-directional2DPCA
    WeiXiuQin ·Liaoning Normal University ·2013 ·Master's thesis
  17. Study of Face Detection and Localization Based on Skin Color Segmentation
    ZhuZhiLiang ·Jiangxi Normal University ·2013 ·Master's thesis
  18. A Novel Sparse Representation Method Based on Virtual Samples for Face Detection and Recognition System
    TangDeYan ·Hunan University ·2013 ·Master's thesis
  19. Study for Face Detection Based on Panoramic Image Mosaics in Complex Background
    YuFu ·Hunan University ·2013 ·Master's thesis
  20. Face Detection Technology Based on Adaboost Algorithm