diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-26 13:34:32 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-26 13:34:32 -0500 |
| commit | 27d2e3b42d290e72f8ee5735fcd5c73dcaed4517 (patch) | |
| tree | dbe31f28a638332e8abd5610bb80e816b2cf45f4 /Biz/Kidcam.md | |
| parent | 84397b5bb87071dacd82b192d1354382768eb54d (diff) | |
feat(kidcam): complete implementationusr/ben/kidcam
- 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 <amp@ampcode.com>
Diffstat (limited to 'Biz/Kidcam.md')
| -rw-r--r-- | Biz/Kidcam.md | 35 |
1 files changed, 35 insertions, 0 deletions
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 |
