Luigi Piccinelli commited on
Commit
301837d
·
1 Parent(s): 595c64b

change readme

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -403,12 +403,12 @@ if __name__ == "__main__":
403
 
404
  <h3>Getting Started:</h3>
405
  <ol>
406
- <li><strong>Upload Your Image:</strong> Use the "Upload Images" panel to provide your input.</li>
407
  <li><strong>Run:</strong> Click the "Run UniK3D" button to start the 3D estimation process.</li>
408
- <li><strong>Visualize:</strong> The 3D reconstruction will appear in the viewer on the right. You can rotate, pan, and zoom to explore the model, and download the GLB file.</li>
409
  <li><strong>Downstream:</strong> The 3D output can be used as reconstruction or for monocular camera calibration.</li>
410
  </ol>
411
- <p><strong style="color: #ff7e26;">PLEASE NOTE:</strong> <span style="color: #ff7e26; font-weight: bold;">UniK3D currently runs on CPU here on HuggingFace. Actual inference is less than 100ms second per image on consumer-level GPUs. However, while running on HuggingFace Space's CPU, it will take between 10 seconds and 3 minutes, depending on the "Utilized Model" and "Speed-Resolution Tradeoff" chosen, please wait. For faster visualization, use a local machine to run our demo from our <a href="https://github.com/lpiccinelli-eth/UniK3D">GitHub repository</a>. </span></p>
412
  </div>
413
  """
414
  )
@@ -442,7 +442,7 @@ if __name__ == "__main__":
442
  cx = gr.Number(label="Center projection x", value=320.0, visible=False)
443
  cy = gr.Number(label="Center projection y", value=240.0, visible=False)
444
  hfov = gr.Number(
445
- label="Horizontal FoV (degree)", value=0.0, visible=False
446
  )
447
 
448
  with gr.Column():
 
403
 
404
  <h3>Getting Started:</h3>
405
  <ol>
406
+ <li><strong>Upload Your Image:</strong> Use the "Upload Images" panel to provide your input (computer's webcam supported).</li>
407
  <li><strong>Run:</strong> Click the "Run UniK3D" button to start the 3D estimation process.</li>
408
+ <li><strong>Visualize:</strong> The 3D reconstruction will appear in the viewer on the right. You can rotate, pan, and zoom to explore the model. You can download the .ply file.</li>
409
  <li><strong>Downstream:</strong> The 3D output can be used as reconstruction or for monocular camera calibration.</li>
410
  </ol>
411
+ <p><strong style="color: #ff7e26;">PLEASE NOTE:</strong> <span style="color: #ff7e26; font-weight: bold;">UniK3D currently runs on ZeroGPU thanks to HuggingFace community Grant. Actual inference is less than 100ms second per image on consumer-level GPUs. However, while running on HuggingFace Space's, it will take around 10 seconds, due to model loading for each inference. For faster visualization, use a local machine to run our demo from our <a href="https://github.com/lpiccinelli-eth/UniK3D">GitHub repository</a>. For equirectangular images, please use the Equirectuangular camera type and provide and approximate horizontal FoV for better results. </span></p>
412
  </div>
413
  """
414
  )
 
442
  cx = gr.Number(label="Center projection x", value=320.0, visible=False)
443
  cy = gr.Number(label="Center projection y", value=240.0, visible=False)
444
  hfov = gr.Number(
445
+ label="Horizontal FoV (degree)", value=360.0, visible=False
446
  )
447
 
448
  with gr.Column():