Open beatobongco opened 6 years ago
Next: Euclidean distance doesn't perform too well. I'll try making a pipeline to train a SVC on face embeddings.
Another option is a simple neural network in tfjs
Also I should try the more powerful face detection models later on (and make them available in single shot mode or just in general), but first get MTCNN defaults to work at least a bit.
Or create the ability for people to create training data from the app itself, take like 100 shots, store in localstorage then run euclidean distance.
Might not be good for when num images increases + realtime but should work for singleshot.
Real time could work by deferring classification, just save all images of people walk in and if euclidean distance is near for subsequent, dont store. Kind of like we only want unique pics in our db.
Got training and inferencing to work today!! Data is also saved and retrieved in localstorage.
Today
Today
Unknown #
Next steps
Takeaways
className
seems to be a reserved wordTODO
Warming up the system...
~training
componentI need a blur filter
Todo next time
--
TIL
PROS
CONS
This system isn't great at detecting faces at a weird angle
I cant expect my users to have good hardware
you can get the tensors via
faceapi.extractFaceTensors(input, detections)
, could be useful if we need to run a SVC