Building a Smart Security Camera with Raspberry Pi Zero/Java/AWS
summary
A working smart camera uses a Raspberry Pi Zero W with Motion to capture snapshots, uploads them to S3 and runs an AWS Step Functions workflow that calls AWS Rekognition, Lambda functions and SES to filter out non‑human triggers. False alarms drop from ~250/day to a few per day, August processing (8,093 images) costs €5.15 and projects to about €12/month after the free tier ends. Java Lambda builds are larger, need 256 MB, suffer longer cold starts and cost more than Node.js for this workload.
AI-written summary · about
chapters (25)
- 0:00Start
- 1:21Talk Outline
- 2:25Initial Motivation
- 3:32Hardware Shopping List
- 5:10Assembled Camera
- 5:35Implementing the Functional Design
- 7:49How the Motion Software works
- 8:08Alarm Snapshots from Web Camera
- 8:36Project Requirements: Evaluation
- 9:18False Alarms from Web Camera
- 10:19Improving Alarm Accuracy with Smart Image Analysis
- 11:16AWS Rekognition
- 13:47Adding AWS to the Web Camera
- 14:20Amazon Web Service Flow Overview
- 14:37AWS Lambda Functions Code Building Blocks (aka Microservices)
- 20:24AWS Step Functions
- 21:10Step Function for Image Processing
- 30:54AWS Monthly Cost: August 2017
- 32:20Which Image Should Motion Upload?
- 35:40Artefact Sizes
- 37:04Memory Requirements
- 38:18Testing Cost & Performance: Method *Simulate 1500 alerts (not false alarms).
- 39:34Test Results
- 40:12Why was Java slower on AWS Lambda?
- 41:51Does Java belong on AWS Lambda?
