We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 156d320 + 4010a3c commit 0387fd2Copy full SHA for 0387fd2
README.md
@@ -43,7 +43,7 @@ const imgData2 = ...
43
44
const descriptor1 = await net.computeFaceDescriptor(imgData1)
45
const descriptor2 = await net.computeFaceDescriptor(imgData2)
46
-const distance = facerecognition.computeFaceDescriptor(descriptor1, descriptor2)
+const distance = facerecognition.euclidianDistance(descriptor1, descriptor2)
47
48
if (distance < 0.6)
49
console.log('match')
@@ -71,4 +71,4 @@ npm i
71
npm start
72
```
73
74
-Browse to http://localhost:3000/.
+Browse to http://localhost:3000/.
0 commit comments