Skip to content

anthonydangg/emotion_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Facial Expression Recognition

Predicting Early Signs of Psychopathological Disease Among Children

About The Project

Logo

We are building an app that streamlines an existing research process, known as Incredible Cake Kids, which creates an interactive user experience for children, while also allowing us to collect valuable data that can give insight into the child's risk of mental heath deterioration. See more details here.

There are two version of this app. There is a website version that can easily be ran in your browser and a iOS version (incomplete, doesn't incorporate the cake research task).

Built With

  • Python
  • JavaScript
  • HTML5
  • CSS3
  • Flutter

Getting Started (Web Version)

The website version can be played in your browser here.

The data used in the models can be found here. Be sure to change the directory of the data in the notebook to where you downloaded it or else it won't run. The Dartmouth dataset which some of the models use is not available for the public, however, the code is still there for reference. In other words, the Dartmouth Model file cannot be ran without contacting Dartmouth.

All of the content for this is in the "website-version" folder.

Prerequisites

You will need the following to run the app:

  • Camera
  • Web Browser (Google Chrome, Safari, Edge, etc.)

The dependencies for the models include:

  • Pandas (pandas)
  • NumPy (numpy)
  • OS (os)
  • Matplotlib (matplotlib)
  • sklearn
  • mlxtend
  • keras

Installation

git clone https://github.com/anthonydangg/emotion_detection.git

To install all required dependencies for the models. Run below:

pip install opencv-python tensorflow numpy matplotlib Pillow torch torchvision pytorch-pretrained-vit pandas scikit-learn mlxtend

Getting Started (iOS Version) WIP

The IOS app is currently in development but a developer version can be ran with minimal features. We plan to have an easier way to run the app in the future. To do so follow the steps below. All of the content for this is in the "emotion_detection_app" folder. Note: This only detects emotions, doesn't implement the cake research task

Prerequisites

You will need the following to run the app:

Installation

git clone https://github.com/anthonydangg/emotion_detection.git

To install all required dependencies for the models. Run below:

 pip install opencv-python tensorflow numpy matplotlib Pillow torch torchvision pytorch-pretrained-vit pandas scikit-learn mlxtend

How to Use

The easiest way to run the app is to ensure you have all the prerequisites installed, follow the directory below, and run the runner.xcworkspace:

emotion_detection_app -> ios -> Runner.xcworkspace

This will open the app in Xcode. Ensure that you have an iPhone with the most updated iOS connected to your computer. Click the play button at the left top corner on Xcode. It may ask you for permission to trust the developer, if this happens just follow the instructions on the pop-up.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published