mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-28 17:29:31 +01:00
The scan embedded each aligned face once. Recognition models give a face and its mirror image slightly different vectors; averaging the two is steadier. On 1,800 LFW pairs with AuraFace at its 0.40 match bar, 94.3 % of same-person pairs match instead of 93.1 % (82.4 % instead of 76.8 % for 24-pixel faces), with no different-person pair matching either way. Embedder::embed_faces runs each face and its mirror in one embed_batch and averages them; the background scan uses it. The face embedding cache goes to version 3, so faces scanned before are embedded again rather than mixed with the new vectors.