-
Notifications
You must be signed in to change notification settings - Fork 0
/
desenho.html
119 lines (104 loc) · 5.33 KB
/
desenho.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<html>
<head>
<link rel="icon" type="image/png" href="images/bunny.png" sizes="32x32">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>HandBunny</title>
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet" />
<!-- Google fonts-->
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300;0,500;0,600;0,700;1,300;1,500;1,600;1,700&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;1,400&display=swap" rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
</head>
<body style="background-color: #efefef;">
<!--Menu-->
<nav class="navbar navbar-expand-lg navbar-light fixed-top shadow-sm" id="mainNav">
<div class="container px-5">
<a class="navbar-brand fw-bold" href="index.html">HandBunny</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="bi-list"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto me-4 my-3 my-lg-0">
<li class="nav-item"><a class="nav-link me-lg-3" href="slide.html">Apresentação Inteligente</a></li>
<li class="nav-item"><a class="nav-link me-lg-3" href="desenho.html">Desenho Inteligente</a></li>
</ul>
<a class="btn btn-primary px-3 mb-2 mb-lg-0" data-bs-toggle="modal" data-bs-target="#feedbackModal" href="https://forms.gle/H8C5GuPQWMAmDzQ56">
<span class="d-flex align-items-center">
<i class="bi-chat-text-fill me-2"></i>
<span class="small">Envie seu Feedback</span>
</span>
</a>
<a class="btn btn-outline-secondary" href="https://github.com/keziacamposcs/HandBunny"> <i class="bi bi-github"></i> GitHub</a>
</div>
</div>
</nav>
<!-- Fim - Menu-->
<header class="masthead">
<div class="container px-5">
<div class="row gx-5 align-items-center">
<!-- Coluna 1 Slide-->
<div class="col-sm-8">
<div class="card">
<h5 class="card-header">Tela de Desenho </h5>
<canvas id="quadro" style="background-color:#f5f5f5;"></canvas>
<br>
<div class="card-body">
<button class="btn btn-secondary">Limpar Tela</button>
</div>
</div>
</div>
<!-- Fim - Coluna 1 Slide-->
<!-- Coluna 2 Cameras-->
<div class="col-sm-4">
<div class="card text-center mb-3">
<h5 class="card-header">WebCam</h5>
<div class="card-body">
<!--Camera webcam-->
<div class="row">
<video class="input_video"style="width: 100%; height: 100%; display:none"></video>
</div>
<!--Fim - Camera webcam-->
<!--Output com sinais-->
<div class="row">
<canvas class="output_canvas" style="display: flex; justify-content: center; align-items: center;"></canvas>
</div>
<!--Fim - Output com sinais-->
</div>
</div>
</div>
<!-- Fim - Coluna 2 Cameras-->
</div>
</div>
</header>
<footer class="bg-primary text-center py-5">
<div class="container px-5">
<div class="text-white-50 small">
<div class="mb-2">© HandBunny 2023. Projeto de TCC - FEMASS Macaé-RJ.</div>
</div>
</div>
<div class="container px-5">
</div>
</footer>
<!-- Javascript-->
<!-- Mediapipe-->
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/camera_utils/camera_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/control_utils/control_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/drawing_utils/drawing_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands.js" crossorigin="anonymous"></script>
<!-- Bootstrap-->
<script src="js/bootstrap.min.js" integrity="sha384-3oE51fG8R+q4yjzUHnlgUvVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7TxaGv6f1" crossorigin="anonymous"></script>
<script src="//mozilla.github.io/pdf.js/build/pdf.js"></script>
<script type="module" src="js/desenho/desenho.js"></script>
</body>
</html>