Prerequisites
To build a contactless casino and resort, you must create a few AWS resources. This section outlines the necessary steps.
Creating the face collection
The contactless hotel and casino needs an Amazon Rekognition collection to hold our face metadata:
$ aws rekognition create-collection \ --region us-east-2 \ --collection-id "HotelCollection"
This command will report the following output:
{ «StatusCode": 200, «CollectionArn": "aws:rekognition:region:account:collection/HotelCollection", «FaceModelVersion": "6.0" }
Creating the image bucket
Amazon Rekognition supports analyzing PNG and JPEG images within an S3 bucket. The bucket must reside in the same region as the one used for the Amazon Rekognition public endpoint:
$ aws s3api create-bucket \ --bucket ch04-hotel-use2 \ --region us-east-2 \ -...