|
<!DOCTYPE html> |
|
<html lang="en"> |
|
|
|
<head> |
|
<meta charset="UTF-8" /> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|
<title>Transformers.js | real-time image classification</title> |
|
<script type="module" crossorigin src="/assets/index-8bAK_Ga0.js"></script> |
|
<link rel="stylesheet" crossorigin href="/assets/index-CfQ5qnGK.css"> |
|
</head> |
|
|
|
<body> |
|
<h1> |
|
Real-time image classification (WebGPU) |
|
</h1> |
|
<h3> |
|
Runs <a href="https://huggingface.co/onnx-community/mobilenetv4_conv_small.e2400_r224_in1k" target="_blank">MobileNetV4</a> locally in your browser w/ |
|
<a href="https://github.com/xenova/transformers.js" target="_blank">π€ Transformers.js</a> |
|
</h3> |
|
<div id="container"> |
|
<video id="video" autoplay muted playsinline></video> |
|
<div id="overlay"></div> |
|
</div> |
|
<label id="status">Loading model (8 MB)...</label> |
|
|
|
|
|
</body> |
|
|
|
</html> |