Function computeFaceDescriptor

Computes a 128 entry vector (face descriptor / face embeddings) from the face shown in an image, which uniquely represents the features of that persons face. The computed face descriptor can be used to measure the similarity between faces, by computing the euclidean distance of two face descriptors.

  • Parameters

    Returns Promise<Float32Array | Float32Array[]>

    Face descriptor with 128 entries or array thereof in case of batch input.