README.txt 849 Bytes
Newer Older
tilman's avatar
tilman committed
1
## Installation
tilman's avatar
tilman committed
2
3
4
5
** !Important!: replace `all pathes` with your own path to your local instalation.*
* Tested with `Python 3.7.5`, `pip 19.3.1` on `macOS 10.15`.
* Install and build OpenPose with python bindings (including OpenCV), for details see [official instructions](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md#installation).
* make sure to append the openpose python bindings to your python path: `export PYTHONPATH=/path/to/openpose/build/python:$PYTHONPATH`
tilman's avatar
tilman committed
6
* set env var for openpose models `export OPENPOSE_MODELS="/path/to/openpose/models/"`
tilman's avatar
tilman committed
7
* install all python dependencies: 'pip install -r requirements.txt'
tilman's avatar
tilman committed
8
9
10

## Usage
* make sure you have set all env vars
tilman's avatar
tilman committed
11
* start the main script: `IN_DIR="/path/to/folder/with/input/images" OUT_DIR="/output/folder/with/results" python detect_structures.py`