Convert Face Descriptor to Face Embedding #348
-
Hi :) Is there a way to convert Face Descriptors from face-api.js to Human's Embeddings? What I mean with Face Descriptor: (await faceapi.detectAllFaces(tfImage(jpegBuffer).withFaceDescriptors())[0].descriptor (128 entries long Float32Array) What I mean with Face Embedding: (await human.detect(tensor)).face[0].embedding (1024 entries long Array (idk if it's a Float32Array or not)) Why? I have no experience and knowledge with AI or Tensors :/ Would be nice if someone could help me with that one, too :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
although they do the same thing, their content is very different and not comparable. |
Beta Was this translation helpful? Give feedback.
although they do the same thing, their content is very different and not comparable.
tensor compatibility could be solved (normalization, dimensionality, etc.), but the fact is that model output is just not comparable.