Technical perspective

Machine learning content moderation

A preserved technical perspective from the CognoSys engineering archive. Product names, interfaces, availability, and recommended practices may have changed since original publication.

Machine learning has helped do multiple types of moderation when content is being added in real time.

Following types of has gained significance in current world :

Images moderation

Text moderation

Video moderation

Human review/moderation

Through data training, we are able to moderate real-time content by feeding cognitive services with relevant data analysis.

Image Moderation

Evaluate content type

@ECHO OFF

curl -v -X POST “https://westus.api.cognitive.microsoft.com/contentmoderator/moderate/v1.0/ProcessImage/Evaluate?CacheImage={boolean}”
-H “Content-Type: application/json”
-H “Ocp-Apim-Subscription-Key: {subscription key}”

–data-ascii “{body}”

Find Faces

@ECHO OFF

curl -v -X POST “https://westus.api.cognitive.microsoft.com/contentmoderator/moderate/v1.0/ProcessImage/FindFaces?CacheImage={boolean}”
-H “Content-Type: application/json”
-H “Ocp-Apim-Subscription-Key: {subscription key}”

–data-ascii “{body}”

Match Content

@ECHO OFF

curl -v -X POST “https://westus.api.cognitive.microsoft.com/contentmoderator/moderate/v1.0/ProcessImage/Match?listId={string}&cacheimage={boolean}”
-H “Content-Type: application/json”
-H “Ocp-Apim-Subscription-Key: {subscription key}”

–data-ascii “{body}”

OCR

@ECHO OFF

curl -v -X POST “https://westus.api.cognitive.microsoft.com/contentmoderator/moderate/v1.0/ProcessImage/OCR?language=eng&CacheImage=false&enhanced=false”
-H “Content-Type: application/json”
-H “Ocp-Apim-Subscription-Key: {subscription key}”

–data-ascii “{body}”