-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
633 lines (533 loc) · 18.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description"
content="MixedGaussianAvatar uses a mixed 2D-3D Gaussian Splatting method to reconstruct a realistically and geometrically accurate 3D head avatar mesh.">
<meta name="keywords" content="Mixed Gaussian Splatting, Head Avatar, 3D Reconstruction">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MixedGaussianAvatar</title>
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Noto+Sans|Castoro" rel="stylesheet">
<link rel="stylesheet" href="./static/css/bulma.min.css">
<link rel="stylesheet" href="./static/css/bulma-carousel.min.css">
<link rel="stylesheet" href="./static/css/bulma-slider.min.css">
<link rel="stylesheet" href="./static/css/fontawesome.all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
<link rel="stylesheet" href="./static/css/index.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script defer src="./static/js/fontawesome.all.min.js"></script>
<script src="./static/js/bulma-carousel.min.js"></script>
<script src="./static/js/bulma-slider.min.js"></script>
<script src="./static/js/index.js"></script>
<style>
.video-container {
margin-bottom: 20px;
}
</style>
<style>
.publication-links {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
}
.highlighted-link {
display: inline-flex;
align-items: center;
padding: 10px 20px;
color: white;
text-decoration: none;
border-radius: 25px;
font-weight: bold;
font-size: 16px;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.highlighted-link:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.highlighted-link .icon {
margin-right: 8px;
font-size: 20px;
}
.github-link {
background: linear-gradient(45deg, #4CAF50, #2196F3);
}
.arxiv-link {
background: linear-gradient(45deg, #FFB74D, #FFA726);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
}
70% {
box-shadow: 0 0 0 12px rgba(33, 150, 243, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
}
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
.title-container {
text-align: center;
padding: 25px 0;
font-family: 'Roboto', sans-serif;
display: flex;
justify-content: center;
align-items: baseline;
flex-wrap: wrap;
}
.main-title {
font-size: 2.8rem;
font-weight: 800;
margin-right: 10px;
background: linear-gradient(45deg, #FF4500, #FFA500, #00CED1, #4169E1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 300% 300%;
animation: gradient-shift 5s ease infinite;
}
.subtitle {
font-size: 2.8rem;
color: #333;
font-weight: 400;
}
@keyframes gradient-shift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.hero.is-light {
background: linear-gradient(135deg, #e0f7fa, #e8f5e9, #fff9c4);
padding: 10px 0;
}
.hero .container.is-max-desktop {
max-width: 960px;
margin: 0 auto;
}
.hero .hero-body {
padding: 2rem 1.5rem;
}
.hero .video-container {
position: relative;
overflow: hidden;
border-radius: 15px;
}
.hero .video-container:hover {
transform: translateY(-5px);
}
.hero #video {
width: 100%;
display: block;
}
.dataset-btn {
background-color: #4a4a4a;
color: white;
transition: all 0.3s ease;
}
.dataset-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.dataset-btn.active {
background-color: #00d1b2;
}
.container.is-widescreen {
max-width: 1440px !important;
width: 100%;
margin: 0 auto;
}
.container.is-middlewidescreen {
max-width: 1200px !important;
width: 100%;
margin: 0 auto;
}
.video-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
#result-video {
width: 100%;
height: auto;
max-height: 800px;
object-fit: contain;
}
.video-container video {
width: 100%;
height: auto;
border-radius: 15px;
}
.title.is-3 {
text-align: center;
}
@media (max-width: 768px) {
.title-container {
flex-direction: column;
align-items: center;
}
.main-title {
font-size: 2rem;
margin-right: 0;
margin-bottom: 5px;
}
.subtitle {
font-size: 2rem;
}
.hero.is-light {
padding: 30px 0;
}
.hero .video-container {
border-radius: 10px;
}
}
.column.is-narrow {
padding: 0 10px;
}
.field {
text-align: center;
}
.label {
margin-bottom: 5px;
}
.section.is-light {
background: linear-gradient(135deg, #e0f7fa, #e8f5e9, #fff9c4);
padding: 60px 0;
}
.section.is-light .container {
max-width: 1440px !important;
width: 100%;
margin: 0 auto;
}
.section.is-light .hero-body {
padding: 2rem 1.5rem;
}
.colorful-title {
text-align: center;
padding: 20px 0;
color: #7e56d0;
font-size: 2.2rem;
font-weight: 1000;
margin-bottom: 30px;
}
.colorful-title h2 {
margin: 0;
padding: 0;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
</style>
<style class="redeviation-bs-style" data-name="content">
/*! (c) Philipp Koenig under MS-RSL */
body>div#redeviation-bs-indicator>div {
opacity: 0;
pointer-events: none
}
body>#redeviation-bs-overlay.redeviation-bs-visible,
body>#redeviation-bs-sidebar.redeviation-bs-visible {
opacity: 1;
pointer-events: auto
}
body.redeviation-bs-noscroll {
overflow: hidden !important
}
body>div#redeviation-bs-indicator>div {
position: absolute;
transform: translate3d(-24px, 0, 0);
top: 0;
left: 0;
width: 24px !important;
height: 100%;
background: rgba(0, 0, 0, 0.5);
border-radius: 0 10px 10px 0;
transition: opacity .3s, transform .3s;
z-index: 2
}
body>div#redeviation-bs-indicator>div>span {
-webkit-mask: no-repeat center/24px;
-webkit-mask-image: url(chrome-extension://lmjefbghkfeppnpofmbfmhgodpclipbl/img/icon-bookmark.svg);
background-color: #ffffff;
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%
}
body>div#redeviation-bs-indicator[data-pos=right] {
left: auto;
right: 0
}
body>div#redeviation-bs-indicator[data-pos=right]>div {
transform: translate3d(24px, 0, 0);
left: auto;
right: 0;
border-radius: 10px 0 0 10px
}
body>div#redeviation-bs-indicator.redeviation-bs-fullHeight>div {
border-radius: 0
}
body>div#redeviation-bs-indicator.redeviation-bs-hover>div {
transform: translate3d(0, 0, 0);
opacity: 1
}
body>div#redeviation-bs-indicator[data-pos=left].redeviation-bs-has-lsb {
height: 100% !important;
top: 0 !important
}
body>div#redeviation-bs-indicator[data-pos=left].redeviation-bs-has-lsb>div {
background: rgba(0, 0, 0, 0)
}
body>div#redeviation-bs-indicator[data-pos=left].redeviation-bs-has-lsb>div>span {
-webkit-mask-position-y: 20px
}
body>#redeviation-bs-sidebar {
width: 350px;
max-width: none;
height: 0;
z-index: 2147483646;
background-color: rgba(0, 0, 0, 0.6) !important;
color-scheme: auto !important;
speak: none;
border: none;
display: block !important;
transform: translate3d(-350px, 0, 0);
transition: width 0s .3s, height 0s .3s, opacity .3s, transform .3s
}
body>#redeviation-bs-sidebar[data-pos=right] {
left: auto;
right: 0;
transform: translate3d(350px, 0, 0)
}
body>#redeviation-bs-sidebar.redeviation-bs-visible {
width: calc(100% + 350px);
height: 100%;
transform: translate3d(0, 0, 0);
transition: opacity .3s, transform .3s
}
body>#redeviation-bs-sidebar.sidepanel {
width: 100% !important
}
body>#redeviation-bs-sidebar.redeviation-bs-hideMask {
background: none !important
}
body>#redeviation-bs-sidebar.redeviation-bs-hideMask:not(.redeviation-bs-hover) {
width: calc(350px + 50px)
}
body>#redeviation-bs-overlay {
width: 100%;
max-width: none;
height: 100%;
z-index: 2147483647;
border: none;
speak: none;
background: rgba(0, 0, 0, 0.5) !important;
color-scheme: auto !important;
transition: opacity .3s
}
</style>
</head>
<body>
<section class="hero">
<div class="hero-body">
<div class="container is-max-desktop">
<div class="columns is-centered">
<div class="column has-text-centered">
<h1 class="title is-1 publication-title">
MixedGaussianAvatar: Realistically and Geometrically Accurate Head Avatar via Mixed 2D-3D Gaussian Splatting</h1>
<div class="is-size-3 publication-authors">
<!-- <span class="author-block"> -->
<div class="is-size-5 publication-authors">
<span class="author-block">
<!-- <a href="https://chenvoid.github.io/">Peng Chen*</a><sup>1,2</sup>,</span> -->
<strong><a href="https://chenvoid.github.io/">Peng Chen</a></strong><sup>1,2</sup>,</span>
<span class="author-block">
<strong><a href="https://ucwxb.github.io/">Xiaobao Wei</a></strong><sup>1,2</sup>,</span>
<span class="author-block">
<strong>Qingpo Wuwu</strong><sup>6</sup>,
</span>
<span class="author-block">
<strong>Xinyi Wang</strong><sup>5</sup>,
</span>
<span class="author-block">
<strong>Xingyu Xiao</strong><sup>4</sup>,
</span>
<span class="author-block">
<strong><a href="https://lu-m13.github.io/">Ming Lu</a></strong><sup>3</sup>,
</span>
</div>
<div class="is-size-5 publication-authors">
<span class="author-block"><sup>1</sup>Institute of Software, Chinese Academy of Sciences,</span>
<span class="author-block"><sup>2</sup>University of Chinese Academy of Sciences,</span>
<span class="author-block"><sup>3</sup>Intel Labs China,</span>
<span class="author-block"><sup>4</sup>Tsinghua University,</span>
<span class="author-block"><sup>5</sup>Nankai University,</span>
<span class="author-block"><sup>6</sup>Peking University</span>
</div>
<div class="column has-text-centered">
<div class="publication-links">
<!-- PDF Link. -->
<span class="link-block">
<a href="https://arxiv.org/abs/2412.04955" class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="ai ai-arxiv"></i>
</span>
<span>Paper</span>
</a>
</span>
<!-- Code Link. -->
<span class="link-block">
<a href="https://github.com/chenvoid/MGA"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>Code coming soon</span>
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="hero is-light method-comparison-section">
<div class="hero-body">
<div class="container is-widescreen">
<h2 class="title is-3 has-text-centered">Dynamic Meshes of 3D Head Avatars</h2>
<div style="width: 60%; margin: 0 auto;">
<div class="video-container" style="display: flex; justify-content: center;">
<video id="method-comparison-video" controls="" autoplay="" loop="" muted=""
style="border-radius: 15px; width: 60%;" poster="./static/videos/218.png"
src="./static/videos/218.mp4">
Your browser does not support the video tag.
</video>
</div>
<div id="comparison-controls" style="margin-top: 20px; text-align: center;">
<div class="buttons is-centered">
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container is-max-desktop">
<!-- Abstract. -->
<div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h2 class="title is-3">Abstract</h2>
<div class="content has-text-justified">
<p>
Reconstructing high-fidelity 3D head avatars is crucial in various applications such as virtual reality.
The pioneering methods reconstruct realistic head avatars with Neural Radiance Fields (NeRF), which have
been limited by training and rendering speed. Recent methods based on 3D Gaussian Splatting (3DGS) significantly
improve the efficiency of training and rendering. However, the surface inconsistency of 3DGS results in subpar
geometric accuracy; later, 2DGS uses 2D surfels to enhance geometric accuracy at the expense of rendering fidelity.
</div>
<div class="content has-text-centered">
<video id="pipeline-video" controls="" loop=""
style="border-radius: 15px; width: 100%;" poster="./static/images/pipeline.png"
src="./static/videos/pipeline.mp4">
</video>
</div>
<div class="content has-text-justified">
<p>
To leverage the benefits of both 2DGS and 3DGS, we propose a novel method named MixedGaussianAvatar for
realistically and geometrically accurate head avatar reconstruction. Our main idea is to utilize 2D Gaussians
to reconstruct the surface of the 3D head, ensuring geometric accuracy. We attach the 2D Gaussians to the
triangular mesh of the FLAME model and connect additional 3D Gaussians to those 2D Gaussians where the rendering
quality of 2DGS is inadequate, creating a mixed 2D-3D Gaussian representation. These 2D-3D Gaussians can then
be animated using FLAME parameters. We further introduce a progressive training strategy that first trains the
2D Gaussians and then fine-tunes the mixed 2D-3D Gaussians. We demonstrate the superiority of MixedGaussianAvatar
through comprehensive experiments. The code will be released.
</p>
</div>
<h2 class="title is-3">Comparison on Mesh Reconstruction</h2>
<div class="content has-text-centered">
<img src="./static/images/comparison.png" alt="Comparison">
</div>
</div>
</div>
</div>
</section>
<script>
document.addEventListener('DOMContentLoaded', function () {
const video = document.getElementById('method-comparison-video');
const controls = document.getElementById('comparison-controls');
const scenes = ['218', '074', '253', '264', '304', '306', '104', '460'];
const videoPath = './static/videos/';
let activeScene = `${scenes[0]}`;
function preloadImage(url) {
return new Promise((resolve, reject) => {
const img = new Image();
img.onload = () => resolve(url);
img.onerror = reject;
img.src = url;
});
}
// Create buttons
scenes.forEach(scene => {
const button = document.createElement('button');
button.className = 'button is-medium is-rounded dataset-btn';
button.textContent = scene;
button.dataset.scene = `${scene}`;
controls.querySelector('.buttons').appendChild(button);
});
// Set initial active button
const activeButton = controls.querySelector(`button[data-scene="${activeScene}"]`);
if (activeButton) {
activeButton.classList.add('active');
} else {
console.error(`Button with data-scene="${activeScene}" not found`);
}
// Button click handler
controls.addEventListener('click', (e) => {
if (e.target.matches('button')) {
controls.querySelector('.active').classList.remove('active');
e.target.classList.add('active');
activeScene = e.target.dataset.scene;
updateVideo();
}
});
async function updateVideo() {
const videoSrc = `${videoPath}${activeScene}.mp4`;
const posterSrc = `${videoPath}${activeScene}.png`;
try {
await preloadImage(posterSrc);
video.poster = posterSrc;
video.src = videoSrc;
video.load();
video.play().catch(error => console.error('Error playing video:', error));
} catch (error) {
console.error('Error loading poster image:', error);
video.src = videoSrc;
video.load();
video.play().catch(error => console.error('Error playing video:', error));
}
}
// Initialize video
updateVideo();
});
</script>
</body>
</html>