Book Image

Practical Guide to Azure Cognitive Services

By : Chris Seferlis, Christopher Nellis, Andy Roberts
Book Image

Practical Guide to Azure Cognitive Services

By: Chris Seferlis, Christopher Nellis, Andy Roberts

Overview of this book

Azure Cognitive Services and OpenAI are a set of pre-built artificial intelligence (AI) solution APIs that can be leveraged from existing applications, allowing customers to take advantage of Microsoft’s award-winning Vision, Speech, Text, Decision, and GPT-4 AI capabilities. With Practical Guide to Azure Cognitive Services, you’ll work through industry-specific examples of implementations to get a head-start in your production journey. You’ll begin with an overview of the categorization of Azure Cognitive Services and the benefits of embracing AI solutions for practical business applications. After that, you’ll explore the benefits of using Azure Cognitive Services to optimize efficiency and improve predictive capabilities. Then, you’ll learn how to leverage Vision capabilities for quality control, Form Recognizer to streamline supply chain nuances, language understanding to improve customer service, and Cognitive Search for next-generation knowledge-mining solutions. By the end of this book, you’ll be able to implement various Cognitive Services solutions that will help you enhance efficiency, reduce costs, and improve the customer experience at your organization. You’ll also be well equipped to automate mundane tasks by reaping the full potential of OpenAI.
Table of Contents (22 chapters)
1
Part 1: Ocean Smart – an AI Success Story
5
Part 2: Deploying Next-Generation Knowledge Mining Solutions with Azure Cognitive Search
10
Part 3: Other Cognitive Services That Will Help Your Company Optimize Operations

Applying the service to image moderation

There are three primary functions for the image moderation feature of the Content Moderator service:

  • Adult or racy content: For detecting whether the content is sexual or suggestive in terms of mature material.
  • OCR on text: For detecting and identifying whether text within an image being scanned contains any of the content listed earlier in the text filtering section.
  • Facial recognition: For detecting how many faces appear in an image and where they are located within the image. This can be used for counting how many people are gathered – for instance, where capacity limitations are present or in other situations of that type.

Because this feature of the service is built similarly for the Text API, we will only provide brief examples and descriptions of how the service works.

For our API request, we will send our URL in the following, familiar format:

https://{endpoint}/contentmoderator/moderate/v1.0/ProcessImage...