-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (82 loc) · 4.04 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<html lang=”en”>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="description" content="Captura de selfie">
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="Camera app">
<meta name="apple-mobile-web-app-title" content="Camera app">
<meta itemprop="description" content="Captura de selfie">
<!-- <meta itemprop="image" content="../../../images/webrtc-icon-192x192.png"> -->
<meta itemprop="name" content="Captura de selfie">
<meta name="mobile-web-app-capable" content="yes">
<meta id="theme-color" name="theme-color" content="#ffffff">
<!-- Name of the app -->
<title>Captura de selfie</title>
<!-- Link to site manifest -->
<link rel="manifest" href="site.webmanifest">
<!-- Links to icons -->
<link rel="apple-touch-icon" sizes="180x180" href="public/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="public/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="public/icons/favicon-16x16.png">
<link rel="mask-icon" href="public/icons/safari-pinned-tab.svg" color="#603cba">
<meta name="msapplication-TileColor" content="#603cba">
<meta name="theme-color" content="#ffffff">
<!-- Link to main style sheet -->
<link rel="stylesheet" href="public/css/style.css">
</head>
<body>
<!-- Camera -->
<div id="box-camera">
<!-- Camera sensor -->
<canvas id="camera--canvas"></canvas>
<!-- Camera view -->
<video id="camera--video" autoplay="" playsinline="" muted=""></video>
<!-- Canvas landmarks -->
<canvas id="camera--overlay" ></canvas>
<!-- Camera output -->
<img src="" alt="" id="camera--output" style="display: none;">
<!-- Camera trigger -->
<button id="camera--trigger">Tirar foto</button>
<!-- <svg id="camera--trigger" class="svg-button-camera" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80">
<defs>
<style>
.cls-1 {
fill: #fafafa;
}
</style>
</defs>
<g id="Layer_2" data-name="Layer 2">
<g id="button-camera">
<circle id="inner" class="cls-1" cx="40" cy="40" r="30.2" />
<path id="outer" class="cls-1"
d="M40,0A40,40,0,1,0,80,40,40,40,0,0,0,40,0Zm0,73.75A33.75,33.75,0,1,1,73.75,40,33.75,33.75,0,0,1,40,73.75Z" />
</g>
</g>
</svg> -->
<!-- Loading ... -->
<div id="box--loading" style="display: none;">
<svg id="loading" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
style="margin:auto;background:transparent;display:block;" width="80px" height="80px" viewBox="0 0 100 100"
preserveAspectRatio="xMidYMid">
<circle cx="50" cy="50" fill="none" stroke="#cccccc" stroke-width="10" r="35"
stroke-dasharray="164.93361431346415 56.97787143782138" transform="rotate(304.35 50 50)">
<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s"
values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>
</circle>
</svg>
</div>
</div>
<!-- Reference to your JavaScript file -->
<script src="public/js/jquery-3.5.1.js"></script>
<script src="public/js/face-api.js"></script>
<script src="public/js/plataform.js"></script>
<script src="public/js/adapter-latest.js"></script>
<!-- Firebase -->
<!-- <script src="public/js/firebase-app.js"></script> -->
<!-- <script src="public/js/firebase-analytics.js"></script> -->
<script src="public/js/app.js"></script>
<script src="public/js/config.js"></script>
</body>
</html>