-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·64 lines (55 loc) · 2.77 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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- for Google -->
<meta name="description" content="เชื่อผม ... ผมคิดมาแล้ว" />
<meta name="keywords" content="sketch, canvas, opencv, joke, logo, design" />
<meta name="author" content="Puripant Ruchikachorn" />
<!-- for Facebook -->
<meta property="og:title" content="เชื่อผม ... ผมคิดมาแล้ว" />
<meta property="og:type" content="article" />
<meta property="og:image" content="http://puripant.ruchikachorn.com/drawing-board/screenshot.png" />
<meta property="og:url" content="http://puripant.ruchikachorn.com/drawing-board/" />
<meta property="og:description" content="เชื่อผม ... ผมคิดมาแล้ว" />
<!-- for Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="เชื่อผม ... ผมคิดมาแล้ว" />
<meta name="twitter:description" content="เชื่อผม ... ผมคิดมาแล้ว" />
<meta name="twitter:image" content="http://puripant.ruchikachorn.com/drawing-board/screenshot.png" />
<title>เชื่อผม ... ผมคิดมาแล้ว</title>
<link href="main.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Chonburi" rel="stylesheet">
</head>
<body>
<div id="header">
เชื่อผม ...<br>ผมคิดมาแล้ว
</div>
<div class="buttons">
เลือกไฟล์ภาพ:
<input type="file" id="file" name="file" disabled />
</div>
<div class="buttons">
เลือกระดับเส้นร่าง:
<div class="button noselect" onclick="update(70)">คนธรรมดา</div>
<div class="button noselect" onclick="update(60)">จอมยุทธ์</div>
<div class="button noselect" onclick="update(50)">เซียน</div>
<div class="button noselect" onclick="update(40)">เทพ</div>
</div>
<img id="image" />
<canvas id="output"></canvas>
<canvas class="intermediate" id="input"></canvas>
<canvas class="intermediate" id="canny"></canvas>
<canvas class="intermediate" id="lines"></canvas>
<div class="buttons center">
โค้ดที่ <a href="https://github.com/puripant/drawing-board">GitHub</a>
<br>
สำหรับ <a href="https://stupidhackth.github.io/4/">The Stupid Hackathon Thailand 2020</a>
<br>
สร้างสรรค์โดย
<div class="logo boonmeelab"><a href="https://www.boonmeelab.com"><span></span></a></div>
</div>
<script async src="opencv.js" onload="onOpenCvReady();" type="text/javascript"></script>
<script src="main.js"></script>
</body>
</html>