Code Monkey home page Code Monkey logo

human-action-recognition's Introduction

Human-action-recognition

Example of using

  1. Run the script ./Utils/downloadFromYouTube.py for getting video from YouTube You need to specify cvs dataset file and folder where you want to save video. For instance: python download.py {dataset_split}.csv <data_dir>

  2. Run script splitVideoByFrames.py from ./Utils after script finished, the frames will be appeared around the video files. Moreover the file with information about how many frames were extructed for each videos will be saved in ./Workspace/FilesData.csv

  3. Specify in train.py parameter MODEL_NAME = "Conv3d" and DATA_TYPE = 'Images', and create folder ./Data/checkpoints than run train.py After script will finished the saved model will be in ./Data/checkpoints

  4. Create ./Data/sequances and run extractFeaturesByConv3d.py , after script will finished the files with features will be saved at folder ./Data/sequances

  5. Specify in train.py parameter MODEL_NAME = "LSTM" and DATA_TYPE = 'Features' than run train.py , saved model in .hdf5 format will be at ./Data/checkpoints

  6. You can test the work of the Conv3d + LSTM combinations by running the testModel.py

Utils

caclulateNumberOfVideosForEachAction.py

divideDataset.py

human-action-recognition's People

Contributors

filos0f avatar

Watchers

 avatar

Forkers

xinyanliang

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.