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.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Biz/Kidcam.nix (limited to 'Biz/Kidcam.nix') 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 { } }: + +# 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; + }; +} -- cgit v1.2.3