Spaces:
Running
on
Zero
Running
on
Zero
Miroslav Purkrabek
commited on
Commit
·
8b0dccc
1
Parent(s):
b42544a
add failure cases
Browse files- app.py +22 -3
- examples/000061.jpg +3 -0
- examples/000105.jpg +3 -0
- examples/000141.jpg +3 -0
- examples/000287.jpg +3 -0
- examples/SKV_example4.jpg +3 -0
- examples/SKV_example_F1.jpg +3 -0
- examples/tackle4.jpeg +3 -0
app.py
CHANGED
|
@@ -187,6 +187,7 @@ def process_image_with_BMP(
|
|
| 187 |
|
| 188 |
with gr.Blocks() as app:
|
| 189 |
gr.Markdown("# BBoxMaskPose Image Demo")
|
|
|
|
| 190 |
gr.Markdown(
|
| 191 |
"Official demo for paper **Detection, Pose Estimation and Segmentation for Multiple Bodies: Closing the Virtuous Circle.** [ICCV 2025]"
|
| 192 |
)
|
|
@@ -206,11 +207,11 @@ with gr.Blocks() as app:
|
|
| 206 |
output_standard = gr.Image(type="numpy", label="RTMDet-L + MaskPose-B")
|
| 207 |
|
| 208 |
with gr.Column():
|
| 209 |
-
output_sahi_sliced = gr.Image(type="numpy", label="BBoxMaskPose")
|
| 210 |
|
| 211 |
|
| 212 |
gr.Examples(
|
| 213 |
-
label="In-the-
|
| 214 |
examples=[
|
| 215 |
["examples/prochazka_MMA.jpg"],
|
| 216 |
["examples/riner_judo.jpg"],
|
|
@@ -221,6 +222,7 @@ with gr.Blocks() as app:
|
|
| 221 |
["examples/SKV_example1.jpg"],
|
| 222 |
["examples/SKV_example2.jpg"],
|
| 223 |
["examples/SKV_example3.jpg"],
|
|
|
|
| 224 |
],
|
| 225 |
inputs=[
|
| 226 |
original_image_input,
|
|
@@ -230,7 +232,7 @@ with gr.Blocks() as app:
|
|
| 230 |
cache_examples=True,
|
| 231 |
)
|
| 232 |
gr.Examples(
|
| 233 |
-
label="OCHuman
|
| 234 |
examples=[
|
| 235 |
["examples/004806.jpg"],
|
| 236 |
["examples/005056.jpg"],
|
|
@@ -241,6 +243,23 @@ with gr.Blocks() as app:
|
|
| 241 |
["examples/004983.jpg"],
|
| 242 |
["examples/005017.jpg"],
|
| 243 |
["examples/004849.jpg"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
],
|
| 245 |
inputs=[
|
| 246 |
original_image_input,
|
|
|
|
| 187 |
|
| 188 |
with gr.Blocks() as app:
|
| 189 |
gr.Markdown("# BBoxMaskPose Image Demo")
|
| 190 |
+
gr.Markdown("### [M. Purkrabek](https://mirapurkrabek.github.io/), [J. Matas](https://cmp.felk.cvut.cz/~matas/)")
|
| 191 |
gr.Markdown(
|
| 192 |
"Official demo for paper **Detection, Pose Estimation and Segmentation for Multiple Bodies: Closing the Virtuous Circle.** [ICCV 2025]"
|
| 193 |
)
|
|
|
|
| 207 |
output_standard = gr.Image(type="numpy", label="RTMDet-L + MaskPose-B")
|
| 208 |
|
| 209 |
with gr.Column():
|
| 210 |
+
output_sahi_sliced = gr.Image(type="numpy", label="BBoxMaskPose 2x")
|
| 211 |
|
| 212 |
|
| 213 |
gr.Examples(
|
| 214 |
+
label="In-the-Wild Examples",
|
| 215 |
examples=[
|
| 216 |
["examples/prochazka_MMA.jpg"],
|
| 217 |
["examples/riner_judo.jpg"],
|
|
|
|
| 222 |
["examples/SKV_example1.jpg"],
|
| 223 |
["examples/SKV_example2.jpg"],
|
| 224 |
["examples/SKV_example3.jpg"],
|
| 225 |
+
["examples/SKV_example4.jpg"],
|
| 226 |
],
|
| 227 |
inputs=[
|
| 228 |
original_image_input,
|
|
|
|
| 232 |
cache_examples=True,
|
| 233 |
)
|
| 234 |
gr.Examples(
|
| 235 |
+
label="OCHuman Examples",
|
| 236 |
examples=[
|
| 237 |
["examples/004806.jpg"],
|
| 238 |
["examples/005056.jpg"],
|
|
|
|
| 243 |
["examples/004983.jpg"],
|
| 244 |
["examples/005017.jpg"],
|
| 245 |
["examples/004849.jpg"],
|
| 246 |
+
["examples/000105.jpg"],
|
| 247 |
+
],
|
| 248 |
+
inputs=[
|
| 249 |
+
original_image_input,
|
| 250 |
+
],
|
| 251 |
+
outputs=[output_standard, output_sahi_sliced],
|
| 252 |
+
fn=process_image_with_BMP,
|
| 253 |
+
cache_examples=True,
|
| 254 |
+
)
|
| 255 |
+
gr.Examples(
|
| 256 |
+
label="Failure Cases",
|
| 257 |
+
examples=[
|
| 258 |
+
["examples/SKV_example_F1.jpg"],
|
| 259 |
+
["examples/tackle4.jpg"],
|
| 260 |
+
["examples/000061.jpg"],
|
| 261 |
+
["examples/000141.jpg"],
|
| 262 |
+
["examples/000287.jpg"],
|
| 263 |
],
|
| 264 |
inputs=[
|
| 265 |
original_image_input,
|
examples/000061.jpg
ADDED
|
Git LFS Details
|
examples/000105.jpg
ADDED
|
Git LFS Details
|
examples/000141.jpg
ADDED
|
Git LFS Details
|
examples/000287.jpg
ADDED
|
Git LFS Details
|
examples/SKV_example4.jpg
ADDED
|
Git LFS Details
|
examples/SKV_example_F1.jpg
ADDED
|
Git LFS Details
|
examples/tackle4.jpeg
ADDED
|
Git LFS Details
|