Code Monkey home page Code Monkey logo

nassimmokhtari / spatio-temporal-image-encoding Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 37.03 MB

This project represents the implementation of the Spatio-Temporal Image Encoding used in the paper "Human Activity Recognition: A Spatio-temporal Image Encoding of 3D Skeleton Data for Online Action Detection" published in the "International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications(VISAPP) 2022".

Home Page: https://www.scitepress.org/PublicationsDetail.aspx?ID=rsbxRj6Ic2Y=&t=1

License: Apache License 2.0

Python 100.00%
deep-learning human-activity-recognition image-encoding publication-code science-research vgg16 real-time transfer-learning

spatio-temporal-image-encoding's Introduction

Spatio-Temporal Image Encoding

This repository contains the implementation of the Spatio-Temporal Image Encoding (STIE), in order to perform Online Human Activity Recognition using 3D skeletons. This method encodes a sequence of 3D skeletons into an image, while preserving both spatial and temporal dependencies.

Our paper can be found at:

Human Activity Recognition: A Spatio-temporal Image Encoding of 3D Skeleton Data for Online Action Detection

If you use or build on our work, please consider citing us:

@conference{visapp22,  
author={Nassim Mokhtari. and Alexis Nédélec. and Pierre {De Loor}.},  
title={Human Activity Recognition: A Spatio-temporal Image Encoding of 3D Skeleton Data for Online Action Detection},  
booktitle={Proceedings of the 17th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2022) - Volume 5: VISAPP},  
year={2022},  
pages={448-455},  
publisher={SciTePress},  
organization={INSTICC},  
doi={10.5220/0010835800003124},  
isbn={978-989-758-555-5},  
issn={2184-4321},  
}

Dataset

Before running our code, please unzip the archive data.zip provided in this repo. This archive contains skeleton data and sequence labels from the Online Action Detection dataset.

note: If you are using your own dataset, please consider adjusting the load_data_file() function.

Usage

You can start the encoding using the default parameters by running the STIE.py from the command line :

python ./STIE.py

Several parameters can be used to adapt the encoding according to your needs. You can find more details about these parameters using :

python ./STIE.py --help

Encoded Sequence

Encoded Sequence example

Real time detection

Real time usage example

Results

Using pre-trained VGG16 Encoded Sequence example

spatio-temporal-image-encoding's People

Contributors

nassimmokhtari avatar

Watchers

 avatar  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.