-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (44 loc) · 1.61 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#fafafa">
<link rel="stylesheet" href="css/buttons.css">
<link rel="stylesheet" href="css/btn-group.css">
<link rel="stylesheet" href="css/display.css">
<link rel="stylesheet" href="css/snackbar.css">
<style>
.invisible {
display: none;
}
</style>
<script src="js/libs/opencv.js" type="text/javascript"></script>
</head>
<body>
<div id="main-menu">
<div class="btn-group">
<input class="invisible" type="file" id="file-input" accept="image/*"/>
<button id="take-pic-btn" class="custom-btn" type="button" style="width: 200px;">Take a Picture of Set Cards</button>
<button id="load-example-btn" class="custom-btn" type="button" style="width: 180px;">Load Example</button>
<button id="github-btn" onclick="window.location.href='https://github.com/GorgeousOne/Set-Card-Detection-js';"></button>
</div>
</div>
<div id="view-screen" style="display: none;">
<img class="invisible" id="image-src" src="" alt="set image" >
<canvas id="canvas-out"></canvas>
<button id="return-btn"></button>
<div id="snackbar"></div>
</div>
<script src="js/shapetype.js"></script>
<script src="js/setshape.js"></script>
<script src="js/setcard.js"></script>
<script src="js/libs/colorconv.js"></script>
<script src="js/carddetection.js"></script>
<script src="js/setfinder.js"></script>
<script src="js/vectors.js"></script>
<script src="js/main.js"></script>
</body>
</html>