Skip to content

[ICCV 2019] TSM: Temporal Shift Module for Efficient Video Understanding.

Notifications You must be signed in to change notification settings

FabianHertwig/temporal-shift-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytorch Gesture Recognition with the Temporal Shift Module for Efficient Video Understanding

This repository contains code to run the Temporal Shift Module for gesture recognition with pytorch. It is based on: https://github.com/mit-han-lab/temporal-shift-module

@inproceedings{lin2019tsm,
  title={TSM: Temporal Shift Module for Efficient Video Understanding},
  author={Lin, Ji and Gan, Chuang and Han, Song},
  booktitle={Proceedings of the IEEE International Conference on Computer Vision},
  year={2019}
} 

tsm-demo

Getting Started

This was developed with python 3.7

You can use a virtual environment, eg. conda

conda create -n temporal-shift-module python=3.7
conda activate temporal-shift-module

Install the requirements:

pip install -r requirements.txt

Run the main.py file

python main.py

If the model has not been downlaoded yet, it will be automatically downloaded. Then a window should open and show the camara feed of the first camera device that is found on you system. At the bottom of the feed the recognized gesture gets displayed.

You can use the f key to switch to fullscreen mode and q to quit the application.

About

[ICCV 2019] TSM: Temporal Shift Module for Efficient Video Understanding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%