-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
71 lines (66 loc) · 2.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Skin Cancer Detection</title>
<!-- favicon -->
<link rel="icon" type="image/ico" href="static/favicon.ico">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<!-- css / js -->
<link rel="stylesheet" href="static/style.css">
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre.min.css">
<script src="static/script.js" defer></script>
</head>
<body>
<div class="header bg-primary">
<a href="https://uais.dev/">
<img class="logo" src="static/logo.png">
</a>
<h1 class="title">Are you smarter than an AI?</h1>
</div>
<div class="page-body">
<div class="prediction">
<div class="image-div">
<img class="mole-image" id="mole-image" src="static/images/benign/1.jpg">
</div>
<div class="buttons" id="prediction-buttons">
<button onclick="pred(false)" class="choice-button btn btn-primary">Benign</button>
<button onclick="pred(true)" class="choice-button btn btn-primary">Malignant</button>
</div>
<div class="results" id="prediction-results">
<button onclick="next()" class="btn">Next</button>
<p class="pred-text human-prediction" id="human-pred-text"></p>
<p class="pred-text ai-prediction" id="ai-pred-text"></p>
<p class="pred-text ground-truth" id="ground-truth-text"></p>
</div>
</div>
<div class="divider-vert"></div>
<div class="sidebar">
<h1>Statistics</h1>
<div class="divider text-center"></div>
<div class="stats">
<h2>Human</h2>
<p id="human-accuracy"></p>
<p id="human-correct"></p>
<p id="human-incorrect"></p>
<div class="divider text-center"></div>
<h2>AI</h2>
<p id="ai-accuracy"></p>
<p id="ai-correct"></p>
<p id="ai-incorrect"></p>
<div class="divider text-center"></div>
<h2>General</h2>
<p id="count"></p>
</div>
<div class="divider text-center"></div>
<button onclick="reset()" class="btn">Reset</button>
</div>
</div>
<div class="footer">
<p>© Will Fenton, Giancarlo Pernudi Segura, Peter Friedrich</p>
<a href="https://github.com/UndergraduateArtificialIntelligenceClub/skin_cancer/">GitHub</a>
</div>
</body>
</html>