-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (116 loc) · 5.08 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<title>Gun Detection Locations</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fo mily=Lato">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif}
.w3-bar,h1,button {font-family: "Montserrat", sans-serif}
.fa-anchor,.fa-coffee {font-size:200px}
#map {
height: 500px;
width: 100%;
}
#title {
Color: Blue;
}
</style>
<body>
<!-- Navbar -->
<div class="w3-top">
<div class="w3-bar w3-red w3-card w3-left-align w3-large">
<a class="w3-bar-item w3-button w3-hide-medium w3-hide-large w3-right w3-padding-large w3-hover-white w3-large w3-red" href="javascript:void(0);" onclick="myFunction()" title="Toggle Navigation Menu"><i class="fa fa-bars"></i></a>
<a href="#" class="w3-bar-item w3-button w3-padding-large w3-white">Home</a>
<a href="#" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">About</a>
</div>
<!-- Navbar on small screens -->
<div id="navDemo" class="w3-bar-block w3-white w3-hide w3-hide-large w3-hide-medium w3-large">
<a href="#" class="w3-bar-item w3-button w3-padding-large">About</a>
</div>
</div>
<!-- Header -->
<header class="w3-container w3-red w3-center" style="padding:128px 16px">
<h1 class="w3-margin w3-jumbo">Argus</h1>
<p class="w3-xlarge">A novel deep learning neural network placed in school security cameras to detect guns, alerting authorities and the community.</p>
<h5>Each marker below pinpoints a location where an advanced weapon has been detected</h5>
</header>
<div id="map"></div>
<script>
function initMap() {
var location = {lat: 37.494929, lng: -122.019418};
var map = new google.maps.Map(
document.getElementById('map'), {zoom: 9, center: location});
var marker = new google.maps.Marker({
position:{lat: 37.7749, lng: -122.4194},
map:map
// icon: 'https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png'
});
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCgQih7zeleFUSCDEOZcoBmUAGcbVb9Zv0&callback=initMap">
</script>
<!-- First Grid -->
<div class="w3-row-padding w3-padding-64 w3-container">
<div class="w3-content">
<div class="w3-twothird">
<h5 class="w3-padding-32">Our product utilizes real-time neural networks to create a responsive school security system that offers threat detection and flexibility in an emergency. A unique aspect of our product is our community alert system, which posts the location of the latest shooting on this interactive website to promote community safety. </h5>
<p class="w3-text-grey">This project is still in progress.</p>
</div>
<div class="w3-third w3-center">
</div>
</div>
</div>
<!-- Second Grid -->
<div class="w3-container w3-black w3-center w3-opacity w3-padding-64">
<h1 class="w3-margin w3-xlarge">By Aayush Bandopadhyay, Ankit Lakkapragada, Siddharth Bawankule, Soma Tummala</h1>
</div>
<!-- Footer -->
<footer class="w3-container w3-padding-64 w3-center w3-opacity">
<p>Powered by <a>TensorFlow, Firebase, Python, Google Maps API, JS, CSS, HTML5 </a></p>
</footer>
<script>
// Used to toggle the menu on small screens when clicking on the menu button
function myFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyCiz2IUpuVqPo7M45ayzsOucu7Ftzeughw",
authDomain: "dvhacks-9ace0.firebaseapp.com",
databaseURL: "https://dvhacks-9ace0.firebaseio.com",
projectId: "dvhacks-9ace0",
storageBucket: "dvhacks-9ace0.appspot.com",
messagingSenderId: "403365043007",
appId: "1:403365043007:web:8c0b55eb63ac47a4aa518a",
measurementId: "G-K1K9WRSJ71"
};
// var firebase = require('firebase/database');
// // Initialize Firebase
// firebase.initializeApp(firebaseConfig);
// firebase.analytics();
// var database = firebase.database();
// var ref = database.ref('number');
var data = {
number: 12
}
// ref.push(data);
</script>
</body>
</html>