Local AI Camera Detection Documentation#
codex resume 01a01163-4a3e-7cd2-b780-30eef5e8f62d Continuation: codex resume 01a01b8f-a60c-7f01-9173-c4c189929d3b
This document describes the working local visual-classification implementation and the information required to recreate it. It is documentation, not a task list.
1. Purpose and Design Principles#
1.1 Purpose#
The system adds a second-stage visual classifier to the existing UniFi Protect and Home Assistant installation.
UniFi Protect remains responsible for recording video and detecting broad event categories such as animal, person, or vehicle. Home Assistant receives the Protect event, obtains an image, sends it to a local vision-capable Ollama model, evaluates the structured result, records the decision, and sends a notification only when the objective-specific policy accepts the result.