Interactive graph using PC1 and PC2

This commit is contained in:
Ruben van de Ven 2021-04-13 17:32:51 +02:00
commit 1837b7f661
5 changed files with 3202 additions and 0 deletions

1
.python-version Normal file
View file

@ -0,0 +1 @@
3.9.2

22
README.md Normal file
View file

@ -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 generated Normal file

File diff suppressed because it is too large Load diff

1668
pose_ordering.ipynb Normal file

File diff suppressed because one or more lines are too long

24
pyproject.toml Normal file
View file

@ -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"