Analyze Image Content Using SDK

Learn to analyze the content present in images using the Azure Content Moderator SDK.

Introduction

We have explored the computer vision service from Azure in one of our previous chapters. In this lesson, we’ll explore similar concepts but use a content moderation service. We’ll perform different operations on images (although the same could be performed using the computer vision service) with content moderation service (as it is trained with data specifically to moderate the content). lly to moderate the content*).

Implementation

Now let’s start the implementation and perform some operations on images.

Evaluating an image for adult or racy content

First, we’ll read two images using URLs and evaluate them for any adult or racy content. Let’s have a look at the code now.

Get hands-on with 1400+ tech skills courses.