21 lines
420 B
Markdown
21 lines
420 B
Markdown
# openpose API
|
|
|
|
A quick node.js wrapper for openpose to serve it as an API from a machine with CUDA to one without.
|
|
|
|
## ENV
|
|
|
|
```
|
|
PORT=7474
|
|
BIN=openpose
|
|
CWD=.
|
|
```
|
|
|
|
## POST /openpose
|
|
|
|
Post an image to this endpoint using the field name "image" and receive the openpose data in JSON.
|
|
|
|
Optional form fields:
|
|
|
|
* hand *boolean* (default: false) - include hands in data
|
|
* face *boolean* (default: false) - include face in data
|