Wild Β· nearest-neighbour in face space
Once every face is a point, "who looks most like this one?" is just a nearest-neighbour search. Pick a reference, embed the whole gallery once, and rank everyone by cosine similarity β entirely on your device. Upload your own reference to find its closest match among the synthetic faces.
Licensed portraits (Wikimedia Commons, CC-BY-SA / public domain). All embeddings are computed and compared on-device; nothing is uploaded. "Look-alike" is similarity, not a claim of identity.
Every face is embedded once into a 128-number vector; ranking is then just a dot product per gallery item β cheap enough to run over hundreds of local photos in the browser. It's the same move behind "group my camera roll by person", done without a server and without a face ever leaving the device.