Update app.py
Browse files
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:
|
| 506 |
-
|
| 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 |
-
<
|
| 513 |
-
<
|
| 514 |
-
<
|
| 515 |
-
|
| 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:
|