Spaces:
Running

aprilive / tag.html
mandarin3d's picture
Deploy Aprilive browser tracker with cube and motion blur
054b6b8 verified
Raw History Blame Contribute Delete
1.91 kB
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>AprilTag 0 路 Display or print</title><link rel="icon" href="data:,"><style>
*{box-sizing:border-box}body{margin:0;background:white;color:#202522;font-family:"Helvetica Neue",sans-serif;text-align:center}header{padding:24px 20px;display:flex;align-items:center;justify-content:center;gap:24px}h1{font-size:18px;font-weight:500;margin:0}button,a{font:inherit;font-size:14px;color:inherit}button{min-height:44px;padding:0 16px;border:1px solid #cbd2c7;border-radius:6px;background:#f6f7f4;cursor:pointer}main{padding:20px}#tag{display:block;width:min(80vw,65vh,600px);height:auto;image-rendering:pixelated;margin:10px auto 24px}p{font-size:14px;line-height:1.6;color:#5b665e;max-width:420px;margin:16px auto}.print-note{display:none}a{text-underline-offset:4px}@media print{@page{size:auto;margin:20mm}header,.screen-note{display:none}main{padding:0}#tag{width:125mm;height:125mm;margin:15mm auto 10mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-note{display:block;color:#000}p{font-size:11pt}}
</style></head>
<body><header><h1>AprilTag 0</h1><button onclick="window.print()">Print tag</button></header><main><img id="tag" src="tag.png" alt="AprilTag tag36h11, ID 0" width="10" height="10"><div class="screen-note"><p>Face this tag toward your computer鈥檚 webcam. Keep the whole white border visible and turn up your screen brightness.</p><p>For distance estimates, measure the outer black square and enter its width in the tracker.</p><p>Printing? Use 100% scale. The black square should measure 100 mm.</p><a href="/">Back to tracker</a></div><p class="print-note">AprilTag 路 tag36h11 路 ID 0<br>Outer black square: 100 脳 100 mm at 100% print scale.<br>Measure after printing and enter the actual width in the tracker.</p></main></body>
</html>