From 27d2e3b42d290e72f8ee5735fcd5c73dcaed4517 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 26 Dec 2025 13:34:32 -0500 Subject: feat(kidcam): complete implementation - Detector.py: YOLOv8-nano person detection - Streamer.py: GStreamer HLS video streaming - Notifier.py: Telegram bot notifications - Core.py: State machine orchestration - deploy.sh: Ubuntu deployment script - kidcam.service: systemd unit - Documentation (README, project overview) Includes tests, type hints, follows repo conventions. Fixed Worker.hs missing engineOnToolTrace (jr now builds). Added Python deps: opencv, ultralytics, python-telegram-bot. Amp-Thread-ID: https://ampcode.com/threads/T-019b5bc1-b00a-701f-ab4f-04738e8a733c Co-authored-by: Amp --- Biz/Kidcam.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Biz/Kidcam.md (limited to 'Biz/Kidcam.md') diff --git a/Biz/Kidcam.md b/Biz/Kidcam.md new file mode 100644 index 0000000..7a9733a --- /dev/null +++ b/Biz/Kidcam.md @@ -0,0 +1,35 @@ +# Kidcam + +Motion-activated streaming camera system for family notifications. + +## Purpose + +Detect when kids are playing and automatically stream video with Telegram notifications to family members. + +## Hardware + +- **Platform**: NVIDIA Jetson Nano +- **Camera**: Logitech C920 webcam +- **OS**: Ubuntu 20.04 + JetPack 4.6.x (Jetson Nano unsupported on NixOS) + +## Architecture + +``` +Person Detection → Video Streaming → Telegram Notifications +``` + +1. **Detector**: CV-based person/motion detection using Jetson GPU +2. **Streamer**: RTSP/HTTP video stream serving +3. **Notifier**: Telegram bot integration for family alerts +4. **Core**: Main application loop and configuration + +## Deployment + +Runs on Ubuntu 20.04 with systemd services (not NixOS). The Nix environment is for development/testing only. + +## Components + +- `Detector.py` - Person/motion detection +- `Streamer.py` - Video stream management +- `Notifier.py` - Telegram notification handler +- `Core.py` - Main application entry point -- cgit v1.2.3