Add 3 files
Browse files- README.md +7 -5
- index.html +382 -19
- prompts.txt +2 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: landmark
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,382 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Landmark Navigator | University Campus Guide</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Poppins', sans-serif;
|
| 14 |
+
background-color: #f8fafc;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.hero-gradient {
|
| 18 |
+
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.landmark-card:hover {
|
| 22 |
+
transform: translateY(-5px);
|
| 23 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.map-container {
|
| 27 |
+
height: 500px;
|
| 28 |
+
border-radius: 1rem;
|
| 29 |
+
overflow: hidden;
|
| 30 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.pulse-animation {
|
| 34 |
+
animation: pulse 2s infinite;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
@keyframes pulse {
|
| 38 |
+
0% {
|
| 39 |
+
transform: scale(1);
|
| 40 |
+
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
|
| 41 |
+
}
|
| 42 |
+
70% {
|
| 43 |
+
transform: scale(1.05);
|
| 44 |
+
box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
|
| 45 |
+
}
|
| 46 |
+
100% {
|
| 47 |
+
transform: scale(1);
|
| 48 |
+
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.upload-area {
|
| 53 |
+
border: 2px dashed #cbd5e1;
|
| 54 |
+
transition: all 0.3s ease;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.upload-area:hover {
|
| 58 |
+
border-color: #818cf8;
|
| 59 |
+
background-color: #f8fafc;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.tech-icon {
|
| 63 |
+
transition: all 0.3s ease;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.tech-icon:hover {
|
| 67 |
+
transform: scale(1.1);
|
| 68 |
+
}
|
| 69 |
+
</style>
|
| 70 |
+
</head>
|
| 71 |
+
<body>
|
| 72 |
+
<!-- Navigation -->
|
| 73 |
+
<nav class="bg-white shadow-lg">
|
| 74 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 75 |
+
<div class="flex justify-between h-16">
|
| 76 |
+
<div class="flex items-center">
|
| 77 |
+
<div class="flex-shrink-0 flex items-center">
|
| 78 |
+
<i class="fas fa-landmark text-indigo-600 text-2xl mr-2"></i>
|
| 79 |
+
<span class="text-xl font-bold text-gray-900">Landmark Navigator</span>
|
| 80 |
+
</div>
|
| 81 |
+
</div>
|
| 82 |
+
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
|
| 83 |
+
<a href="#features" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Features</a>
|
| 84 |
+
<a href="#how-it-works" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">How It Works</a>
|
| 85 |
+
<a href="#demo" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Try Demo</a>
|
| 86 |
+
<a href="#tech" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Technology</a>
|
| 87 |
+
<a href="#contact" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Contact</a>
|
| 88 |
+
</div>
|
| 89 |
+
<div class="-mr-2 flex items-center md:hidden">
|
| 90 |
+
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false" id="mobile-menu-button">
|
| 91 |
+
<span class="sr-only">Open main menu</span>
|
| 92 |
+
<i class="fas fa-bars"></i>
|
| 93 |
+
</button>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
|
| 98 |
+
<!-- Mobile menu -->
|
| 99 |
+
<div class="hidden md:hidden" id="mobile-menu">
|
| 100 |
+
<div class="pt-2 pb-3 space-y-1">
|
| 101 |
+
<a href="#features" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Features</a>
|
| 102 |
+
<a href="#how-it-works" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">How It Works</a>
|
| 103 |
+
<a href="#demo" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Try Demo</a>
|
| 104 |
+
<a href="#tech" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Technology</a>
|
| 105 |
+
<a href="#contact" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Contact</a>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
</nav>
|
| 109 |
+
|
| 110 |
+
<!-- Hero Section -->
|
| 111 |
+
<div class="hero-gradient">
|
| 112 |
+
<div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
|
| 113 |
+
<div class="text-center">
|
| 114 |
+
<h1 class="text-4xl font-extrabold tracking-tight text-white sm:text-5xl lg:text-6xl">
|
| 115 |
+
Discover Your Campus Landmarks
|
| 116 |
+
</h1>
|
| 117 |
+
<p class="mt-6 max-w-3xl mx-auto text-xl text-indigo-100">
|
| 118 |
+
Landmark Navigator uses advanced image classification to help students and visitors explore university landmarks with ease.
|
| 119 |
+
</p>
|
| 120 |
+
<div class="mt-10">
|
| 121 |
+
<a href="#demo" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-white hover:bg-indigo-50 pulse-animation">
|
| 122 |
+
Try Live Demo
|
| 123 |
+
<i class="fas fa-arrow-down ml-2"></i>
|
| 124 |
+
</a>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<!-- Features Section -->
|
| 131 |
+
<div class="py-12 bg-white" id="features">
|
| 132 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 133 |
+
<div class="lg:text-center">
|
| 134 |
+
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Features</h2>
|
| 135 |
+
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
|
| 136 |
+
Explore Campus Like Never Before
|
| 137 |
+
</p>
|
| 138 |
+
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
|
| 139 |
+
Landmark Navigator transforms how you experience university landmarks with these powerful features.
|
| 140 |
+
</p>
|
| 141 |
+
</div>
|
| 142 |
+
|
| 143 |
+
<div class="mt-10">
|
| 144 |
+
<div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3">
|
| 145 |
+
<!-- Feature 1 -->
|
| 146 |
+
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
|
| 147 |
+
<div class="p-6">
|
| 148 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
|
| 149 |
+
<i class="fas fa-map-marked-alt text-xl"></i>
|
| 150 |
+
</div>
|
| 151 |
+
<h3 class="text-lg font-medium text-gray-900">Interactive Campus Map</h3>
|
| 152 |
+
<p class="mt-2 text-base text-gray-500">
|
| 153 |
+
Visualize all landmarks on an interactive map with detailed information about each location.
|
| 154 |
+
</p>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
|
| 158 |
+
<!-- Feature 2 -->
|
| 159 |
+
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
|
| 160 |
+
<div class="p-6">
|
| 161 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
|
| 162 |
+
<i class="fas fa-camera-retro text-xl"></i>
|
| 163 |
+
</div>
|
| 164 |
+
<h3 class="text-lg font-medium text-gray-900">Image Recognition</h3>
|
| 165 |
+
<p class="mt-2 text-base text-gray-500">
|
| 166 |
+
Snap a photo of any landmark and instantly get information about its history and significance.
|
| 167 |
+
</p>
|
| 168 |
+
</div>
|
| 169 |
+
</div>
|
| 170 |
+
|
| 171 |
+
<!-- Feature 3 -->
|
| 172 |
+
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
|
| 173 |
+
<div class="p-6">
|
| 174 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
|
| 175 |
+
<i class="fas fa-route text-xl"></i>
|
| 176 |
+
</div>
|
| 177 |
+
<h3 class="text-lg font-medium text-gray-900">Guided Tours</h3>
|
| 178 |
+
<p class="mt-2 text-base text-gray-500">
|
| 179 |
+
Choose from pre-planned tours or create your own custom route through campus landmarks.
|
| 180 |
+
</p>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<!-- Feature 4 -->
|
| 185 |
+
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
|
| 186 |
+
<div class="p-6">
|
| 187 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
|
| 188 |
+
<i class="fas fa-history text-xl"></i>
|
| 189 |
+
</div>
|
| 190 |
+
<h3 class="text-lg font-medium text-gray-900">Historical Context</h3>
|
| 191 |
+
<p class="mt-2 text-base text-gray-500">
|
| 192 |
+
Learn about the history and significance of each landmark with rich multimedia content.
|
| 193 |
+
</p>
|
| 194 |
+
</div>
|
| 195 |
+
</div>
|
| 196 |
+
|
| 197 |
+
<!-- Feature 5 -->
|
| 198 |
+
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
|
| 199 |
+
<div class="p-6">
|
| 200 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
|
| 201 |
+
<i class="fas fa-language text-xl"></i>
|
| 202 |
+
</div>
|
| 203 |
+
<h3 class="text-lg font-medium text-gray-900">Multilingual Support</h3>
|
| 204 |
+
<p class="mt-2 text-base text-gray-500">
|
| 205 |
+
Access landmark information in multiple languages to accommodate international visitors.
|
| 206 |
+
</p>
|
| 207 |
+
</div>
|
| 208 |
+
</div>
|
| 209 |
+
|
| 210 |
+
<!-- Feature 6 -->
|
| 211 |
+
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
|
| 212 |
+
<div class="p-6">
|
| 213 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
|
| 214 |
+
<i class="fas fa-bullhorn text-xl"></i>
|
| 215 |
+
</div>
|
| 216 |
+
<h3 class="text-lg font-medium text-gray-900">Event Integration</h3>
|
| 217 |
+
<p class="mt-2 text-base text-gray-500">
|
| 218 |
+
Discover events happening near landmarks and get notifications about special campus activities.
|
| 219 |
+
</p>
|
| 220 |
+
</div>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<!-- How It Works Section -->
|
| 228 |
+
<div class="py-12 bg-gray-50" id="how-it-works">
|
| 229 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 230 |
+
<div class="lg:text-center">
|
| 231 |
+
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Scenarios</h2>
|
| 232 |
+
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
|
| 233 |
+
How Landmark Navigator Helps
|
| 234 |
+
</p>
|
| 235 |
+
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
|
| 236 |
+
Explore real-world scenarios where Landmark Navigator enhances the campus experience.
|
| 237 |
+
</p>
|
| 238 |
+
</div>
|
| 239 |
+
|
| 240 |
+
<div class="mt-10">
|
| 241 |
+
<div class="grid grid-cols-1 gap-10 md:grid-cols-3">
|
| 242 |
+
<!-- Scenario 1 -->
|
| 243 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
| 244 |
+
<div class="flex items-center mb-4">
|
| 245 |
+
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
|
| 246 |
+
<i class="fas fa-user-graduate text-white text-xl"></i>
|
| 247 |
+
</div>
|
| 248 |
+
<h3 class="ml-3 text-lg font-medium text-gray-900">New Student Orientation</h3>
|
| 249 |
+
</div>
|
| 250 |
+
<p class="mt-2 text-gray-600">
|
| 251 |
+
New students can quickly familiarize themselves with campus landmarks, reducing the stress of navigating a new environment. The app helps them locate important buildings and points of interest.
|
| 252 |
+
</p>
|
| 253 |
+
</div>
|
| 254 |
+
|
| 255 |
+
<!-- Scenario 2 -->
|
| 256 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
| 257 |
+
<div class="flex items-center mb-4">
|
| 258 |
+
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
|
| 259 |
+
<i class="fas fa-users text-white text-xl"></i>
|
| 260 |
+
</div>
|
| 261 |
+
<h3 class="ml-3 text-lg font-medium text-gray-900">Campus Tours</h3>
|
| 262 |
+
</div>
|
| 263 |
+
<p class="mt-2 text-gray-600">
|
| 264 |
+
Tour guides can provide richer experiences by instantly accessing detailed information about each landmark. Prospective students get a comprehensive view of campus life and history.
|
| 265 |
+
</p>
|
| 266 |
+
</div>
|
| 267 |
+
|
| 268 |
+
<!-- Scenario 3 -->
|
| 269 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
| 270 |
+
<div class="flex items-center mb-4">
|
| 271 |
+
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
|
| 272 |
+
<i class="fas fa-map-signs text-white text-xl"></i>
|
| 273 |
+
</div>
|
| 274 |
+
<h3 class="ml-3 text-lg font-medium text-gray-900">Self-Guided Exploration</h3>
|
| 275 |
+
</div>
|
| 276 |
+
<p class="mt-2 text-gray-600">
|
| 277 |
+
Visitors can explore at their own pace with detailed information available for each landmark they encounter. The app provides context and stories that bring the campus to life.
|
| 278 |
+
</p>
|
| 279 |
+
</div>
|
| 280 |
+
</div>
|
| 281 |
+
</div>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
| 284 |
+
|
| 285 |
+
<!-- Demo Section -->
|
| 286 |
+
<div class="py-12 bg-white" id="demo">
|
| 287 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 288 |
+
<div class="lg:text-center mb-12">
|
| 289 |
+
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Try It Out</h2>
|
| 290 |
+
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
|
| 291 |
+
Experience Landmark Navigator
|
| 292 |
+
</p>
|
| 293 |
+
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
|
| 294 |
+
Upload an image of a campus landmark to see how our classification works.
|
| 295 |
+
</p>
|
| 296 |
+
</div>
|
| 297 |
+
|
| 298 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
| 299 |
+
<!-- Image Upload -->
|
| 300 |
+
<div class="bg-gray-50 p-6 rounded-lg">
|
| 301 |
+
<form id="upload-form" action="/predict" method="POST" enctype="multipart/form-data">
|
| 302 |
+
<div class="upload-area border-dashed rounded-lg p-8 text-center cursor-pointer" id="upload-container">
|
| 303 |
+
<i class="fas fa-cloud-upload-alt text-4xl text-gray-400 mb-4"></i>
|
| 304 |
+
<h3 class="text-lg font-medium text-gray-700">Upload Landmark Image</h3>
|
| 305 |
+
<p class="mt-1 text-sm text-gray-500">Drag & drop your image here, or click to browse</p>
|
| 306 |
+
<input type="file" id="file-input" name="image" class="hidden" accept="image/*" required>
|
| 307 |
+
</div>
|
| 308 |
+
<div class="mt-4">
|
| 309 |
+
<button type="submit" id="classify-btn" class="w-full bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-2 px-4 rounded-md flex items-center justify-center disabled:opacity-50" disabled>
|
| 310 |
+
<i class="fas fa-search mr-2"></i> Classify Landmark
|
| 311 |
+
</button>
|
| 312 |
+
</div>
|
| 313 |
+
</form>
|
| 314 |
+
</div>
|
| 315 |
+
|
| 316 |
+
<!-- Results Display -->
|
| 317 |
+
<div class="bg-gray-50 p-6 rounded-lg">
|
| 318 |
+
<h3 class="text-lg font-medium text-gray-900 mb-4">Classification Results</h3>
|
| 319 |
+
<div id="preview-container" class="mb-4 hidden">
|
| 320 |
+
<img id="preview-image" src="#" alt="Preview" class="w-full h-48 object-cover rounded-md">
|
| 321 |
+
</div>
|
| 322 |
+
<div id="results-container" class="hidden">
|
| 323 |
+
<div class="bg-white p-4 rounded-md shadow-sm">
|
| 324 |
+
<div class="flex items-center">
|
| 325 |
+
<div class="flex-shrink-0 bg-indigo-100 rounded-full p-3">
|
| 326 |
+
<i class="fas fa-landmark text-indigo-600"></i>
|
| 327 |
+
</div>
|
| 328 |
+
<div class="ml-4">
|
| 329 |
+
<h4 class="text-lg font-medium text-gray-900" id="landmark-name">Main Administration Building</h4>
|
| 330 |
+
<p class="text-gray-500" id="confidence-level">98% confidence</p>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
+
<div class="mt-4">
|
| 334 |
+
<p class="text-gray-700" id="landmark-description">
|
| 335 |
+
The Main Administration Building, constructed in 1927, is the oldest building on campus. It features neoclassical architecture and houses the university president's office.
|
| 336 |
+
</p>
|
| 337 |
+
</div>
|
| 338 |
+
<div class="mt-4">
|
| 339 |
+
<div class="flex items-center text-sm text-gray-500">
|
| 340 |
+
<i class="fas fa-map-marker-alt mr-1"></i>
|
| 341 |
+
<span id="landmark-location">Central Quad, near the fountain</span>
|
| 342 |
+
</div>
|
| 343 |
+
</div>
|
| 344 |
+
</div>
|
| 345 |
+
</div>
|
| 346 |
+
<div id="placeholder" class="text-center py-12">
|
| 347 |
+
<i class="fas fa-landmark text-4xl text-gray-300 mb-4"></i>
|
| 348 |
+
<p class="text-gray-500">Upload an image to see classification results</p>
|
| 349 |
+
</div>
|
| 350 |
+
</div>
|
| 351 |
+
</div>
|
| 352 |
+
|
| 353 |
+
<!-- Interactive Map -->
|
| 354 |
+
<div class="mt-12">
|
| 355 |
+
<h3 class="text-lg font-medium text-gray-900 mb-4 text-center">Campus Landmarks Map</h3>
|
| 356 |
+
<div class="map-container bg-gray-200 relative">
|
| 357 |
+
<!-- This would be replaced with an actual map implementation in a real app -->
|
| 358 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 359 |
+
<div class="text-center">
|
| 360 |
+
<i class="fas fa-map-marked-alt text-5xl text-gray-400 mb-4"></i>
|
| 361 |
+
<p class="text-gray-600">Interactive campus map would appear here</p>
|
| 362 |
+
<p class="text-gray-500 text-sm mt-2">Showing all classified landmarks with navigation routes</p>
|
| 363 |
+
</div>
|
| 364 |
+
</div>
|
| 365 |
+
|
| 366 |
+
<!-- Simulated landmarks on the map -->
|
| 367 |
+
<div class="absolute top-1/4 left-1/4 w-4 h-4 bg-red-500 rounded-full animate-pulse" data-landmark="library" title="University Library"></div>
|
| 368 |
+
<div class="absolute top-1/3 right-1/3 w-4 h-4 bg-blue-500 rounded-full animate-pulse" data-landmark="admin" title="Admin Building"></div>
|
| 369 |
+
<div class="absolute bottom-1/4 left-1/2 w-4 h-4 bg-green-500 rounded-full animate-pulse" data-landmark="fountain" title="Central Fountain"></div>
|
| 370 |
+
<div class="absolute top-1/2 right-1/4 w-4 h-4 bg-yellow-500 rounded-full animate-pulse" data-landmark="auditorium" title="Great Auditorium"></div>
|
| 371 |
+
</div>
|
| 372 |
+
</div>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
|
| 376 |
+
<!-- Technology Stack Section -->
|
| 377 |
+
<div class="py-12 bg-gray-50" id="tech">
|
| 378 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 379 |
+
<div class="lg:text-center mb-12">
|
| 380 |
+
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Technology</h2>
|
| 381 |
+
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text
|
| 382 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Open anaconda prompt as administrator Type “pip install numpy” and click enter. Type “pip install pandas” and click enter.. Type “pip install tensorflow==2.14.0” and click enter. Type “pip install keras==2.14.0” and click enter. Type “pip install Flask” and click enter.Landmark Navigator: Tourist landmarks situated within a University campus Images Classification Project Description: Landmark Navigator is an innovative project designed to classify tourist landmarks situated within a university campus using image classification techniques. By leveraging machine learning algorithms, Landmark Navigator aims to provide visitors and students with an efficient and interactive way to explore and identify significant landmarks on the campus. Scenario 1: Campus Orientation for New Students New students are exploring the university campus for the first time and want to familiarize themselves with notable landmarks. They use the Landmark Navigator app, which utilizes image classification to identify and label various landmarks such as iconic buildings, statues, or scenic spots on the campus map. This helps new students navigate the campus more effectively and facilitates their integration into university life. Scenario 2: Campus Tours for Prospective Students Prospective students and their families are taking a guided tour of the university campus to learn more about its facilities and attractions. The tour guide uses the Landmark Navigator app to showcase key landmarks and provide interesting information about each location. As they approach different landmarks, the app automatically identifies and displays relevant details, enhancing the tour experience and helping prospective students envision themselves as part of the campus community. Scenario 3: Self-Guided Tours for Visitors Visitors to the university campus want to explore its landmarks at their own pace without a tour guide. They use the Landmark Navigator app to access a self-guided tour feature, which provides an interactive map displaying various landmarks along with descriptions and historical background. As visitors navigate through the campus, the app automatically identifies and provides information about each landmark they encounter, enriching their tour experience and promoting engagement with the campus environment. Technical Architecture:
|
| 2 |
+
from flask import Flask, render_template, request import tensorflow._api.v2 as tf from keras.models import load_model from keras.preprocessing.image import load_img, img_to_array import numpy as np app = Flask(__name__) model = load_model('model_cnn (2).h5') labels = ['Chancellor Hall', 'Chancellor Tower', 'Clock Tower', 'Colorfull Stairway', 'DKP Baru', 'Library', 'Recital Hall', 'UMS Aquarium', 'UMS Mosque'] def get_model_prediction(image_path): img = load_img(image_path, target_size=(255, 255)) x = img_to_array(img) x = np.expand_dims(x, axis=0) predictions = model.predict(x, verbose=0) return labels[predictions.argmax()] @app.route('/') def Home(): return render_template("home.html") @app.route('/predict_page') def predict(): return render_template("predict.html") @app.route('/predict', methods=['POST']) def prediction(): img = request.files img_path = "static/assets/uploads/" + img.filename img.save(img_path) p = get_model_prediction(img_path) return render_template("predictionpage.html", img_path=img_path, prediction=p) if __name__ == '__main__': app.run(debug=True)
|