Simple Face Recognition Attendance System
cd functions && npm i && npm run setup
firebase deploy
With all the craze about Machine Learning nowadays, I wish to try my hands on this technology especially Face Recognition. But unfortunately if you are just a humble software developer it will be a long journey. But luckily when I'm scrolling around in Github, I found this awesome library which is called face-api.js.
weights
folder so you can just copy from it.descriptor
. The data is in array of 128 float numbers e.g [-0.029340924695134163, -0.13368940353393555, 0.1174287348985672, ... (total 128) ]
. One people can have many descriptor
to make the recognition more accurate. So when you are retrieving the data from your database, you might want to output into following JSON format; [
{
label: 'person 1',
descriptors: [descriptor1array]
},
{
label: 'another person',
descriptors: [descriptor2array, descriptor3array]
}
]
Licensed under the MIT license