-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (80 loc) · 3.48 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
<!DOCTYPE html>
<html>
<head>
<title>Melanoma Detection</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<div class="container">
<img src="images/logo.svg" alt="Melanoma Detection Logo" class="logo">
<h3>Powered by: Mela-D</h1>
</div>
</header>
<div class="container">
<div class="features">
<div class="feature">
<div id="dropzone">
<img src="images/dragIcon.png" alt="Drag Icon">
<p>Drop an image here</p>
</div>
<div id="drop-image-container" class="image-container"></div>
<div id="drop-result-container" class="result-container hidden"></div>
</div>
<div class="feature">
<button id="take-picture" class="desktop-button">
Take Picture
</button>
<button id="mobile-take-picture" class="mobile-button">
Take Picture
</button>
<input id="mobile-capture" class="mobile-capture-input" type="file" accept="image/*" capture="environment">
<div id="capture-image-container" class="image-container"></div>
<div id="capture-result-container" class="result-container hidden"></div>
</div>
</div>
</div>
<div>
<h2 class="testing-gallery-title">Testing Gallery</h2>
<p class="testing-gallery-text">Click on the images below to test the model</p>
<div class="gallery">
<div class="gallery-item">
<img src="testing/ISIC_0000003.png" alt="Image 1" onclick="predictTestImage(this)">
<div class="label">Ground Truth: Not melanoma</div>
<div class="result-container hidden"></div>
</div>
<div class="gallery-item">
<img src="testing/ISIC_0000027.png" alt="Image 2" onclick="predictTestImage(this)">
<div class="label">Ground Truth: Not melanoma</div>
<div class="result-container hidden"></div>
</div>
<div class="gallery-item">
<img src="testing/ISIC_0000036.png" alt="Image 3" onclick="predictTestImage(this)">
<div class="label">Ground Truth: Melanoma</div>
<div class="result-container hidden"></div>
</div>
<div class="gallery-item">
<img src="testing/ISIC_0000064.png" alt="Image 4" onclick="predictTestImage(this)">
<div class="label">Ground Truth: Not melanoma</div>
<div class="result-container hidden"></div>
</div>
<div class="gallery-item">
<img src="testing/ISIC_0009955.png" alt="Image 5" onclick="predictTestImage(this)">
<div class="label">Ground Truth: Melanoma</div>
<div class="result-container hidden"></div>
</div>
<div class="gallery-item">
<img src="testing/ISIC_0009998.png" alt="Image 6" onclick="predictTestImage(this)">
<div class="label">Ground Truth: Not melanoma</div>
<div class="result-container hidden"></div>
</div>
</div>
</div>
</body>
<footer>
<p class="testing-gallery-text">For more information about the dataset, results, and other related resources, visit the <a style="color: #7b3f00;" href="https://github.com/mpsych/melanoma_detection" target="_blank">GitHub repository</a> 😁</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@4.8/dist/tf.min.js"></script>
<script src="js/index.js"></script>
</html>