py-pat

A Python package to analyze OpenPose data


Keywords
openpose
License
Other
Install
pip install py-pat==0.0.1

Documentation

Pose Analysis Toolbox (PAT)

Pose Analysis Toolbox

Overview

A hackathon project initiated at MIND 2019 at Dartmouth College.

High level idea: Create useful functions that preprocess, analyze, and visualize OpenPose data. Can be used to predict and generate taxonomy of social and non-social poses and interactions.

Presentation

Link to presentation goes here.

Installation.

  1. Clone the repository.
  2. Install in development mode
pip install -e .
  1. Check out the example notebook notebooks/Examples.ipynb
  2. For more data, download the Sherlock OpenPose data and extract to notebooks/output/json.

Features

  • Load data
  • Plot and inspect data
  • Extract just the pose_2d keypoints
  • Filter based on personid
  • Extract Distance Matrix across keypoints
  • Normalize keypoints to common space. Scale, rotate?.
  • Extract Entropy.
  • Extract Synchrony.
  • Extract Center of Mass per frame.
  • Example of comparing distance between 2 or multiple people.
  • Extract Velocity across frame.
  • Extract Acceleration across frame.

Reference

https://github.com/CMU-Perceptual-Computing-Lab/openpose
https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/output.md