Code Monkey home page Code Monkey logo

human-activity-recognition's Introduction

Human Activity Recognition

Description :

This project is made with a perspective of Recognising Human Activities. The human activity recognition model was trained on Kinetics 400 Dataset. To learn more about this dataset and model used refer Kay et al.’s 2017 paper, The Kinetics Human Action Video Dataset. and Hara et al.’s 2018 CVPR paper, Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet? The authors Kensho Hara, Hirokatsu Kataoka, Yutaka Satoh have mentioned in their 2018 CVPR paper, how existing state-of-the-art 2D architectures (such as ResNet, ResNeXt, DenseNet, etc.) can be extended to video classification via 3D kernels.

Prerequisites :

Required
  • Python Programming Language
  • Convolutional Neural Network
Not compulsory(given below), but pior knowledge would be beneficial

Installations :

Directory Structure :

External download :

  • You need to dowwload a resnet-34_kinetics.onnx model from here and once downloaded drop it inside the model directory of our project (shown in directory structure)

Setup :

  1. I have added a video example for testing in test directory
  2. If you want to test your own video file be sure to add it in test folder
  3. Now, inside recognise_human_activity.py constructor set instance variable VIDEO_PATH to you file path.
  4. Otherwise, if you want test the model on using web-camera live video just set self.VIDEO_PATH = None
  • Once your setup is done run the following to execute code:
python recognise_human_activity.py

Screenshots :

Playing Keyboard -

-

High Kick -

-

Push Ups -

-

Author

Acknowledments :

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.