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)

Recognizing an image

This is the last and easiest step in the image recognition task. We provide the input data that contains both the training dataset and the test dataset. The training dataset has images tagged as cat and not cat. Once the model is trained, the test data, which contains images without tags, is processed and it identifies the closest resemblance to a cat from it.

There are a few major challenges in building an image recognition system and the most important one is the hardware issue. In the case of high definition images, the training set of few thousand images amounts to a few billion pixel values to be computed. The computation is not linear, but complex derivatives, which require a lot of computing power. To overcome these challenges, the following points should be taken care of:

  • Use image compression tools that reduce the size of images without compromising...