34769-vm/index.php
2025-10-07 22:17:23 +00:00

100 lines
5.0 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>faceAware - Real-Time Mask Detection</title>
<meta name="description" content="A real-time system to detect face masks using webcam input, powered by computer vision and machine learning.">
<meta name="keywords" content="face mask detection, computer vision, machine learning, real-time, webcam, opencv, tensorflow, java, safety, compliance">
<meta property="og:title" content="faceAware - Real-Time Mask Detection">
<meta property="og:description" content="A real-time system to detect face masks using webcam input, powered by computer vision and machine learning.">
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
<!-- Bootstrap 5 CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<!-- Header -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top">
<div class="container">
<a class="navbar-brand fw-bold" href="#">faceAware</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
<li class="nav-item"><a class="nav-link" href="#how-it-works">How It Works</a></li>
</ul>
<a href="#" class="btn btn-primary ms-lg-3">Launch Detector</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<header class="hero" id="home">
<div class="hero-overlay">
<h1 class="display-3 fw-bold">Real-Time Mask Detection.</h1>
<p class="lead">Ensuring safety and compliance with cutting-edge AI. Fast, accurate, and seamless.</p>
<a href="#" class="btn btn-primary btn-lg">Launch Detector</a>
</div>
</header>
<main>
<!-- About Section -->
<section id="about" class="container text-center py-5">
<div class="row align-items-center">
<div class="col-lg-8 mx-auto">
<h2 class="mb-4">About faceAware</h2>
<p>faceAware is a smart solution designed to promote public health and safety. Using a standard webcam, our system employs advanced computer vision and a lightweight machine learning model to instantly detect whether a person is wearing a face mask.</p>
<p>Our goal is to provide a reliable, low-cost, and scalable tool for businesses, public services, and organizations to ensure compliance with health guidelines without compromising on user experience.</p>
</div>
</div>
</section>
<!-- How It Works Section -->
<section id="how-it-works" class="bg-light py-5">
<div class="container text-center">
<h2 class="mb-5">How It Works</h2>
<div class="row">
<div class="col-md-4 mb-4">
<div class="card h-100 p-4">
<h3>1. Capture</h3>
<p>The system captures a real-time video stream from any standard webcam.</p>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 p-4">
<h3>2. Analyze</h3>
<p>Our AI model, powered by OpenCV and a Convolutional Neural Network (CNN), detects faces and analyzes them for the presence of a mask.</p>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 p-4">
<h3>3. Result</h3>
<p>A clear, single result ("Mask" or "No Mask") is displayed instantly. The system then resets for the next person.</p>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="text-center p-4">
<p>&copy; <?php echo date("Y"); ?> faceAware. All Rights Reserved.</p>
<p><a href="#">Privacy Policy</a></p>
</footer>
<!-- Bootstrap 5 JS Bundle -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<!-- Custom JS -->
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>