jbilcke-hf HF staff commited on
Commit
0d9ae27
1 Parent(s): e24e4d2

update doc

Browse files
Files changed (1) hide show
  1. README.md +11 -4
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
- ### TODO
20
 
21
- - [x] Compile colmap with Docker
22
- - [ ] Support upload of assets
23
- - [ ] Support download of scenes
 
 
 
 
 
 
 
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