nagasurendra commited on
Commit
a036869
·
verified ·
1 Parent(s): ecaf87a

Create templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +18 -0
templates/index.html ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Image Capture</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
+ </head>
9
+ <body>
10
+ <h1>Webcam Image Capture</h1>
11
+ <video id="video" width="640" height="480" autoplay></video>
12
+ <br>
13
+ <button id="capture">Capture Image</button>
14
+ <canvas id="canvas" style="display:none;"></canvas>
15
+ <p id="message"></p>
16
+ <script src="{{ url_for('static', filename='js/script.js') }}"></script>
17
+ </body>
18
+ </html>