Summary
In this chapter, we have seen how to set up a smart surveillance system with Raspberry Pi and the AWS Rekognition platform.
We started by understanding the AWS Rekognition platform and then indexing/seeding a collection with our images. Next, we updated the Raspberry Pi code to take a picture when motion is detected and then send that image to AWS Rekognition to identify whether the face in the current photo matches any of the indexed images. If it does, we ignore the image; if it does not, we send an email with that image.
With this, we complete, Practical Internet of Things with JavaScript. I hope you have learned a few ways to leverage JavaScript and Raspberry Pi to build simple yet powerful IoT solutions.