Skip to content

A Human Activity Recognition project which is capable of detecting 400 different activities

Notifications You must be signed in to change notification settings

techycs18/human-activity-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :

About

A Human Activity Recognition project which is capable of detecting 400 different activities

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages