SECUTOR-INTELEGENCE's picture
https://huggingface.co/spaces/Ultralytics/YOLO11
06909b3 verified
raw
history blame
11.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlameGuardian - Camera Feeds & Alerts</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
}
.camera-feed {
aspect-ratio: 16/9;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-2xl font-bold text-gray-800 flex items-center">
<i data-feather="video" class="mr-2"></i>
Camera Feeds & Alerts
</h1>
<div class="flex space-x-4">
<a href="index.html" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="arrow-left" class="mr-1"></i> Back to Dashboard
</a>
<a href="security.html" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="shield" class="mr-1"></i> Security
</a>
<a href="yolov13.html" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="cpu" class="mr-1"></i> YOLOv13
</a>
<a href="yoloworld.html" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="globe" class="mr-1"></i> YOLO-World
</a>
<a href="yolov10.html" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="cpu" class="mr-1"></i> YOLOv10
</a>
<a href="yolov11.html" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="cpu" class="mr-1"></i> YOLOv11
</a>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
<!-- Camera Feed Configuration -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i data-feather="settings" class="mr-2"></i>
Camera Configuration
</h2>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Camera Type</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>IP Camera</option>
<option>NVR/DVR</option>
<option>RTSP Stream</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Connection URL</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="rtsp://192.168.1.100:554/stream">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Username</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Password</label>
<input type="password" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<button class="w-full bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 transition">
<i data-feather="save" class="inline mr-2"></i>
Save Configuration
</button>
</div>
</div>
<!-- Live Camera Feeds -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i data-feather="video" class="mr-2"></i>
Live Camera Feeds
</h2>
<div class="grid grid-cols-2 gap-4">
<div class="bg-gray-200 rounded-lg overflow-hidden camera-feed">
<img src="http://static.photos/industry/640x360" alt="Camera 1" class="w-full h-full object-cover">
<div class="bg-black/50 text-white px-2 py-1 absolute bottom-2 left-2 rounded text-xs">
CAM-01 (Warehouse)
</div>
</div>
<div class="bg-gray-200 rounded-lg overflow-hidden camera-feed">
<img src="http://static.photos/industry/640x360" alt="Camera 2" class="w-full h-full object-cover">
<div class="bg-black/50 text-white px-2 py-1 absolute bottom-2 left-2 rounded text-xs">
CAM-02 (Storage)
</div>
</div>
<div class="bg-gray-200 rounded-lg overflow-hidden camera-feed">
<img src="http://static.photos/industry/640x360" alt="Camera 3" class="w-full h-full object-cover">
<div class="bg-black/50 text-white px-2 py-1 absolute bottom-2 left-2 rounded text-xs">
CAM-03 (Office)
</div>
</div>
<div class="bg-gray-200 rounded-lg overflow-hidden camera-feed">
<img src="http://static.photos/industry/640x360" alt="Camera 4" class="w-full h-full object-cover">
<div class="bg-black/50 text-white px-2 py-1 absolute bottom-2 left-2 rounded text-xs">
CAM-04 (Entrance)
</div>
</div>
</div>
</div>
</div>
<!-- Telegram Alert Configuration -->
<div class="bg-white rounded-xl shadow-md p-6 mb-8">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i data-feather="send" class="mr-2"></i>
Telegram Alert Settings
</h2>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Telegram Bot Token</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="123456789:ABCdefGhIJKlmNoPQRsTUVwxyZ">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Chat ID</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="-1001234567890">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Alert Message Template</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" rows="3">🚨 FIRE ALERT 🚨
Location: {location}
Confidence: {confidence}%
Timestamp: {timestamp}</textarea>
</div>
<div class="flex items-center">
<input type="checkbox" id="enableTelegram" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<label for="enableTelegram" class="ml-2 block text-sm text-gray-700">Enable Telegram Alerts</label>
</div>
<button class="w-full bg-green-600 text-white py-2 px-4 rounded-md hover:bg-green-700 transition">
<i data-feather="send" class="inline mr-2"></i>
Test Telegram Notification
</button>
</div>
</div>
<!-- AI Integration -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i data-feather="cpu" class="mr-2"></i>
AI Integration Settings
</h2>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">AI Model</label>
<select class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
<option>YOLOv8n (Default)</option>
<option>YOLOv8s (Small)</option>
<option>YOLOv8m (Medium)</option>
<option>YOLOv8l (Large)</option>
<option>YOLOv8x (Extra Large)</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Confidence Threshold</label>
<input type="range" min="50" max="95" value="75" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
<div class="text-right text-sm text-gray-600">75%</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">HuggingFace API Key</label>
<input type="password" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="flex items-center">
<input type="checkbox" id="enableAI" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded" checked>
<label for="enableAI" class="ml-2 block text-sm text-gray-700">Enable AI Processing</label>
</div>
<button class="w-full bg-purple-600 text-white py-2 px-4 rounded-md hover:bg-purple-700 transition">
<i data-feather="refresh-cw" class="inline mr-2"></i>
Reinitialize AI Model
</button>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>