Miroslav Purkrabek commited on
Commit
8b0dccc
·
1 Parent(s): b42544a

add failure cases

Browse files
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-wild examples",
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 examples",
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

  • SHA256: b74a2a30118e1bc7cca36d40293cf7a65a1b90a3a98d60d712dcd7840462db01
  • Pointer size: 131 Bytes
  • Size of remote file: 174 kB
examples/000105.jpg ADDED

Git LFS Details

  • SHA256: de43a65184fa91f352180dcebcc156efb365a0e2b43e06f13c89137ca487d279
  • Pointer size: 130 Bytes
  • Size of remote file: 76.3 kB
examples/000141.jpg ADDED

Git LFS Details

  • SHA256: a95d236ea44b3d036e300442cd93b7d8154352fcc53653a377c6b75a27068632
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
examples/000287.jpg ADDED

Git LFS Details

  • SHA256: b0d2270b84b1d1aed1cbd014c9736f91daef3e6e8827a22d38aa6c3f54180ffd
  • Pointer size: 131 Bytes
  • Size of remote file: 105 kB
examples/SKV_example4.jpg ADDED

Git LFS Details

  • SHA256: 09b2d95f8cfd2a720032d3b5d8a42999ac288d6d47266c25f9a2764256acf25f
  • Pointer size: 132 Bytes
  • Size of remote file: 3.04 MB
examples/SKV_example_F1.jpg ADDED

Git LFS Details

  • SHA256: f50a88675dc66bd2ef65b2a0aa91ea0c2c8406c5f21145a51ce34fcdb0c64b55
  • Pointer size: 132 Bytes
  • Size of remote file: 2.88 MB
examples/tackle4.jpeg ADDED

Git LFS Details

  • SHA256: 0c578e37b461a9cbeba4950778e5acca31bc9625b9e66d33a9cb0ef22e8b09f7
  • Pointer size: 131 Bytes
  • Size of remote file: 719 kB