Files
ANSCORE/modules/ANSODEngine
nghianguyenandClaude Opus 4.8 fda0f6f86f ANSFR: name the real cause when enrollment cannot compute embeddings
Enrolling a face while the recognizer engine is down used to store the
user row and silently drop the embedding: InsertUser is a pure DB write,
Feature() returns empty when uninitialized, and InsertFace's size check
misreported that as "Invalid embedding generated" — blaming the face.
The result surfaces hours later as every match returning Unknown/2.0
with nothing in the log saying why (seen on the A400: 45 users, zero
embeddings).

- ANSFRBase gains a public IsInitialized() accessor (flag existed but
  was protected).
- InsertFace / InsertMultipleFaces gate on it before computing the
  embedding and log the true cause: recognizer not initialized, face
  NOT enrolled, fix engine errors then re-enroll.
- The residual invalid-embedding message now reports actual vs expected
  size and the remaining causes (unusable crop / recognizer reloading).
- Reload() warns when the database has users but zero embeddings — the
  one line that identifies stale half-enrolled databases at startup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-21 11:36:22 +10:00
..
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-03-31 21:52:47 +11:00
2026-06-18 05:55:31 +10:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-09 08:09:02 +10:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-09 08:09:02 +10:00
2026-04-24 17:10:29 +10:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-05-14 19:05:20 +10:00
2026-04-24 17:10:29 +10:00
2026-04-04 20:19:54 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-06-18 05:55:31 +10:00
2026-06-18 05:55:31 +10:00
2026-04-08 13:45:52 +10:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-05-14 17:48:09 +10:00
2026-03-28 19:56:39 +11:00
2026-05-14 21:16:35 +10:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-03-28 19:56:39 +11:00
2026-06-18 05:55:31 +10:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00
2026-06-18 05:55:31 +10:00
2026-03-28 19:56:39 +11:00
2026-04-24 17:10:29 +10:00