-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
518 lines (458 loc) · 26.8 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
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0045)http://6.869.csail.mit.edu/fa19/schedule.html -->
<html xmlns="http://www.w3.org/1999/xhtml">
<link href="https://fonts.cdnfonts.com/css/caveat" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/caveat');
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Text2QR</title>
<link href="style.css" rel="stylesheet" type="text/css">
<meta name="description"
content="Project page for 'Text2QR: Harmonizing Aesthetic Customization and Scanning Robustness for
Text-Guided QR Code Generation.'">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
-->
<link href="./assets/js/1.css" rel="stylesheet" type="text/css">
</head>
<body>
<p class="title">Text2QR: Harmonizing Aesthetic Customization and Scanning Robustness for
Text-Guided QR Code Generation</p>
<div style="text-align: center; font-size: 20pt; margin-bottom: 15px">
<span>CVPR 2024</span>
</div>
<p class="author">
<span class="author">
Guangyang Wu
</span>
<span class="author">
Xiaohong Liu<sup>†</sup>
</span>
<span class="author">
Jun Jia
</span>
<span class="author">
Xuehao Cui
</span>
<span class="author">
Guangtao Zhai
</span>
</p>
<p class="affiliations">
<span class="author">
Shanghai Jiao Tong University
</span>
<br/>
<span class="author">
<sup>†</sup><span style="font-size: 80%;">Corresponding author</span>
</span>
</p>
<p class="menu">
<a style="color: steelblue" href="https://arxiv.org/abs/2403.06452">[Paper]</a>
<a style="color: steelblue" href="https://github.com/mulns/Text2QR" >[Code]</a>
</p>
<div style="text-align: center">
<img src="./assets/teaser.jpg" alt="" width="1080px" style="max-width: 100%; height: auto;" />
</div>
<div class="container">
<p class="section"> </p>
<p style="text-align: center;">
<span class="section">
<b>Abstract</b>
</span>
</p>
<p style="text-align: justify; display: flex; justify-content: center; max-width: 800px; margin:auto">
<span style="font-size: 120%;">In the digital era, QR codes serve as a linchpin connecting virtual and physical realms. Their pervasive integration across various applications highlights the demand for aesthetically pleasing codes without compromised scannability. However, prevailing methods grapple with the intrinsic challenge of balancing customization and scannability. Notably, stable-diffusion models have ushered in an epoch of high-quality, customizable content generation. This paper introduces Text2QR, a pioneering approach leveraging these advancements to address a fundamental challenge: concurrently achieving user-defined aesthetics and scanning robustness.
To ensure stable generation of aesthetic QR codes, we introduce the QR Aesthetic Blueprint (QAB) module, generating a blueprint image exerting control over the entire generation process. Subsequently, the Scannability Enhancing Latent Refinement (SELR) process refines the output iteratively in the latent space, enhancing scanning robustness. This approach harnesses the potent generation capabilities of stable-diffusion models, navigating the trade-off between image aesthetics and QR code scannability.
Our experiments demonstrate the seamless fusion of visual appeal with the practical utility of aesthetic QR codes, markedly outperforming prior methods.
</span>
</p>
<p class="section"> </p>
<p class="section"><b>Method</b></p>
<div style="text-align: center">
<img src="./assets/main_structure.jpg" alt="" width="1080px" style="max-width: 100%; height: auto;" />
</div>
<p style="text-align: justify">
<span style="font-size: 120%;">
Overall Structure of the Text2QR. The pipeline consists of three stages, denoted with orange, blue and black lines. We propose the QAB module for generating a blueprint image used as controlling guidance, and propose the SELR module for refining the controlled output to enhance its scanning robustness.
</span>
</p>
<p class="section"><b>Results</b></p>
<div class="container" style="min-height: 224px" style="text-align: center" width="45%">
<tr>
<div id="imageCarousel" class="carousel slide teaser-carousel" data-ride="carousel" data-interval="5000">
<div class="carousel-inner">
<div class="carousel-item active">
<div>
<img class="teaser-img" src="./assets/1/1.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/1/1r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"explosionmagic, smoke, glowing aura, excessive energy, fantasy, dissolving, decay, full body, (knight:1.1), enchanted armor, enchanted sword, helmet"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/1/3.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/1/3r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"1girl, (solo), black hair, long hair, brown eyes, ponytail, simple clothes, hanfu, smooth skin, bare legs, one arm up, socks, grabbing, looking afar, plant, peach blossom, petals, flowers"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/1/4.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/1/4r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"A tourist cruise liner glides gracefully through the starry expanse,offering breathtaking views of celestial wonders and luxurious amenities for intergalactic travelers"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/1/5.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/1/5r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"mountain background, scenery, ink, mountains, water, trees"</div>
<br />
</div>
</div>
</div>
<a class="carousel-control-prev" href="#imageCarousel" role="button" data-slide="prev">
<div class="slider-navigation-previous">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="white" stroke-width=".5em" stroke-linecap="round"
stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 ">
</polyline>
</svg>
</div>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#imageCarousel" role="button" data-slide="next">
<div class="slider-navigation-next">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="white" stroke-width=".5em" stroke-linecap="round"
stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 ">
</polyline>
</svg>
</div>
<span class="sr-only">Next</span>
</a>
</div>
</tr>
</div>
<p class="section"> </p>
<p class="section"> </p>
<div class="container" style="min-height: 224px" width="45%">
<tr>
<div id="imageCarousel2" class="carousel slide teaser-carousel" data-ride="carousel" data-interval="5000">
<div class="carousel-inner">
<div class="carousel-item active">
<div>
<img class="teaser-img" src="./assets/2/1.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/2/1r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"peacock, 1girl, solo, dress, gloves, long hair, full body, black gloves, flower, hair ornament, elbow gloves, looking at viewer, white background, black dress, blue flower, earrings, standing, bare shoulders, hair flower, simple background, jewelry, grey eyes, bangs, blue rose"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/2/2.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/2/2r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"enma ai, hair down, hair black, bangs, eyes red, masterpiece, best quality, ultra-detailed, illustration, 1girl, solo, highres, photorealistic, ultra high res, (Original illustration composition), (fusion of limited color, Maximalism artstyle, kimono obi fashion, double exposure, background, illustration, Amazing, lily spider, night darkness, open one's mouth, finger, bouquet flowers red, low twintails, (polychromatic peony:1.15), Movie poster "</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/2/3.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/2/3r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"((full-body)), (a beautiful crystal-spear holding-hands white-armored white-silk-skirt silver-long-greaves orange-wings glass-headpiece blue-hair beautiful amber-yellow-eyes calm-face girl), bokeh, in-the-ruins outdoors, dawn-sky"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/1/6.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/1/6r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"Wonderful city, 8k, highly detailed,(masterpiece), Castle, town, (papercut), (huge big moon), (made of white paper), artisana handmade, professional result, realistic, clouds, moonlight"</div>
<br />
</div>
</div>
</div>
<a class="carousel-control-prev" href="#imageCarousel2" role="button" data-slide="prev">
<div class="slider-navigation-previous">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="white" stroke-width=".5em" stroke-linecap="round"
stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 ">
</polyline>
</svg>
</div>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#imageCarousel2" role="button" data-slide="next">
<div class="slider-navigation-next">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="white" stroke-width=".5em" stroke-linecap="round"
stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 ">
</polyline>
</svg>
</div>
<span class="sr-only">Next</span>
</a>
</div>
</tr>
</div>
<p class="section"> </p>
<p class="section"> </p>
<p class="section"> </p>
<div class="container" style="min-height: 224px" width="45%">
<tr>
<div id="imageCarousel3" class="carousel slide teaser-carousel" data-ride="carousel" data-interval="5000">
<div class="carousel-inner">
<div class="carousel-item active">
<div>
<img class="teaser-img" src="./assets/2/4.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/2/4r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"bamboolight, 1girl, from above, solo, sitting, long hair, sky, aqua jacket, bamboo, night, cloud,star (sky), outdoors, wading,water, night sky, black hair, tanabata, starry sky, star (symbol), looking up, blush"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/2/5.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/2/5r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"The arsenal is on a pedestal on the desk where the tweezers and pliers and props, mini(ttp), (8k, RAW photo, best quality, masterpiece:1.2), miniature, landscape, isometric, in a box"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/2/6.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/2/6r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"Ultra HD, depth of field, (masterpiece, best quality, high quality, highres, ultra-detailed), beautiful landscape,mountain, perspective, shuimobysim, badashanren, shukezouma, no humans"</div>
<br />
</div>
</div>
<div class="carousel-item">
<div>
<img class="teaser-img" src="./assets/2/7.jpg" />
<span style="font-size: 150%;">+</span>
<img class="teaser-img" src="./assets/qrc.png" />
<span style="font-size: 150%;">→</span>
<img class="teaser-img" src="./assets/2/7r.jpg" />
</div>
<br />
<div>
<div class="caption caption-active">
"artist's house in ocean, epic super sky, lots of light, incredible details, absurd colors, many mess flowers bushes, bright and rich colors, colourful, (oversaturated:1.2), ultra realistic, hyperrealistic, trending on artstation, intricate details, ((intricate details)), colorful details,iridescent colors BREAK,((masterpiece best quality)), 4k, ultra detailed, detailed lighting, ((inspired by Hayao Miyazaki)), official art, promotional art, composition"</div>
<br />
</div>
</div>
</div>
<a class="carousel-control-prev" href="#imageCarousel3" role="button" data-slide="prev">
<div class="slider-navigation-previous">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="white" stroke-width=".5em" stroke-linecap="round"
stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 ">
</polyline>
</svg>
</div>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#imageCarousel3" role="button" data-slide="next">
<div class="slider-navigation-next">
<svg viewBox="0 0 50 80" xml:space="preserve">
<polyline fill="white" stroke-width=".5em" stroke-linecap="round"
stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 ">
</polyline>
</svg>
</div>
<span class="sr-only">Next</span>
</a>
</div>
</tr>
</div>
<p class="section"> </p>
<p class="section"> </p>
<p class="section"> </p>
<div style="text-align: center">
<img src="./assets/main.jpg" alt="" width="1080px" style="max-width: 100%; height: auto;" />
</div>
<p class="section"> </p>
<p class="section"><b>Application</b></p>
<div>
<table style="width:100%;table-layout: fixed;">
<tr>
<td style="width: 56.75%;">
<div style="text-align: center;max-width: 100%; height: auto;font-size: 120%;">
<!--Related technologies have applied for patents</br>-->
WeChat mini program:Eyejoy</br>
</div>
</td>
<td style="width: 39.45%;">
<div style="text-align: center;max-width: 100%; height: auto; font-size: 120%;">
Scan the following QR code to enter Eyejoy</br>
</div>
</td>
</tr>
<tr>
<td style="width: 56.75%;">
<div>
<img src="./assets/app/1.jpg" alt="" width="32%"/>
<img src="./assets/app/2.jpg" alt="" width="32%"/>
<img src="./assets/app/3.jpg" alt="" width="32%"/>
</div>
</td>
<td style="width: 39.45%;">
<img src="./assets/app/4.jpg" alt="" width="100%"/>
</td>
</tr>
</table>
</div>
<p class="section"> </p>
<p class="section" id="bibtex"><b>Bibtex</b></p>
<table border="0">
<tbody>
<pre style=" display: block;
background: #eee;
white-space: pre;
-webkit-overflow-scrolling: touch;
max-width: 100%;
min-width: 100px;
border-radius: 20px;
">
@article{wu2024text2qr,
title={Text2QR: Harmonizing Aesthetic Customization and Scanning Robustness for Text-Guided QR Code Generation},
author={Wu, Guangyang and Liu, Xiaohong and Jia, Jun and Cui, Xuehao and Zhai, Guangtao},
journal={arXiv preprint arXiv:2403.06452},
year={2024}
}
</pre>
</tbody>
</table>
</div>
<footer class="footer">
<p style="text-align: center;">
This page was adapted from <a href="https://github.com/tuneavideo/tuneavideo.github.io">this</a> source code.
</p>
</footer>
</body>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WLX2Z5QLG8');
</script>
<script src="./assets/js/1.js"></script>
<script type="text/javascript">
$(document).ready(function () {
if (localStorage.getItem("my_app_name_here-quote-scroll") != null) {
$(window).scrollTop(localStorage.getItem("my_app_name_here-quote-scroll"));
}
$(window).on("scroll", function() {
localStorage.setItem("my_app_name_here-quote-scroll", $(window).scrollTop());
});
});
</script>
<script>
function prompt_on(prompt_element) {
prompt_element.classList.add("caption-active");
}
function prompt_off(prompt_element) {
prompt_element.classList.remove("caption-active");
}
function toggle_prompt(active_prompt_id, inactive_prompt_ids, result_id) {
let active_prompt = document.getElementById(active_prompt_id);
prompt_on(active_prompt);
for (let i = 0; i < inactive_prompt_ids.length; i++) {
let inactive_prompt = document.getElementById(inactive_prompt_ids[i]);
prompt_off(inactive_prompt);
}
let result = document.getElementById(result_id);
result.src = file_paths[active_prompt_id];
}
</script>
<script src="./assets/js/2.js"></script>
<script src="./assets/js/3.js"></script>
<script src="./assets/js/4.js"></script>
</html>