To install the required packages, do
pip install -r requirements.txt
Create another folder called output
to save the pickle files with the embeddings
Run the extract_embeddings.py
file to extract Facial data
python extract_embeddings.py
Once you've extracted the features, run the train_model.py
to train your model to the dataset.
python train_model.py
After the model training, to detect faces from video, run the recognise_video.py
to recognise from video
pyth0n recognise_video.py
npm i express
then do
npm index.js
to start your API