IMAGE MODERATION METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM
20210295085 · 2021-09-23
Assignee
Inventors
Cpc classification
G06V20/30
PHYSICS
G06V30/15
PHYSICS
G06V30/1444
PHYSICS
International classification
Abstract
The disclosure discloses an image moderation method, and relates to a field of deep learning, artificial intelligence, computer vision and natural language processing technologies. The solution includes: obtaining a target image to be moderated; labeling the target image to obtain multiple pieces of label information of the target image; obtaining at least one service vertical category to which the target image is to be launched; recognizing whether the multiple pieces of label information contain label information excluded by the service vertical category; and determining that the target image is a forbidden image in the service vertical category in a case that the multiple pieces of label information contain the label information excluded by the service vertical category.
Claims
1. An image moderation method, comprising: obtaining a target image to be moderated; labeling the target image to obtain a plurality of pieces of label information of the target image; obtaining at least one service vertical category to which the target image is to be launched; recognizing whether the plurality of pieces of label information contain label information excluded by the service vertical category; and determining that the target image is a forbidden image in the service vertical category in a case that the plurality of pieces of label information contain the label information excluded by the service vertical category.
2. The method of claim 1, wherein labeling the target image to obtain the plurality of pieces of label information of the target image comprises: performing segmentation on the target image to obtain at least one image segment; performing image recognition on the image segment to obtain a recognition channel corresponding to the image segment; and inputting the image segment into the recognition channel, and labeling the image segment by a recognition model corresponding to the recognition channel to obtain the plurality of pieces of label information of the target image.
3. The method of claim 2, wherein performing the segmentation on the target image to obtain the at least one image segment comprises: recognizing at least one connected component of the target image, obtaining a relevance of contents in each connected domain, and performing the segmentation on the target image based on the relevance to obtain the at least one image segment.
4. The method of claim 1, wherein labeling the target image to obtain the plurality of pieces of label information of the target image comprises: inputting the target image into a recognition model, inputting the target image into a plurality of sub-recognition models in the recognition model respectively, and labeling the target image by the plurality of sub-recognition models to obtain the plurality of pieces of label information.
5. The method of claim 1, wherein recognizing whether the plurality of pieces of label information contain the label information excluded by the service vertical category comprises: obtaining a launch strategy of the service vertical category, the launch strategy at least comprising the label information excluded by the service vertical category; and recognizing whether the plurality of pieces of label information contain the label information excluded by the service vertical category based on the launch strategy.
6. The method of claim 1, further comprising: extracting text information from the target image; and recognizing whether the target image is the forbidden image in the service vertical category based on the text information and the plurality of pieces of label information.
7. The method of claim 1, further comprising: in a case that the target image is a non-forbidden image in the service vertical category, obtaining at least one launch position of the service vertical category, and launching the target image at one of the at least one launch position.
8. An electronic device, comprising: at least one processor, and a memory, communicatively coupled to the at least one processor, wherein the memory is configured to store instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is caused to execute an image moderation method, the method comprising: obtaining a target image to be moderated; labeling the target image to obtain a plurality of pieces of label information of the target image; obtaining at least one service vertical category to which the target image is to be launched; recognizing whether the plurality of pieces of label information contain label information excluded by the service vertical category; and determining that the target image is a forbidden image in the service vertical category in a case that the plurality of pieces of label information contain the label information excluded by the service vertical category.
9. The electronic device of claim 8, wherein labeling the target image to obtain the plurality of pieces of label information of the target image comprises: performing segmentation on the target image to obtain at least one image segment; performing image recognition on the image segment to obtain a recognition channel corresponding to the image segment; and inputting the image segment into the recognition channel, and labeling the image segment by a recognition model corresponding to the recognition channel to obtain the plurality of pieces of label information of the target image.
10. The electronic device of claim 9, wherein performing the segmentation on the target image to obtain the at least one image segment comprises: recognizing at least one connected component of the target image, obtaining a relevance of contents in each connected domain, and performing the segmentation on the target image based on the relevance to obtain the at least one image segment.
11. The electronic device of claim 8, wherein labeling the target image to obtain the plurality of pieces of label information of the target image comprises: inputting the target image into a recognition model, inputting the target image into a plurality of sub-recognition models in the recognition model respectively, and labeling the target image by the plurality of sub-recognition models to obtain the plurality of pieces of label information.
12. The electronic device of claim 8, wherein recognizing whether the plurality of pieces of label information contain the label information excluded by the service vertical category comprises: obtaining a launch strategy of the service vertical category, the launch strategy at least comprising the label information excluded by the service vertical category; and recognizing whether the plurality of pieces of label information contain the label information excluded by the service vertical category based on the launch strategy.
13. The electronic device of claim 8, wherein the method further comprises: extracting text information from the target image; and recognizing whether the target image is the forbidden image in the service vertical category based on the text information and the plurality of pieces of label information.
14. The electronic device of claim 8, wherein the method further comprises: in a case that the target image is a non-forbidden image in the service vertical category, obtaining at least one launch position of the service vertical category, and launching the target image at one of the at least one launch position.
15. A non-transitory computer readable storage medium having computer instructions stored thereon, wherein the computer instructions are configured to cause a computer to execute an image moderation method, the method comprising: obtaining a target image to be moderated; labeling the target image to obtain a plurality of pieces of label information of the target image; obtaining at least one service vertical category to which the target image is to be launched; recognizing whether the plurality of pieces of label information contain label information excluded by the service vertical category; and determining that the target image is a forbidden image in the service vertical category in a case that the plurality of pieces of label information contain the label information excluded by the service vertical category.
16. The storage medium of claim 15, wherein labeling the target image to obtain the plurality of pieces of label information of the target image comprises: performing segmentation on the target image to obtain at least one image segment; performing image recognition on the image segment to obtain a recognition channel corresponding to the image segment; and inputting the image segment into the recognition channel, and labeling the image segment by a recognition model corresponding to the recognition channel to obtain the plurality of pieces of label information of the target image.
17. The storage medium of claim 16, wherein performing the segmentation on the target image to obtain the at least one image segment comprises: recognizing at least one connected component of the target image, obtaining a relevance of contents in each connected domain, and performing the segmentation on the target image based on the relevance to obtain the at least one image segment.
18. The storage medium of claim 15, wherein labeling the target image to obtain the plurality of pieces of label information of the target image comprises: inputting the target image into a recognition model, inputting the target image into a plurality of sub-recognition models in the recognition model respectively, and labeling the target image by the plurality of sub-recognition models to obtain the plurality of pieces of label information.
19. The storage medium of claim 15, wherein recognizing whether the plurality of pieces of label information contain the label information excluded by the service vertical category comprises: obtaining a launch strategy of the service vertical category, the launch strategy at least comprising the label information excluded by the service vertical category; and recognizing whether the plurality of pieces of label information contain the label information excluded by the service vertical category based on the launch strategy.
20. The storage medium of claim 15, wherein the method further comprises: extracting text information from the target image; and recognizing whether the target image is the forbidden image in the service vertical category based on the text information and the plurality of pieces of label information.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The accompanying drawings are used for better understanding the solution and do not constitute a limitation of the disclosure.
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
DETAILED DESCRIPTION
[0022] Description will be made below to exemplary embodiments of the disclosure with reference to accompanying drawings, which includes various details of embodiments of the disclosure to facilitate understanding and should be regarded as merely examples. Therefore, it should be recognized by the skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the disclosure. Meanwhile, for clarity and conciseness, descriptions for well-known functions and structures are omitted in the following description.
[0023] Description will may be made below to an image moderation method, an image moderation apparatus, an electronic device, and a storage medium according to embodiments of the disclosure with reference to accompanying drawings.
[0024]
[0025] At block S101, a target image to be moderated is obtained.
[0026] The target image to be moderated may be any image. For example, decoding and frame extraction may be performed on any video, such as a teaching video, a film and a video of television play work, to obtain images. Any one of the images may be selected as the target image.
[0027] It should be noted that when obtaining the target image, an image pre-stored in local or a remote storage area may be obtained as the target image, or an image may be directly captured as the target image. In some embodiments, a video or an image may be obtained from at least one of a local or remote video library and an image library to acquire a target image. In some embodiments, an image may be directly captured as the target image. The way for obtaining the target image to be moderated is not limited in embodiments of the disclosure, and may be selected based on an actual situation.
[0028] At block S102, the target image is labeled to obtain multiple pieces of label information of the target image.
[0029] Labeling refers to a process of adding a detailed and specific label to the image to supplement image content classification through deep learning technologies.
[0030] In some embodiments of the disclosure, the target image may be inputted into at least one pre-trained model, to label the target image to obtain the multiple pieces of label information of the target image.
[0031] For example, as illustrated in
[0032] At block S103, at least one service vertical category to which the target image is to be launched is obtained.
[0033] The service vertical category may include, but is not limited to, at least one of: a tourism vertical category, a sports vertical category, an animation vertical category and a teaching vertical category.
[0034] It should be noted that, services belonging to the same service vertical category focus on serving similar user groups, and also have similar attention directions and scales of image moderation. Accordingly, different service vertical categories have different attention directions and scales of image moderation for the same target image.
[0035] For example, a basketball game live service and a football forum service belong to the same service vertical category, and also have similar attention directions and scales of image moderation. A children reading service of science knowledge and a broadcasting service of a star reality show belong to different service vertical categories, and have different attention directions and scales of image moderation.
[0036] At block S104, it is recognized whether the multiple pieces of label information contain label information excluded by the service vertical category.
[0037] In some embodiments of the disclosure, after the multiple pieces of label information of the target image and the at least one service vertical category to which the target image is to be launched is obtained, it may be recognized whether the label information excluded by the service vertical category is contained in the multiple pieces of label information based on a preset image moderation standard.
[0038] The image moderation standard at least includes the label information excluded by the service category. For example, label information excluded by a teaching vertical category may be set as sexy, suicide, violence, etc.
[0039] At block S105, it is determined that the target image is a forbidden image in the service vertical category in a case that the multiple pieces of label information contain the label information excluded by the service vertical category.
[0040] It should be noted that, the target image may be determined as the forbidden image merely in the service vertical category when the multiple pieces of label information contain the label information excluded by the service vertical category.
[0041] For example, when the label information of the target image is a sexy football baby, the target image is determined as a forbidden image in the teaching vertical category, but the target image is determined as a qualified (non-forbidden) image in the sports vertical category.
[0042] With the image moderation method according to embodiments of the disclosure, the target image to be moderated may be obtained. The target image is labeled to obtain the multiple pieces of label information of the target image. The at least one service vertical category to which the target image is to be launched is obtained. It is recognized whether the multiple pieces of label information contain the label information excluded by the service vertical category. It is determined that the target image is the forbidden image in the service vertical category in a case that the multiple pieces of label information contain the label information excluded by the service vertical category, thereby implementing moderation processing for the image. In this way, with the disclosure, by obtaining the multiple pieces of label information of the target image at the same time, it may be dynamically moderated for different service vertical categories whether the target image is forbidden, different moderation results of the target image under the multiple service vertical categories are obtained, thereby improving the flexibility and accuracy of image moderation, and achieving the purpose of appropriate image moderation for different service vertical categories.
[0043] It should be noted that, in the disclosure, when obtaining the multiple pieces of label information of the target image, the target image may be segmented to obtain at least one image segment, and then the image segment is inputted into a recognition channel corresponding to the image segment to obtain the multiple pieces of label information of the target image.
[0044] As a possible implementation, as illustrated in
[0045] At block S201, segmentation is performed on the target image to obtain at least one image segment.
[0046] In some embodiments, connected component recognition may be performed on the target image to obtain relevance of contents in each connected component is obtained, and the target image is segmented according to the relevance to obtain the at least one image segment.
[0047] The connected component generally refers to an image domain (Blob) composed of foreground pixels having a same pixel value and located at adjacent positions in the image. The connected component recognition refers to a process of finding and marking each connected component in an image. In other words, a foreground target may be extracted, so that the connected component recognition method is able to be used in an application scene of subsequent processing. Generally, an object processed by the connected component recognition is a binarized image.
[0048] For example, as illustrated in
[0049] At block S202, image recognition is performed on the image segment to obtain a recognition channel corresponding to the image segment.
[0050] The recognition channel refers to a channel containing a recognition model for performing image recognition on the image segment, such as a channel including a scene recognition model, a channel including a character recognition model, a channel including an item recognition model, and a channel including an animal recognition model.
[0051] It should be noted that, one image segment may correspond to multiple recognition channels, that is, one image segment may correspond to multiple recognition models. For example, a recognition channel corresponding to the image segment 13-2 illustrated in
[0052] At block S203, the image segment is inputted into the recognition channel, and the image segment is labeled by a recognition model corresponding to the recognition channel to obtain the multiple pieces of label information of the target image.
[0053] It should be noted that, the image segment may be input into the multiple recognition channels in turn when the image segment corresponds to multiple recognition channels.
[0054] For example, as illustrated in
[0055] As another possible implementation, the target image may be inputted into the recognition model, and then inputted into multiple sub-recognition models in the recognition model, and the target image may be labeled by the multiple sub-recognition models to obtain the multiple pieces of label information.
[0056] The sub-recognition model may include at least one of: a scene sub-recognition model, a character sub-recognition model, an item sub-recognition model, an animal sub-recognition model and so on.
[0057] With image moderation method according to embodiments of the disclosure, the at least one image segment may be obtained by segmenting the target image, and image recognition may be performed on the image segment to obtain the recognition channel corresponding to the image segment, then the image segment is inputted into the corresponding recognition channel, and the image segment is labeled by the recognition model corresponding to the recognition channel to obtain the multiple pieces of label information of the target image. In this way, with the disclosure, the image segment obtained by segmentation may be inputted into the at least one corresponding recognition channel, and the multiple of pieces of label information of the target image are obtained simultaneously, thereby achieving the purpose of labeling multiple labels for one target image, and further improving the flexibility and accuracy of image moderation.
[0058] It should be noted that, in the disclosure, when recognizing whether the multiple pieces of label information include label information excluded by the service vertical category, it may be recognized whether the multiple pieces of label information include the label information excluded by the service vertical category based on a launch strategy corresponding to the service vertical category.
[0059] As a possible implementation, as illustrated in
[0060] At block S301, a launch strategy of the service vertical category is obtained. The launch strategy at least includes the label information excluded by the service vertical category.
[0061] In some embodiments of the disclosure, a user may upload the launch strategy of the service vertical category. Correspondingly, the launch strategy of the service vertical category may be received, and the label information excluded by the service vertical category is extracted.
[0062] At block S302, it is recognized whether the multiple pieces of label information contain the label information excluded by the service vertical category based on the launch strategy.
[0063] It should be noted that, when any piece of label information of the target image or a part of any piece of label information is the label information excluded by the service vertical category, it is recognized that the label information excluded by the service vertical category is contained in the multiple pieces of label information.
[0064] For example, the label information excluded by the teaching vertical category is sexy. At this time, if obtained label information of the target image is a sexy football baby or a sexy female teacher, both the recognition results are that the label information excluded by the teaching vertical category are contained.
[0065] With the image moderation method according to embodiments of the disclosure, the launch strategy of the service vertical category may be obtained. The launch strategy at least includes the label information excluded by the service vertical category. It is recognized whether the multiple pieces of label information contain the label information excluded by the service vertical category based on the launch strategy. In this way, with the disclosure, it may be flexibly recognized whether the multiple pieces of label information of the target image contain the label information excluded by the service vertical category based on the launch strategies corresponding to different service vertical categories, thereby dynamically moderating whether the target image is a forbidden image for different service vertical categories, obtaining different moderation results of the target image under the multiple service vertical categories, and further improving the flexibility and accuracy of image moderation.
[0066] It should be noted that, in the disclosure, in order to analyze the target image more comprehensively, on the basis of obtaining the multiple pieces of label information of the target image, text information in the target image may also be extracted, and then it is recognized whether the target image is a forbidden image in the service vertical category based on the multiple pieces of label information in combination with the text information of the target image.
[0067] As a possible implementation, as illustrated in
[0068] At block S401, the text information in the target image is extracted.
[0069] In some embodiments, when the text information is extracted from the target image, an optical character recognition (OCR) method may be adopted to extract the text information from the target image, to obtain the text information of the target image.
[0070] For example, as illustrated in
[0071] It should be noted that, when the text information is extracted from the target image, the anchor text information in a link may also be obtained by the OCR method in a case that the target image contains information such as the link.
[0072] For example, as illustrated in
[0073] At block S402, it is recognized whether the target image is the forbidden image in the service vertical category based on the text information and the multiple pieces of label information.
[0074] In some embodiments, the obtained text information and the multiple of pieces of label information may be compared with the label information excluded by the service vertical category. When it is recognized that the obtained text information or the multiple of pieces of label information contain the label information excluded by the service vertical category, the target image is checked as the forbidden image in the service vertical category. When it is recognized that neither the obtained text information nor the multiple of pieces of label information contains the label information excluded by the service vertical category, it is moderated that the target image is a qualified image in the service vertical category.
[0075] With the image moderation method according to embodiments of the disclosure, the text information is extracted from the target image, and it is recognized whether the target image is the forbidden image in the service vertical category based on the text information and the multiple pieces of label information. In this way, with the disclosure, by extracting the text information from the target image, it is recognized whether the target image is the forbidden image in the service vertical category based on the multiple pieces of label information of the target image in combination with the text information of the target image, such that the target image may be analyzed more comprehensively and accurately, and the flexibility and accuracy of image moderation are further improved.
[0076]
[0077] At block S501, a target image to be moderated is obtained.
[0078] At block S502, segmentation is performed on the target image to obtain at least one image segment.
[0079] At block S503, image recognition is performed on the image segment to obtain a recognition channel corresponding to the image segment.
[0080] At block S504, the image segment is inputted into the recognition channel, and the image segment is labeled by a recognition model corresponding to the recognition channel to obtain multiple pieces of information of the target image.
[0081] At block S505, text information is extracted from the target image to obtain the text information of the target image.
[0082] At block S506, at least one service vertical category to which the target image is to be launched is obtained.
[0083] At block S507, a launch strategy of the vertical service category is obtained. The launch strategy at least includes label information excluded by the service vertical category.
[0084] At block S508, it is recognized whether the target image is a forbidden image in the service vertical category based on the launch strategy, the multiple pieces of label information and the text information.
[0085] In some embodiments, when it is recognized that the target image is the forbidden image in the service vertical category, the action at block S509 may be executed. When it is recognized that the target image is a non-forbidden image in the service vertical category, the action at block S510 may be executed.
[0086] At block S509, a recognition result is outputted.
[0087] It should be noted that, when the recognition result is outputted, text information or speech information such as “the picture is forbidden” or “the picture does not pass the moderation” may be outputted. Furthermore, while the recognition result is outputted, a reason why it is recognized that the target image is forbidden may also be outputted, to help the user replace the target image pertinently. For example, a prompt such as “This picture contains pornographic information and belongs to a forbidden image” may also be outputted.
[0088] At block S510, at least one launch position of the service vertical category is obtained, and the target image is launched at one of the at least one launch position.
[0089] In some embodiments, in a case that the target image is recognized to be the non-forbidden image in the service vertical category, the at least one launch position of the service vertical category may be obtained, and an instruction for opening the launch position is issued to launch the target image at one of the at least one launch position.
[0090] It should be noted that, the description at blocks S501˜S509 may refer to relevant records in the above embodiments, which is not elaborated here.
[0091] It should be noted that, the image moderation method provided in the disclosure may be applied to various scenes related to the field of image moderation.
[0092] For an application scene of automatic image moderation, after a target image is obtained by artificial intelligence (AI) technologies, labeling and text information extraction may be automatically performed on the target image by natural language processing technologies in combination with computer vision technologies. Then it may be recognized whether the target image is the forbidden image in the service vertical category based on the multiple pieces of label information and the text information to implement automatic moderation on the image. In this way, the process of automatic image moderation no longer depends on any manual intervention. The complete and thorough dynamic automatic image moderation may be implemented for different service vertical categories. The efficiency and accuracy of automatic image moderation is improved. The labor cost is greatly reduced.
[0093] For an application scene of a short video application, a target image uploaded by a user through a terminal such as a smart phone may be obtained, and labeling and text information extraction may be automatically performed on the target image. Then it is recognized whether the target image is the forbidden image in the service vertical category based on the multiple pieces of label information and the text information. Furthermore, when it is recognized that the target image uploaded by the user is the forbidden image, the reason why the target image is recognized as the forbidden image may be outputted while a recognition result is outputted, to help the user change the target image pertinently. In this way, a risk of the user failing to launch the target image as scheduled due to not familiar with an image moderation rule of the service vertical category or even being punished may be significantly reduced. Meanwhile, positive guidance for user's image uploading habit under the service vertical category are provided, which greatly improves the user experience
[0094] With the image moderation method according to embodiments of the disclosure, the target image to be moderated may be obtained. The target image is labeled to obtain the multiple pieces of label information of the target image. The at least one service vertical category to which the target image is to be launched is obtained. It is recognized whether the multiple pieces of label information contain the label information excluded by the service vertical category. It is determined that the target image is the forbidden image in the service vertical category in a case that the multiple pieces of label information contain the label information excluded by the service vertical category, thereby implementing moderation processing for the image. In this way, with the disclosure, by obtaining the multiple pieces of label information of the target image at the same time, it may be dynamically moderated for different service vertical categories whether the target image is forbidden, different moderation results of the target image under the multiple service vertical categories are obtained, thereby improving the flexibility and accuracy of image moderation, and achieving the purpose of appropriate image moderation for different service vertical categories.
[0095] Corresponding to the image moderation method provided in the above embodiments, embodiments of the disclosure also provide an image moderation apparatus. Since the image moderation apparatus provided by embodiments of the disclosure corresponds to the image moderation method provided by the above embodiments, implementations of the image moderation method are also applicable to the image moderation apparatus provided in embodiments, which is not described in detail in this embodiment.
[0096] As illustrated in
[0097] The target image obtaining module 100 is configured to obtain a target image to be moderated.
[0098] The label information obtaining module 200 is configured to label the target image to obtain multiple pieces of label information of the target image.
[0099] The service vertical category obtaining module 300 is configured to obtain at least one service vertical category to which the target image is to be launched.
[0100] The first recognizing module 400 is configured to recognize whether the multiple pieces of label information contain label information excluded by the service vertical category.
[0101] The determining module 500 is configured to determine that the target image is a forbidden image in the service vertical category in a case that the multiple pieces of label information contain the label information excluded by the service vertical category.
[0102] In embodiments of the disclosure, as illustrated in
[0103] In embodiments of the disclosure, as illustrated in
[0104] In embodiments of the disclosure, as illustrated in
[0105] In embodiments of the disclosure, as illustrated in
[0106] In embodiments of the disclosure, as illustrated in
[0107] In embodiments of the disclosure, as illustrated in
[0108] With the image moderation apparatus according to embodiments of the disclosure, the target image to be moderated may be obtained. The target image is labeled to obtain the multiple pieces of label information of the target image. The at least one service vertical category to which the target image is to be launched is obtained. It is recognized whether the multiple pieces of label information contain the label information excluded by the service vertical category. It is determined that the target image is the forbidden image in the service vertical category in a case that the multiple pieces of label information contain the label information excluded by the service vertical category, thereby implementing moderation processing for the image. In this way, with the disclosure, by obtaining the multiple pieces of label information of the target image at the same time, it may be dynamically moderated for different service vertical categories whether the target image is forbidden, different moderation results of the target image under the multiple service vertical categories are obtained, thereby improving the flexibility and accuracy of image moderation, and achieving the purpose of appropriate image moderation for different service vertical categories.
[0109] According to embodiments of the disclosure, the disclosure also provides an electronic device and a readable storage medium.
[0110] As illustrated in
[0111] As illustrated in
[0112] The memory 1200 is a non-transitory computer readable storage medium provided by the disclosure. The memory is configured to store instructions executable by at least one processor, to enable the at least one processor to execute the image moderation method provided by the disclosure. The non-transitory computer readable storage medium provided by the disclosure is configured to store computer instructions. The computer instructions are configured to enable a computer to execute the image moderation method provided by the disclosure.
[0113] As the non-transitory computer readable storage medium, the memory 1200 may be configured to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions module (such as the target image obtaining module 100, the label information obtaining module 200, the service vertical category obtaining module 300, the first recognizing module 400, and the determining module 500 illustrated in
[0114] The memory 1200 may include a storage program region and a storage data region. The storage program region may store an application required by an operating system and at least one function. The storage data region may store data created according to predicted usage of the electronic device. In addition, the memory 1200 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk memory device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory 1200 may optionally include memories remotely located to the processor 1100, and these remote memories may be connected to the electronic device via a network. Examples of the above network include, but are not limited to, an Internet, an intranet, a local area network, a mobile communication network and combinations thereof.
[0115] The electronic device capable of implementing the image moderation method may also include: an input device 1300 and an output device 1400. The processor 1100, the memory 1200, the input device 1300, and the output device 1400 may be connected via a bus or in other means. In
[0116] The input device 1300 may receive inputted digital or character information, and generate key signal input related to user setting and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator stick, one or more mouse buttons, a trackball, a joystick and other input device. The output device 1400 may include a display device, an auxiliary lighting device (e.g., LED), a haptic feedback device (e.g., a vibration motor), and the like. The display device may include, but be not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be the touch screen.
[0117] The various implementations of the system and technologies described herein may be implemented in a digital electronic circuit system, an integrated circuit system, an application specific ASIC (application specific integrated circuit), a computer hardware, a firmware, a software, and/or combinations thereof. These various implementations may include: being implemented in one or more computer programs. The one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor. The programmable processor may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and may transmit data and the instructions to the storage system, the at least one input device, and the at least one output device.
[0118] These computing programs (also called programs, software, software applications, or codes) include machine instructions of programmable processors, and may be implemented by utilizing high-level procedures and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms “machine readable medium” and “computer readable medium” refer to any computer program product, device, and/or apparatus (such as, a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and/or data to a programmable processor, including a machine readable medium that receives machine instructions as a machine readable signal. The term “machine readable signal” refers to any signal for providing the machine instructions and/or data to the programmable processor.
[0119] To provide interaction with a user, the system and technologies described herein may be implemented on a computer. The computer has a display device (such as, a CRT (cathode ray tube) or a LCD (liquid crystal display) monitor) for displaying information to the user, a keyboard and a pointing device (such as, a mouse or a trackball), through which the user may provide the input to the computer. Other types of devices may also be configured to provide interaction with the user. For example, the feedback provided to the user may be any form of sensory feedback (such as, visual feedback, auditory feedback, or tactile feedback), and the input from the user may be received in any form (including acoustic input, voice input or tactile input).
[0120] The system and technologies described herein may be implemented in a computing system including a background component (such as, a data server), a computing system including a middleware component (such as, an application server), or a computing system including a front-end component (such as, a user computer having a graphical user interface or a web browser through which the user may interact with embodiments of the system and technologies described herein), or a computing system including any combination of such background component, the middleware components and the front-end component. Components of the system may be connected to each other via digital data communication in any form or medium (such as, a communication network). Examples of the communication network include a local area network (LAN), a wide area networks (WAN), and the Internet.
[0121] The computer system may include a client and a server. The client and the server are generally remote from each other and generally interact via the communication network. A relationship between the client and the server is generated by computer programs operated on a corresponding computer and having a client-server relationship with each other.
[0122] With the image moderation method according to embodiments of the disclosure, the target image to be moderated may be obtained. The target image is labeled to obtain the multiple pieces of label information of the target image. The at least one service vertical category to which the target image is to be launched is obtained. It is recognized whether the multiple pieces of label information contain the label information excluded by the service vertical category. It is determined that the target image is the forbidden image in the service vertical category in a case that the multiple pieces of label information contain the label information excluded by the service vertical category, thereby implementing moderation processing for the image. In this way, with the disclosure, by obtaining the multiple pieces of label information of the target image at the same time, it may be dynamically moderated for different service vertical categories whether the target image is forbidden, different moderation results of the target image under the multiple service vertical categories are obtained, thereby improving the flexibility and accuracy of image moderation, and achieving the purpose of appropriate image moderation for different service vertical categories.
[0123] It should be understood that, steps may be reordered, added or deleted by utilizing flows in the various forms illustrated above. For example, the steps described in the disclosure may be executed in parallel, sequentially or in different orders, so long as desired results of the technical solution disclosed in the disclosure may be achieved, there is no limitation here.
[0124] The above detailed implementations do not limit the protection scope of the disclosure. It should be understood by the skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made based on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and the principle of the disclosure shall be included in the protection scope of disclosure.