File size: 25,004 Bytes
928b74f 6360a96 928b74f 14ff9cc 928b74f 14ff9cc 928b74f 14ff9cc 928b74f 14ff9cc 928b74f 14ff9cc 928b74f 14ff9cc 928b74f 14ff9cc 928b74f 14ff9cc 98b379f 14ff9cc 928b74f 9a11bc7 928b74f 9a11bc7 928b74f 14ff9cc 928b74f 9a11bc7 928b74f 14ff9cc 928b74f 9a11bc7 928b74f 9a11bc7 928b74f 9a11bc7 98b379f 9a11bc7 928b74f 9a11bc7 928b74f 9a11bc7 928b74f 9a11bc7 928b74f 6360a96 928b74f | 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 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description"
content="ImageForensics-Detect: Research-grade AI vs Real image detection using multi-branch deep learning forensic analysis." />
<title>ImageForensics-Detect | AI vs Real Image Analyzer</title>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap"
rel="stylesheet">
<!-- Absolute paths for deployment via FastAPI -->
<link rel="stylesheet" href="/static/style.css" />
</head>
<body>
<!-- ββ Header βββββββββββββββββββββββββββββββββββββββββββββββ -->
<header class="header">
<div class="header-inner">
<div class="logo">
<svg class="logo-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M12 2l9 4.5v9L12 20l-9-4.5v-9L12 2z" />
<path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
<path d="M12 7.5l0 1" />
<path d="M12 15.5l0 1" />
<path d="M7.5 12l1 0" />
<path d="M15.5 12l1 0" />
</svg>
<div class="logo-text-group">
<div class="logo-main"><span class="logo-title">ImageForensics</span><span class="logo-accent">Detect</span>
</div>
<div class="logo-sub">Multi-Branch Forensic Analysis System</div>
</div>
</div>
<nav class="header-badges">
<span class="badge badge-research">π B.Tech Final Year</span>
<span class="badge badge-research">IEEE-Grade Research</span>
<span class="badge badge-live" id="serverStatus">β Connecting...</span>
</nav>
</div>
</header>
<!-- ββ Stats Hero Bar βββββββββββββββββββββββββββββββββββββββ -->
<div class="stats-bar">
<div class="stats-inner">
<div class="stat-item">
<div class="stat-value">99.30%</div>
<div class="stat-label">ViT Accuracy</div>
</div>
<div class="stat-divider"></div>
<div class="stat-item">
<div class="stat-value">120K</div>
<div class="stat-label">Training Images</div>
</div>
<div class="stat-divider"></div>
<div class="stat-item">
<div class="stat-value">5</div>
<div class="stat-label">Forensic Branches</div>
</div>
<div class="stat-divider"></div>
<div class="stat-item">
<div class="stat-value">2+2+1</div>
<div class="stat-label">DL + Classical + Fusion</div>
</div>
<div class="stat-divider"></div>
<div class="stat-item">
<div class="stat-value">86M</div>
<div class="stat-label">ViT Parameters</div>
</div>
</div>
</div>
<!-- ββ Main βββββββββββββββββββββββββββββββββββββββββββββββββ -->
<main class="main">
<!-- Upload Section -->
<section class="upload-section">
<div class="section-label">STEP 1 β UPLOAD IMAGE FOR FORENSIC ANALYSIS</div>
<div class="upload-zone" id="uploadZone">
<input type="file" id="fileInput" accept="image/*" hidden />
<div class="upload-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
<polyline points="17 8 12 3 7 8" />
<line x1="12" y1="3" x2="12" y2="15" />
</svg>
</div>
<div class="upload-title">Drop an image here or click to upload</div>
<div class="upload-sub">Supports JPG Β· PNG Β· WebP Β· BMP Β· Max 15 MB</div>
<div class="upload-hint">System detects: <strong>Real Camera Photo</strong> vs <strong>AI-Generated
Image</strong></div>
<button class="btn-upload" id="selectBtn">Select Image</button>
<div class="upload-formats">
<span class="fmt-chip">JPEG</span>
<span class="fmt-chip">PNG</span>
<span class="fmt-chip">WebP</span>
<span class="fmt-chip">BMP</span>
</div>
</div>
<!-- Preview -->
<div class="preview-area" id="previewArea" style="display:none">
<img id="previewImg" class="preview-img" alt="Uploaded image preview" />
<div class="preview-info">
<div id="fileName" class="preview-filename"></div>
<div id="fileSize" class="preview-filesize"></div>
<div class="preview-ready">β
Ready for forensic analysis</div>
</div>
<div class="preview-actions">
<button class="btn-analyze" id="analyzeBtn">
<span class="btn-icon">β‘</span> Analyze Image
</button>
<button class="btn-clear" id="clearBtn">β Clear</button>
</div>
</div>
</section>
<!-- ββ Analyzing Spinner ββββββββββββββββββββββββββββββββββββ -->
<div class="analyzing-state" id="analyzingState" style="display:none">
<div class="spinner-container">
<div class="spinner-ring"></div>
<div class="spinner-core">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="11" cy="11" r="8" />
<line x1="21" y1="21" x2="16.65" y2="16.65" />
</svg>
</div>
</div>
<div class="analyzing-title">Running 5-Branch Forensic Analysis...</div>
<div class="analyzing-steps" id="analyzingSteps">
<div class="step-item" id="step-spectral">β Spectral FFT/DCT Frequency Analysis</div>
<div class="step-item" id="step-edge">β Edge & Gradient Forensics</div>
<div class="step-item" id="step-cnn">β CNN Texture Analysis (EfficientNet-B0)</div>
<div class="step-item" id="step-vit">β ViT Global Semantic Analysis (99.30% acc)</div>
<div class="step-item" id="step-diffusion">β Diffusion Residual Noise Analysis</div>
<div class="step-item" id="step-fusion">β Certainty-Weighted Probabilistic Fusion</div>
</div>
</div>
<!-- ββ Results Panel ββββββββββββββββββββββββββββββββββββββββ -->
<section class="results-section" id="resultsSection" style="display:none">
<div class="section-label">STEP 2 β FORENSIC ANALYSIS RESULTS</div>
<!-- Verdict Card -->
<div class="verdict-card" id="verdictCard">
<div class="verdict-icon" id="verdictIcon"></div>
<div class="verdict-content">
<div class="verdict-label">Final Prediction</div>
<div class="verdict-text" id="verdictText"></div>
<div class="verdict-sub" id="verdictSub"></div>
<!-- Probability Bar -->
<div class="prob-bar-section">
<div class="prob-bar-labels">
<span class="prob-label-real">π· Real</span>
<span class="prob-label-fake">π€ AI-Generated</span>
</div>
<div class="prob-bar-track">
<div class="prob-bar-real" id="probBarReal"></div>
<div class="prob-bar-fake" id="probBarFake"></div>
</div>
<div class="prob-bar-values">
<span id="probRealPct"></span>
<span id="probFakePct"></span>
</div>
</div>
</div>
<div class="confidence-ring-wrap">
<svg class="confidence-ring" viewBox="0 0 120 120">
<circle cx="60" cy="60" r="50" class="ring-bg" />
<circle cx="60" cy="60" r="50" class="ring-fill" id="ringFill" />
</svg>
<div class="confidence-center">
<div class="conf-value" id="confValue"></div>
<div class="conf-label">Confidence</div>
</div>
</div>
</div>
<!-- Branch Scorecards -->
<div class="branches-grid" id="branchesGrid">
<div class="branches-header">
<div class="section-label" style="margin:0">BRANCH-LEVEL FORENSIC SCORES</div>
<div class="branches-legend">
<span><span class="legend-dot real"></span> Real</span>
<span><span class="legend-dot fake"></span> AI-Generated</span>
<span class="legend-note">Bar = Fake Probability Β· Weight = Fusion Contribution</span>
</div>
</div>
<!-- Spectral -->
<div class="branch-card" id="bc-spectral">
<div class="branch-icon spectral">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M2 10s3-3 3-3 2 1 2 1 3-3 3-3 2 1 2 1 3-3 3-3" />
<path d="M22 14s-3 3-3 3-2-1-2-1-3 3-3 3-2-1-2-1-3 3-3 3" />
</svg>
</div>
<div class="branch-info">
<div class="branch-name">Spectral Branch <span class="branch-tag">Signal</span></div>
<div class="branch-desc">FFT/DCT frequency-domain artifact detection</div>
<div class="branch-bar-wrap">
<div class="branch-bar" id="bar-spectral"></div>
</div>
</div>
<div class="branch-score-col">
<div class="branch-prob" id="prob-spectral"></div>
<div class="branch-conf" id="conf-spectral"></div>
<div class="branch-weight" id="weight-spectral"></div>
</div>
</div>
<!-- Edge -->
<div class="branch-card" id="bc-edge">
<div class="branch-icon edge">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M12 3v18" />
<path d="M3 12h18" />
<path d="M18 9l-3 3 3 3" />
<path d="M6 9l3 3-3 3" />
</svg>
</div>
<div class="branch-info">
<div class="branch-name">Edge Branch <span class="branch-tag">Signal</span></div>
<div class="branch-desc">Sobel/Laplacian edge & gradient statistics</div>
<div class="branch-bar-wrap">
<div class="branch-bar" id="bar-edge"></div>
</div>
</div>
<div class="branch-score-col">
<div class="branch-prob" id="prob-edge"></div>
<div class="branch-conf" id="conf-edge"></div>
<div class="branch-weight" id="weight-edge"></div>
</div>
</div>
<!-- CNN -->
<div class="branch-card" id="bc-cnn">
<div class="branch-icon cnn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
<path d="M12 8v4" />
<path d="M12 16h.01" />
</svg>
</div>
<div class="branch-info">
<div class="branch-name">CNN Branch <span class="branch-tag trained">Trained</span></div>
<div class="branch-desc">EfficientNet-B0 texture & patch analysis</div>
<div class="branch-bar-wrap">
<div class="branch-bar" id="bar-cnn"></div>
</div>
</div>
<div class="branch-score-col">
<div class="branch-prob" id="prob-cnn"></div>
<div class="branch-conf" id="conf-cnn"></div>
<div class="branch-weight" id="weight-cnn"></div>
</div>
</div>
<!-- ViT -->
<div class="branch-card" id="bc-vit">
<div class="branch-icon vit">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="3" />
<path
d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" />
</svg>
</div>
<div class="branch-info">
<div class="branch-name">ViT Branch <span class="branch-tag trained">99.30%</span></div>
<div class="branch-desc">Vision Transformer global semantic analysis</div>
<div class="branch-bar-wrap">
<div class="branch-bar" id="bar-vit"></div>
</div>
</div>
<div class="branch-score-col">
<div class="branch-prob" id="prob-vit"></div>
<div class="branch-conf" id="conf-vit"></div>
<div class="branch-weight" id="weight-vit"></div>
</div>
</div>
<!-- Diffusion -->
<div class="branch-card" id="bc-diffusion">
<div class="branch-icon diffusion">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M4.5 16.5c-1.5 1.26-2 3.1 -1 4.5s3.1 1.67 4.5.3 2.1-3.21 1.1-4.7-3.1-1.36-4.6-.1z" />
<path d="M15 7c-1.5 1.26-2 3.1 -1 4.5s3.1 1.67 4.5.3 2.1-3.21 1.1-4.7-3.1-1.36-4.6-.1z" />
<path d="M8 8c-1.5 1.26-2 3.1 -1 4.5s3.1 1.67 4.5.3 2.1-3.21 1.1-4.7-3.1-1.36-4.6-.1z" />
</svg>
</div>
<div class="branch-info">
<div class="branch-name">Diffusion Branch <span class="branch-tag">Signal</span></div>
<div class="branch-desc">Noise residual & denoising trace analysis</div>
<div class="branch-bar-wrap">
<div class="branch-bar" id="bar-diffusion"></div>
</div>
</div>
<div class="branch-score-col">
<div class="branch-prob" id="prob-diffusion"></div>
<div class="branch-conf" id="conf-diffusion"></div>
<div class="branch-weight" id="weight-diffusion"></div>
</div>
</div>
</div>
<!-- Explainability Visualizations -->
<div class="viz-section">
<div class="section-label">STEP 3 β EXPLAINABILITY VISUALIZATIONS</div>
<div class="viz-grid">
<div class="viz-card" id="viz-gradcam">
<div class="viz-label" id="gradcam-label">Saliency Heatmap</div>
<div class="viz-sub" id="gradcam-sub">Suspicious regions highlighted</div>
<div class="viz-img-wrap">
<img id="img-gradcam" class="viz-img" alt="Grad-CAM / Saliency heatmap" />
<div class="viz-unavailable" id="gradcam-unavail" style="display:none">
β Visualization unavailable
</div>
</div>
</div>
<div class="viz-card">
<div class="viz-label">Spectral Heatmap (FFT)</div>
<div class="viz-sub">Frequency-domain anomaly map</div>
<div class="viz-img-wrap">
<img id="img-spectrum" class="viz-img" alt="FFT Spectral heatmap" />
</div>
</div>
<div class="viz-card">
<div class="viz-label">Spectral Annotated</div>
<div class="viz-sub">High-frequency peak markers</div>
<div class="viz-img-wrap">
<img id="img-spectrum-ann" class="viz-img" alt="Annotated spectrum" />
</div>
</div>
<div class="viz-card">
<div class="viz-label">Diffusion Noise Map</div>
<div class="viz-sub">Residual denoising traces</div>
<div class="viz-img-wrap">
<img id="img-noise" class="viz-img" alt="Noise residual map" />
</div>
</div>
<div class="viz-card">
<div class="viz-label">Edge Map</div>
<div class="viz-sub">Structural edge forensics</div>
<div class="viz-img-wrap">
<img id="img-edge" class="viz-img" alt="Edge map" />
</div>
</div>
</div>
</div>
<!-- Low Certainty Warning -->
<div class="warning-banner" id="lowCertaintyBanner" style="display:none">
β <strong>Low Certainty:</strong> Branch signals are not strongly aligned.
Consider using a higher-resolution image for more reliable results.
</div>
<!-- Analyze Another -->
<div style="text-align:center; margin-top:2.5rem">
<button class="btn-analyze" id="analyzeAnotherBtn" onclick="resetUI()">
π Analyze Another Image
</button>
</div>
</section>
<!-- ββ Error Panel βββββββββββββββββββββββββββββββββββββββββββ -->
<div class="error-banner" id="errorBanner" style="display:none">
<span class="error-icon">β </span>
<span id="errorMsg"></span>
</div>
</main>
<!-- ββ How It Works Strip βββββββββββββββββββββββββββββββββββ -->
<section class="how-section">
<div class="how-inner">
<div class="how-step">
<div class="how-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12" />
</svg>
</div>
<div class="how-title">Upload</div>
<div class="how-desc">Drag & drop any image β real photo or AI-generated</div>
</div>
<div class="how-arrow">β</div>
<div class="how-step">
<div class="how-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10" />
<path d="M12 16v-4M12 8h.01" />
</svg>
</div>
<div class="how-title">5-Branch Analysis</div>
<div class="how-desc">Spectral Β· Edge Β· CNN Β· ViT Β· Diffusion run in parallel</div>
</div>
<div class="how-arrow">β</div>
<div class="how-step">
<div class="how-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
</svg>
</div>
<div class="how-title">Fusion</div>
<div class="how-desc">Certainty-weighted probabilistic fusion</div>
</div>
<div class="how-arrow">β</div>
<div class="how-step">
<div class="how-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M18 20V10M12 20V4M6 20v-6" />
</svg>
</div>
<div class="how-title">Results</div>
<div class="how-desc">Prediction, confidence & explainability maps</div>
</div>
</div>
</section>
<!-- ββ Footer βββββββββββββββββββββββββββββββββββββββββββββββ -->
<footer class="footer">
<div class="footer-grid">
<div class="footer-col">
<div class="footer-brand">
<svg class="footer-brand-svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M12 2l9 4.5v9L12 20l-9-4.5v-9L12 2z" />
</svg>
<span class="footer-brand-name">ImageForensics<span class="footer-brand-accent">Detect</span></span>
</div>
<p class="footer-tagline">Research-grade multi-branch AI image forensics system for detecting AI-generated
content.</p>
<div class="footer-badge-row">
<span class="footer-chip">B.Tech Final Year</span>
<span class="footer-chip">IEEE-Grade</span>
<span class="footer-chip">CIFAKE 120K</span>
</div>
</div>
<div class="footer-col">
<div class="footer-col-title">Tech Stack</div>
<ul class="footer-list">
<li><svg class="footer-icon">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5" />
</svg> TensorFlow 2 Β· EfficientNet-B0</li>
<li><svg class="footer-icon">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
</svg> PyTorch 2 Β· ViT-B/16 Β· timm</li>
<li><svg class="footer-icon">
<path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" />
</svg> FastAPI Β· Uvicorn</li>
<li><svg class="footer-icon">
<path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2zM12 8v8M8 12h8" />
</svg> OpenCV Β· NumPy Β· SciPy</li>
<li><svg class="footer-icon">
<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" />
<rect x="8" y="2" width="8" height="4" rx="1" ry="1" />
</svg> scikit-learn Β· Matplotlib</li>
<li><svg class="footer-icon">
<path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8z" />
<path d="M12 6v12M6 12h12" />
</svg> HTML5 Β· CSS3 Β· Vanilla JS</li>
</ul>
</div>
<div class="footer-col divider">
<div class="footer-col-title">Detection Branches</div>
<ul class="footer-list highlight">
<li><svg class="footer-icon spectral">
<path d="M2 10s3-3 3-3 2 1 2 1 3-3 3-3 2 1 2 1 3-3 3-3" />
<path d="M22 14s-3 3-3 3-2-1-2-1-3 3-3 3-2-1-2-1-3 3-3 3" />
</svg> Spectral β FFT/DCT</li>
<li><svg class="footer-icon edge">
<path d="M12 3v18M3 12h18M18 9l-3 3 3 3M6 9l3 3-3 3" />
</svg> Edge β Sobel/Laplacian</li>
<li><svg class="footer-icon cnn">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
<path d="M12 8v4M12 16h.01" />
</svg> CNN β Texture & Patches</li>
<li><svg class="footer-icon vit">
<circle cx="12" cy="12" r="3" />
<path d="M12 5V3M12 21v-2M5 12H3m18 0h-2M7 7L5.6 5.6m12.8 12.8L17 17M7 17l-1.4 1.4M18.4 5.6L17 7" />
</svg> ViT β Global Semantics <span class="footer-accuracy">99.30%</span></li>
<li><svg class="footer-icon diffusion">
<path d="M4.5 16.5c-1.5 1.26-2 3.1 -1 4.5s3.1 1.67 4.5.3 2.1-3.21 1.1-4.7-3.1-1.36-4.6-.1z" />
<path d="M15 7c-1.5 1.26-2 3.1 -1 4.5s3.1 1.67 4.5.3 2.1-3.21 1.1-4.7-3.1-1.36-4.6-.1z" />
</svg> Diffusion β Noise Residuals</li>
<li><svg class="footer-icon fusion">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />
</svg> Fusion β Certainty-Weighted</li>
</ul>
</div>
<div class="footer-col divider">
<div class="footer-col-title">Research References</div>
<ul class="footer-list mini">
<li>Wang et al. (2020) β CNN</li>
<li>Frank et al. (2020) β FFT</li>
<li>Corvi et al. (2023) β Diffusion</li>
<li>Ojha et al. (2023) β Universal Det.</li>
<li>Selvaraju et al. (2017) β Grad-CAM</li>
</ul>
<div class="footer-col-title" style="margin-top:1.5rem">Dataset</div>
<ul class="footer-list mini">
<li>CIFAKE β 120K images</li>
<li>Stable Diffusion v1.4 generated</li>
</ul>
</div>
</div>
<div class="footer-bar">
<div class="footer-bar-left">Β© 2024 ImageForensics-Detect Β· B.Tech Final Year Project</div>
<div class="footer-bar-center">Built with β€οΈ using Python Β· TensorFlow Β· PyTorch Β· FastAPI</div>
<div class="footer-bar-right">Multi-branch certainty-weighted probabilistic fusion</div>
</div>
</footer>
<!-- app.js is in the frontend directory, served at /static/app.js -->
<script src="/static/app.js"></script>
</body>
</html> |