Spaces:
Build error
Build error
|
Download docs/API.md from Form-Fighter/FormFighterAIStack: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/spaces/Form-Fighter/FormFighterAIStack/resolve/c7de3efec7c114bfa6f0d08d1e4ba2ce8cc6c40c/docs/API.md
- Command line
-
hf download hf://spaces/Form-Fighter/FormFighterAIStack@c7de3efec7c114bfa6f0d08d1e4ba2ce8cc6c40c/docs/API.md
-
curl -L -o API.md https://huggingface.co/spaces/Form-Fighter/FormFighterAIStack/resolve/c7de3efec7c114bfa6f0d08d1e4ba2ce8cc6c40c/docs/API.md
536 Bytes
Python API
To use python API of WHAM, please finish the basic installation first (Installation or Docker).
If you use Docker environment, please run:
cd /path/to/WHAM
docker run -it -v .:/code/ --rm yusun9/wham-vitpose-dpvo-cuda11.3-python3.9 python
Then you can run wham via python code like
from wham_api import WHAM_API
wham_model = WHAM_API()
input_video_path = 'examples/IMG_9732.mov'
results, tracking_results, slam_results = wham_model(input_video_path)