minor
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ gr.set_static_paths(paths=[ASSETS_DIR])
|
|
| 27 |
method_img = (
|
| 28 |
f"/gradio_api/file={quote(str((ASSETS_DIR / 'method_dark.png').resolve()))}"
|
| 29 |
)
|
| 30 |
-
description = dedent("""
|
| 31 |
<div style="text-align: center;">
|
| 32 |
<h1>
|
| 33 |
AnyCalib:<br>
|
|
@@ -39,6 +39,11 @@ description = dedent("""
|
|
| 39 |
<a href="https://scholar.google.com/citations?user=j_sMzokAAAAJ">Javier Civera</a><br>
|
| 40 |
I3A, University of Zaragoza
|
| 41 |
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
<h3>
|
| 43 |
Camera calibration from a single perspective/edited/distorted image using a freely chosen camera model<br>
|
| 44 |
<a href="https://github.com/javrtg/AnyCalib">Code</a>
|
|
@@ -221,7 +226,7 @@ def build_demo() -> gr.Blocks:
|
|
| 221 |
title="AnyCalib demo",
|
| 222 |
fill_height=True,
|
| 223 |
) as demo:
|
| 224 |
-
gr.
|
| 225 |
with gr.Row():
|
| 226 |
with gr.Column(scale=1):
|
| 227 |
image = gr.Image(
|
|
|
|
| 27 |
method_img = (
|
| 28 |
f"/gradio_api/file={quote(str((ASSETS_DIR / 'method_dark.png').resolve()))}"
|
| 29 |
)
|
| 30 |
+
description = dedent(f"""
|
| 31 |
<div style="text-align: center;">
|
| 32 |
<h1>
|
| 33 |
AnyCalib:<br>
|
|
|
|
| 39 |
<a href="https://scholar.google.com/citations?user=j_sMzokAAAAJ">Javier Civera</a><br>
|
| 40 |
I3A, University of Zaragoza
|
| 41 |
</h3>
|
| 42 |
+
<img
|
| 43 |
+
src="{method_img}"
|
| 44 |
+
style="display: block; width: 60%; max-width: 900px; margin: 1rem auto;"
|
| 45 |
+
alt="AnyCalib method overview"
|
| 46 |
+
>
|
| 47 |
<h3>
|
| 48 |
Camera calibration from a single perspective/edited/distorted image using a freely chosen camera model<br>
|
| 49 |
<a href="https://github.com/javrtg/AnyCalib">Code</a>
|
|
|
|
| 226 |
title="AnyCalib demo",
|
| 227 |
fill_height=True,
|
| 228 |
) as demo:
|
| 229 |
+
gr.HTML(description)
|
| 230 |
with gr.Row():
|
| 231 |
with gr.Column(scale=1):
|
| 232 |
image = gr.Image(
|