duanbotu123 commited on
Commit
c3d2f15
Β·
verified Β·
1 Parent(s): 7b51ee4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -13
app.py CHANGED
@@ -501,21 +501,29 @@ SECONDARY_BUTTON_CSS = """
501
  """
502
 
503
  description = """
504
- <p style='text-align: center'>
505
- <span style='font-size: 1.5em; font-weight: bold;'>Lite3DReg</span><br>
506
- A low-weight registration lib with modern algorithm and visualization<br>
507
- <a href='https://ustc3dv.github.io/Lite3DReg/' target='_blank'>Lite3DReg Project Page</a> |
508
- <a href='https://github.com/USTC3DV/Lite3DReg' target='_blank'>Code</a> |
509
- <a href='https://arxiv.org/abs/2007.07627' target='_blank'>Rigid Paper (Fast ICP)</a> |
510
- <a href='https://arxiv.org/abs/2405.20188' target='_blank'>Non-Rigid Paper (SPARE)</a>
511
  <br>
512
- <strong>Task Rigid:</strong> Source: <strong>Moving Point Cloud</strong>, Target: <strong>Fixed Reference</strong>;
513
- <strong>Task Non-Rigid:</strong> Deformable matching with <strong>SPARE</strong> distance.
514
- <br>
515
- Simply upload your point clouds(.odj or .ply) or click one of the provided examples.
516
- <br>
517
- <strong>Select the registration type according to your input data.</strong>
518
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
519
  """
520
 
521
  with gr.Blocks(theme=BLUE_VIOLET_THEME, css=SECONDARY_BUTTON_CSS) as demo:
 
501
  """
502
 
503
  description = """
504
+ <p style='text-align: center;'>
505
+ <span style='font-size: 2.5em; font-weight: bold;'>πŸ’Ž Lite3DReg</span><br>
506
+ <span style='font-size: 1.2em; color: #333;'>A lightweight registration library with modern algorithms and interactive visualization</span><br>
 
 
 
 
507
  <br>
508
+ <a href='https://ustc3dv.github.io/Lite3DReg/' target='_blank'>🌐 Project Page</a> |
509
+ <a href='https://github.com/USTC3DV/Lite3DReg' target='_blank'>πŸ’» GitHub</a> |
510
+ <a href='https://arxiv.org/abs/2007.07627' target='_blank'>πŸ“„ Rigid (Fast ICP)</a> |
511
+ <a href='https://arxiv.org/abs/2405.20188' target='_blank'>πŸ“„ Non-Rigid (SPARE)</a>
 
 
512
  </p>
513
+
514
+ <div style='background-color: #f8f9fa; padding: 18px; border-radius: 12px; border: 1px solid #e9ecef; margin: 15px 0;'>
515
+ <strong style='font-size: 1.1em;'>πŸš€ Instructions:</strong>
516
+ <ul style='line-height: 1.8; margin-top: 10px;'>
517
+ <li><b>1. Input Data:</b> Upload your meshes to <b>πŸ“₯ Source File</b> (Moving) and <b>🎯 Target File</b> (Fixed). <br>
518
+ <small style='color: #666;'><i>Preview the initial alignment in the <b>πŸ›°οΈ Source vs Target Mesh</b> plot.</i></small></li>
519
+ <li><b>2. Configure:</b> Select <b>🧠 Registration Method</b> (Rigid/Non-Rigid) and adjust parameters in the accordions.</li>
520
+ <li><b>3. Landmarks (Optional):</b> Enable <b>πŸ“ Use Landmarks</b> for non-rigid tasks to provide point-to-point guidance.</li>
521
+ <li><b>4. Execute:</b> Click <b>πŸš€ Run Registration</b>. The results will appear in <b>🏁 Result vs Target Mesh</b>.</li>
522
+ </ul>
523
+ <p style='font-size: 0.9em; color: #555; border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px;'>
524
+ πŸ’‘ <b>Note:</b> Supported formats: <code>.obj</code>, <code>.ply</code>. You can download the full result directory as a <code>.zip</code> file after processing.
525
+ </p>
526
+ </div>
527
  """
528
 
529
  with gr.Blocks(theme=BLUE_VIOLET_THEME, css=SECONDARY_BUTTON_CSS) as demo: