Navaneeth-Sharma / Emojify

Emojify the Emotions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emojify

Emojify is a project built for purpose of learning computer vision and opencv tools. Basically it gives masks a filter based on the emotion of the user. The tech stack involves following

  • Pytorch (for building model)
  • dlib (for face detection)
  • Open CV (almost entire project)
  • And basic packages like Pandas, Numpy, Matplotlib, and PIL

Small Demo

emojify.mp4

How to Run use this ?

  1. Clone the project

    git clone https://github.com/Navaneeth-Sharma/Emojify/
  2. Move to Emojify directory

  3. Download the requirements

    pip install -r requirements.txt
  4. For training

    • Generate Data using following commands

      cd src/data
      ./generate_data.sh
      cv ..
    • Train the model

      python train.py
  5. For Running the system

    • Download the pretrained models (edit the model.pth for not downlading the emotion recognition model)

      cd src/models
      ./download_models.sh
      cd ..
    • Run the main python file

      python main.py

The Block Diagram of Model for Emotion Recognition

About

Emojify the Emotions

License:MIT License


Languages

Language:Jupyter Notebook 90.3%Language:Python 9.2%Language:Shell 0.5%