Dynamic Images For Action Recognition Save

A public Python implementation for generating Dynamic Images introduced in 'Dynamic Image Networks for Action Recognition' by Bilen et al.

Project README

Python Dynamic Images for Action Recognition

Python implementation of the dynamic image technology discussed in 'Dynamic Image Networks for Action Recognition' by Bilen et al. Their paper and GitHub can be found as follows:

Installation

Clone the directory, and install the module and it's pre-requisites by running:

python setup.py install

Example Usage

import glob
import cv2
from dynamicimage import get_dynamic_image


def main():
    frames = glob.glob('./example_frames/*.jpg')
    frames = [cv2.imread(f) for f in frames]

    dyn_image = get_dynamic_image(frames, normalized=True)
    cv2.imshow('', dyn_image)
    cv2.waitKey()


if __name__ == '__main__':
    main()

Example Output

Source Video: https://www.youtube.com/watch?v=fXMDubfvoQE

Dynamic Image Example

Open Source Agenda is not affiliated with "Dynamic Images For Action Recognition" Project. README Source: tcvrick/dynamic-images-for-action-recognition
Stars
38
Open Issues
1
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating