https://github.com/ajhynes7/side-view-depth-gait

Spatiotemporal gait measurement with a side-view depth sensor using human joint proposals.

https://github.com/ajhynes7/side-view-depth-gait

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: ieee.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

Spatiotemporal gait measurement with a side-view depth sensor using human joint proposals.

Basic Info
  • Host: GitHub
  • Owner: ajhynes7
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 14.8 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 3
  • Releases: 0
Archived
Created over 6 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.md

build

This repository contains the code for the journal article Spatiotemporal Gait Measurement with a Side-View Depth Sensor Using Human Joint Proposals, which is available on IEEE Xplore.

Requirements

Python version 3.7 or higher is required.

Some scripts for the results and figures make use of LaTeX for formatting. You can either install LaTeX or edit the code so it is not needed.

Setup

Create a virtual environment and activate it.

```bash $ mkdir ~/.virtualenvs/ $ python -m venv ~/.virtualenvs/depthgaitenv

$ source ~/.virtualenvs/depthgaitenv/bin/activate ```

Once the environment is activated, install the required Python packages.

bash $ pip install -r requirements/base.txt

Usage

Method

The following scripts constitute the method of the paper.

Estimate the lengths of body links on each trial: bash $ python -m scripts.main.estimate_lengths

Select the best proposals for head and foot positions: bash $ python -m scripts.main.select_proposals

Cluster the frames of the walking trials to determine the walking passes: bash $ python -m scripts.main.label_passes

Calculate gait parameters from the selected head and foot positions: bash $ python -m scripts.main.calc_gait_params

For convenience, all of these scripts can be run at once: bash $ python -m scripts.main.run_all_main

Results

Run all of the results: bash $ python -m scripts.results.run_all_results

Figures

Generate all of the figures used in the paper: bash $ python -m scripts.figures.run_all_figures

Owner

  • Name: Andrew Hynes
  • Login: ajhynes7
  • Kind: user
  • Location: St. John's NL, Canada
  • Company: CoLab Software

GitHub Events

Total
Last Year

Dependencies

requirements/base.txt pypi
  • Pillow ==8.2.0
  • dpcontracts ==0.6.0
  • matplotlib ==3.4.1
  • numpy ==1.20.2
  • opencv-python ==4.5.1.48
  • pandas ==1.2.4
  • scikit-image ==0.18.1
  • scikit-learn ==0.24.1
  • scikit-spatial ==4.0.1
  • scipy ==1.6.2
  • statsmodels ==0.12.2
  • xarray ==0.17.0
requirements/base_test.txt pypi
  • pytest ==6.2.3 test
requirements/pre-commit.txt pypi
  • pre-commit ==2.12.1
requirements/property.txt pypi
  • hypothesis ==6.9.0
requirements/types.txt pypi
  • pytype ==2021.4.26
.github/workflows/main.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite