-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (30 loc) · 1.46 KB
/
index.html
File metadata and controls
33 lines (30 loc) · 1.46 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Object Detection with Transformers.js</title>
</head>
<body>
<div class="header-div">
<h1>Object Detection Demo</h1>
<p1>Model may take a few seconds to download when you first load this page.</p1><br/>
<p1>Upload a picture using the button that appears below.</p1><br/>
<p1>Objects will be identified, boxed, and labeled after analyzing.</p1><br/><br/>
<p1>It may take a minute or two for the analysis to occur, and it's still experimental.</p1>
<p1>If you don't see results in a minute, try uploading a different picture, with one or two items and an uncluttered background.</p1><br/>
<p1>It also tends to run faster on a computer rather than mobile.</p1><br/>
<p1><b>Any pictures you upload will stay on your machine, they are not sent over the internet.</b></p1>
</div>
<main class="container">
<label class="custom-file-upload">
<input id="file-upload" type="file" accept="image/*" />
<img class="upload-icon" src="https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/upload-icon.png" />
Upload image
</label>
<p id="status"></p>
<div id="image-container"></div>
</main>
<script src="./index.js" type="module"></script>
</body>
</html>