Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,30 +19,66 @@ CMD = textwrap.dedent("""
|
|
19 |
""")
|
20 |
TITLE = "Sketch2Pose: Estimating a 3D Character Pose from a Bitmap Sketch"
|
21 |
DESCRIPTION = '''
|
22 |
-
<
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
<iframe src="https://ghbtns.com/github-btn.html?user=kbrodt&repo=sketch2pose&type=star&count=true&v=2&size=small" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
32 |
</li>
|
33 |
-
<li>
|
34 |
-
<a href="https://dl.acm.org/doi/10.1145/3528223.3530106">paper ACM SIGGRAPH 2022</a>
|
35 |
-
</li>
|
36 |
</ul>
|
37 |
-
</
|
38 |
|
39 |
-
<th>
|
40 |
<video width="560" height="315" controls autoplay muted loop>
|
41 |
<source src="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/sketch2pose.webm" type="video/mp4">
|
42 |
</video>
|
43 |
-
</th>
|
44 |
-
|
45 |
-
</table>
|
46 |
'''
|
47 |
|
48 |
|
|
|
19 |
""")
|
20 |
TITLE = "Sketch2Pose: Estimating a 3D Character Pose from a Bitmap Sketch"
|
21 |
DESCRIPTION = '''
|
22 |
+
<head>
|
23 |
+
<style>
|
24 |
+
html {
|
25 |
+
margin: 0;
|
26 |
+
padding: 0;
|
27 |
+
}
|
28 |
+
body {
|
29 |
+
margin: 0 auto;
|
30 |
+
padding: 0.5em;
|
31 |
+
text-align: justify;
|
32 |
+
max-width: 800px;
|
33 |
+
}
|
34 |
+
figure {
|
35 |
+
margin: 0;
|
36 |
+
font-size: smaller;
|
37 |
+
text-align: justify;
|
38 |
+
}
|
39 |
+
img {
|
40 |
+
width: auto;
|
41 |
+
max-width: 100%;
|
42 |
+
height: auto;
|
43 |
+
}
|
44 |
+
video {
|
45 |
+
width: auto;
|
46 |
+
max-width: 100%;
|
47 |
+
height: auto;
|
48 |
+
}
|
49 |
+
ul.horizontal {
|
50 |
+
padding: 0;
|
51 |
+
}
|
52 |
+
ul.horizontal li {
|
53 |
+
padding: 0 1em 0 0;
|
54 |
+
display: inline-block;
|
55 |
+
}
|
56 |
+
</style>
|
57 |
+
</head>
|
58 |
+
|
59 |
+
<figure>
|
60 |
+
<img src="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/teaser.png" alt="sketch2pose">
|
61 |
+
<figcaption>
|
62 |
+
Given a single natural <b>bitmap</b> sketch of a character (a), our
|
63 |
+
learning-based approach allows to automatically, with no additional input,
|
64 |
+
recover the 3D pose consistent with the viewer expectation (b). This pose can
|
65 |
+
be then automatically copied a custom rigged and skinned 3D character (c) using
|
66 |
+
standard retargeting tools (d). Input image © Olga Posukh.
|
67 |
+
</figcaption>
|
68 |
+
</figure>
|
69 |
+
|
70 |
+
<p>
|
71 |
+
<ul class="horizontal">
|
72 |
+
<li><a href="https://dl.acm.org/doi/10.1145/3528223.3530106">[paper acm siggraph 2022]</a></li>
|
73 |
+
<li><a href="https://github.com/kbrodt/sketch2pose">[code.git]</a>
|
74 |
<iframe src="https://ghbtns.com/github-btn.html?user=kbrodt&repo=sketch2pose&type=star&count=true&v=2&size=small" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
75 |
</li>
|
|
|
|
|
|
|
76 |
</ul>
|
77 |
+
</p>
|
78 |
|
|
|
79 |
<video width="560" height="315" controls autoplay muted loop>
|
80 |
<source src="http://www-labs.iro.umontreal.ca/~bmpix/sketch2pose/sketch2pose.webm" type="video/mp4">
|
81 |
</video>
|
|
|
|
|
|
|
82 |
'''
|
83 |
|
84 |
|