The invention discloses a sensitive-
image identification method and a
system, and belongs to the technical field of
image identification. The sensitive-
image identification method and the
system are characterized in that the following steps are comprised: a step 1, grid dividing characteristic extraction fused with
skin color detection is carried out, and original bag-of-words expressing vectors of images are obtained through a bag-of-words model; a step 2, image characteristic optimization is carried out, and dimension-reduced optimization
image vector expressions are obtained through the utilization of a
random forest; a step 3, identification model training is carried out, that is to say through the utilization of a one-class
support vector machine, a one class classifier is trained in optimization vector space; and a step 4, image identification is carried out, i.e., if the images completely do not contain
skin color pixels in the pretreatment process of the step 1, the images are directly determined to be normal images; and otherwise, optimization characteristic expressions are obtained after
processing, and the optimization characteristic expressions enter the one-class classification model obtained through the training, so that identification results of the images are finally obtained. According to the invention, a one-class classification
algorithm is utilized to solve sensitive-image identification problem, and a plurality of techniques are fused in the
processing process, and the characteristic optimization
processing is carried out, so that the accuracy and the efficiency of the sensitive-image identification are improved.