Spaces:
Running
Running
Download index.html from Mollysc/Topic4APIR: direct link, hf CLI and curl.
- Browser
- Download file 6.34 kB
-
https://huggingface.co/spaces/Mollysc/Topic4APIR/resolve/main/index.html
- Command line
-
hf download hf://spaces/Mollysc/Topic4APIR/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Mollysc/Topic4APIR/resolve/main/index.html
6.34 kB
| <html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <meta name="vision-lab-build" content="20261020-static-1"> | |
| <title>AI-Powered Image Recognition · Vision Lab</title><meta name="description" content="Browser teaching lab: face verification, gesture recognition and printed English OCR."> | |
| <link rel="stylesheet" href="./style.css?v=20261020-static-1"> | |
| <link rel="modulepreload" href="./recognizers.js?v=20261020-static-1"> | |
| <link rel="modulepreload" href="./sample_catalog.js?v=20261022-natural-1"> | |
| <link rel="preload" as="image" href="./samples/face_a_turn.png" crossorigin="anonymous" fetchpriority="high"><link rel="preload" as="image" href="./samples/face_a.png" crossorigin="anonymous" fetchpriority="high"><!-- 只按课程main自身的底边测高,避免父iframe视口参与计算造成高度反馈。 --> | |
| <script>window.iFrameResizer={heightCalculationMethod:()=>Math.ceil(document.querySelector('[data-iframe-height]').getBoundingClientRect().bottom+window.scrollY)+2};</script> | |
| <script defer src="./vendor/iframeResizer.contentWindow.min.js"></script> | |
| <script type="module" src="./app.js?v=20261022-natural-1"></script></head> | |
| <body><main class="shell" data-iframe-height><nav class="topbar"><a class="brand" href="./index.html">VISION LAB <span>Creative Technology</span></a><div><a href="./how-to-start.html" data-i18n="guide">How to Start</a><button id="language" aria-label="Switch language">中文</button></div></nav> | |
| <header class="hero"><div><p class="eyebrow" data-i18n="eyebrow">PRETRAINED MODELS · REAL INFERENCE</p><h1>AI-Powered<br>Image Recognition</h1><p class="lede" data-i18n="lede">Compare faces. Read a gesture. Turn printed text into editable words.</p></div><aside><strong data-i18n="path">One image. A useful result.</strong><p data-i18n="promise">Choose a task, inspect its output, change one setting and explain the difference.</p><div class="badges"><span data-i18n="browser">Runs in your browser</span><span data-i18n="training">No training required</span></div></aside></header> | |
| <div class="tabs" role="tablist" aria-label="Recognition task"><button role="tab" id="tab-face" aria-selected="true" data-task="face" data-i18n="face">01 Face verification</button><button role="tab" id="tab-gesture" aria-selected="false" data-task="gesture" data-i18n="gesture">02 Gesture recognition</button><button role="tab" id="tab-ocr" aria-selected="false" data-task="ocr" data-i18n="ocr">03 Text OCR</button></div> | |
| <section class="workspace" role="tabpanel" id="workspace" aria-labelledby="tab-face"><div class="controls"><p class="step" data-i18n="step1">STEP 1 · CHOOSE AN INPUT</p><h2 id="task-title"></h2><p id="task-description" class="muted"></p><div class="sample-library"><label for="sample-group" data-i18n="samplegroup">Sample group</label><select id="sample-group"></select><p data-i18n="samplehelp">Choose a group, then select an input. Hard inputs need checking.</p></div><div id="examples" class="examples"></div><p id="sample-note" class="sample-note"></p> | |
| <div id="face-controls"><label class="upload"><span data-i18n="refupload">Upload reference image</span><input id="reference-upload" type="file" accept="image/png,image/jpeg,image/webp"></label><label class="upload"><span data-i18n="probeupload">Upload probe image</span><input id="probe-upload" type="file" accept="image/png,image/jpeg,image/webp"></label></div> | |
| <label id="single-upload-wrap" class="upload" hidden><span data-i18n="upload">Upload your image</span><input id="single-upload" type="file" accept="image/png,image/jpeg,image/webp"></label> | |
| <div id="threshold-wrap" class="setting"><label for="threshold"><span id="threshold-label"></span><output id="threshold-value">0.60</output></label><input id="threshold" type="range" min="0.1" max="1" step="0.05" value="0.6"><p id="threshold-help"></p></div> | |
| <div id="ocr-settings" class="setting" hidden><label for="psm" data-i18n="layout">Text layout</label><select id="psm"><option value="6" data-i18n="block">One text block</option><option value="11" data-i18n="sparse">Sparse text</option><option value="7" data-i18n="line">One text line</option></select><p data-i18n="english">English printed text · Tesseract LSTM</p></div> | |
| <p id="gesture-processing" class="muted" hidden></p> | |
| <button id="run" disabled class="primary" data-i18n="run">Run recognition</button><button id="retry-sample" class="retry" type="button" hidden data-i18n="retry">Retry sample</button><p id="status" role="status" aria-live="polite"></p><p id="model-name" class="model"></p></div> | |
| <div class="output"><div class="output-head"><p class="step" data-i18n="step2">STEP 2 · INSPECT THE RESULT</p><button id="export" disabled data-i18n="export">Export result JSON</button></div><div id="canvases" class="canvases"><figure id="reference-figure"><figcaption data-i18n="reference">Reference</figcaption><canvas id="reference-canvas"></canvas></figure><figure><figcaption id="probe-caption">Probe</figcaption><canvas id="probe-canvas"></canvas></figure></div><div id="result" class="result" aria-live="polite"></div><details id="details" hidden><summary data-i18n="details">Result details</summary><pre id="json"></pre></details></div></section> | |
| <section class="experiment"><div><p class="step" data-i18n="step3">STEP 3 · ASK A BETTER QUESTION</p><h2 id="question"></h2><p id="experiment"></p></div><div class="answer"><strong data-i18n="record">Record your evidence</strong><p data-i18n="recordhelp">Keep the input fixed. Save the setting, the output, one success and one limitation. Change only one factor.</p></div></section> | |
| <footer><p id="release-version" class="model">Build: 20261020-static-1</p><p id="deployment-status" class="model" role="status">Models download on first use and can be reused by your browser.</p><p data-i18n="privacy">Recognition runs in your browser. Uploaded images are not sent to a server. Use synthetic or permitted images. Results and face descriptors are not stored by the app.</p><p data-i18n="limits">Teaching demo: no identity proof, no sign-language translation, no guaranteed transcription accuracy. Model files may take time to load.</p><a href="./how-to-start.html" data-i18n="submission">Student guide: core task and extensions →</a></footer></main></body></html> | |