Download Objectdetection/templates/index.html from Goutham204/Object_detection: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/Goutham204/Object_detection/resolve/main/Objectdetection/templates/index.html
- Command line
-
hf download hf://Goutham204/Object_detection/Objectdetection/templates/index.html
-
curl -L -o index.html https://huggingface.co/Goutham204/Object_detection/resolve/main/Objectdetection/templates/index.html
1.37 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Object Detection</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| background: #f5f5f5; | |
| padding: 30px; | |
| text-align: center; | |
| } | |
| .container { | |
| background: white; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |
| display: inline-block; | |
| } | |
| input[type="file"], input[type="submit"] { | |
| margin: 10px; | |
| padding: 8px 12px; | |
| border-radius: 4px; | |
| } | |
| video { | |
| max-width: 100%; | |
| margin-top: 20px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>Object Detection (Video)</h1> | |
| <form method="POST" enctype="multipart/form-data"> | |
| <input type="file" name="video" accept="video/*" required> | |
| <br> | |
| <input type="submit" value="Upload & Detect"> | |
| </form> | |
| {% if video_result %} | |
| <h2>Result Video</h2> | |
| <video controls> | |
| <source src="{{ video_result }}" type="video/mp4"> | |
| Your browser does not support the video tag. | |
| </video> | |
| {% endif %} | |
| </div> | |
| </body> | |
| </html> | |