From the course: Debiasing AI Using Amazon SageMaker
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Retrieve attributes via AWS Rekognition
From the course: Debiasing AI Using Amazon SageMaker
Retrieve attributes via AWS Rekognition
- [Instructor] Now that we've uploaded a photo of the scene to an S three bucket, the next step is to analyze that photo to pull out attributes about the person. We will use the AWS recognition service to obtain these attributes. The first step is to create a brand-new Lambda function responsible for obtaining the photo from S three and sending it to recognition. So navigate to the AWS Lambda console, click on create function, make sure author from scratch is selected, give your function a name, select the runtime as Python three seven. Underneath permissions, create a new role with basic Lambda permissions and then click create function. Because I've already created my function I'm going to click cancel. And so my function is linked in sage maker. You can find the code for this Lambda in the exercises folder and the file name is linked hyphen sage maker dot PY. This Lambda function is triggered when an object or photo is uploaded to the S three bucket. So you can easily set up a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.