Giter Club home page Giter Club logo

redhen-gesture's Introduction

RedHen Gestures

This is the repository for all the code that was ceated during the GSoC 2021 at Red Hen Lab for the project topic "Red Hen Open Dataset for gestures with performance baselines at Red Hen Lab".

For more info on the work and some information / How to use / documentations on Singularity and HPC, check my blog @ swadesh13.github.io/gestures-dataset-blog

The OpenPose container used in this project is derived from frankierr/openpose_containers:focal_nvcaffe at Docker. (Check the singularity.df file for reference). workflow.py file works as the entry to all the code and handles all the tasks.

The src directory contains all the code. There is a code directory for python files such as workflow.py. Also, the singularity def file and .openpose_env are under the singularity directory. I updated the .openpose_env and the def files, so I have kept them here.

Steps followed after screating a singularity sandbox from openpose.def file

  • Changed access permissions of /.openpose_env to allow execution.
  • Changed the /.openpose_env to add the workflow.py file path.
  • Openpose searches for models directory at OPENPOSE_SRC i.e. base OpenPose folder. So, copied the directory /home/opt/openpose_models to /home/opt/openpose/models
  • Added this github repo to /home/opt/openpose/.

Structure of the Code

Go to src/code. Workflow.py handles all input and outputs. Inside data, data related tasks such as arranging keypoints to numpy data is present in gestures_data.py. The model directory contains the training and detection code. The pose folder contains code to generate keypoints from OpenPose output in the keypoints.py file. utils contains some simple utility stuff. config.py includes the basic default configuration. singularity. singularity folder contains the basic def file on which the container is built and also the .openpose_env file, which contains an extra environment path to be added. models contains the model with default parameters.

redhen-gesture's People

Contributors

swadesh13 avatar

Watchers

 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.