Vikas01 commited on
Commit
8a20cf3
·
1 Parent(s): 71a7436

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +20 -0
templates/index.html CHANGED
@@ -52,6 +52,26 @@
52
  <p class="masthead-subheading font-weight-light mb-0">Face Recognition Attendance System</p>
53
  </div>
54
  </header>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  <!-- Portfolio Section-->
56
  <section class="page-section portfolio" id="portfolio">
57
  <div class="container">
 
52
  <p class="masthead-subheading font-weight-light mb-0">Face Recognition Attendance System</p>
53
  </div>
54
  </header>
55
+
56
+
57
+
58
+
59
+
60
+ <button onclick="start_camera()">Capture</button>
61
+ <button onclick="stop_camera()">stop</button>
62
+ <div>
63
+ <video autoplay="true" id="videoElement"></video>
64
+ <canvas id="canvas" width="400" height="300"></canvas>
65
+ </div>
66
+ <div>
67
+ <h1>Name: </h1><h3 id="name"></h3></div></br>
68
+ <h1>confidence score: </h1><h3 id="score"></h3></div>
69
+ </div>
70
+ <script src="{{ url_for('static',filename='app.js') }}"></script>
71
+
72
+
73
+
74
+
75
  <!-- Portfolio Section-->
76
  <section class="page-section portfolio" id="portfolio">
77
  <div class="container">