Browse Source

Interactive graph using PC1 and PC2

main
Ruben van de Ven 1 year ago
commit
1837b7f661
  1. 1
      .python-version
  2. 22
      README.md
  3. 1487
      poetry.lock
  4. 1668
      pose_ordering.ipynb
  5. 24
      pyproject.toml

1
.python-version

@ -0,0 +1 @@ @@ -0,0 +1 @@
3.9.2

22
README.md

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
## About
Runs PCA on poses on MPII Human Pose Dataset. Inspired by [Moretti & Impett's Totentanz (2017)](https://newleftreview.org/issues/ii107/articles/franco-moretti-leonardo-impett-totentanz).
Pose extraction based on [meghshukla](http://github.com/meghshukla/MPII-Human-Pose-Visualization).
## Setup
Install dependencies:
```
poetry install
wget https://datasets.d2.mpi-inf.mpg.de/andriluka14cvpr/mpii_human_pose_v1_u12_2.zip
unzip mpii_human_pose_v1_u12_2.zip
```
To install jupyter kernel & run notebook:
```bash
poetry run ipython kernel install --user --name=mpii
poetry run jupyter notebook
```

1487
poetry.lock

File diff suppressed because it is too large Load Diff

1668
pose_ordering.ipynb

File diff suppressed because one or more lines are too long

24
pyproject.toml

@ -0,0 +1,24 @@ @@ -0,0 +1,24 @@
[tool.poetry]
name = "pose sorting"
version = "0.1.0"
description = ""
authors = ["Ruben van de Ven <git@rubenvandeven.com>"]
[tool.poetry.dependencies]
python = ">=3.9,<3.10"
numpy = "^1.20.2"
matplotlib = "^3.4.1"
scipy = "^1.6.2"
adjustText = "^0.7.3"
tqdm = "^4.60.0"
tk = "^0.1.0"
sklearn = "^0.0"
[tool.poetry.dev-dependencies]
ipython = "^7.22.0"
tk = "^0.1.0"
jupyter = "^1.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Loading…
Cancel
Save