Book Image

Computer Vision on AWS

By : Lauren Mullennex, Nate Bachmeier, Jay Rao
Book Image

Computer Vision on AWS

By: Lauren Mullennex, Nate Bachmeier, Jay Rao

Overview of this book

Computer vision (CV) is a field of artificial intelligence that helps transform visual data into actionable insights to solve a wide range of business challenges. This book provides prescriptive guidance to anyone looking to learn how to approach CV problems for quickly building and deploying production-ready models. You’ll begin by exploring the applications of CV and the features of Amazon Rekognition and Amazon Lookout for Vision. The book will then walk you through real-world use cases such as identity verification, real-time video analysis, content moderation, and detecting manufacturing defects that’ll enable you to understand how to implement AWS AI/ML services. As you make progress, you'll also use Amazon SageMaker for data annotation, training, and deploying CV models. In the concluding chapters, you'll work with practical code examples, and discover best practices and design principles for scaling, reducing cost, improving the security posture, and mitigating bias of CV workloads. By the end of this AWS book, you'll be able to accelerate your business outcomes by building and implementing CV into your production environments with the help of AWS AI/ML services.
Table of Contents (21 chapters)
1
Part 1: Introduction to CV on AWS and Amazon Rekognition
5
Part 2: Applying CV to Real-World Use Cases
9
Part 3: CV at the edge
12
Part 4: Building CV Solutions with Amazon SageMaker
15
Part 5: Best Practices for Production-Ready CV Workloads

Leveraging Amazon A2I with Amazon Rekognition to review images

In this section, we will learn how to use Amazon A2I with Amazon Rekognition to review images. We will use multiple images containing moderation labels to see Amazon A2I in action.

Step 1 – Collecting your images

Upload the sample images from the book’s GitHub repository. You can complete this step using the following command:

$ aws s3 sync 11_AmazonA2I/images s3://cv-on-aws-book-xxxx/chapter_11/images --region us-east-2

Important note

To collect the sample images, you can use the same S3 bucket you created in Chapter 2.

Now, navigate to Amazon SageMaker on the AWS Management Console at https://us-east-2.console.aws.amazon.com/a2i/home?region=us-east-2#.

Step 2 – Creating a work team

Expand Ground Truth in the left-hand navigation pane, and select on Labeling workforces:

Figure 11.2: The Amazon SageMaker console

Figure 11.2: The Amazon SageMaker console

For this example, we will be using...