Skip to content

jessyhoule/mit-applied-data-science-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT Applied Data Science Capstone - Emotion Demo

A tiny end-to-end demo: a webcam app that infers facial emotion in real time using a CNN exported to ONNX.

Repo layout

  • app/ - Windows desktop demo that loads the ONNX model and shows live emotion traces and an assistant hint.
  • cnn-model/ - Jupyter notebook, trained Keras model, ONNX export, and train/validate/test images.
  • screen-shots/ - All images referenced by this README (UI, training curves, confusion matrix, etc.).

App (Sales-Call Simulator)

The app mocks a two-sided video call. The "Sales Guy" panel shows a static photo and an assistant message ("Steady as she goes", "Tell a joke", etc.).
The "Client" panel uses your webcam to infer Happy, Sad, Neutral, Surprised and plots the probabilities over time.

ONNX runtime: the app loads the exported .onnx model for fast inference.

Screenshots

Sales Call UI emotions captured in real time


CNN model

  • Notebook: Model6.ipynb
  • Saved models:
    • final_best_model.keras (Keras)
    • final_best_model.onnx (used by the app)
  • Data: images/{train,valid,test}/<class>/...

Training notes (Model 6)

  • Architecture: compact CNN tuned for 4 classes (Happy, Sad, Neutral, Surprised).
  • Pipeline: image loading, augmentation, class balancing, training/validation split.
  • Export: best Keras checkpoint -> ONNX for runtime use in app/.

About

Capstone work from MIT Applied AI & Data Science

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors