Skip to content

Commit d11c55d

Browse files
Éamonn ReillyÉamonn Reilly
authored andcommitted
init
1 parent 646525e commit d11c55d

16 files changed

Lines changed: 42824 additions & 54 deletions

‎face-api.js‎

Lines changed: 38172 additions & 0 deletions
Large diffs are not rendered by default.

‎face-api.min.js‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎index.html‎

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<title>Document</title>
8-
<script defer src="face-api.min.js"></script>
9-
<script defer src="script.js"></script>
10-
<style>
11-
body {
12-
margin: 0;
13-
padding: 0;
14-
width: 100vw;
15-
height: 100vh;
16-
display: flex;
17-
justify-content: center;
18-
align-items: center;
19-
}
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
7+
<title>Document</title>
8+
<script defer src="face-api.js"></script>
9+
<script defer src="script.js"></script>
10+
<style>
11+
body {
12+
margin: 0;
13+
padding: 0;
14+
width: 100vw;
15+
height: 100vh;
16+
display: flex;
17+
justify-content: center;
18+
align-items: center;
19+
}
2020

21-
canvas {
22-
position: absolute;
23-
}
24-
</style>
25-
</head>
26-
<body>
27-
<video id="video" width="720" height="560" autoplay muted></video>
28-
</body>
29-
</html>
21+
ul {
22+
position: absolute;
23+
}
24+
25+
canvas {
26+
position: absolute;
27+
}
28+
</style>
29+
</head>
30+
<body>
31+
<ul>
32+
<li id="speed"></li>
33+
<li id="street"></li>
34+
<li id="speedLimit"></li>
35+
</ul>
36+
<video id="video" width="720" height="560" autoplay muted></video>
37+
</body>
38+
</html>

‎models/age_gender_model-shard1‎

420 KB
Binary file not shown.

0 commit comments

Comments
 (0)