CN102306287B - A kind of method and equipment for identifying a sensitive image - Google Patents
A kind of method and equipment for identifying a sensitive image Download PDFInfo
- Publication number
- CN102306287B CN102306287B CN201110246789.5A CN201110246789A CN102306287B CN 102306287 B CN102306287 B CN 102306287B CN 201110246789 A CN201110246789 A CN 201110246789A CN 102306287 B CN102306287 B CN 102306287B
- Authority
- CN
- China
- Prior art keywords
- image
- sensitive
- pending
- equipment
- pending image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
It is an object of the invention to provide a kind of method and equipment for identifying a sensitive image.Wherein, nude picture detection equipment 1 obtains and refers to sensitive image;According to the reference sensitive image, set up or update with reference to sensitive picture library;Pending image is obtained, to recognize whether the pending image belongs to sensitive image;According to the pending image, similar inquiry is carried out in the picture library with reference to sensitivity, to obtain the Query Result corresponding with the pending image.Compared with prior art, the present invention realizes effective identification to the repetition sensitive image in network, the nude picture detection pressure of application server is reduced, while having purified network environment so that netizen obtains more preferable network and roamed experience.Further, the present invention can also do corresponding shielding processing according to based on the Query Result with reference to sensitive picture library to pending image and/or its source.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of technology for being used to recognize sensitive image.
Background technology
Sensitive image in network, such as yellow image, violence image, reaction image, repetitive rate are higher, and such as same quick
Feeling image can be repeated to upload by different people, or turn note by different website repetitions, and its resource concentration degree is also higher, has
A little websites, image therein is mostly sensitive image.
Existing nude picture detection, mostly by being accomplished manually, or machine passes through the text of description information of image is known
Do not judge whether image is sensitive image, so that due to lacking the content analysis to image, and to much only picture material is quick
The sensitive image of sense is helpless.
Therefore, how sensitive image is recognized using the high-repetition-rate characteristic of sensitive image, to improve the identification of sensitive image
Efficiency, as one of current urgent problem.
The content of the invention
It is an object of the invention to provide a kind of method and equipment for identifying a sensitive image.
According to an aspect of the invention, there is provided a kind of computer implemented method for recognizing sensitive image, its
In, this method comprises the following steps:
A is obtained and is referred to sensitive image;
B sets up or updated with reference to sensitive picture library according to the reference sensitive image;
Wherein, this method also includes:
X obtains pending image, to recognize whether the pending image belongs to sensitive image;
Y carries out similar inquiry in the picture library with reference to sensitivity, waits to locate with described to obtain according to the pending image
Manage the corresponding Query Result of image.
According to another aspect of the present invention, a kind of equipment for recognizing sensitive image is additionally provided, wherein, the equipment
Including:
Reference picture acquisition device, sensitive image is referred to for obtaining;
Sensitive picture library sets up device, for according to the reference sensitive image, setting up or updating with reference to sensitive picture library;
Wherein, the equipment also includes:
Pending image acquiring device, for obtaining pending image, to recognize whether the pending image belongs to quick
Feel image;
Pending image querying device, for according to the pending image, phase to be carried out in the picture library with reference to sensitivity
Like inquiring about, to obtain the Query Result corresponding with the pending image.
Compared with prior art, the present invention refers to sensitive image by obtaining, and sets up with reference to sensitive picture library, and using should
Processing image is treated with reference to sensitive picture library and carries out nude picture detection, realizes effective knowledge to the repetition sensitive image in network
Not, the nude picture detection pressure of application server is reduced, while having purified network environment so that netizen obtains more preferable net
Network is roamed experience.Further, the present invention can also be according to based on the Query Result with reference to sensitive picture library, to pending image
And/or corresponding shielding processing is done in its source, such as belong to sensitive image when pending image, shield the pending image, this treats
Mark of submission equipment of image etc. is handled, and shielding result is supplied to corresponding submission equipment.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows the schematic diagram for being used to recognize the equipment of sensitive image according to one aspect of the invention;
Fig. 2 shows the schematic diagram for being used to recognize the equipment of sensitive image in accordance with a preferred embodiment of the present invention;
Fig. 3 shows the schematic diagram for being used to recognize the equipment of sensitive image according to another preferred embodiment of the present invention;
Fig. 4 shows the method flow diagram for being used to recognize sensitive image according to a further aspect of the present invention;
Fig. 5 shows the method flow diagram for being used to recognize sensitive image in accordance with a preferred embodiment of the present invention;
Fig. 6 shows the method flow diagram for being used to recognize sensitive image according to another preferred embodiment of the present invention.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is the equipment schematic diagram according to one aspect of the invention, shows the equipment for recognizing sensitive image.Wherein,
Nude picture detection equipment 1 includes reference picture acquisition device 11, sensitive picture library and sets up device 12, pending image acquiring device
13 and pending image querying device 14.Specifically, reference picture acquisition device 11 obtains and refers to sensitive image;Sensitive picture library is built
Vertical device 12 is set up or updated with reference to sensitive picture library according to the reference sensitive image;Pending image acquiring device 13 is obtained
Pending image, to recognize whether the pending image belongs to sensitive image;Pending image querying device 14 is according to described
Pending image, it is described with reference to sensitive picture library in carry out similar inquiry, to obtain and the pending image is corresponding looks into
Ask result.Here, nude picture detection equipment 1 includes but is not limited to various application servers, such as forum servers, blog take
Be engaged in device etc., and the network equipment being connected with the application server, wherein, the network equipment include but is not limited to network host,
Single network server, multiple webserver collection or the set of computers based on cloud computing, here, cloud computing is distributed meter
One kind of calculation, a super virtual computer being made up of the computer collection of a group loose couplings.Those skilled in the art should be able to
Understand that above-mentioned nude picture detection equipment and the network equipment are only for example, other Sensitive Graphs that are existing or being likely to occur from now on
As identification equipment or the network equipment are such as applicable to the present invention, it should also be included within the scope of the present invention, and to quote
Mode is incorporated herein.
Reference picture acquisition device 11 obtains and refers to sensitive image.Here, reference picture acquisition device 11 is obtained with reference to quick
The mode of sense image includes but is not limited to:1) receive the reference sensitive image from other equipment, the other equipment include but
Be not limited to user equipment and the network equipment, wherein, the user equipment include but is not limited to it is any can with user via keyboard, touch
Touch the electronic product that screen, voice-input device etc. are swapped, personal computer, tablet personal computer, mobile phone, PSP etc.;2) from
The other equipment obtains original image, and the original image is classified, to obtain the reference sensitive image.Example
Such as, the reference picture that reference picture acquisition device 11 is provided according to nude picture detection equipment 1 to other equipment submits interface, obtains
The reference sensitive image for taking other equipment to submit interface to be submitted to the nude picture detection equipment 1 via the reference picture.Ability
Field technique personnel will be understood that above-mentioned acquisition is only for example with reference to the mode of sensitive image, and other are existing or are likely to occur from now on
Acquisition be such as applicable to the present invention with reference to the mode of sensitive image, should also be included within the scope of the present invention, and to draw
It is incorporated herein with mode.
Preferably, reference picture acquisition device 11 obtains one or more original images;The original image is divided
Generic operation, to obtain the reference sensitive image from the original image.For example, reference picture acquisition device 11 is opened from network
Put and multiple original images are obtained in picture library, according to grader, such as SVM classifier, the grader based on decision tree, be based on
These original images are carried out sort operation by grader of AdaBoost algorithms etc., to obtain and presetting in aforesaid class device
The reference sensitive image that sensitive image sample or default sensitive image parameter are consistent.Those skilled in the art will be understood that above-mentioned right
Original image is classified in the way of obtaining and refer to sensitive image and grader is only for example, and other are existing or from now on may be used
Being classified to original image for occurring such as is applicable to the present invention to obtain with reference to sensitive image or grader, should also wrap
It is contained within the scope of the present invention, and is incorporated herein by reference.
It is highly preferred that the sort operation that the reference sensitive image is obtained from the original image is based on but not limited
In below any one of at least:
1) preset SVM classifier;
2) preset gauss hybrid models;
3) strong classifier based on AdaBoost algorithms.
Specifically, after SVM classifier, gauss hybrid models are trained through sensitive image sample set, corresponding ginseng can be obtained
Number, so that as the preset svm classifier for being used to obtain the sort operation with reference to sensitive image from original image in the present invention
Device and preset gauss hybrid models;It is optimal that AdaBoost algorithms are obtained for selecting after the training of sensitive image sample set
Weak Classifier, and strong classifier is constituted based on these Weak Classifiers, so that obtaining is used for the base of the sort operation in the present invention
In the strong classifier of AdaBoost algorithms.Reference picture acquisition device 11 is according to preset SVM classifier, preset Gaussian Mixture
Model or the strong classifier based on AdaBoost algorithms, the original image obtained to it carry out sort operation, obtain the original
Beginning image belongs to the probable value of sensitive image, and probable value is exceeded into the original image of predetermined threshold, is used as the reference
Sensitive image is set up or updates described with reference to sensitive picture library.
Sensitive picture library sets up the reference sensitive image that device 12 is obtained according to reference picture acquisition device 11, sets up or updates
With reference to sensitive picture library.For example, reference picture acquisition device 11 is received from other equipment refers to sensitive image, or from other equipment
Original image is obtained, and sensitive image is referred to being obtained after original image classification;Sensitive picture library is set up device 12 and joined according to these
Examine sensitive image to set up with reference to sensitive picture library, and after this sets up with reference to sensitive picture library, subsequently obtained according to reference picture device 11
The reference sensitive image taken, updates the sensitive picture library of the reference.Those skilled in the art will be understood that above-mentioned foundation and update ginseng
The mode for examining sensitive picture library is only for example, and other foundation or renewal existing or be likely to occur from now on refer to sensitive picture library
Mode is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Pending image acquiring device 13 obtains pending image, for recognizing whether the pending image belongs to sensitive
Image.Here, the mode that pending image acquiring device 13 obtains the pending image includes but is not limited to:1) set from other
It is standby to receive the pending image;2) reference address for pointing to the pending image is received from other equipment, and according to described
Reference address, obtains the pending image;3) from network opening picture library, such as image search result of search engine offer,
Image that webpage includes etc., obtains the pending image.Those skilled in the art will be understood that the pending figure of above-mentioned acquisition
The mode of picture is only for example, and other modes for obtaining pending image that are existing or being likely to occur from now on are such as applicable to this hair
It is bright, it should also be included within the scope of the present invention, and be incorporated herein by reference.
Pending image querying device 14 obtains pending image according to pending image acquiring device 13, in sensitive picture library
Similar inquiry is carried out in the sensitive picture library of reference for setting up the foundation of device 12, to obtain the inquiry corresponding with the pending image
As a result.Here, the mode that pending image querying device 14 carries out similar inquiry to pending image includes but is not limited to:1) it is right
The local content or full content of pending image, it is local interior to this by hash algorithm, MD5 algorithms, SHA algorithms etc.
Hold or full content calculates content signature, and according to content signature inquiry with reference to sensitive picture library;2) pending image is extracted
Image feature information, color characteristic information, texture feature information, shape facility information, spatial signature information etc., and root
According to the inquiry of these image feature informations with reference to sensitive picture library.Preferably, pending image querying device 14 is to pending image
When carrying out similar inquiry, the repetitive rate that can be combined with reference sensitive image corresponding to pending image sets different similar
Threshold value is spent, and according to the similarity threshold, obtains the Query Result corresponding with the pending image.Here, the repetition
Rate includes the accumulative similar number of times of the reference sensitive image and the pending image of history.For example, to repetitive rate more than 10 times
With reference to sensitive image, its corresponding similarity threshold is set as 70%, the reference sensitive image to repetitive rate more than 5 times, setting
Its corresponding similarity threshold is 80%, and the reference sensitive image of 5 times is less than to repetitive rate, its corresponding similarity threshold is set
For 90%;Pending image querying device 14 is according to the sensitive picture library of pending image querying reference, and combination refers to sensitive image
Repetitive rate and corresponding similarity threshold, obtain corresponding Query Result, the Query Result includes and the pending figure
As corresponding reference sensitive image and its similarity with the pending image.Further, pending image querying
Device 14, with reference to the corresponding similarity threshold with reference to sensitive image, can also judge the pending figure according to the similarity
Seem it is no belong to sensitive image, and will determine that result as Query Result.For example, pending image and the phase with reference to sensitive image
It is 82% like degree, if this is 80% with reference to the corresponding similarity threshold of sensitive image, the pending image belongs to Sensitive Graphs
Picture;If this is 90% with reference to the corresponding similarity threshold of sensitive image, the pending image is not belonging to sensitive image.Ability
Field technique personnel will be understood that the above-mentioned mode and Query Result that similar inquiry is carried out to pending image is only for example, other
Mode or Query Result that similar inquiry is carried out to pending image existing or be likely to occur from now on are such as applicable to this
Invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Preferably, the pending image that pending image querying device 14 is obtained according to pending image acquiring device 13,
Extract the image feature information of the pending image;According to described image characteristic information, set up device 12 in sensitive picture library and build
Similar inquiry is carried out in the sensitive picture library of vertical reference, to obtain the Query Result.Here, described image characteristic information include but
Any photographed image-related information for carrying out similar inquiry to the pending image according to this for being applicable to the present invention is not limited to, such as
Color characteristic information, texture feature information, shape facility information etc..For example, pending image acquiring device 13 is received from other
The pending image that equipment is submitted;Pending image querying device 14 is treated according to being extracted hsv color histogram, color set etc.
The color characteristic information of image is handled, extracts described pending according to gray level co-occurrence matrixes, wavelet transformation, random field models method etc.
The texture feature information of image, the shape of the pending image is extracted according to Fourier's shape description symbols method, boundary characteristic method etc.
Shape characteristic information, the spatial signature information for extracting the pending image is split according to image, and believe according to these characteristics of image
Breath inquiry is with reference to sensitive picture library, to obtain corresponding Query Result, such as the reference Sensitive Graphs corresponding with the pending image
Picture, and these are with reference to the susceptibility of sensitive image.Those skilled in the art will be understood that each of the pending image of said extracted
The mode and image feature information of item of image characteristic information are only for example, and other extractions that are existing or being likely to occur from now on are treated
The mode or image feature information for handling every image feature information of image are such as applicable to the present invention, should also be included in this
Within invention protection domain, and it is incorporated herein by reference.
It is highly preferred that described image characteristic information includes but is not limited to, below any one of at least:
1) color characteristic information;
2) SIFT feature information.
Specifically, color characteristic information include but is not limited to pending image querying device 14 according to hsv color histogram,
The correlation for the color characteristic for describing the pending image that the modes such as color set, color moment are extracted from pending image
Information, and these color characteristics relevant information quantize processing after numerical value;SIFT feature information includes pending image
The local feature for being used to describe the pending image that inquiry unit 14 is extracted according to SIFT algorithms from pending image
Relevant information, and these local features relevant information quantize processing after numerical value.Those skilled in the art will be understood that
Pending image querying device 14 not only individually can carry out pending image according to color characteristic information or SIFT feature information
Similar inquiry, color characteristic information and SIFT feature information can also be combined, carry out the similar inquiry of pending image.
Those skilled in the art should also be understood that above-mentioned image feature information is only for example, other figures that are existing or being likely to occur from now on
As characteristic information is such as applicable to the present invention, it should also be included within the scope of the present invention, and be incorporated herein by reference.
Preferably, the Query Result includes but is not limited to, below any one of at least:
1) whether the pending image belongs to the object information of sensitive image;
2) first corresponding to the pending image refers to sensitive image;
3) susceptibility of first corresponding to the pending image with reference to sensitive image.
Specifically, pending image querying device 14 can be obtained when carrying out similar inquiry according to pending image
Query Result includes but is not limited to:1) first corresponding to the pending image refers to sensitive image;2) first reference
The susceptibility of sensitive image, the susceptibility is used to characterize the sensitivity with reference to each reference sensitive image in sensitive picture library,
The sensitive picture library of the reference can be added into each reference sensitive image to preset, and/or is updated in subsequent process;3) root
The pending figure is obtained according to the similarity of the susceptibility or the first reference sensitive image and the pending image
It seem the no object information for belonging to sensitive image.Here, those skilled in the art will be understood that pending image querying device 14
The Query Result of acquisition can be any of the above-described or appoint multinomial.Those skilled in the art should also be understood that above-mentioned every inquiry knot
Fruit is only for example, and other Query Results that are existing or being likely to occur from now on are such as applicable to the present invention, should also be included in this hair
Within bright protection domain, and it is incorporated herein by reference.
It should be noted that reference picture acquisition device 11 and sensitive picture library set up the mistake of the performed operation of device 12
Journey, both can be real with pending image acquiring device 13 and the process of the performed operation of pending image querying device 14
When be carried out continuously, progress can also be segmented, i.e., first set up device 12 by reference picture acquisition device 11 and sensitive picture library and held
Row corresponding operating is set up after the sensitive picture library of reference, then by pending image acquiring device 13 and pending image querying device 14
Perform corresponding operating and carry out the acquisition of pending image and based on the inquiry with reference to sensitive picture library.Here, reference picture is obtained
Device 11 and sensitive picture library is taken to set up the process of the performed operation of device 12, with pending image acquiring device 13 and waiting to locate
Being carried out continuously and being segmented for the process of the performed operation of reason image querying device 14 carries out that different applications can be directed to.For example,
When being carried out continuously, reference picture acquisition device 11 and sensitive picture library set up device 12 according to the first ginseng for submitting equipment to provide
Examine sensitive image and set up or update sensitive picture library, then, pending image acquiring device 13 and pending image querying device
The 14 pending images for submitting equipment to submit to second according to the sensitive picture library carry out nude picture detection;When being segmented progress,
Reference picture acquisition device 11 and sensitive picture library are set up according to reference sensitive image under setting up device 12 online and update sensitive
Picture library, pending image acquiring device 13 obtains pending image, and pending image querying device 14 exists according to the sensitive picture library
Nude picture detection is carried out to the pending image in real time on line.
Fig. 2 is the equipment schematic diagram according to a preferred embodiment of the invention, shows the equipment for recognizing sensitive image.
Wherein, nude picture detection equipment 1 sets up device 12 ', pending image including reference picture acquisition device 11 ', sensitive picture library
Acquisition device 13 ', pending image querying device 14 ', renewal image acquiring device 15 ' and sensitive picture library updating device 16 '.Tool
Body, reference picture acquisition device 11 ' obtains and refers to sensitive image;Sensitive picture library sets up device 12 ' according to described with reference to sensitive
Image, sets up or updates with reference to sensitive picture library;Pending image acquiring device 13 ' obtains pending image, to recognize described treat
Whether processing image belongs to sensitive image;Pending image querying device 14 ' is according to the pending image, described with reference to quick
Similar inquiry is carried out in sense picture library, to obtain the Query Result corresponding with the pending image;Update image acquiring device
15 ' obtain the attribute-bit of more new images and the more new images;Sensitive picture library updating device 16 ' according to the more new images and
The attribute-bit, updates described with reference to sensitive picture library.
Wherein, reference picture acquisition device 11 ', sensitive picture library set up device 12 ', pending image acquiring device in Fig. 2
13 ', performed by pending image querying device 14 ' reference picture acquisition device 11, sensitive picture library are set up and filled in operation and Fig. 1
Put 12, pending image acquiring device 13 identical with the operation performed by pending image querying device 14, for simplicity, with
Way of reference is included in this, repeats no more.
Update the attribute-bit that image acquiring device 15 ' obtains more new images and the more new images.Here, more new images
Reference picture acquisition device 11 obtains the mode with reference to sensitive image in the mode and Fig. 1 of the acquisition of acquisition device 15 ' more new images
And/or the mode that pending image acquiring device 13 obtains pending image is identical or essentially identical, for simplicity, to quote
Mode is incorporated herein, and is repeated no more.The attribute-bit of the more new images include but is not limited to it is any be applicable to the present invention
For the relevant information for the attribute for identifying the more new images, including normal picture mark and sensitive image mark, the attribute
Mark can be preset.
Sensitive picture library updating device 16 ' is schemed according to the more new images for updating the acquisition of image acquiring device 15 ' with described update
The attribute-bit of picture, updates the sensitive picture library of reference that sensitive picture library sets up the foundation of device 12 '.Here, sensitive picture library updating device
16 ', which update the mode with reference to sensitive picture library, includes but is not limited to:If 1) attribute-bit of more new images includes normal picture
Mark, refers to sensitive image accordingly with reference to sensitive picture library, acquisition according to the renewal image querying, a) reduces the ginseng
The susceptibility of sensitive image is examined, when the susceptibility is less than predetermined threshold, the corresponding reference Sensitive Graphs of the susceptibility are deleted
Picture;B) the reference sensitive image is directly deleted;If 2) attribute-bit of more new images is identified including sensitive image, according to described
Update with reference to sensitive picture library described in image querying, acquisition refers to sensitive image accordingly, a) increases the reference sensitive image
Susceptibility, when the susceptibility exceedes predetermined threshold, Sensitive Graphs are designated by the corresponding reference sensitive image of the susceptibility
Picture;B) the reference sensitive image is directly designated sensitive image.For example, the attribute-bit of more new images includes normal picture
Mark, sensitive picture library updating device 16 ' is according to the renewal image querying with reference to sensitive picture library, and acquisition refers to Sensitive Graphs accordingly
As 1,2,3,4, directly delete these and refer to sensitive image, it is described with reference to sensitive picture library to update.And for example, the attribute of more new images
Mark includes sensitive image mark, and sensitive picture library updating device 16 ', with reference to sensitive picture library, is obtained according to the renewal image querying
It is corresponding to refer to sensitive image 1,2,3,4, and these susceptibilitys with reference to sensitive image are added 1, wherein, with reference to sensitive image
1 and 3 susceptibility is 6 after adding 1, more than predetermined threshold 5, then will be designated sensitive image with reference to sensitive image 1 and 3, to update
The sensitive picture library of reference.Those skilled in the art will be understood that above-mentioned renewal is only for example with reference to the mode of sensitive picture library, its
He is such as applicable to the present invention at renewal that is existing or being likely to occur from now on reference to the mode of sensitive picture library, should also be included in this hair
Within bright protection domain, and it is incorporated herein by reference.
It should be noted that those skilled in the art will be understood that above-mentioned sensitive picture library updating device 16 ' and above-mentioned sensitivity
It can be two separate modules that picture library, which sets up device 12 ', can also integrate.
Preferably, the attribute-bit of the more new images is identified including normal picture;The sensitive basis of picture library updating device 16 '
The more new images, it is described with reference to sensitive picture library in carry out similar inquiry, to obtain corresponding with the more new images the
Two refer to sensitive image;Reduce the susceptibility of the second reference sensitive image;Second after the reduction refers to Sensitive Graphs
When the susceptibility of picture is less than given threshold, deletes described second and refer to sensitive image.For example, the attribute-bit of more new images includes
Normal picture is identified;Sensitive picture library updating device 16 ' more new images according to, similar look into is carried out in reference to sensitive picture library
Ask, to obtain corresponding with the more new images the second reference sensitive image 1,2,3,4, and these second are referred into Sensitive Graphs
The susceptibility of picture subtracts 1, wherein, second with reference to sensitive image 1 and 3 susceptibility subtract 1 after be 4, less than given threshold 5, then delete
Second refers to sensitive image 1 and 3, described with reference to sensitive picture library to update.
Preferably, the attribute-bit of the more new images is identified including sensitive image;The sensitive basis of picture library updating device 16 '
The more new images, it is described with reference to sensitive picture library in carry out similar inquiry, to obtain corresponding with the more new images the
Three refer to sensitive image;It is sensitive image that the described 3rd, which is identified, with reference to sensitive image, described with reference to sensitive picture library to update.Example
Such as, the attribute-bit of more new images is identified including sensitive image;Sensitive picture library updating device 16 ' more new images according to,
With reference to carrying out similar inquiry in sensitive picture library, with obtain threeth corresponding with the more new images refer to sensitive image 1,2,3,
4, and these the 3rd reference sensitive images are designated sensitive image, it is described with reference to sensitive picture library to update.
Fig. 3 is the equipment schematic diagram according to another preferred embodiment of the present invention, is shown for recognizing setting for sensitive image
It is standby.Wherein, nude picture detection equipment 1 sets up device 12 ", pending figure including reference picture acquisition device 11 ", sensitive picture library
As acquisition device 13 ", pending image querying device 14 ", shielding processing device 17 " and result provide device 18 ".Specifically,
Reference picture acquisition device 11 " obtains and refers to sensitive image;Sensitive picture library sets up device 12 " according to the reference sensitive image,
Set up or update with reference to sensitive picture library;Pending image acquiring device 13 " obtains pending image, to recognize the pending figure
Seem no to belong to sensitive image;Pending image querying device 14 " is according to the pending image, described with reference to sensitive picture library
It is middle to carry out similar inquiry, to obtain the Query Result corresponding with the pending image;Shielding processing device 17 " is according to described
Query Result, corresponding shielding processing is done to the source of the pending image and/or the pending image, with acquisition and institute
State the corresponding shielding result of shielding processing;Device 18 " is as a result provided the shielding result is supplied to the pending image
Corresponding submission equipment.
Wherein, in Fig. 3 reference picture acquisition device 11 ", sensitive picture library sets up device 12 ", pending image and obtains dress
Put reference picture acquisition device 11, sensitive picture library in the content and Fig. 1 of the performed operation of 13 ", pending image querying device 14 "
Set up the performed operation of device 12, pending image acquiring device 13 and pending image querying device 14 content is identical or base
This is identical, for simplicity, this is included in by reference, repeated no more.
Shielding processing device 17 " is according to the Query Result, to the pending image and/or the pending image
Corresponding shielding processing is done in source, to obtain the shielding result corresponding with the shielding processing.Here, the shielding processing bag
Include but be not limited to:1) the pending image is shielded;2) shielding includes the page of the pending image;3) page is shielded
Affiliated website;4) shield the mark of the submissions equipment of the pending image, including the reference address for submitting equipment with
Other identification informations of the submission equipment;5) ID of the user submitted corresponding to equipment or manager are shielded.This area
Technical staff will be understood that shielding processing device 17 " both can while carry out any of the above-described or appoint multinomial shielding processing,
Above-mentioned every shielding processing can be progressively carried out according to certain execution condition.Those skilled in the art should also be understood that above-mentioned screen
The mode for covering processing is only for example, and other modes of shielding processing that are existing or being likely to occur from now on are such as applicable to this hair
It is bright, it should also be included within the scope of the present invention, and be incorporated herein by reference.
As a result the shielding result is supplied to the submission equipment corresponding to the pending image by offer device 18 ".Example
Such as, shielding processing device 17 " is shielded after pending image according to Query Result, obtains the page that image section can not be shown;Knot
Fruit provides the page push that can not show the image section of device 18 " to the submission equipment of the pending image.And for example, shield
Processing unit 17 " shields the IP address of the submission equipment corresponding to pending image, and generate 404 mistakes according to Query Result
The page;Device 18 " is as a result provided the 404 wrong page is pushed into the submission equipment.Those skilled in the art will be understood that
The mode for stating offer shielding result is only for example, and modes that other offers that are existing or being likely to occur from now on shield result such as may be used
Suitable for the present invention, it should also be included within the scope of the present invention, and be incorporated herein by reference.
It should be noted that those skilled in the art will be understood that in one embodiment of the invention, coordinate refering to figure
1st, Fig. 2 and Fig. 3, as a result providing device 18 " can also be combined with Fig. 1 or Fig. 2 nude picture detection equipment 1, be looked into described
Result is ask to provide to the submission equipment corresponding to the pending image.Here, result, which provides device 18 ", provides the inquiry knot
The mode of fruit includes but is not limited to:1) Query Result is all pushed into the submission equipment one by one or once;2) by institute
That states Query Result is partly or entirely based on page technology, ASP, JSP, PHP etc., generates the Query Result page, and by institute
Query Result page push is stated to the submission equipment, or the URL of the Query Result page is pushed into the submission and is set
It is standby, it is described to submit equipment by accessing the Query Result page that the URL is pointed to, obtain the Query Result.This area
Technical staff will be understood that the mode of above-mentioned offer Query Result is only for example, other offers that are existing or being likely to occur from now on
The mode of Query Result is such as applicable to the present invention, should also be included within the scope of the present invention, and include by reference
In this.
In a preferred embodiment of the invention (reference picture 3), reference picture acquisition device 11 " obtains and refers to Sensitive Graphs
Picture;Sensitive picture library sets up device 12 " according to the reference sensitive image, sets up or updates with reference to sensitive picture library;Pending image
Acquisition device 13 " is also received from the page access address for the sensing first page for submitting equipment to submit, and the first page includes
The pending image;According to the page access address, the first page is obtained;The first page is parsed, to obtain
The pending image.Pending image querying device 14 " enters according to the pending image in the picture library with reference to sensitivity
The similar inquiry of row, to obtain the Query Result corresponding with the pending image;As a result device 18 " is provided to tie the shielding
Fruit is supplied to the submission equipment.
Wherein, in the embodiment reference picture acquisition device 11 ", sensitive picture library is set up device 12 ", pending image and looked into
Inquiry device 14 " and result provide reference picture acquisition device 11 ", sensitivity in the performed content operated of device 18 " and earlier figures 3
Picture library set up device 12 ", pending image querying device 14 " and result provide the performed operation of device 18 " content it is identical or
It is essentially identical, for simplicity, this is included in by reference, repeated no more.
Pending image acquiring device 13 " is received from the page access address for the sensing first page for submitting equipment to submit,
The first page includes the pending image;According to the page access address, the first page is obtained;Parsing is described
First page, to obtain the pending image.Here, the submission equipment includes user equipment and the network equipment.For example, carrying
Friendship equipment is forum servers, and the forum servers send a URL for pointing to forum page to nude picture detection equipment 1, should
Forum page includes pending image, the submission that pending image acquiring device 13 " is provided by the nude picture detection equipment 1
The interface URL, and corresponding forum page is obtained according to the URL, the forum page is parsed, this is obtained pending
Image.Those skilled in the art will be understood that the mode of the pending image of above-mentioned acquisition is only for example, and other are existing or from now on
The mode for the pending image of acquisition being likely to occur such as is applicable to the present invention, should also be included within the scope of the present invention,
And be incorporated herein by reference.
Preferably, the nude picture detection equipment 1 in the present embodiment can also include shielding processing device 17 ", according to treating
The Query Result that image querying device 14 " is obtained is handled, to the pending image in the first page and/or described pending
Corresponding shielding processing is done in the source of image, to obtain the shielding result corresponding with the shielding processing;As a result device is provided
18 " are supplied to the shielding result submission equipment corresponding to the pending image.For example, submitting equipment to be set for user
Standby, pending image acquiring device 13 " receives the URL of user equipment submission, according to the corresponding page of URL acquisitions, and from
Pending image is extracted in the page;Pending image querying device 14 " is waited to locate to the Query Result of the pending image for this
Reason image belongs to sensitive image;Shielding processing device 17 " shields the mark of the user equipment according to the Query Result;As a result carry
The shielding is notified for device 18 " to send to the user equipment.Those skilled in the art will be understood that the side of above-mentioned shielding processing
Formula is only for example, and other modes of shielding processing that are existing or being likely to occur from now on are such as applicable to the present invention, should also include
It is incorporated herein within the scope of the present invention, and by reference.
Fig. 4 is the method flow diagram according to another aspect of the invention, is shown computer implemented for recognizing Sensitive Graphs
The process of picture.Here, the computer can largely be counted automatically, at high speed including any according to the program being previously stored
Value calculate and various information processings modernization intelligent electronic device, its hardware includes microprocessor, FPGA, DSP, embedded sets
It is standby etc..
Specifically, in step sl, nude picture detection equipment 1 obtains and refers to sensitive image;In step s 2, Sensitive Graphs
As identification equipment 1 is according to the reference sensitive image, sets up or update with reference to sensitive picture library;In step s3, sensitive image is known
Other equipment 1 obtains pending image, to recognize whether the pending image belongs to sensitive image;In step s 4, Sensitive Graphs
As identification equipment 1 is according to the pending image, similar inquiry is carried out in the picture library with reference to sensitivity, is treated with obtaining with described
Handle the corresponding Query Result of image.Here, nude picture detection equipment 1 includes but is not limited to various application servers, it is all
Such as forum servers, blog server, and the network equipment being connected with the application server, wherein, network equipment bag
Include but be not limited to network host, single network server, multiple webserver collection or the set of computers based on cloud computing,
This, cloud computing is one kind of Distributed Calculation, a super virtual computer being made up of the computer collection of a group loose couplings.
Those skilled in the art will be understood that above-mentioned nude picture detection equipment and the network equipment are only for example, other existing or the presents
The nude picture detection equipment or the network equipment being likely to occur afterwards are such as applicable to the present invention, should also be included in present invention protection
Within scope, and it is incorporated herein by reference.
In step sl, nude picture detection equipment 1 obtains and refers to sensitive image.Here, nude picture detection equipment 1 is obtained
The mode with reference to sensitive image is taken to include but is not limited to:1) the reference sensitive image is received from other equipment, described other are set
Standby including but not limited to user equipment and the network equipment, wherein, the user equipment includes but is not limited to any to pass through with user
The electronic product swapped by keyboard, touch-screen, voice-input device etc., such as personal computer, tablet personal computer, mobile phone,
PSP etc.;2) original image is obtained from the other equipment, and the original image is classified, it is described with reference to quick to obtain
Feel image.For example, the reference picture that nude picture detection equipment 1 is provided according to it to other equipment submits interface, other are obtained
Equipment submits the reference sensitive image that interface is submitted to the nude picture detection equipment 1 via the reference picture.Art technology
Personnel will be understood that above-mentioned acquisition is only for example with reference to the mode of sensitive image, other acquisitions that are existing or being likely to occur from now on
The present invention is such as applicable to reference to the mode of sensitive image, should be also included within the scope of the present invention, and by reference
It is incorporated herein.
Preferably, in step sl, nude picture detection equipment 1 obtains one or more original images;To described original
Image carries out sort operation, to obtain the reference sensitive image from the original image.For example, nude picture detection equipment
1 obtains multiple original images from network opening picture library, according to grader, such as SVM classifier, the classification based on decision tree
These original images are carried out sort operation by device, grader based on AdaBoost algorithms etc., with obtain with aforesaid class device
Default sensitive image sample or the reference sensitive image that is consistent of default sensitive image parameter.Those skilled in the art will be understood that
It is above-mentioned original image to be classified to obtain with reference in the way of sensitive image and grader is only for example, other it is existing or
Being classified to original image for being likely to occur from now on is such as applicable to the present invention to obtain with reference to sensitive image or grader,
Also it should be included within the scope of the present invention, and be incorporated herein by reference.
It is highly preferred that the sort operation that the reference sensitive image is obtained from the original image is based on but not limited
In below any one of at least:
1) preset SVM classifier;
2) preset gauss hybrid models;
3) strong classifier based on AdaBoost algorithms.
Specifically, after SVM classifier, gauss hybrid models are trained through sensitive image sample set, corresponding ginseng can be obtained
Number, so that as the preset svm classifier for being used to obtain the sort operation with reference to sensitive image from original image in the present invention
Device and preset gauss hybrid models;It is optimal that AdaBoost algorithms are obtained for selecting after the training of sensitive image sample set
Weak Classifier, and strong classifier is constituted based on these Weak Classifiers, so that obtaining is used for the base of the sort operation in the present invention
In the strong classifier of AdaBoost algorithms.Nude picture detection equipment 1 is according to preset SVM classifier, preset Gaussian Mixture
Model or the strong classifier based on AdaBoost algorithms, the original image obtained to it carry out sort operation, obtain the original
Beginning image belongs to the probable value of sensitive image, and probable value is exceeded into the original image of predetermined threshold, is used as the reference
Sensitive image is set up or updates described with reference to sensitive picture library.
In step s 2, the reference sensitive image that nude picture detection equipment 1 is obtained in step sl according to it, set up or
Update with reference to sensitive picture library.For example, in step sl, nude picture detection equipment 1 receives from other equipment and refers to sensitive image,
Or original image is obtained from other equipment, and refer to sensitive image to being obtained after original image classification;In step s 2, it is sensitive
Image recognition apparatus 1 is set up with reference to sensitive picture library, and after this sets up with reference to sensitive picture library according to these with reference to sensitive image, root
The reference sensitive image subsequently obtained according to it, updates the sensitive picture library of the reference.Those skilled in the art will be understood that above-mentioned foundation
And renewal is only for example with reference to the mode of sensitive picture library, other foundation or renewal reference existing or be likely to occur from now on
The mode of sensitive picture library is such as applicable to the present invention, should also be included within the scope of the present invention, and include by reference
In this.
In step s3, nude picture detection equipment 1 obtains pending image, for whether recognizing the pending image
Belong to sensitive image.Here, the mode that nude picture detection equipment 1 obtains the pending image includes but is not limited to:1) from
Other equipment receives the pending image;2) reference address for pointing to the pending image, and root are received from other equipment
According to the reference address, the pending image is obtained;3) from network opening picture library, the picture search that such as search engine is provided
As a result, image that webpage includes etc., obtains the pending image.Those skilled in the art will be understood that above-mentioned obtain waits to locate
The mode of reason image is only for example, and other modes for obtaining pending image that are existing or being likely to occur from now on are such as applicable to
The present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
In step s 4, nude picture detection equipment 1 obtains pending image according to it in step s3, is built in step S2
Similar inquiry is carried out in the sensitive picture library of vertical reference, to obtain the Query Result corresponding with the pending image.Here, quick
The mode that sense image recognition apparatus 1 carries out similar inquiry to pending image includes but is not limited to:1) to the office of pending image
Portion's content or full content, by hash algorithm, MD5 algorithms, SHA algorithms etc. to the local content or full content
Content signature is calculated, and according to content signature inquiry with reference to sensitive picture library;2) image feature information of pending image is extracted,
Color characteristic information, texture feature information, shape facility information, spatial signature information etc., and according to these characteristics of image
Information inquiry is with reference to sensitive picture library.Preferably, nude picture detection equipment 1 to pending image when carrying out similar inquiry, also
Different similarity thresholds can be set with reference to the repetitive rate of the reference sensitive image corresponding to pending image, and according to the phase
Like degree threshold value, the Query Result corresponding with the pending image is obtained.Here, the repetitive rate includes the reference sensitivity
The accumulative similar number of times of image and the pending image of history.For example, the reference sensitive image to repetitive rate more than 10 times, sets it
Corresponding similarity threshold is 70%, the reference sensitive image to repetitive rate more than 5 times, set its corresponding similarity threshold as
80%, the reference sensitive image to repetitive rate less than 5 times sets its corresponding similarity threshold as 90%;Nude picture detection
Equipment 1 combines the repetitive rate and corresponding similarity with reference to sensitive image according to the sensitive picture library of pending image querying reference
Threshold value, obtains corresponding Query Result, and the Query Result includes the reference sensitive image corresponding with the pending image
And its similarity with the pending image.Further, nude picture detection equipment 1 can also be according to described similar
Degree, with reference to the corresponding similarity threshold with reference to sensitive image, judges whether the pending image belongs to sensitive image, and will sentence
Disconnected result is used as Query Result.For example, pending image is 82% with the similarity with reference to sensitive image, if this is with reference to sensitive
The corresponding similarity threshold of image is 80%, then the pending image belongs to sensitive image;If this is with reference to sensitive image correspondence
Similarity threshold be 90%, then the pending image be not belonging to sensitive image.Those skilled in the art will be understood that above-mentioned right
The mode and Query Result that pending image carries out similar inquiry are only for example, other pairs that are existing or being likely to occur from now on
The mode or Query Result that pending image carries out similar inquiry are such as applicable to the present invention, should also be included in present invention protection
Within scope, and it is incorporated herein by reference.
Preferably, the pending image that nude picture detection equipment 1 is obtained in step s3 according to it, extract described in wait to locate
Manage the image feature information of image;According to described image characteristic information, in the sensitive picture library of its reference set up in step s 2
Similar inquiry is carried out, to obtain the Query Result.Here, described image characteristic information includes but is not limited to any be applicable to
The photographed image-related information for carrying out similar inquiry to the pending image according to this of the present invention, such as color characteristic information, texture
Characteristic information, shape facility information etc..For example, in step s3, nude picture detection equipment 1 is received from other equipment submission
Pending image;In step s 4, nude picture detection equipment 1 is waited to locate according to being extracted hsv color histogram, color set etc.
The color characteristic information of image is managed, the pending figure is extracted according to gray level co-occurrence matrixes, wavelet transformation, random field models method etc.
The texture feature information of picture, the shape of the pending image is extracted according to Fourier's shape description symbols method, boundary characteristic method etc.
Characteristic information, the spatial signature information for extracting the pending image is split according to image, and according to these image feature informations
Inquiry is with reference to sensitive picture library, to obtain corresponding Query Result, such as the reference sensitive image corresponding with the pending image,
And these refer to the susceptibility of sensitive image.Those skilled in the art will be understood that each term diagram of the pending image of said extracted
As the mode and image feature information of characteristic information are only for example, other extractions that are existing or being likely to occur from now on are pending
The mode or image feature information of every image feature information of image are such as applicable to the present invention, should also be included in the present invention
Within protection domain, and it is incorporated herein by reference.
It is highly preferred that described image characteristic information includes but is not limited to, below any one of at least:
1) color characteristic information;
2) SIFT feature information.
Specifically, color characteristic information includes but is not limited to nude picture detection equipment 1 according to hsv color histogram, face
The related letter for the color characteristic for describing the pending image that the modes such as color collection, color moment are extracted from pending image
Breath, and these color characteristics relevant information quantize processing after numerical value;SIFT feature information includes nude picture detection
The related of the local feature for being used to describe the pending image that equipment 1 is extracted according to SIFT algorithms from pending image is believed
Breath, and these local features relevant information quantize processing after numerical value.Those skilled in the art will be understood that Sensitive Graphs
Looked into as identification equipment 1 not only individually can carry out pending the similar of image according to color characteristic information or SIFT feature information
Ask, color characteristic information and SIFT feature information can also be combined, carry out the similar inquiry of pending image.This area skill
Art personnel should also be understood that above-mentioned image feature information is only for example, other characteristics of image letters that are existing or being likely to occur from now on
Breath is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Preferably, the Query Result includes but is not limited to, below any one of at least:
1) whether the pending image belongs to the object information of sensitive image;
2) first corresponding to the pending image refers to sensitive image;
3) susceptibility of first corresponding to the pending image with reference to sensitive image.
Specifically, nude picture detection equipment 1 according to pending image when carrying out similar inquiry, the inquiry that can be obtained
As a result include but is not limited to:1) first corresponding to the pending image refers to sensitive image;2) described first with reference to sensitive
The susceptibility of image, the susceptibility is used to characterize the sensitivity with reference to each reference sensitive image in sensitive picture library, can be with
The sensitive picture library of the reference is added into each reference sensitive image to preset, and/or is updated in subsequent process;3) according to institute
Stating the similarity acquisition pending image of susceptibility or the first reference sensitive image and the pending image is
The no object information for belonging to sensitive image.Here, those skilled in the art will be understood that what nude picture detection equipment 1 was obtained
Query Result can be any of the above-described or appoint multinomial.Those skilled in the art should also be understood that above-mentioned every Query Result is only
Citing, other Query Results that are existing or being likely to occur from now on are such as applicable to the present invention, should also be included in present invention protection
Within scope, and it is incorporated herein by reference.
It should be noted that nude picture detection equipment 1 is in the process operated performed by step S2 and step S2, with it
In the process operated performed by step S3 and step S4, it both can be that real-time continuous is carried out, and progress can also be segmented, i.e., first
Corresponding operating is performed in step S1 and step S2 to set up after the sensitive picture library of reference, then execution is corresponding in step S3 and step S4
Operation carries out the acquisition of pending image and based on the inquiry with reference to sensitive picture library.Here, nude picture detection equipment 1 exists
The process of the performed operations of step S1 and step S2, with its being carried out continuously in the process operated performed by step S3 and step S4
Carry out that different applications can be directed to segmentation.For example, when being carried out continuously, nude picture detection equipment 1 is in step S1 and step
Rapid S2 sets up or updated sensitive picture library according to the first reference sensitive image for submitting equipment to provide, and then, nude picture detection is set
Standby 1 carries out sensitive image knowledge in the step S3 and step S4 pending images for submitting equipment to submit to second according to the sensitive picture library
Not;Be segmented carry out when, nude picture detection equipment 1 in the case where step S1 and step S2 are online according to reference to sensitive image set up and
Sensitive picture library is updated, nude picture detection equipment 1 obtains pending image in step s3, in step s 4 according to the Sensitive Graphs
Storehouse carries out nude picture detection to the pending image in real time on line.
Fig. 5 is the method flow diagram according to a preferred embodiment of the invention, shows the process for recognizing sensitive image.
Specifically, in step S1 ', nude picture detection equipment 1 obtains and refers to sensitive image;In step S2 ', nude picture detection
Equipment 1 is set up or updated with reference to sensitive picture library according to the reference sensitive image;In step S3 ', nude picture detection equipment
1 obtains pending image, to recognize whether the pending image belongs to sensitive image;In step S4 ', nude picture detection
Equipment 1 carries out similar inquiry, to obtain and the pending figure according to the pending image in the picture library with reference to sensitivity
As corresponding Query Result;In step S5 ', nude picture detection equipment 1 obtains more new images and the more new images
Attribute-bit;In step S6 ', nude picture detection equipment 1 updates described according to the more new images and the attribute-bit
With reference to sensitive picture library.
Wherein, nude picture detection equipment 1 is performed in step S1 ', step S2 ', step S3 ' and step S4 ' in Fig. 5
Operation and nude picture detection equipment 1 in Fig. 4 operation phase performed in step S1, step S2, step S3 and step S4
Together, for simplicity, this is included in by reference, is repeated no more.
In step S5 ', nude picture detection equipment 1 obtains the attribute-bit of more new images and the more new images.
This, nude picture detection equipment 1, which is obtained, joins the acquisition of nude picture detection equipment 1 with reference to sensitive in the mode and Fig. 4 of more new images
The mode that the mode of image and/or pending image acquiring device 13 obtain pending image is identical or essentially identical, is concise
For the sake of, it is incorporated herein, repeats no more by reference.The attribute-bit of the more new images includes but is not limited to any applicable
In the relevant information for being used to identify the attribute of the more new images of the present invention, including normal picture mark and sensitive image mark
Know, the attribute-bit can be preset.
In step S6 ', the more new images that nude picture detection equipment 1 is obtained in step S5 ' according to it with it is described more
The attribute-bit of new images, updates its sensitive picture library of reference set up in step S2 '.Here, nude picture detection equipment 1 is more
The new mode with reference to sensitive picture library includes but is not limited to:If 1) attribute-bit of more new images is identified including normal picture,
Sensitive image is referred to accordingly with reference to sensitive picture library, acquisition according to the renewal image querying, a) reduces described with reference to quick
Feel the susceptibility of image, when the susceptibility is less than predetermined threshold, delete the corresponding reference sensitive image of the susceptibility;b)
Directly delete the reference sensitive image;If 2) attribute-bit of more new images is identified including sensitive image, updated according to described
With reference to sensitive picture library described in image querying, acquisition refers to sensitive image accordingly, a) increases the sensitivity of the reference sensitive image
Degree, when the susceptibility exceedes predetermined threshold, sensitive image is designated by the corresponding reference sensitive image of the susceptibility;b)
The reference sensitive image is directly designated sensitive image.For example, the attribute-bit of more new images is identified including normal picture,
Nude picture detection equipment 1 according to the renewal image querying with reference to sensitive picture library, obtain it is corresponding with reference to sensitive image 1,2,
3rd, 4, directly delete these and refer to sensitive image, it is described with reference to sensitive picture library to update.And for example, the attribute-bit bag of more new images
Sensitive image mark is included, nude picture detection equipment 1, with reference to sensitive picture library, obtains corresponding ginseng according to the renewal image querying
Sensitive image 1,2,3,4 is examined, and these susceptibilitys with reference to sensitive image are added 1, wherein, with reference to the quick of sensitive image 1 and 3
Sensitivity is 6 after adding 1, more than predetermined threshold 5, then sensitive image will be designated with reference to sensitive image 1 and 3, to update the reference
Sensitive picture library.Those skilled in the art will be understood that above-mentioned renewal is only for example with reference to the mode of sensitive picture library, and other are existing
Or the renewal being likely to occur from now on is such as applicable to the present invention with reference to the mode of sensitive picture library, present invention protection model should be also included in
Within enclosing, and it is incorporated herein by reference.
Preferably, the attribute-bit of the more new images is identified including normal picture;In step S6 ', sensitive image is known
Other equipment 1 carries out similar inquiry, to obtain and the more new images according to the more new images in the picture library with reference to sensitivity
Corresponding second refers to sensitive image;Reduce the susceptibility of the second reference sensitive image;Second after the reduction
When being less than given threshold with reference to the susceptibility of sensitive image, delete and described second refer to sensitive image.For example, the category of more new images
Property mark include normal picture identify;Nude picture detection equipment 1 is carried out according to the more new images in reference to sensitive picture library
Similar inquiry, to obtain corresponding with the more new images the second reference sensitive image 1,2,3,4, and these second is referred to
The susceptibility of sensitive image subtracts 1, wherein, second with reference to sensitive image 1 and 3 susceptibility subtract 1 after be 4, less than given threshold 5,
Then delete second and refer to sensitive image 1 and 3, it is described with reference to sensitive picture library to update.
Preferably, the attribute-bit of the more new images is identified including sensitive image;In step S6 ', sensitive image is known
Other equipment 1 carries out similar inquiry, to obtain and the more new images according to the more new images in the picture library with reference to sensitivity
Corresponding the 3rd refers to sensitive image;It is sensitive image that the described 3rd, which is identified, with reference to sensitive image, described with reference to quick to update
Feel picture library.For example, the attribute-bit of more new images is identified including sensitive image;Nude picture detection equipment 1 updates according to described
Image, similar inquiry is carried out in reference to sensitive picture library, and Sensitive Graphs are referred to obtain threeth corresponding with the more new images
Sensitive image is designated as 1,2,3,4, and by these the 3rd reference sensitive images, it is described with reference to sensitive picture library to update.
Fig. 6 is the method flow diagram according to another preferred embodiment of the present invention, shows the mistake for recognizing sensitive image
Journey.Specifically, in step S1 ", nude picture detection equipment 1 obtains and refers to sensitive image;In step S2 ", sensitive image
Identification equipment 1 is set up or updated with reference to sensitive picture library according to the reference sensitive image;In step S3 ", nude picture detection
Equipment 1 obtains pending image, to recognize whether the pending image belongs to sensitive image;In step S4 ", sensitive image
Identification equipment 1 carries out similar inquiry in the picture library with reference to sensitivity, waits to locate with described to obtain according to the pending image
Manage the corresponding Query Result of image;In step S7 ", nude picture detection equipment 1 is treated according to the Query Result to described
Corresponding shielding processing is done in the source of processing image and/or the pending image, corresponding with the shielding processing to obtain
Shielding result;In step S8 ", the shielding result is supplied to the pending image institute by nude picture detection equipment 1
Corresponding submission equipment.
Wherein, the nude picture detection equipment 1 in Fig. 6 is held in step S1 ", step S2 ", step S3 " and step S4 "
Nude picture detection equipment 1 is performed in step S1, step S2, step S3 and step S4 in the content and Fig. 3 of row operation grasps
The content of work is identical or essentially identical, for simplicity, and this is included in by reference, repeats no more.
In step S7 ", nude picture detection equipment 1 is according to the Query Result, to the pending image and/or institute
Corresponding shielding processing is done in the source for stating pending image, to obtain the shielding result corresponding with the shielding processing.Here,
The shielding processing includes but is not limited to:1) the pending image is shielded;2) shielding includes the page of the pending image;
3) website belonging to the page is shielded;4) mark of the submission equipment of the pending image is shielded, including the submission is set
Standby reference address and other identification informations of the submission equipment;5) user submitted corresponding to equipment or management are shielded
The ID of person.Those skilled in the art will be understood that nude picture detection equipment 1 both can be while carrying out any of the above-described or appointing many
The shielding processing of item, can also progressively carry out above-mentioned every shielding processing according to certain execution condition.Those skilled in the art
It should also be understood that above-mentioned shielding processing is only for example, other shielding processings that are existing or being likely to occur from now on are such as applicable to this
Invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
In step S8 ", the shielding result is supplied to corresponding to the pending image by nude picture detection equipment 1
Submission equipment.For example, in step S7 ", nude picture detection equipment 1 is shielded after pending image, obtained according to Query Result
Obtain the page that image section can not be shown;In step S8 ", nude picture detection equipment 1 can not show the image section
Page push to the pending image submission equipment.And for example, in step S7 ", nude picture detection equipment 1 is tied according to inquiry
Really, the IP address of the submission equipment corresponding to pending image is shielded, and generates the 404 wrong pages;It is sensitive in step S8 "
The 404 wrong page is pushed to the submission equipment by image recognition apparatus 1.Those skilled in the art will be understood that above-mentioned offer screen
The mode for covering result is only for example, and the mode that other offers that are existing or being likely to occur from now on shield result is such as applicable to this
Invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
It should be noted that those skilled in the art will be understood that in one embodiment of the invention, coordinate refering to figure
4th, Fig. 5 and Fig. 6, step S8 " can also be combined with the operating process of nude picture detection equipment 1 in Fig. 4 or Fig. 5, will be described
Query Result is provided to the submission equipment corresponding to the pending image.Here, nude picture detection equipment 1 provides described look into
The mode for asking result includes but is not limited to:1) Query Result is all pushed into the submission equipment one by one or once;2)
The Query Result is partly or entirely based on page technology, ASP, JSP, PHP etc., the Query Result page is generated, and
By the Query Result page push to the submission equipment, or the URL of the Query Result page pushed into described carry
Equipment is handed over, the submission equipment obtains the Query Result by accessing the Query Result page that the URL is pointed to.This
Art personnel will be understood that the mode of above-mentioned offer Query Result is only for example, and other are existing or are likely to occur from now on
The mode for providing Query Result is such as applicable to the present invention, should also be included within the scope of the present invention, and by reference
It is incorporated herein.
In a preferred embodiment of the invention (reference picture 6), in step S1 ", nude picture detection equipment 1 is obtained
With reference to sensitive image;In step S2 ", nude picture detection equipment 1 is set up according to the reference sensitive image or updates reference
Sensitive picture library;In step S3 ", nude picture detection equipment 1 is also received from the page for the sensing first page for submitting equipment to submit
Face reference address, the first page includes the pending image;According to the page access address, the first page is obtained
Face;The first page is parsed, to obtain the pending image.In step S4 ", nude picture detection equipment 1 is according to institute
Pending image is stated, similar inquiry is carried out in the picture library with reference to sensitivity, it is corresponding with the pending image to obtain
Query Result;In step S8 ", the shielding result is supplied to the submission equipment by nude picture detection equipment 1.
Wherein, the nude picture detection equipment 1 in the embodiment is in step S1 ", step S2 ", step S4 " and step S8 "
In performed operation content and earlier figures 6 in nude picture detection equipment 1 in step S1 ", step S2 ", step S4 " and step
The content of performed operation is identical or essentially identical in S8 ", for simplicity, this is included in by reference, repeated no more.
In step S3 ", the page that nude picture detection equipment 1 is received from the sensing first page for submitting equipment to submit is visited
Address is asked, the first page includes the pending image;According to the page access address, the first page is obtained;
The first page is parsed, to obtain the pending image.Here, the submission equipment includes user equipment and network is set
It is standby.For example, submitting equipment to be forum servers, the forum servers send one to the nude picture detection equipment 1 and point to forum
The URL of the page, the forum page include pending image, the nude picture detection equipment 1 provided by submission interface connect
The URL is received, and corresponding forum page is obtained according to the URL, the forum page is parsed, the pending image is obtained.
Those skilled in the art will be understood that the mode of the pending image of above-mentioned acquisition is only for example, and other are existing or may go out from now on
The mode of the existing pending image of acquisition is such as applicable to the present invention, should also be included within the scope of the present invention, and to draw
It is incorporated herein with mode.
Preferably, step S7 ", in step S7 ", the basis of nude picture detection equipment 1 can also be included in the present embodiment
Its Query Result obtained in the step S4 ", to the pending image in the first page and/or the pending image
Corresponding shielding processing is done in source, to obtain the shielding result corresponding with the shielding processing;In step S8 ", Sensitive Graphs
As identification equipment 1 by it is described shielding result be supplied to the pending image corresponding to submission equipment.For example, submission equipment is
User equipment, in step S3 ", nude picture detection equipment 1 receives the URL that the user equipment is submitted, and phase is obtained according to the URL
The page answered, and extract from the page pending image;In step S4 ", 1 pair of the nude picture detection equipment pending figure
The Query Result of picture is that the pending image belongs to sensitive image;In step S7 ", nude picture detection equipment 1 is looked into according to this
Result is ask, the mark of the user equipment is shielded;In step S8 ", the shielding is notified to send by nude picture detection equipment 1 extremely should
User equipment.Those skilled in the art will be understood that the mode of above-mentioned shielding processing is only for example, and other are existing or from now on may be used
The mode for the shielding processing that can occur such as is applicable to the present invention, should also be included within the scope of the present invention, and to quote
Mode is incorporated herein.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as to the claim involved by limitation.This
Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple
Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table
Show title, and be not offered as any specific order.
Claims (20)
1. a kind of computer implemented method for recognizing sensitive image, wherein, this method comprises the following steps:
A is obtained and is referred to sensitive image;
B sets up or updated with reference to sensitive picture library according to the reference sensitive image;
Wherein, this method also includes:
X obtains pending image, for recognizing whether the pending image belongs to sensitive image;
Y carries out similar inquiry, to obtain and the pending figure according to the pending image in the picture library with reference to sensitivity
As corresponding Query Result;
Wherein, the Query Result at least includes the susceptibility of the first reference sensitive image corresponding to the pending image;
Wherein, this method also includes:
- obtain the attribute-bits of more new images and the more new images, wherein, the attribute-bit include normal picture mark with
Sensitive image is identified;
I is according to the more new images and the attribute-bit, and correspondence is with reference to sensitive image in the renewal picture library with reference to sensitivity
Attribute-bit and/or susceptibility.
2. according to the method described in claim 1, wherein, the step a includes:
- obtain one or more original images;
- sort operation is carried out to the original image, to obtain the reference sensitive image from the original image.
3. method according to claim 2, wherein, the sort operation be based on it is following any one of at least, from described original
The reference sensitive image is obtained in image:
- preset SVM classifier;
- preset gauss hybrid models;
- the strong classifier based on adaboost algorithms.
4. according to the method in any one of claims 1 to 3, wherein, the step y includes:
- according to the pending image, extract the image feature information of the pending image;
- according to described image characteristic information, similar inquiry is carried out in the picture library with reference to sensitivity, is tied with obtaining the inquiry
Really.
5. method according to claim 4, wherein, described image characteristic information includes following at least any one:
- color characteristic information;
- SIFT feature information.
6. according to the method described in claim 1, wherein, the attribute-bit include normal picture mark;
Wherein, the step i also includes:
More new images described in-basis, carry out similar inquiry, with acquisition and the more new images phase in the picture library with reference to sensitivity
Corresponding second refers to sensitive image;
Susceptibility of-the reduction described second with reference to sensitive image;
- when second after the reduction is less than given threshold with reference to the susceptibility of sensitive image, described second is deleted with reference to quick
Feel image.
7. according to the method described in claim 1, wherein, the attribute-bit include sensitive image mark;
Wherein, the step i also includes:
More new images described in-basis, carry out similar inquiry, with acquisition and the more new images phase in the picture library with reference to sensitivity
Corresponding 3rd refers to sensitive image;
- mark the described 3rd is sensitive image with reference to sensitive image, described with reference to sensitive picture library to update.
8. according to the method described in claim 1, wherein, this method also includes:
K provides the Query Result to the submission equipment corresponding to the pending image.
9. method according to claim 8, wherein, the step x also includes:
- be received from it is described submission equipment submit sensings first page page access address, the first page include described in
Pending image;
- according to the page access address, obtain the first page;
- parsing the first page, to obtain the pending image.
10. method according to claim 8 or claim 9, wherein, this method also includes:
- according to the Query Result, the source of the pending image and/or the pending image is done at corresponding shielding
Reason, to obtain the shielding result corresponding with the shielding processing;
Wherein, the step k also includes:
- the shielding result is supplied to the submission equipment.
11. a kind of equipment for recognizing sensitive image, wherein, the equipment includes:
Reference picture acquisition device, sensitive image is referred to for obtaining;
Sensitive picture library sets up device, for according to the reference sensitive image, setting up or updating with reference to sensitive picture library;
Wherein, the equipment also includes:
Pending image acquiring device, for obtaining pending image, for recognizing whether the pending image belongs to sensitive
Image;
Pending image querying device, for according to the pending image, similar look into be carried out in the picture library with reference to sensitivity
Ask, to obtain the Query Result corresponding with the pending image;
Wherein, the Query Result at least includes the susceptibility of the first reference sensitive image corresponding to the pending image;
Wherein, the equipment also includes:
Image acquiring device is updated, the attribute-bit for obtaining more new images and the more new images, wherein, the attribute mark
Knowledge includes normal picture mark and identified with sensitive image;
Sensitive picture library updating device, for the more new images according to and the attribute-bit, updates described with reference to sensitive picture library
Attribute-bit and/or susceptibility of the middle correspondence with reference to sensitive image.
12. equipment according to claim 11, wherein, the reference picture acquisition device is additionally operable to:
- obtain one or more original images;
- sort operation is carried out to the original image, to obtain the reference sensitive image from the original image.
13. equipment according to claim 12, wherein, the sort operation is based on following at least any one, from the original
The reference sensitive image is obtained in beginning image:
- preset SVM classifier;
- preset gauss hybrid models;
- the strong classifier based on adaboost algorithms.
14. the equipment according to any one of claim 11 to 13, wherein, the pending image querying device is also used
In:
- according to the pending image, extract the image feature information of the pending image;
- according to described image characteristic information, similar inquiry is carried out in the picture library with reference to sensitivity, is tied with obtaining the inquiry
Really.
15. equipment according to claim 14, wherein, described image characteristic information includes following at least any one:
- color characteristic information;
- SIFT feature information.
16. equipment according to claim 11, wherein, the attribute-bit is identified including normal picture;
Wherein, the sensitive picture library updating device is additionally operable to:
More new images described in-basis, carry out similar inquiry, with acquisition and the more new images phase in the picture library with reference to sensitivity
Corresponding second refers to sensitive image;
Susceptibility of-the reduction described second with reference to sensitive image;
- when second after the reduction is less than given threshold with reference to the susceptibility of sensitive image, described second is deleted with reference to quick
Feel image.
17. equipment according to claim 11, wherein, the attribute-bit is identified including sensitive image;
Wherein, the sensitive picture library updating device is additionally operable to:
More new images described in-basis, carry out similar inquiry, with acquisition and the more new images phase in the picture library with reference to sensitivity
Corresponding 3rd refers to sensitive image;
- mark the described 3rd is sensitive image with reference to sensitive image, described with reference to sensitive picture library to update.
18. equipment according to claim 11, wherein, the equipment also includes:
As a result device is provided, for the Query Result to be provided to the submission equipment corresponding to the pending image.
19. equipment according to claim 18, wherein, the pending image acquiring device is additionally operable to:
- be received from it is described submission equipment submit sensings first page page access address, the first page include described in
Pending image;
- according to the page access address, obtain the first page;
- parsing the first page, to obtain the pending image.
20. the equipment according to claim 18 or 19, wherein, the equipment also includes:
Shielding processing device, for according to the Query Result, coming to the pending image and/or the pending image
Corresponding shielding processing is done in source, to obtain the shielding result corresponding with the shielding processing;
Wherein, the result provides device and is additionally operable to:
- the shielding result is supplied to the submission equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110246789.5A CN102306287B (en) | 2011-08-24 | 2011-08-24 | A kind of method and equipment for identifying a sensitive image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110246789.5A CN102306287B (en) | 2011-08-24 | 2011-08-24 | A kind of method and equipment for identifying a sensitive image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102306287A CN102306287A (en) | 2012-01-04 |
CN102306287B true CN102306287B (en) | 2017-10-10 |
Family
ID=45380147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110246789.5A Active CN102306287B (en) | 2011-08-24 | 2011-08-24 | A kind of method and equipment for identifying a sensitive image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102306287B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377473B (en) * | 2012-04-19 | 2017-10-24 | 深圳市世纪光速信息技术有限公司 | A kind of image rearrangement and device |
CN102831242B (en) * | 2012-09-10 | 2016-08-24 | 东莞宇龙通信科技有限公司 | The method and device of search pictures information |
CN105404631B (en) * | 2014-09-15 | 2021-01-29 | 腾讯科技(深圳)有限公司 | Picture identification method and device |
CN106557527A (en) * | 2015-09-30 | 2017-04-05 | 中兴通讯股份有限公司 | A kind of pornographic image detection and system |
US11120069B2 (en) | 2016-07-21 | 2021-09-14 | International Business Machines Corporation | Graph-based online image queries |
CN106682694A (en) * | 2016-12-27 | 2017-05-17 | 复旦大学 | Sensitive image identification method based on depth learning |
CN107403173B (en) * | 2017-08-21 | 2020-10-09 | 合肥麟图信息科技有限公司 | Face recognition system and method |
CN108304481A (en) * | 2017-12-29 | 2018-07-20 | 成都三零凯天通信实业有限公司 | A kind of visible image content supervision method towards multichannel internet new media data |
CN109145940B (en) * | 2018-07-02 | 2021-11-30 | 北京陌上花科技有限公司 | Image recognition method and device |
CN110971928B (en) * | 2018-09-30 | 2022-03-25 | 武汉斗鱼网络科技有限公司 | Picture identification method and related device |
CN111259304A (en) * | 2020-02-17 | 2020-06-09 | 猎港信息技术(上海)有限公司 | Forum monitoring system based on image recognition |
CN114822781A (en) * | 2022-04-24 | 2022-07-29 | 唐山启奥科技股份有限公司 | Medical image desensitization method based on examination images |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728161A (en) * | 2005-07-28 | 2006-02-01 | 上海交通大学 | Method for filtering sensing images based on heteropic quantized color feature vectors |
CN101281521A (en) * | 2007-04-05 | 2008-10-08 | 中国科学院自动化研究所 | Method and system for filtering sensitive web page based on multiple classifier amalgamation |
CN101447020A (en) * | 2008-12-12 | 2009-06-03 | 北京理工大学 | Pornographic image recognizing method based on intuitionistic fuzzy |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101777064A (en) * | 2009-01-12 | 2010-07-14 | 鸿富锦精密工业(深圳)有限公司 | Image searching system and method |
-
2011
- 2011-08-24 CN CN201110246789.5A patent/CN102306287B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728161A (en) * | 2005-07-28 | 2006-02-01 | 上海交通大学 | Method for filtering sensing images based on heteropic quantized color feature vectors |
CN101281521A (en) * | 2007-04-05 | 2008-10-08 | 中国科学院自动化研究所 | Method and system for filtering sensitive web page based on multiple classifier amalgamation |
CN101447020A (en) * | 2008-12-12 | 2009-06-03 | 北京理工大学 | Pornographic image recognizing method based on intuitionistic fuzzy |
Also Published As
Publication number | Publication date |
---|---|
CN102306287A (en) | 2012-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102306287B (en) | A kind of method and equipment for identifying a sensitive image | |
CN108416198B (en) | Device and method for establishing human-machine recognition model and computer readable storage medium | |
EP2866421B1 (en) | Method and apparatus for identifying a same user in multiple social networks | |
CN107133221A (en) | Signal auditing method, device, computer-readable medium and electronic equipment | |
CN110276366A (en) | Carry out test object using Weakly supervised model | |
TWI552103B (en) | File classification system and file classification method and file classification program | |
CN106599155A (en) | Method and system for classifying web pages | |
CN107679997A (en) | Method, apparatus, terminal device and storage medium are refused to pay in medical treatment Claims Resolution | |
CN105630767B (en) | The comparative approach and device of a kind of text similarity | |
CN109918554A (en) | Web data crawling method, device, system and computer readable storage medium | |
CN106874253A (en) | Recognize the method and device of sensitive information | |
CN103678528B (en) | Electronic homework plagiarism preventing system and method based on paragraph plagiarism detection | |
CN113032528B (en) | Case analysis method, case analysis device, case analysis equipment and storage medium | |
US9542474B2 (en) | Forensic system, forensic method, and forensic program | |
CN108415961A (en) | A kind of advertising pictures recommendation method and device | |
CN110362601A (en) | Mapping method, device, equipment and the storage medium of metadata standard | |
CN106778851A (en) | Social networks forecasting system and its method based on Mobile Phone Forensics data | |
US20230410222A1 (en) | Information processing apparatus, control method, and program | |
CN104346443A (en) | Web text processing method and device | |
CN110020430B (en) | Malicious information identification method, device, equipment and storage medium | |
CN111400448A (en) | Method and device for analyzing incidence relation of objects | |
CN113239268B (en) | Commodity recommendation method, device and system | |
CN108920955B (en) | Webpage backdoor detection method, device, equipment and storage medium | |
CN107168635A (en) | Information demonstrating method and device | |
Phoka et al. | Image based phishing detection using transfer learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |