Upload reference image

This particular task consists of multiple smaller tasks. Here, we take a picture of a person for the first time and upload it to S3. Then, we run the IndexFaces function on it, which extracts the features of the face in the image and stores it in the collection created in the previous step.

We have implemented this in such a manner that when a person stands in front of the camera, the IR sensor detects their presence and triggers the camera to capture the image. The captured image is then uploaded to S3, on which the IndexFaces operation is performed. After successful execution, an LED will light up. Refer to Figure 7.23 to understand the flow of this part:

Figure 7.23

The actual image upload part will look similar to what is shown in Figure 7.24:

Figure 7.24
..................Content has been hidden....................

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