Giter VIP home page Giter VIP logo

micro-expression-recognition-with-deep-learning's Introduction

MICRO-Expression-Recognition-with-deep-learning

Main stream of the model:

image

Related paper: Enriched Long-term Recurrent Convolutional Network for Facial Micro-Expression Recognition

Related code: https://github.com/IcedDoggie/Micro-Expression-with-Deep-Learning

Environment:

matlab 2015b

python 3.6

Keras (tensorflow as backend)

Files:

TIM-temporal-interpolation-model-master contains interpolation programs to preprocess data.

tvl1flow_3 is the package for computing optical flow and optical strain.

Recognition-Experiment contains model and training files.

How to run:

  1. Prepare your data (e.g. CASMEII dataset http://fu.psych.ac.cn/CASME/casme2-en.php)
  2. Detect and crop the faces with opencv or some other packages by yourself.
  3. Run interpolation files to interpolate your video into 16 frames(can set by yourself).
  4. Compute optical flow image and optical strain image.
  5. When your data is ready, run train.py

Result:

I have trained the model for 1000 epochs and the accuracy is arround 70%. If you need the model, contact me. And I will upload it to cloud disk later.

Updates:

Trained on CASMEII: link:https://pan.baidu.com/s/1tRWcHmPRVvgpFz95kybheA key:1234

micro-expression-recognition-with-deep-learning's People

Contributors

jayshaun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

micro-expression-recognition-with-deep-learning's Issues

How to use the pre-trained model?

Dear author, it is my great honor to star your project. May I ask how to use your pre-trained model for micro-expression recognition?

python小白,想问问作者大大这个程序应该怎么修改之后才能运行呢?

我下了作者大大提供的训练之后的模型,并且在Recognition_Experiments文件夹下面新建了一个models文件夹,将两个训练之后的模型文件放了进去,但是运行之后没有任何反应。请问应该如何继续修改才能让程序跑起来呢?我是否需要修改raw_path,flowimg_path 和strainimg_path呢?
另外这个程序是否属于无监督学习呢?

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.