Recognizes the facial emotion and overlays emoji, equivalent to the emotion, on the persons face.
Recognizes the facial emotion and overlays emoji, equivalent to the emotion, on the persons face.
Recognizes the facial emotion and overlays emoji, equivalent to the emotion, on the persons face.
git clone [email protected]:vijuSR/facial_emotion_recognition__EMOJIFIER.gitgit clone https://github.com/vijuSR/facial_emotion_recognition__EMOJIFIER.gitpython3 -m venv source /bin/activatecd then .\Scripts\activatecd pip install --upgrade -I -r requirements.txtInstall any missing requirement with
pip install
There are 4 steps from nothing (not even a single image) to getting the result as shown above.
And you don't need anything extra than this repo.
STEP 0 - define your EMOTION-MAP :smile: :heart: :clap:
cd STEP 1 - generating the facial images
cd python3 src/face_capture.py --emotion_name --number_of_images python3 src/face_capture.py --emotion_name smile --number_of_images 200This will open the cam and all you need to do is give the smile emotion from your face.
STEP 2 - creating the dataset out of it
python3 src/dataset_creator.pySTEP 3 - training the model on the dataset and saving it
python3 src/trainer.pySTEP 4 - using the trained model to make prediction
python3 src/predictor.pyIts time to show your emotions :heart:
P.S. -- The model was trained on my facial images only, but was able to detect the expressions of my brother as well.
No open issues yet, or sync has not completed.