Added a 3rd profile photo distance fingerprint
Signed-off-by: James Ketrenos <james_gitlab@ketrenos.com>
This commit is contained in:
parent
9c10707e97
commit
b7dbfdd7d3
@ -365,7 +365,7 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
long double profileDistance = 1.0;
|
long double profileDistance = 1.0;
|
||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
profileDistance = euclideanDistance(ppFaces[processed]->descriptor, profileDescriptors[i]);
|
profileDistance = euclideanDistance(ppFaces[processed]->descriptor, profileDescriptors[i]);
|
||||||
if (profileDistance > 0.5) {
|
if (profileDistance > 0.5) {
|
||||||
profileDistance = 1.0;
|
profileDistance = 1.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user