Spaces:
Build error
Build error
Miroslav Purkrabek commited on
Commit ·
a50a178
1
Parent(s): 6359049
add more OCHuman examples
Browse files- app.py +14 -10
- examples/004655.jpg +3 -0
- examples/004971.jpg +3 -0
- examples/004974.jpg +3 -0
- examples/004983.jpg +3 -0
- examples/005017.jpg +3 -0
app.py
CHANGED
|
@@ -188,11 +188,13 @@ def process_image_with_BMP(
|
|
| 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.**
|
| 192 |
)
|
| 193 |
gr.Markdown(
|
| 194 |
-
"For details, see the [project website](https://mirapurkrabek.github.io/BBox-Mask-Pose/) or [arXiv paper](https://arxiv.org/abs/2412.01562)."
|
| 195 |
-
"The demo showcases the capabilities of the BBoxMaskPose framework
|
|
|
|
|
|
|
| 196 |
)
|
| 197 |
|
| 198 |
with gr.Row():
|
|
@@ -211,11 +213,17 @@ with gr.Blocks() as app:
|
|
| 211 |
label="OCHuman examples",
|
| 212 |
examples=[
|
| 213 |
["examples/004806.jpg"],
|
| 214 |
-
["examples/004684.jpg"],
|
| 215 |
-
["examples/004849.jpg"],
|
| 216 |
["examples/004981.jpg"],
|
| 217 |
-
["examples/005002.jpg"],
|
| 218 |
["examples/005056.jpg"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
],
|
| 220 |
inputs=[
|
| 221 |
original_image_input,
|
|
@@ -244,10 +252,6 @@ with gr.Blocks() as app:
|
|
| 244 |
fn=process_image_with_BMP,
|
| 245 |
cache_examples=True,
|
| 246 |
)
|
| 247 |
-
gr.Markdown(
|
| 248 |
-
"Please note that due to HuggingFace restrictions, the demo runs much slower than the original implementation."
|
| 249 |
-
"For faster inference, use the [GitHub demo](https://github.com/MiraPurkrabek/BBoxMaskPose)."
|
| 250 |
-
)
|
| 251 |
|
| 252 |
submit_button.click(
|
| 253 |
fn=process_image_with_BMP,
|
|
|
|
| 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 |
)
|
| 193 |
gr.Markdown(
|
| 194 |
+
"For details, see the [project website](https://mirapurkrabek.github.io/BBox-Mask-Pose/) or [arXiv paper](https://arxiv.org/abs/2412.01562). "
|
| 195 |
+
"The demo showcases the capabilities of the BBoxMaskPose framework on any image. "
|
| 196 |
+
"If you want to play around with parameters, use the [GitHub demo](https://github.com/MiraPurkrabek/BBoxMaskPose). "
|
| 197 |
+
"Please note that due to HuggingFace restrictions, the demo runs much slower than the GitHub implementation."
|
| 198 |
)
|
| 199 |
|
| 200 |
with gr.Row():
|
|
|
|
| 213 |
label="OCHuman examples",
|
| 214 |
examples=[
|
| 215 |
["examples/004806.jpg"],
|
|
|
|
|
|
|
| 216 |
["examples/004981.jpg"],
|
|
|
|
| 217 |
["examples/005056.jpg"],
|
| 218 |
+
["examples/004655.jpg"],
|
| 219 |
+
["examples/004684.jpg"],
|
| 220 |
+
["examples/004974.jpg"],
|
| 221 |
+
["examples/004983.jpg"],
|
| 222 |
+
["examples/004971.jpg"],
|
| 223 |
+
["examples/005017.jpg"],
|
| 224 |
+
|
| 225 |
+
# ["examples/004849.jpg"],
|
| 226 |
+
# ["examples/005002.jpg"],
|
| 227 |
],
|
| 228 |
inputs=[
|
| 229 |
original_image_input,
|
|
|
|
| 252 |
fn=process_image_with_BMP,
|
| 253 |
cache_examples=True,
|
| 254 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
|
| 256 |
submit_button.click(
|
| 257 |
fn=process_image_with_BMP,
|
examples/004655.jpg
ADDED
|
Git LFS Details
|
examples/004971.jpg
ADDED
|
Git LFS Details
|
examples/004974.jpg
ADDED
|
Git LFS Details
|
examples/004983.jpg
ADDED
|
Git LFS Details
|
examples/005017.jpg
ADDED
|
Git LFS Details
|