Spaces:
Runtime error
Runtime error
Download index.html from opendeveloping/secure-object-detector: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/spaces/opendeveloping/secure-object-detector/resolve/main/index.html
- Command line
-
hf download hf://spaces/opendeveloping/secure-object-detector/index.html
-
curl -L -o index.html https://huggingface.co/spaces/opendeveloping/secure-object-detector/resolve/main/index.html
1.4 kB
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Responsive Object Detection</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <!-- Login Container --> | |
| <div class="screen" id="login"> | |
| <div class="login-card"> | |
| <h2>π Secure Access</h2> | |
| <input type="password" id="apiKey" placeholder="Enter API key"> | |
| <button onclick="validateKey()">Access App</button> | |
| </div> | |
| </div> | |
| <!-- Detection Screen --> | |
| <div class="screen" id="app" style="display:none"> | |
| <!-- Webcam Container --> | |
| <div class="video-container"> | |
| <video id="webcam" autoplay playsinline></video> | |
| <canvas id="overlay"></canvas> | |
| </div> | |
| <!-- Controls --> | |
| <div class="controls"> | |
| <button id="privacyBtn" onclick="togglePrivacyMode()">π Privacy</button> | |
| <button id="saveBtn" onclick="saveDetection()">πΈ Save</button> | |
| </div> | |
| <!-- Detection History --> | |
| <div class="history-container"> | |
| <h3>π Detection History</h3> | |
| <div id="historyList"></div> | |
| </div> | |
| </div> | |
| <!-- TensorFlow.js --> | |
| <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@3.21.0/dist/tf.min.js"></script> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |