Giter Site home page Giter Site logo

lu1kaifeng / engagement-recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omidmnezami/engagement-recognition

0.0 0.0 0.0 413 KB

Automatic Recognition of Student Engagement using Deep Learning and Facial Expression

Python 100.00%

engagement-recognition's Introduction

Engagement Recognition

TensorFlow implementation of Automatic Recognition of Student Engagement using Deep Learning and Facial Expression proposing a deep learning model to recognize engagement from images.

Engagement Model

This work presents a deep learning model to improve engagement recognition from images that overcomes the data sparsity challenge by pre-training on readily available basic facial expression data, before training on specialised engagement data. In the first of two steps, a facial expression recognition model is trained to provide a rich face representation using deep learning. In the second step, we use the model's weights to initialize our deep learning model to recognize engagement; we term this the Engagament model.

Reference

if you use our code or model, please cite our paper:

@article{nezami2018deep,
  title={Automatic Recognition of Student Engagement using Deep Learning and Facial Expression},
  author={Mohamad Nezami, Omid and Dras, Mark and Hamey, Len and Richards, Deborah and Wan, Stephen and Paris, Cecile},
  journal={arXiv preprint arXiv:1808.02324},
  year={2018}
}

Data

We train the model on our new engagement recognition (ER) dataset with 4627 engaged and disengaged samples. We split the ER dataset into training (3224), validation (715), and testing (688) sets, which are subject-independent (the samples in these three sets are from different subjects).

Requiremens

  1. Python 2.7.12
  2. Numpy 1.15.2
  3. Tensorflow 1.8.0

Content

  1. CNN Model Source Code
  2. VGG Model Source Code
  3. Engagement Model Source Code

Train

  1. Dowload pretrained models and unzip them.
  2. Run the model's script: python VGG_model.py train

Test

  1. Dowload pretrained models and unzip them.
  2. Run the model's script: python VGG_model.py test

Results

Accuracy F1 AUC
Engagement Model 72.38% 73.90% 73.74%

The CNN Model is inspired from Emotion recognition with CNN.

engagement-recognition's People

Contributors

omidmnezami avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.