You can download the Python code for this project from my “Pi Zero Projects” web page here: https://www.explainingcomputers.com/pi_zero_projects_video.html
An Ugly Sweaters are a great tradition but how can we make them even better (https://aka.ms/IoTShow/UglySweater) is an IoT-enabled Ugly Sweater.
In this episode of the IoT Show, Olivier Bloch is joined by Jim Bennett, a Senior Cloud Advocate at Microsoft. Jim has built an Ugly Sweater using Azure IoT Central, Microsoft’s IoT app platform, and a Raspberry Pi Zero. Dive into Jim’s Python code and learn how Azure IoT Central is able to connect IoT devices to the cloud faster than any other platform. See how Jim uses IoT Central’s extensibility APIs to control his Ugly Sweater via Twitter. This code is on GitHub for you to play with and extend. Get started today!
The camera uses object detection (with OpenCV) to send you an email whenever it sees an intruder.
It also runs a webcam so you can view live video from the camera when you are away.