Skip to content

Emotion detection on virtual avatars using face detection and expressions recognition

License

Notifications You must be signed in to change notification settings

yarinbnyamin/Emotion-Detection-on-Virtual-Avatars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion Detection for Virtual Avatars

License: MIT Code style: black

Info

Note: This project is in progress, detection is not optimal.

This project aims to help you detect the emotions of different virtual avatars.

Usage

  1. Copy the project and pip install all the requirements:

pip install -r requirements.txt

  1. Download the Dataset and place it in the project dir with the name "dataset_manga"
  2. Start the emotion_detector.py file, this will train your model
  3. When this is done, start the emotion_detector.py file again
  4. This time pop-up screen will appear and capture the left half of your screen for faces (you can customize the detection size and location in line 142)
  5. Now you can place different characters' images and detect the emotion of them
  6. Pressing the q button will close the program
  7. (optional) You can replace the expression name with the assossiated emotion

Pipeline

I am using:

  1. CLIP library for obtain embeddings for images
  2. Anime Face Detector library to detect virtual avatars faces
  3. Manga Facial Expressions Dataset to fine-tuning the model

About

Emotion detection on virtual avatars using face detection and expressions recognition

Resources

License

Stars

Watchers

Forks

Languages