Spaces:
Sleeping
Sleeping
File size: 1,436 Bytes
d3c48a0 18ac549 d3c48a0 18ac549 d3c48a0 18ac549 d3c48a0 18ac549 d3c48a0 18ac549 d3c48a0 18ac549 d3c48a0 18ac549 d3c48a0 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Squadron</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<h1>Squadron v1.0.2</h1>
<div class="controls">
<button id="startButton">Start Share Screen</button>
<button id="stopButton" disabled>Stop Share Screen</button>
<button id="startDetectionButton" disabled>Start Detection</button>
<button id="pauseDetectionButton" disabled>Pause Detection</button>
<button id="toggleBoundingBoxButton" disabled>Show All Object</button>
</div>
<div class="status" id="status">Ready to share screen</div>
<div class="video-container">
<video id="screenVideo" autoplay playsinline muted></video>
<canvas id="detectionCanvas"></canvas>
<div id="fpsCounter" class="fps-counter">0 FPS</div>
</div>
<!-- Alarm sound -->
<div class="alarm" id="humanAlarm">ALERT: Human detected for extended period!</div>
<div class="detection-info" id="detectionResults">
<h3>Detection Results</h3>
<p>No detection performed yet.</p>
</div>
</div>
<script src="/static/share_screen.js"></script>
</body>
</html> |