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.nix | |
| 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.nix')
| -rw-r--r-- | Biz/Kidcam.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Biz/Kidcam.nix b/Biz/Kidcam.nix new file mode 100644 index 0000000..f12a8d5 --- /dev/null +++ b/Biz/Kidcam.nix @@ -0,0 +1,20 @@ +{ pkgs ? import <nixpkgs> { } }: + +# Development environment only. +# Actual deployment is Ubuntu 20.04 + JetPack 4.6.x on Jetson Nano. +# Jetson Nano is unsupported on NixOS. + +pkgs.python3Packages.buildPythonApplication { + pname = "kidcam"; + version = "0.1.0"; + src = ./.; + + propagatedBuildInputs = with pkgs.python3Packages; [ + # Add dependencies as needed + ]; + + meta = { + description = "Motion-activated streaming camera for family"; + platforms = pkgs.lib.platforms.linux; + }; +} |
