Face comparison

In this part, when a person tries to enter the building through the gate, the IR sensor detects the presence and captures the image of the person. Then, this image is stored in the S3 bucket and from there it is passed to Rekognition, which then uses the SearchFacesByImage method to compare the face with the existing data present in the collection. If the face matches the existing data, it means that the person is authentic and is then allowed to enter. Refer to Figure 7.25, which shows the flow of information for face comparison:

Figure 7.25

The actual face comparison part will look similar to what is shown in Figure 7.2

Get Internet of Things with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.