Coder Social home page Coder Social logo

nashihu / activity_rec_ml-lstm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aminullah6264/activity_rec_ml-lstm

0.0 1.0 0.0 55.14 MB

Activity Recognition using Temporal Optical Flow Convolutional Features and Multi-Layer LSTM

Home Page: https://sites.google.com/view/aminullah/home

Makefile 38.13% CMake 0.18% Shell 0.25% Dockerfile 0.04% C++ 49.54% Cuda 5.86% MATLAB 0.51% Python 5.48%

activity_rec_ml-lstm's Introduction

Activity Recognition using Temporal Optical Flow Convolutional Features and Multi-Layer LSTM

Paper

https://ieeexplore.ieee.org/document/8543495

Demo Results

https://www.youtube.com/watch?v=x58jSG8IvXQ&t=74s https://www.youtube.com/watch?v=cyhIVOnEAMg&t=6s

Compiling

First compile caffe, by configuring

"Makefile.config" (example given in Makefile.config.example)

then make with

$ make -j 5 all tools pycaffe 

Running

(this assumes you compiled the code sucessfully)

IMPORTANT: make sure there is no other caffe version in your python and system paths and set up your environment with:

$ source set-env.sh 

This will configure all paths for you. Then go to the model folder and download models:

$ cd models 
$ ./download-models.sh 

Features Extraction

Extract temporal optical flow features from activity recogntion datasets: *Activity recogntion datasets can be downloaded from the following Links

Training

First you need to prepare the training data using Features_Extraction.py

$ python scripts/Training_ML_LSTM.py 
Change path in code: Line No. 147

Testing

Testing video using trained multi-layer LSTM

$ scripts/Video_Testing.py 
Change paths: Line 40, 62, 63, 175

This code can only be used for research purposes:

Citation


Ullah, A., Muhammad, K., Baik, S. W. (2018). Activity Recognition using Temporal Optical Flow Convolutional Features and Multi-Layer LSTM. IEEE Transactions on Industrial Electronics.

Ullah, A., Ahmad, J., Muhammad, K., Sajjad, M., & Baik, S. W. (2018). Action Recognition in Video Sequences using Deep Bi-  Directional LSTM With CNN Features. IEEE Access, 6, 1155-1166.

Ilg E, Mayer N, Saikia T, Keuper M, Dosovitskiy A, Brox T. Flownet 2.0: Evolution of optical flow estimation with deep networks. InIEEE conference on computer vision and pattern recognition (CVPR) 2017 Jul 1 (Vol. 2, p. 6).

activity_rec_ml-lstm's People

Contributors

aminullah6264 avatar

Watchers

James Cloos 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.