andreagalle commited on
Commit
0b12f99
·
1 Parent(s): d1ca95b

a few explanantions to test the endpoint - without the .zip file to test it

Browse files
Files changed (2) hide show
  1. test/.gitignore +2 -0
  2. test/README.md +11 -0
test/.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *.glb
2
+ *.zip
test/README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Test Dust3r-server
2
+
3
+ Here below, detailed instructions are provided on how to test the different endpoints available, as well as a brief description of the expected output along with all the necessary input parameters.
4
+
5
+ ## the endpoint `/upload_zip`
6
+
7
+ For quick tests, pass the `small.zip` archive with just a couple images within it, and run the following command. For a more detailed model, pass the `medium.zip` archive as input, with 6 images.
8
+
9
+ curl -X POST "https://andreagalle-dust3r-server.hf.space/upload_zip/" -F "file=@./small.zip" -o ./model.glb
10
+
11
+ This endpoint returns a `.glb` file, a 3D model produced by Dust3r starting from the `.jpg` images contained within the `.zip` archive passed as input.