Session Ready
Exercise

Cat detector

Sam has been getting more and more challenging projects as a result of her popularity and success.

The newest request is from the animal control team. They want to receive notifications when an image comes in from the Get It Done application contains a cat. They can find feral cats and go rescue them. They provided her with two images that she can test her system with. One contains a cat, one does not. Both images are referenced in variables image1 and image2 respectively.

Sam has also created the boto3 Rekognition client in the rekog variable.

Help Sam use Rekognition to enable the animal control team to rescue stray cats!

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Use the Rekognition client to detect the labels for image1. Return a maximum of 1 label.