Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Internet of Things with Raspberry Pi 3
  • Table Of Contents Toc
  • Feedback & Rating feedback
Internet of Things with Raspberry Pi 3

Internet of Things with Raspberry Pi 3

By : Rao
4.3 (3)
close
close
Internet of Things with Raspberry Pi 3

Internet of Things with Raspberry Pi 3

4.3 (3)
By: 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)
close
close

The code

Let's write the code to bring the building access management System to life using AWS S3 and Rekognition.

The setup requires Node.js to be installed on Raspberry Pi, which we have already done quite a few times in the previous chapter. So, we'll not repeat that here and straight away start writing the code.

Index face module code

This code will extract the feature information of faces stored in the S3 bucket and store them in the piCollection that we created earlier using the AWS CLI tool.

Create a file with the name indexFaces.js and include the npm modules aws-sdk and fs in it. Make sure these modules are installed or run npm install command in the terminal to do the installation, as shown in Figure 7...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY