SECUTOR-INTELEGENCE's picture
tous sous controle de cette ia.import os
ae98c14 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlameGuardian - YOLOv10 Integration</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;
}
.model-output {
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="cpu" class="mr-2"></i>
YOLOv10 Model Integration
</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="https://huggingface.co/spaces/freddyaboulton/webrtc-yolov10n" target="_blank" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="external-link" class="mr-1"></i> View on HuggingFace
</a>
<a href="ai-control.html" class="text-blue-600 hover:text-blue-800 flex items-center">
<i data-feather="brain" class="mr-1"></i> AI Control
</a>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
<!-- Model Demo -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i data-feather="eye" class="mr-2"></i>
YOLOv10 WebRTC Demo
</h2>
<div class="bg-gray-200 rounded-lg overflow-hidden model-output">
<img src="http://static.photos/technology/640x360" alt="YOLOv10 Output" 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">
WebRTC Stream Processing
</div>
</div>
<div class="mt-4 grid grid-cols-2 gap-3">
<button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition flex items-center justify-center">
<i data-feather="video" class="mr-2"></i>
Start Webcam
</button>
<button class="px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition flex items-center justify-center">
<i data-feather="upload" class="mr-2"></i>
Upload Video
</button>
</div>
</div>
<!-- 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>
YOLOv10 Settings
</h2>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Model Version</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>YOLOv10-Nano</option>
<option>YOLOv10-Small</option>
<option selected>YOLOv10-Medium</option>
<option>YOLOv10-Large</option>
<option>YOLOv10-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="80" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
<div class="text-right text-sm text-gray-600">80%</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">WebRTC Configuration</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>Default (STUN)</option>
<option>Custom TURN Server</option>
<option>Local Network</option>
</select>
</div>
<div class="pt-4">
<button class="w-full bg-green-600 text-white py-2 px-4 rounded-md hover:bg-green-700 transition flex items-center justify-center">
<i data-feather="refresh-cw" class="mr-2"></i>
Initialize Model
</button>
</div>
</div>
</div>
</div>
<!-- Performance Metrics -->
<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="activity" class="mr-2"></i>
Model Performance
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="bg-blue-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<span class="text-sm text-gray-600">Latency</span>
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center">
<i data-feather="clock" class="w-4 h-4 text-blue-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">18ms</h3>
<p class="text-xs text-blue-600 mt-1">Real-time processing</p>
</div>
<div class="bg-purple-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<span class="text-sm text-gray-600">Precision</span>
<div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center">
<i data-feather="target" class="w-4 h-4 text-purple-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">97.1%</h3>
<p class="text-xs text-purple-600 mt-1">+3.2% vs YOLOv8</p>
</div>
<div class="bg-green-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<span class="text-sm text-gray-600">FPS</span>
<div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center">
<i data-feather="zap" class="w-4 h-4 text-green-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">58</h3>
<p class="text-xs text-green-600 mt-1">High throughput</p>
</div>
<div class="bg-red-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<span class="text-sm text-gray-600">Accuracy</span>
<div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center">
<i data-feather="check-circle" class="w-4 h-4 text-red-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">98.4%</h3>
<p class="text-xs text-red-600 mt-1">State-of-the-art</p>
</div>
</div>
</div>
<!-- Documentation -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i data-feather="book" class="mr-2"></i>
Resources & Integration
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<a href="https://huggingface.co/spaces/freddyaboulton/webrtc-yolov10n" target="_blank" class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition flex items-center">
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-4">
<i data-feather="external-link" class="text-blue-500"></i>
</div>
<div>
<h3 class="font-medium">WebRTC-YOLOv10</h3>
<p class="text-sm text-gray-600">Real-time object detection demo</p>
</div>
</a>
<a href="#" class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition flex items-center">
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-4">
<i data-feather="github" class="text-purple-500"></i>
</div>
<div>
<h3 class="font-medium">GitHub Repository</h3>
<p class="text-sm text-gray-600">Source code and documentation</p>
</div>
</a>
<a href="#" class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition flex items-center">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-4">
<i data-feather="book-open" class="text-green-500"></i>
</div>
<div>
<h3 class="font-medium">Technical Paper</h3>
<p class="text-sm text-gray-600">YOLOv10 research details</p>
</div>
</a>
<a href="yolov13.html" class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition flex items-center">
<div class="w-10 h-10 rounded-full bg-orange-100 flex items-center justify-center mr-4">
<i data-feather="cpu" class="text-orange-500"></i>
</div>
<div>
<h3 class="font-medium">Compare with YOLOv13</h3>
<p class="text-sm text-gray-600">Benchmark performance</p>
</div>
</a>
<a href="yolov11.html" class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition flex items-center">
<div class="w-10 h-10 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i data-feather="cpu" class="text-pink-500"></i>
</div>
<div>
<h3 class="font-medium">Compare with YOLOv11</h3>
<p class="text-sm text-gray-600">Benchmark performance</p>
</div>
</a>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>