-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwebstorage.html
More file actions
40 lines (36 loc) · 1.5 KB
/
webstorage.html
File metadata and controls
40 lines (36 loc) · 1.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/addons/p5.dom.min.js"></script>
<script src="https://unpkg.com/ml5@0.2.2/dist/ml5.min.js" type="text/javascript"></script>
</head>
<body>
<h1>Real time Object Detection using YOLO and p5.js enabled login. Hold up your login object</h1>
<p id="status">Loading Model...</p>
<a href="webstoragelogin.html">Create your login</a>
<input placeholder="username" type="text" id="username">
<script src="https://www.gstatic.com/firebasejs/5.11.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.11.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.11.0/firebase.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyDVlJiW2vl96a7Vdm6B6jdcYnj2vGs4LOI",
authDomain: "mlsite.firebaseapp.com",
databaseURL: "https://mlsite.firebaseio.com",
projectId: "mlsite",
storageBucket: "mlsite.appspot.com",
messagingSenderId: "246635924738",
appId: "1:246635924738:web:8313aede1503001c"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="ident.js"></script>
</body>
</html>