SECUTOR-INTELEGENCE's picture
https://huggingface.co/spaces/Prathamesh1420/Fire_detection_streamlit
a0deafd verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlameGuardian - YOLOv13 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>
YOLOv13 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/atalaydenknalbant/Yolov13" 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>
</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>
YOLOv13 Demo
</h2>
<div class="bg-gray-200 rounded-lg overflow-hidden model-output">
<img src="http://static.photos/technology/640x360" alt="YOLOv13 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">
Model Output Preview
</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="upload" class="mr-2"></i>
Upload Image
</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="camera" class="mr-2"></i>
Use Webcam
</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>
Integration Settings
</h2>
<div class="space-y-4">
<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>
<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>YOLOv13-nano</option>
<option>YOLOv13-small</option>
<option selected>YOLOv13-medium</option>
<option>YOLOv13-large</option>
<option>YOLOv13-xlarge</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Detection 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 class="flex items-center">
<input type="checkbox" id="enableYOLOv13" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded" checked>
<label for="enableYOLOv13" class="ml-2 block text-sm text-gray-700">Enable YOLOv13 Processing</label>
</div>
<div class="pt-4 border-t border-gray-200">
<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>
Test Connection
</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">Precision</span>
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center">
<i data-feather="target" class="w-4 h-4 text-blue-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">96.7%</h3>
<p class="text-xs text-blue-600 mt-1">+2.1% vs YOLOv8</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">Recall</span>
<div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center">
<i data-feather="eye" class="w-4 h-4 text-purple-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">95.2%</h3>
<p class="text-xs text-purple-600 mt-1">+3.4% 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="clock" class="w-4 h-4 text-green-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">42</h3>
<p class="text-xs text-green-600 mt-1">Real-time processing</p>
</div>
<div class="bg-yellow-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-yellow-100 flex items-center justify-center">
<i data-feather="check-circle" class="w-4 h-4 text-yellow-500"></i>
</div>
</div>
<h3 class="text-2xl font-bold mt-2 text-gray-800">97.8%</h3>
<p class="text-xs text-yellow-600 mt-1">Best in class</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>
Documentation & Resources
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<a href="https://huggingface.co/spaces/atalaydenknalbant/Yolov13" 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">HuggingFace Space</h3>
<p class="text-sm text-gray-600">Official YOLOv13 implementation</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="download" class="text-purple-500"></i>
</div>
<div>
<h3 class="font-medium">API Documentation</h3>
<p class="text-sm text-gray-600">Integration guide and examples</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="youtube" class="text-green-500"></i>
</div>
<div>
<h3 class="font-medium">Video Tutorial</h3>
<p class="text-sm text-gray-600">Step-by-step setup guide</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-red-100 flex items-center justify-center mr-4">
<i data-feather="github" class="text-red-500"></i>
</div>
<div>
<h3 class="font-medium">GitHub Repository</h3>
<p class="text-sm text-gray-600">Source code and issues</p>
</div>
</a>
<a href="https://huggingface.co/spaces/Prathamesh1420/Fire_detection_streamlit" 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-orange-100 flex items-center justify-center mr-4">
<i data-feather="fire" class="text-orange-500"></i>
</div>
<div>
<h3 class="font-medium">Fire Detection Streamlit</h3>
<p class="text-sm text-gray-600">Real-time fire detection demo</p>
</div>
</a>
<a href="yolov10.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-teal-100 flex items-center justify-center mr-4">
<i data-feather="cpu" class="text-teal-500"></i>
</div>
<div>
<h3 class="font-medium">YOLOv10 Integration</h3>
<p class="text-sm text-gray-600">Next-gen object detection</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">YOLOv11 Integration</h3>
<p class="text-sm text-gray-600">Latest YOLO model</p>
</div>
</a>
<a href="yoloworld.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-indigo-100 flex items-center justify-center mr-4">
<i data-feather="globe" class="text-indigo-500"></i>
</div>
<div>
<h3 class="font-medium">YOLO-World Integration</h3>
<p class="text-sm text-gray-600">Advanced object detection</p>
</div>
</a>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>