Create collection

The collection will store information about all the reference faces. With these reference faces, we will compare the input faces. To create a collection, we will use the CLI tool. Open Command Prompt and run the following command, shown in Figure 7.22. We need to provide a collection ID as a parameter while executing the command:

aws rekognition create-collection –collection-id “piCollection”
Figure 7.22

In response to the create-collection command, we receive a JSON object, which contains CollecetionARn,a version of the Rekognition service, and status code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.247.196