Book Image

Internet of Things with Raspberry Pi 3

By : Maneesh Rao
Book Image

Internet of Things with Raspberry Pi 3

By: Maneesh Rao

Overview of this book

This book is designed to introduce you to IoT and Raspberry Pi 3. It will help you create interesting projects, such as setting up a weather station and measuring temperature and humidity using sensors; it will also show you how to send sensor data to cloud for visualization in real-time. Then we shift our focus to leveraging IoT for accomplishing complex tasks, such as facial recognition using the Raspberry Pi camera module, AWS Rekognition, and the AWS S3 service. Furthermore, you will master security aspects by building a security surveillance system to protect your premises from intruders using Raspberry Pi, a camera, motion sensors, and AWS Cloud. We'll also create a real-world project by building a Wi-Fi – controlled robot car with Raspberry Pi using a motor driver circuit, DC motor, and a web application. This book is a must-have as it provides a practical overview of IoT’s existing architectures, communication protocols, and security threats at the software and hardware levels—security being the most important aspect of IoT.
Table of Contents (11 chapters)

Implementation

Using all the building blocks discussed until now, we will build an image recognition-based building access management system. This system has three main components.

The first is creating the collection, which will store the feature information of all the images.

The second is where the image of a new person is uploaded for the first time in the face collection. This task is executed automatically when the person stands in front of the IR sensor (interfaced with Raspberry Pi). The sensor detects their presence and triggers the camera to capture the image of their face. Then, the image is uploaded in S3 and the IndexFaces operation is performed, which extracts the feature information from the face and stores it in a collection.

In the third component, when a person stands near the entrance, an IR sensor detects their presence and triggers the camera to capture the...