-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (41 loc) · 1.63 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
<html>
<head>
<title>Image recognition</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="//unpkg.com/ml5@0.4.3/dist/ml5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcamjs/1.0.26/webcam.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<center>
<br><br>
<h3 class="btn btn-default heading">Face recognition web app</h3>
<br><br>
<p style="font-size: 22px;">Model is trained to identify the following objects: </p>
<div class="name_of_the_objects">
<h5 id="Father">Uttam</h5>
<hr>
<h5 id="Mother">Shrabonti</h5>
<hr>
<h5 id="Son">Soham</h5>
</div>
<label>Webcam View - </label>
<div id="camera"></div>
<br><br>
<div id="result"></div>
<br><br>
<button class="btn btn-info" onclick="take_snapshot()">Capture Image</button>
<br><br>
<button class="btn-btn success" onclick="check()">Identify Image</button>
<br><br>
<p style="font-size: 22px;">Object :<span id="result_object_name"></span></p>
<p style="font-size: 22px;">Accuracy : <span id="result_object_accuracy"></span></p>
</center>
</div>
<script src="main.js"></script>
</body>
</html>