Rohit001 commited on
Commit
ed58c22
1 Parent(s): d7565a6

Upload index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +29 -0
templates/index.html ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <title>Document</title>
9
+ <script src="https://cdn.socket.io/4.5.4/socket.io.min.js"
10
+ crossorigin="anonymous"></script>
11
+ <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.js"></script> -->
12
+ </head>
13
+
14
+ <body>
15
+ <button onclick="start_camera()">Capture</button>
16
+ <button onclick="stop_camera()">stop</button>
17
+ <div>
18
+ <video autoplay="true" id="videoElement"></video>
19
+ <canvas id="canvas" width="400" height="300"></canvas>
20
+ </div>
21
+ <div>
22
+ <h1>Name: </h1><h3 id="name"></h3></div></br>
23
+ <h1>confidence score: </h1><h3 id="score"></h3></div>
24
+ </div>
25
+ <script src="{{ url_for('static',filename='app.js') }}"></script>
26
+
27
+ </body>
28
+
29
+ </html>