官术网_书友最值得收藏!

Types of content moderation APIs

We will quickly go through the key features of the moderation APIs in this section.

Note

A reference to the documentation for all APIs can be found at https://docs.microsoft.com/nb-no/azure/cognitive-services/content-moderator/api-reference.

Image moderation

The image moderation API allows you to moderate images for adult and inappropriate content. It can also extract textual content and detect faces in images.

When using the API to evaluate inappropriate content, the API will take an image as input. Based on the image, it will return a Boolean value, indicating whether the image is appropriate or not. It will also contain a corresponding confidence score between 0 and 1. The Boolean value is set based on a set of default thresholds.

If the image contains any text, the API will use OCR to extract the text. It will then look for the same adult or racy content as text moderation, which we will get to shortly.

Some content-based applications may not want to display any personally identifiable information, in which case it can be wise to detect faces in images. Based on the information retrieved in the face-detection evaluation, you can ensure that no user content contains images of people.

Text moderation

Using the text moderation API, you can screen text against custom and shared lists of text. It is able to detect personally identifiable information and profanity in text. In this case, personally identifiable information is the presence of information such as email addresses, phone numbers, and mailing addresses.

When you submit a text to be moderated, the API can detect the language used, if it is not stated. Screening text will automatically correct any misspelled words (to catch deliberately misspelled words). The results will contain the location of profanities and personal identifiable information in the text, as well as the original text, autocorrected text, and the language. Using these results, you can moderate content appropriately.

主站蜘蛛池模板: 瓦房店市| 莲花县| 宜君县| 类乌齐县| 舟曲县| 黄骅市| 灯塔市| 太原市| 乌鲁木齐县| 凤阳县| 伊吾县| 黑水县| 永善县| 朝阳市| 阿坝县| 石家庄市| 扎鲁特旗| 彰化县| 罗田县| 嘉荫县| 香格里拉县| 宜章县| 神木县| 延津县| 宣化县| 广州市| 信宜市| 吉木萨尔县| 翁牛特旗| 通山县| 河源市| 崇州市| 延川县| 隆林| 虹口区| 宜黄县| 临沂市| 通辽市| 屏东市| 黄陵县| 开封县|