ageitgey / face_recognition

The world's simplest facial recognition api for Python and the command line
MIT License
52.97k stars 13.45k forks source link

How could I re-training the model? #1259

Open darkdante2209 opened 3 years ago

darkdante2209 commented 3 years ago

How could I re-training the model? I had a large-scale dataset about child faces and I want to use it to train a new model for child face recognition. So how to train a new model?

usmanweb commented 3 years ago

Following link is an example of using the k-nearest-neighbors (KNN) algorithm for face recognition. This is useful when you wish to recognize a large dataset. https://github.com/ageitgey/face_recognition/blob/master/examples/facerec_ipcamera_knn.py

muyuuuu commented 3 years ago

Following link is an example of using the k-nearest-neighbors (KNN) algorithm for face recognition. This is useful when you wish to recognize a large dataset. https://github.com/ageitgey/face_recognition/blob/master/examples/facerec_ipcamera_knn.py

This is only training for KNN, not face_recognition model.