Add .env data to README

This commit is contained in:
Matt McWilliams 2024-10-16 20:01:07 -04:00
parent 131b6aab1d
commit 1f9935143b
1 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,14 @@
A quick node.js wrapper for openpose to serve it as an API from a machine with CUDA to one without. 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 /openpose
Post an image to this endpoint using the field name "image" and receive the openpose data in JSON. Post an image to this endpoint using the field name "image" and receive the openpose data in JSON.