Picture identification method and device, computer equipment and medium

A picture recognition and picture technology, applied in the Internet field, can solve the problems of disturbing the network order, black box attack of pornographic service model, and obscene and pornographic pictures cannot be recognized normally, so as to achieve the effect of purifying the network environment and improving the filtering ability.

Active Publication Date: 2019-06-18
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF16 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when some unscrupulous users (network hackers) are not sure about the pornography service model used by the pornography service, they generate disturbing pictures by adding disturbances to the uploaded pictures, and carry out black-box attac

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Picture identification method and device, computer equipment and medium
  • Picture identification method and device, computer equipment and medium
  • Picture identification method and device, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flow chart of the picture recognition method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing pornographic screening and filtering on pictures uploaded by users to the network. This method can be realized by a picture recognition device, specifically through the Implemented by software and / or hardware, the device can be configured in a computer device that performs pornography processing, for example, in a server that a third-party business service provider provides business services for users. like figure 1 As shown, the image recognition method specifically includes:

[0026] S110. Input the first picture uploaded by the user to the interference-removing self-encoder for preprocessing, so as to filter the interference in the first picture and output the second picture, wherein the interference-removing self-encoder passes at least two types of interference The sample set is obtained by t...

Embodiment 2

[0036] Figure 2a It is a flow chart of a picture recognition method provided by Embodiment 2 of the invention. This embodiment provides a training process of an interference-free autoencoder based on each optional solution in the foregoing embodiments. like Figure 2a As shown, the picture recognition method provided in the embodiment of the present invention includes the following steps:

[0037] S210. Add at least two types of disturbances to the original picture to form at least two types of disturbance sample sets.

[0038]Among them, the original picture is a picture without added interference, and the content of the picture can be content such as characters, scenery, text, or objects. If it is to perform pornography services for user avatars, it is preferable to use various original avatars as training. Original Image. The way to obtain the original picture can be taken by a terminal with a camera function, or it can be intercepted in a certain video. After obtaini...

Embodiment 3

[0051] image 3 A schematic structural diagram of a picture recognition device provided by Embodiment 3 of the present disclosure is shown, and this embodiment of the present disclosure is applicable to the situation of performing pornographic identification and filtering on pictures uploaded by users to the network.

[0052] like image 3 As shown, the picture recognition device in the embodiment of the present disclosure includes: a picture preprocessing module 310 and a picture recognition module 320 .

[0053] Wherein, the picture preprocessing module 310 is used to input the first picture uploaded by the user to the interference-removing self-encoder for pre-processing, so as to filter the interference in the first picture and output the second picture, wherein the interference-removing The autoencoder is trained by at least two types of interference sample sets, and the disturbance methods added to different types of interference sample sets include at least two of the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a picture identification method and device, computer equipment and a medium. The method comprises the following steps of: inputting the first picture uploadedby the user into a de-interference auto-encoder for preprocessing so as to filter interference in a first picture and output a second picture, wherein the de-interference auto-encoder is obtained bytraining at least two types of interference sample sets, and disturbance modes added in the different types of interference sample sets comprise at least two of noise, affine change, filtering fuzzification, brightness change and monochromization; And inputting the second picture into a picture yellowing identification model for identification. According to the embodiment of the invention, the pre-trained anti-interference auto-encoder is used for carrying out anti-interference preprocessing on the picture uploaded by the user, so that the problem that the filth picture is successfully uploaded to a network through the identification of a picture yellowing model by using an anti-sample technology is solved; Pictures processed by an adversarial sample technology can be identified, the filtering capability of the adversarial samples is improved, and the network environment is purified.

Description

technical field [0001] The embodiments of the present invention relate to Internet technologies, and in particular to a picture recognition method, device, computer equipment and media. Background technique [0002] Most Internet applications allow users to upload avatars, pictures, etc., and the content of the pictures is all-encompassing. However, the country has strict regulations on the content of pictures uploaded to the Internet, and it is forbidden to upload and share pornographic pictures, that is, pornographic pictures. Therefore, before the picture is successfully uploaded to the network, it must be tested to determine whether it is a picture that cannot be spread on the network such as an obscene picture. [0003] At present, some mainstream AI companies, cloud service vendors, and business security vendors all provide API services to detect whether pictures and avatars are obscene and pornographic pictures, referred to as pornography services. Usually, pornogra...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06K9/00G06K9/62G06N3/04
Inventor 刘焱王洋郝新
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products