Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Edge Analytics with Azure IoT

You're reading from  Hands-On Edge Analytics with Azure IoT

Product type Book
Published in May 2020
Publisher Packt
ISBN-13 9781838829902
Pages 262 pages
Edition 1st Edition
Languages
Author (1):
Colin Dow Colin Dow
Profile icon Colin Dow

Table of Contents (15) Chapters

Preface 1. Section 1: Getting Started with Edge Analytics
2. Introduction to Edge Analytics 3. How Does IoT Edge Analytics Work? 4. Communications Protocols Used in Edge Analytics 5. Section 2: Understanding Edge Analytics Technologies
6. Working with Microsoft Azure IoT Hub 7. Using the Raspberry Pi with Azure IoT Edge 8. Using MicroPython for Edge Analytics 9. Machine Learning and Edge Analytics 10. Designing a Smart Doorbell with Visual Recognition 11. Section 3: The Road Ahead
12. Security and Privacy in an Edge Analytics World 13. What Next? 14. Other Books You May Enjoy

Summary

In this chapter, we created a Smart Doorbell application that will announce who is at the door once they are picked up by a webcam. By sticking to an object-oriented approach, we were able to organize our edge code into three separate components, the Face class, the Message class, and the Camera script. At the heart of the Smart Doorbell application is the Face class. Using the object-oriented approach, we were able to write the code and test the functionality of this class quickly. We were also able to build and test the Message class the same way.

In the construction of our edge code, we were introduced to the OpenCV and face_recognition libraries. Having these libraries made our task so much easier as they did the majority of the heavy lifting for us. The paho.mqtt library made it very easy to connect to the outside world through the use of the MQTT protocol.

An MQTT...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}