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| 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>About - Brain Tumor Detection</title>
|
| 7 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
:root {
|
| 11 |
+
--primary: #1976d2;
|
| 12 |
+
--primary-light: #e3f2fd;
|
| 13 |
+
--primary-dark: #0d47a1;
|
| 14 |
+
--secondary: #00796b;
|
| 15 |
+
--danger: #d32f2f;
|
| 16 |
+
--success: #2e7d32;
|
| 17 |
+
--warning: #ff9800;
|
| 18 |
+
--neutral: #eceff1;
|
| 19 |
+
--text-dark: #263238;
|
| 20 |
+
--text-light: #78909c;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
body {
|
| 24 |
+
font-family: 'Roboto', 'Segoe UI', sans-serif;
|
| 25 |
+
background-color: #f5f7fa;
|
| 26 |
+
color: var(--text-dark);
|
| 27 |
+
line-height: 1.6;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.container {
|
| 31 |
+
max-width: 800px;
|
| 32 |
+
margin: 30px auto;
|
| 33 |
+
background-color: white;
|
| 34 |
+
padding: 0;
|
| 35 |
+
border-radius: 15px;
|
| 36 |
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
| 37 |
+
overflow: hidden;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.app-header {
|
| 41 |
+
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
|
| 42 |
+
color: white;
|
| 43 |
+
padding: 20px 0;
|
| 44 |
+
text-align: center;
|
| 45 |
+
margin-bottom: 0;
|
| 46 |
+
position: relative;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.app-header:after {
|
| 50 |
+
content: "";
|
| 51 |
+
position: absolute;
|
| 52 |
+
bottom: 0;
|
| 53 |
+
left: 0;
|
| 54 |
+
width: 100%;
|
| 55 |
+
height: 30px;
|
| 56 |
+
background: white;
|
| 57 |
+
border-radius: 50% 50% 0 0 / 100% 100% 0 0;
|
| 58 |
+
transform: translateY(50%);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.app-header h1 {
|
| 62 |
+
font-weight: 700;
|
| 63 |
+
margin-bottom: 10px;
|
| 64 |
+
font-size: 2.2rem;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.app-header p {
|
| 68 |
+
opacity: 0.9;
|
| 69 |
+
font-size: 1.1rem;
|
| 70 |
+
max-width: 500px;
|
| 71 |
+
margin: 0 auto;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.nav-links {
|
| 75 |
+
padding: 8px 0;
|
| 76 |
+
background-color: rgba(255, 255, 255, 0.1);
|
| 77 |
+
border-radius: 40px;
|
| 78 |
+
display: inline-block;
|
| 79 |
+
margin-top: 12px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.nav-link {
|
| 83 |
+
color: white;
|
| 84 |
+
text-decoration: none;
|
| 85 |
+
margin: 0 12px;
|
| 86 |
+
padding: 6px 12px;
|
| 87 |
+
border-radius: 15px;
|
| 88 |
+
transition: all 0.3s;
|
| 89 |
+
font-weight: 500;
|
| 90 |
+
display: inline-block;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.nav-link:hover, .nav-link.active {
|
| 94 |
+
background-color: rgba(255, 255, 255, 0.2);
|
| 95 |
+
color: white;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.content-wrapper {
|
| 99 |
+
padding: 30px;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.section {
|
| 103 |
+
margin-bottom: 30px;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.section h2 {
|
| 107 |
+
color: var(--primary);
|
| 108 |
+
margin-bottom: 20px;
|
| 109 |
+
font-weight: 600;
|
| 110 |
+
position: relative;
|
| 111 |
+
padding-bottom: 10px;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.section h2:after {
|
| 115 |
+
content: "";
|
| 116 |
+
display: block;
|
| 117 |
+
width: 80px;
|
| 118 |
+
height: 3px;
|
| 119 |
+
background: var(--primary);
|
| 120 |
+
margin-top: 8px;
|
| 121 |
+
border-radius: 2px;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.tumor-type {
|
| 125 |
+
background-color: white;
|
| 126 |
+
border-radius: 12px;
|
| 127 |
+
padding: 20px;
|
| 128 |
+
margin-bottom: 20px;
|
| 129 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
| 130 |
+
border-top: 4px solid var(--primary);
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
.tumor-type h3 {
|
| 134 |
+
font-weight: 700;
|
| 135 |
+
font-size: 1.3rem;
|
| 136 |
+
margin-bottom: 15px;
|
| 137 |
+
color: var(--text-dark);
|
| 138 |
+
display: flex;
|
| 139 |
+
align-items: center;
|
| 140 |
+
gap: 8px;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
.tumor-icon {
|
| 144 |
+
width: 35px;
|
| 145 |
+
height: 35px;
|
| 146 |
+
border-radius: 50%;
|
| 147 |
+
display: flex;
|
| 148 |
+
align-items: center;
|
| 149 |
+
justify-content: center;
|
| 150 |
+
color: white;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.model-info {
|
| 154 |
+
background-color: var(--primary-light);
|
| 155 |
+
border-left: 3px solid var(--primary);
|
| 156 |
+
padding: 15px;
|
| 157 |
+
margin-top: 15px;
|
| 158 |
+
border-radius: 0 8px 8px 0;
|
| 159 |
+
position: relative;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
.model-info:before {
|
| 163 |
+
content: '\f05a';
|
| 164 |
+
font-family: 'Font Awesome 6 Free';
|
| 165 |
+
font-weight: 900;
|
| 166 |
+
position: absolute;
|
| 167 |
+
left: -10px;
|
| 168 |
+
top: 15px;
|
| 169 |
+
background: var(--primary);
|
| 170 |
+
color: white;
|
| 171 |
+
width: 20px;
|
| 172 |
+
height: 20px;
|
| 173 |
+
border-radius: 50%;
|
| 174 |
+
display: flex;
|
| 175 |
+
align-items: center;
|
| 176 |
+
justify-content: center;
|
| 177 |
+
font-size: 10px;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
.disclaimer {
|
| 181 |
+
background-color: #fff8e1;
|
| 182 |
+
border-left: 3px solid var(--warning);
|
| 183 |
+
padding: 15px;
|
| 184 |
+
margin-top: 15px;
|
| 185 |
+
border-radius: 0 8px 8px 0;
|
| 186 |
+
position: relative;
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
.disclaimer:before {
|
| 190 |
+
content: '\f071';
|
| 191 |
+
font-family: 'Font Awesome 6 Free';
|
| 192 |
+
font-weight: 900;
|
| 193 |
+
position: absolute;
|
| 194 |
+
left: -10px;
|
| 195 |
+
top: 15px;
|
| 196 |
+
background: var(--warning);
|
| 197 |
+
color: white;
|
| 198 |
+
width: 20px;
|
| 199 |
+
height: 20px;
|
| 200 |
+
border-radius: 50%;
|
| 201 |
+
display: flex;
|
| 202 |
+
align-items: center;
|
| 203 |
+
justify-content: center;
|
| 204 |
+
font-size: 10px;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.footer {
|
| 208 |
+
text-align: center;
|
| 209 |
+
margin-top: 40px;
|
| 210 |
+
padding: 15px 0;
|
| 211 |
+
color: var(--text-light);
|
| 212 |
+
font-size: 0.9rem;
|
| 213 |
+
border-top: 1px solid #e0e0e0;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
@media (max-width: 767px) {
|
| 217 |
+
.content-wrapper {
|
| 218 |
+
padding: 15px;
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
.app-header h1 {
|
| 222 |
+
font-size: 1.8rem;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.app-header p {
|
| 226 |
+
font-size: 0.9rem;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.nav-link {
|
| 230 |
+
margin: 0 5px;
|
| 231 |
+
padding: 5px 10px;
|
| 232 |
+
}
|
| 233 |
+
}
|
| 234 |
+
</style>
|
| 235 |
+
</head>
|
| 236 |
+
<body>
|
| 237 |
+
<div class="container">
|
| 238 |
+
<div class="app-header">
|
| 239 |
+
<h1><i class="fas fa-brain"></i> Brain Tumor MRI Detection</h1>
|
| 240 |
+
<p>Understanding the technology and medical background</p>
|
| 241 |
+
<div class="nav-links">
|
| 242 |
+
<a href="/" class="nav-link"><i class="fas fa-home"></i> Home</a>
|
| 243 |
+
<a href="/about" class="nav-link active"><i class="fas fa-info-circle"></i> About</a>
|
| 244 |
+
</div>
|
| 245 |
+
</div>
|
| 246 |
+
|
| 247 |
+
<div class="content-wrapper">
|
| 248 |
+
<div class="section">
|
| 249 |
+
<h2>How It Works</h2>
|
| 250 |
+
<p>This application uses a deep learning model based on the Xception architecture to analyze brain MRI scans and detect different types of brain tumors. The model was trained on a dataset of thousands of MRI images and can identify four different categories:</p>
|
| 251 |
+
<ul>
|
| 252 |
+
<li><strong>Glioma tumors</strong> - starting in glial cells</li>
|
| 253 |
+
<li><strong>Meningioma tumors</strong> - arising from the meninges</li>
|
| 254 |
+
<li><strong>Pituitary tumors</strong> - developing in the pituitary gland</li>
|
| 255 |
+
<li><strong>No tumor</strong> - normal brain tissue</li>
|
| 256 |
+
</ul>
|
| 257 |
+
<p>When you upload an MRI scan, the system processes the image, normalizes it, and feeds it through the neural network to generate predictions. The results show the most likely diagnosis along with confidence scores for each category.</p>
|
| 258 |
+
|
| 259 |
+
<div class="model-info">
|
| 260 |
+
<p><strong>Technical Details:</strong></p>
|
| 261 |
+
<ul>
|
| 262 |
+
<li>Base Architecture: Xception (pretrained on ImageNet)</li>
|
| 263 |
+
<li>Input Size: 299x299 pixels</li>
|
| 264 |
+
<li>Fine-tuned on Brain Tumor MRI Dataset</li>
|
| 265 |
+
<li>Classification Categories: 4</li>
|
| 266 |
+
</ul>
|
| 267 |
+
</div>
|
| 268 |
+
</div>
|
| 269 |
+
|
| 270 |
+
<div class="section">
|
| 271 |
+
<h2>About Brain Tumors</h2>
|
| 272 |
+
<p>Brain tumors are abnormal growths of cells in the brain. They can be benign (non-cancerous) or malignant (cancerous). Early detection is crucial for effective treatment. Here are the types of tumors this application can detect:</p>
|
| 273 |
+
|
| 274 |
+
<div class="tumor-type">
|
| 275 |
+
<h3>
|
| 276 |
+
<div class="tumor-icon" style="background-color: var(--danger);">
|
| 277 |
+
<i class="fas fa-cells"></i>
|
| 278 |
+
</div>
|
| 279 |
+
Glioma
|
| 280 |
+
</h3>
|
| 281 |
+
<p>Gliomas are tumors that occur in the brain and spinal cord. They begin in the glial cells that surround and support nerve cells. Gliomas can be low-grade (slow growing) or high-grade (fast growing). They represent about 33% of all brain tumors and 80% of all malignant brain tumors.</p>
|
| 282 |
+
<p><strong>Symptoms:</strong> Headaches, nausea, vomiting, seizures, neurological deficits, and behavioral changes.</p>
|
| 283 |
+
</div>
|
| 284 |
+
|
| 285 |
+
<div class="tumor-type">
|
| 286 |
+
<h3>
|
| 287 |
+
<div class="tumor-icon" style="background-color: var(--warning);">
|
| 288 |
+
<i class="fas fa-brain"></i>
|
| 289 |
+
</div>
|
| 290 |
+
Meningioma
|
| 291 |
+
</h3>
|
| 292 |
+
<p>Meningiomas arise from the meninges — the membranes that surround the brain and spinal cord. Most meningiomas are benign, slow-growing tumors. They account for about 37% of all primary brain tumors and are most common in women.</p>
|
| 293 |
+
<p><strong>Symptoms:</strong> Headaches, vision problems, hearing loss, memory loss, seizures, and weakness in extremities.</p>
|
| 294 |
+
</div>
|
| 295 |
+
|
| 296 |
+
<div class="tumor-type">
|
| 297 |
+
<h3>
|
| 298 |
+
<div class="tumor-icon" style="background-color: var(--primary);">
|
| 299 |
+
<i class="fas fa-syringe"></i>
|
| 300 |
+
</div>
|
| 301 |
+
Pituitary Tumor
|
| 302 |
+
</h3>
|
| 303 |
+
<p>Pituitary tumors develop in the pituitary gland at the base of the brain. They can affect hormone production and cause various endocrine disorders. Most pituitary tumors are adenomas (benign). They account for about 10-15% of all brain tumors.</p>
|
| 304 |
+
<p><strong>Symptoms:</strong> Headaches, vision problems, hormone imbalances, fatigue, changes in menstruation, reduced fertility, and weight gain.</p>
|
| 305 |
+
</div>
|
| 306 |
+
</div>
|
| 307 |
+
|
| 308 |
+
<div class="section">
|
| 309 |
+
<h2>Important Disclaimer</h2>
|
| 310 |
+
<div class="disclaimer">
|
| 311 |
+
<p>This application is intended for educational and research purposes only. It should not replace professional medical diagnosis or advice. Always consult with a qualified healthcare provider for proper diagnosis and treatment of medical conditions.</p>
|
| 312 |
+
<p>The model's predictions are based on training data and may not be 100% accurate for all cases. False positives and false negatives are possible.</p>
|
| 313 |
+
</div>
|
| 314 |
+
</div>
|
| 315 |
+
|
| 316 |
+
<div class="footer">
|
| 317 |
+
<p><i class="fas fa-heartbeat"></i> © 2025 Brain Tumor Detection | Powered by TensorFlow and Flask</p>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
</div>
|
| 321 |
+
</body>
|
| 322 |
+
</html>
|
templates/error.html
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
<!-- templates/error.html -->
|
| 3 |
+
<!DOCTYPE html>
|
| 4 |
+
<html lang="en">
|
| 5 |
+
<head>
|
| 6 |
+
<meta charset="UTF-8">
|
| 7 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 8 |
+
<title>Error - Brain Tumor Detection</title>
|
| 9 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
| 10 |
+
<style>
|
| 11 |
+
body {
|
| 12 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 13 |
+
background-color: #f8f9fa;
|
| 14 |
+
color: #333;
|
| 15 |
+
display: flex;
|
| 16 |
+
justify-content: center;
|
| 17 |
+
align-items: center;
|
| 18 |
+
height: 100vh;
|
| 19 |
+
margin: 0;
|
| 20 |
+
}
|
| 21 |
+
.error-container {
|
| 22 |
+
max-width: 600px;
|
| 23 |
+
background-color: white;
|
| 24 |
+
padding: 30px;
|
| 25 |
+
border-radius: 15px;
|
| 26 |
+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
| 27 |
+
text-align: center;
|
| 28 |
+
}
|
| 29 |
+
.error-icon {
|
| 30 |
+
font-size: 60px;
|
| 31 |
+
color: #e74c3c;
|
| 32 |
+
margin-bottom: 20px;
|
| 33 |
+
}
|
| 34 |
+
.error-title {
|
| 35 |
+
font-size: 28px;
|
| 36 |
+
color: #2c3e50;
|
| 37 |
+
margin-bottom: 15px;
|
| 38 |
+
}
|
| 39 |
+
.error-message {
|
| 40 |
+
font-size: 18px;
|
| 41 |
+
color: #7f8c8d;
|
| 42 |
+
margin-bottom: 30px;
|
| 43 |
+
}
|
| 44 |
+
.home-btn {
|
| 45 |
+
background-color: #3498db;
|
| 46 |
+
color: white;
|
| 47 |
+
padding: 12px 30px;
|
| 48 |
+
border: none;
|
| 49 |
+
border-radius: 30px;
|
| 50 |
+
text-decoration: none;
|
| 51 |
+
font-weight: 600;
|
| 52 |
+
transition: all 0.3s;
|
| 53 |
+
display: inline-block;
|
| 54 |
+
}
|
| 55 |
+
.home-btn:hover {
|
| 56 |
+
background-color: #2980b9;
|
| 57 |
+
transform: translateY(-2px);
|
| 58 |
+
color: white;
|
| 59 |
+
}
|
| 60 |
+
</style>
|
| 61 |
+
</head>
|
| 62 |
+
<body>
|
| 63 |
+
<div class="error-container">
|
| 64 |
+
<div class="error-icon">❌</div>
|
| 65 |
+
<h1 class="error-title">Something Went Wrong</h1>
|
| 66 |
+
<p class="error-message">{{ message }}</p>
|
| 67 |
+
<a href="/" class="home-btn">Return to Home</a>
|
| 68 |
+
</div>
|
| 69 |
+
</body>
|
| 70 |
+
</html>
|