-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwink.html
18 lines (18 loc) · 975 Bytes
/
wink.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wink Detection</title>
</head>
<body>
<h1>Wink Detection</h1>
<img id="wink-detected" src="wink_detected.jpg" alt="Wink detected" style="display:none;">
<img id="wink-not-detected" src="wink_not_detected.jpg" alt="Wink not detected" style="display:none;">
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf-core.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf-converter.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf-backend-webgl.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/face_landmarks.js"></script>
<script type="module" src="wink.js"></script> <!-- Change this line -->
</body>
</html>