Spaces:
Running on Zero
Running on Zero
add: matches info in UI
Browse files- ui/app_class.py +10 -2
ui/app_class.py
CHANGED
|
@@ -298,14 +298,22 @@ class ImageMatchingApp:
|
|
| 298 |
label="Keypoints", type="numpy"
|
| 299 |
)
|
| 300 |
with gr.Accordion(
|
| 301 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 302 |
):
|
| 303 |
output_matches_raw = gr.Image(
|
| 304 |
label="Raw Matches",
|
| 305 |
type="numpy",
|
| 306 |
)
|
| 307 |
with gr.Accordion(
|
| 308 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 309 |
):
|
| 310 |
output_matches_ransac = gr.Image(
|
| 311 |
label="Ransac Matches", type="numpy"
|
|
|
|
| 298 |
label="Keypoints", type="numpy"
|
| 299 |
)
|
| 300 |
with gr.Accordion(
|
| 301 |
+
(
|
| 302 |
+
"Open for More: Raw Matches"
|
| 303 |
+
" (Green for good matches, Red for bad)"
|
| 304 |
+
),
|
| 305 |
+
open=False,
|
| 306 |
):
|
| 307 |
output_matches_raw = gr.Image(
|
| 308 |
label="Raw Matches",
|
| 309 |
type="numpy",
|
| 310 |
)
|
| 311 |
with gr.Accordion(
|
| 312 |
+
(
|
| 313 |
+
"Open for More: Ransac Matches"
|
| 314 |
+
" (Green for good matches, Red for bad)"
|
| 315 |
+
),
|
| 316 |
+
open=True,
|
| 317 |
):
|
| 318 |
output_matches_ransac = gr.Image(
|
| 319 |
label="Ransac Matches", type="numpy"
|