5 Commits
Author SHA1 Message Date
flan 558eb8c321 Land README CI badge on main 2026-08-04 02:51:28 +00:00
flan 336cc394c7 Add Tests status badge to README 2026-08-04 02:45:45 +00:00
flan f6eee63ffe Remove README badge wall; add NOTICE 2026-08-03 23:43:00 +00:00
flan 01fa307031 Fix Frigate faces crash, tracker races, and batch write loss
- frigate_api._get_faces_data now validates the /api/faces response is a
  dict before returning it, so a malformed body no longer crashes
  data.items() in get_all_frigate_person_files (and the equivalent
  data.get() in get_frigate_person_files).
- upload_tracker now takes an exclusive flock on a DATA_DIR lock file for
  every tracker load-mutate-save cycle, so a scheduled run and a manual
  docker exec against the same DATA_DIR can no longer race a
  read-modify-write and silently drop the loser's marks.
- begin_batch()/flush_batch() now flush to disk every 10 marks instead of
  deferring the whole per-person upload loop, bounding how many uploaded
  marks a crash mid-batch can lose.
2026-07-19 20:46:09 +00:00
flan 59f894742f gitignore data/ — it holds face embeddings keyed by real names
data/ is the DATA_DIR the README tells you to mount, and it was not ignored: it holds 1,593
face-embedding .npy files plus upload trackers keyed by person name. A single 'git add -A'
would have published them. Never committed to date, so history is clean.
2026-07-13 17:55:07 +00:00