Spaces:
Paused
Paused
Commit
•
0d9ae27
1
Parent(s):
e24e4d2
update doc
Browse files
README.md
CHANGED
@@ -16,11 +16,18 @@ WARNING - This project is not finished!
|
|
16 |
|
17 |
Campose API is a REST API to generate camera pose data from a set of images or a video.
|
18 |
|
19 |
-
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
## Running on your machine
|
26 |
|
|
|
16 |
|
17 |
Campose API is a REST API to generate camera pose data from a set of images or a video.
|
18 |
|
19 |
+
## Manual testing (using CURL)
|
20 |
|
21 |
+
Generating poses from a local video:
|
22 |
+
|
23 |
+
```bash:
|
24 |
+
curl -X POST -H "Content-Type: multipart/form-data" -F "data=@video.mp4" http://localhost:7860/
|
25 |
+
```
|
26 |
+
|
27 |
+
Generating poses from a remote video:
|
28 |
+
```bash
|
29 |
+
curl -X POST -H "Content-Type: application/json" -d '{"assetUrl":"http://example.com/video.mp4"}' http://localhost:7860/
|
30 |
+
```
|
31 |
|
32 |
## Running on your machine
|
33 |
|