r/javascript • u/kiarash-irandoust • Jun 25 '18
face-api.js — JavaScript API for Face Recognition in the Browser with tensorflow.js
https://medium.com/@muehler.v/face-api-js-javascript-api-for-face-recognition-in-the-browser-with-tensorflow-js-bcc2a6c4cf0711
2
u/PurplePerceptron Jun 26 '18
Use the extracted attributes of faces to train a KNN classifier. Check this out https://github.com/mljs/knn
2
Jun 26 '18
Depending on the scale of your problem. Using euclidean distance as a simple metric works very well, plus you don't have to train a classifier. In a large scale scenario, euclidean distance does not scale anymore, that's when you would train a classifier :)
1
u/ADLYT Jul 12 '18
Hey,
I am posting a whole series of Videos on TensorflowJS on youtube..The Series Contains Basics to advances stuffs..It shall also Contains Basic and Advance Examples.
Have a Look at https://www.youtube.com/watch?v=qa1OXssGBHw
1
u/noreallyimthepope Jun 26 '18
How long before an extension that replaces all faces on the internet with Nick Cave? Paging /r/OneTrueGod
1
0
Jun 26 '18
[deleted]
0
u/noreallyimthepope Jun 26 '18
lol oops
Just saw an article headline with his (Caves) name so it must have stuck :-)
0
18
u/[deleted] Jun 26 '18
Sick! I want to tinker with this when I get home. Maybe use for future project with raspberry pi.