-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (50 loc) · 1.78 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
<!DOCTYPE html>
<html>
<head>
<title>Realtime-Sketch - StyleTransfer Learning</title>
<link rel="stylesheet" href="src/home.css" />
<script src="https://unpkg.com/[email protected]/dist/ml5.min.js"></script>
<meta charset="UTF-8" />
</head>
<body>
<div class="container">
<div class="app">
<a href="#" id="start-camera" class="visible"
>Touch here to start the app.</a
>
<video id="camera-stream"></video> <img id="snap" />
<p id="error-message"></p>
<div class="controls">
<a href="#" id="delete-photo" title="Delete Photo" class="disabled"
><i class="material-icons">delete</i></a
>
<a
href="#"
id="download-photo"
download="shreyansh.png"
title="Save Photo"
class="disabled"
><i class="material-icons">file_download</i></a
>
<a href="#" id="take-photo" title="Take Photo"
><i class="material-icons">camera_alt</i></a
>
<a href="#" id="api-photo" title="Send Request to Model" class="disabled"
><i class="material-icons">sentiment_very_satisfied</i></a
>
<a href="#" id="change-style-photo" title="1" class="enabled"
><i class="material-icons">style</i></a
>
<a href="#" id="change-camera" title="user" class="enabled"
><i class="material-icons">switch_camera</i></a
>
</div>
<!-- Hidden canvas element. Used for taking snapshot of video. -->
<canvas></canvas>
</div>
</div>
<h3>Realtime-Sketch - StyleTransfer Learning</h3>
<h6 id="current-model">Current Style Loaded - 'models/wave'</h6>
<script src="src/home.js"></script>
</body>
</html>