Summary
In this chapter, we have seen two methods of surveillance using Raspberry Pi. The first approach is where we have streamed images to the API engine and then visualized the same on the mobile web and desktop applications using MJPEG. The second approach is to detect a motion and then start recording a video. Then email this video as an attachment. The two approaches can be combined together as well and the MJPEG streaming can be started if a motion is detected in approach one.
In Chapter 9, Smart Surveillance, we are going to take this to the next level, we are going to add face recognition on top of our captures and perform face recognition (not face detection) using the AWS Rekognition platform.