Giter Club home page Giter Club logo

kth-action-recognition's Introduction

Action Recognition on the KTH dataset

In this work, we would like to explore different machine learning techniques in recognizing human actions from videos in the KTH dataset. As deep learning is one of the hottest trends in machine learning, our main concentration is to experiment with deep learning models such as the CNN and the LSTM. Moreover, we also examine traditional techniques in computer vision such as Bag-of-Words model, SIFT, and Optical Flow. These traditional techniques are used as the baselines to compare with the deep learning approach.

KTH dataset

Official web page of KTH dataset: link. The KTH dataset consists of videos of humans performing 6 types of action: boxing, handclapping, handwaving, jogging, running, and walking. There are 25 subjects performing these actions in 4 scenarios: outdoor, outdoor with scale variation, outdoor with different clothes, and indoor. The total number of videos is therefore 25x4x6 = 600. The videos' frame rate are 25fps and their resolution is 160x120. More information about the dataset can be looked up at the website.

Methods

We have tried the following approaches:

  • SIFT Features + Bag-of-Words + SVM: 47.22%.
  • Optical Flow + Bag-of-Words + SVM: 78.24%.
  • CNN on single frame: 63.43%.
  • CNN on block of frames: 70.37%.
  • CNN on block of frames + optical flow: 90.27%.

Prerequisites

  • Python OpenCV.
  • PyTorch.
  • Download the dataset and put the video folders into dataset/ directory, or you can cd dataset and run ./download.sh.

Acknowledgement

This was initialized as the final project for our machine learning class in Fall 2017, at the University of Maryland, College Park. The members in our group are: Aya Ismail, Karan Kaur, Khoi Pham (me), Shambhavi Kumar, and Turan Kaan Elgin.

kth-action-recognition's People

Contributors

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