davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++

Home Page:http://dlib.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does dlib support face 128D space Euclidean distance for c++ function

fatalfeel opened this issue · comments

Therefore, you can perform face recognition by mapping faces to
the 128D space and then checking if their Euclidean distance is small
enough.

in python is linalg.norm
in opencv https://answers.opencv.org/question/14188/calc-eucliadian-distance-between-two-single-point/
what is Euclidean distance c++ function in dlib

arrufat, thank you sir~~

is this using correct?
dlib::length(face_descriptoreA - face_descriptorB)

good good good ~~~many thanks~~~~~