Spaces:
Running
Running
Download index.html from sensors/sensor-explorer: direct link, hf CLI and curl.
- Browser
- Download file 14.1 kB
-
https://huggingface.co/spaces/sensors/sensor-explorer/resolve/main/index.html
- Command line
-
hf download hf://spaces/sensors/sensor-explorer/index.html
-
curl -L -o index.html https://huggingface.co/spaces/sensors/sensor-explorer/resolve/main/index.html
14.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <meta name="description" content="Interactive explorer for AI sensors, sensing modalities, Physical AI, robotics and sensor fusion."> | |
| <title>Sensor Explorer</title> | |
| <style> | |
| :root{ | |
| --bg:#06111f;--panel:#0c1a2f;--panel2:#11233d;--line:#244260; | |
| --text:#f4f9ff;--muted:#9db4ca;--cyan:#4edfff;--blue:#64a6ff; | |
| --green:#62dfa9;--amber:#ffd57a;--violet:#a98cff; | |
| } | |
| *{box-sizing:border-box} | |
| body{ | |
| margin:0; | |
| background: | |
| radial-gradient(circle at 15% -8%,rgba(78,223,255,.14),transparent 31%), | |
| radial-gradient(circle at 90% 0,rgba(100,166,255,.13),transparent 28%), | |
| var(--bg); | |
| color:var(--text); | |
| font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; | |
| } | |
| .wrap{max-width:1180px;margin:auto;padding:0 22px} | |
| .hero{text-align:center;padding:68px 0 34px} | |
| .kicker{ | |
| display:inline-block;border:1px solid var(--line);border-radius:999px; | |
| padding:7px 12px;background:#0a1930;color:var(--cyan); | |
| font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.1em | |
| } | |
| h1{font-size:clamp(44px,8vw,78px);line-height:1;margin:20px 0 14px;letter-spacing:-.055em} | |
| .grad{ | |
| background:linear-gradient(90deg,var(--cyan),#d6e8ff,var(--violet)); | |
| background-clip:text;-webkit-background-clip:text;color:transparent | |
| } | |
| .hero p{max-width:790px;margin:auto;color:var(--muted);font-size:18px} | |
| .controls{ | |
| position:sticky;top:0;z-index:30; | |
| display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:10px; | |
| padding:12px 0;background:rgba(6,17,31,.9);backdrop-filter:blur(15px) | |
| } | |
| input,select{ | |
| width:100%;background:#09192f;color:var(--text);border:1px solid var(--line); | |
| border-radius:11px;padding:11px 12px;outline:none | |
| } | |
| input:focus,select:focus{border-color:var(--cyan);box-shadow:0 0 0 3px rgba(78,223,255,.08)} | |
| .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;padding:25px 0 6px} | |
| .stat{ | |
| border:1px solid var(--line);border-radius:15px;padding:15px; | |
| background:linear-gradient(150deg,#10223e,#09172c) | |
| } | |
| .stat strong{display:block;font-size:23px}.stat span{font-size:11px;color:var(--muted)} | |
| .sectionhead{margin:31px 0 14px} | |
| .sectionhead h2{font-size:24px;margin:0}.sectionhead p{color:var(--muted);margin:4px 0 0;font-size:13px} | |
| .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px} | |
| .card{ | |
| border:1px solid var(--line);border-radius:19px;padding:18px; | |
| background:linear-gradient(150deg,#10223d,#08172b);box-shadow:0 18px 44px rgba(0,0,0,.22) | |
| } | |
| .top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start} | |
| .icon{ | |
| display:flex;align-items:center;justify-content:center;width:48px;height:48px; | |
| border-radius:14px;background:#102b49;border:1px solid #31597c;font-size:24px | |
| } | |
| .titlewrap{flex:1} | |
| .cat{font-size:10px;color:var(--cyan);font-weight:850;text-transform:uppercase;letter-spacing:.08em} | |
| .name{font-size:21px;font-weight:900;letter-spacing:-.025em} | |
| .badge{font-size:10px;color:#c6d8e8;border:1px solid #2f4d6c;border-radius:999px;padding:5px 7px;background:#0c1e35} | |
| .desc{color:var(--muted);font-size:13px;margin:11px 0 13px;min-height:40px} | |
| .specs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px} | |
| .spec{ | |
| background:#07172b;border:1px solid #1f3957;border-radius:10px;padding:8px;text-align:center | |
| } | |
| .spec b{font-size:11px;display:block}.spec span{font-size:9px;color:var(--muted)} | |
| .tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px} | |
| .tag{font-size:10px;border:1px solid #284561;background:#0b1d34;color:#bdd2e2;padding:5px 7px;border-radius:999px} | |
| .usecases{margin-top:13px;border-top:1px solid var(--line);padding-top:12px} | |
| .usecases b{font-size:11px}.usecases p{margin:4px 0 0;color:var(--muted);font-size:11px} | |
| .compare{ | |
| margin:38px 0 55px;border:1px solid var(--line);border-radius:18px; | |
| background:#0b1930;padding:18px | |
| } | |
| .compare h2{margin:0 0 5px}.compare p{margin:0 0 15px;color:var(--muted);font-size:12px} | |
| .matrix{overflow:auto} | |
| table{width:100%;border-collapse:collapse;min-width:760px} | |
| th,td{text-align:left;padding:10px;border-bottom:1px solid #203953;font-size:11px} | |
| th{color:#bcd4e8;font-weight:850} | |
| td{color:var(--muted)} | |
| .empty{display:none;text-align:center;padding:45px;color:var(--muted);border:1px dashed var(--line);border-radius:16px} | |
| footer{border-top:1px solid var(--line);padding:28px 0 46px;color:var(--muted);font-size:13px} | |
| footer strong{color:var(--text)} | |
| @media(max-width:850px){ | |
| .controls{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr} | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <header class="hero"> | |
| <div class="wrap"> | |
| <span class="kicker">Physical AI · Perception Layer</span> | |
| <h1>Sensor <span class="grad">Explorer</span></h1> | |
| <p>Explore sensing modalities for robotics, autonomous systems, Edge AI and intelligent machines.</p> | |
| </div> | |
| </header> | |
| <main class="wrap"> | |
| <section class="controls"> | |
| <input id="search" placeholder="Search sensors, modalities or use cases…" aria-label="Search"> | |
| <select id="family"><option value="all">All sensor families</option></select> | |
| <select id="usecase"><option value="all">All use cases</option></select> | |
| </section> | |
| <section class="stats"> | |
| <div class="stat"><strong id="visibleCount">0</strong><span>visible sensor types</span></div> | |
| <div class="stat"><strong id="familyCount">0</strong><span>sensor families</span></div> | |
| <div class="stat"><strong>4</strong><span>comparison signals</span></div> | |
| <div class="stat"><strong>AI</strong><span>physical-world input layer</span></div> | |
| </section> | |
| <div class="sectionhead"> | |
| <h2>Explore sensor modalities</h2> | |
| <p>Compare what each sensor measures, where it fits and what it contributes to Physical AI.</p> | |
| </div> | |
| <section id="grid" class="grid"></section> | |
| <div id="empty" class="empty">No sensor matches the current filters.</div> | |
| <section class="compare"> | |
| <h2>Quick comparison</h2> | |
| <p>Simplified educational comparison. Real hardware varies significantly by model, environment and configuration.</p> | |
| <div class="matrix"> | |
| <table> | |
| <thead><tr><th>Sensor</th><th>Primary signal</th><th>Typical strength</th><th>Typical limitation</th><th>Common AI use</th></tr></thead> | |
| <tbody id="matrixBody"></tbody> | |
| </table> | |
| </div> | |
| </section> | |
| </main> | |
| <footer> | |
| <div class="wrap"> | |
| <strong>Sensor Explorer</strong> — an independent Hugging Face Space for Physical AI and robotics.<br> | |
| Collaboration and partnerships: <strong>agenten@magenta.de</strong> | |
| </div> | |
| </footer> | |
| <script> | |
| const sensors = [ | |
| { | |
| name:"RGB Camera",icon:"📷",family:"Vision",signal:"Visible light", | |
| description:"Rich visual sensing for semantic understanding, inspection and interaction.", | |
| strengths:["semantic detail","widely supported","pretrained models"], | |
| limits:["lighting","occlusion","privacy"], | |
| uses:["Robotics","Automotive","Industrial","Wearables"], | |
| range:"Medium",detail:"High",motion:"Medium",cost:"Low–Med", | |
| strength:"Semantic visual information", limitation:"Lighting and occlusion", common:"Detection, segmentation, navigation" | |
| }, | |
| { | |
| name:"Depth Camera",icon:"🧊",family:"Depth",signal:"Distance / depth", | |
| description:"Direct depth sensing for near-field 3D understanding and manipulation.", | |
| strengths:["3D structure","grasping","indoor robotics"], | |
| limits:["range","reflective surfaces","outdoor variability"], | |
| uses:["Robotics","Industrial"], | |
| range:"Short–Med",detail:"High",motion:"Medium",cost:"Medium", | |
| strength:"Explicit depth", limitation:"Range and surface sensitivity", common:"Manipulation, 3D perception" | |
| }, | |
| { | |
| name:"LiDAR",icon:"🛰️",family:"Ranging",signal:"3D distance", | |
| description:"Precise light-based ranging for geometry, mapping and localization.", | |
| strengths:["3D geometry","mapping","localization"], | |
| limits:["cost","weather","point-cloud processing"], | |
| uses:["Automotive","Robotics","Drones","Industrial"], | |
| range:"Med–Long",detail:"High",motion:"Medium",cost:"High", | |
| strength:"Precise 3D geometry", limitation:"Cost and environmental sensitivity", common:"Mapping, localization, 3D detection" | |
| }, | |
| { | |
| name:"Radar",icon:"📡",family:"Ranging",signal:"Distance + velocity", | |
| description:"Radio-based sensing that performs well across changing lighting and many weather conditions.", | |
| strengths:["velocity","weather robustness","long range"], | |
| limits:["lower spatial detail","signal complexity"], | |
| uses:["Automotive","Drones","Industrial"], | |
| range:"Long",detail:"Medium",motion:"High",cost:"Medium", | |
| strength:"Velocity + robust ranging", limitation:"Lower spatial resolution", common:"Automotive perception, motion" | |
| }, | |
| { | |
| name:"Microphone Array",icon:"🎙️",family:"Audio",signal:"Sound", | |
| description:"Captures speech and environmental sound for interaction, monitoring and localization.", | |
| strengths:["speech","sound events","localization"], | |
| limits:["noise","reverberation","privacy"], | |
| uses:["Robotics","Industrial","Wearables"], | |
| range:"Medium",detail:"Medium",motion:"Low",cost:"Low", | |
| strength:"Acoustic context", limitation:"Noise and privacy", common:"Speech, sound-event detection" | |
| }, | |
| { | |
| name:"IMU",icon:"🧭",family:"Motion",signal:"Acceleration + rotation", | |
| description:"Compact motion sensing for orientation, stabilization and inertial tracking.", | |
| strengths:["high frequency","small","sensor fusion"], | |
| limits:["drift","calibration"], | |
| uses:["Robotics","Drones","Wearables","Automotive"], | |
| range:"Local",detail:"Medium",motion:"High",cost:"Low", | |
| strength:"Fast motion estimation", limitation:"Drift over time", common:"Pose, stabilization, odometry" | |
| }, | |
| { | |
| name:"Tactile Sensor",icon:"✋",family:"Touch",signal:"Contact / pressure", | |
| description:"Provides contact feedback for dexterous manipulation and interaction.", | |
| strengths:["grasp feedback","contact","slip detection"], | |
| limits:["local sensing","hardware diversity"], | |
| uses:["Robotics","Industrial"], | |
| range:"Contact",detail:"High",motion:"Medium",cost:"Medium", | |
| strength:"Direct interaction feedback", limitation:"Contact-only sensing", common:"Grasping, manipulation" | |
| }, | |
| { | |
| name:"Force / Torque Sensor",icon:"⚙️",family:"Force",signal:"Force + torque", | |
| description:"Measures physical interaction forces for precise and safe robot control.", | |
| strengths:["force control","assembly","safety"], | |
| limits:["calibration","cost"], | |
| uses:["Robotics","Industrial"], | |
| range:"Contact",detail:"High",motion:"Medium",cost:"Med–High", | |
| strength:"Precise interaction force", limitation:"Calibration and integration", common:"Assembly, cobots, manipulation" | |
| }, | |
| { | |
| name:"Ultrasonic Sensor",icon:"〰️",family:"Proximity",signal:"Short-range distance", | |
| description:"Simple acoustic ranging for presence and obstacle detection.", | |
| strengths:["low cost","simple","low compute"], | |
| limits:["short range","low semantic detail"], | |
| uses:["Robotics","Automotive","Industrial"], | |
| range:"Short",detail:"Low",motion:"Low",cost:"Low", | |
| strength:"Simple proximity detection", limitation:"Limited detail and range", common:"Obstacle and presence sensing" | |
| }, | |
| { | |
| name:"Thermal Camera",icon:"🌡️",family:"Vision",signal:"Infrared heat", | |
| description:"Detects thermal radiation for inspection, monitoring and perception beyond visible light.", | |
| strengths:["dark environments","heat patterns","inspection"], | |
| limits:["lower visual detail","cost"], | |
| uses:["Industrial","Robotics","Automotive"], | |
| range:"Medium",detail:"Medium",motion:"Medium",cost:"Med–High", | |
| strength:"Thermal perception", limitation:"Lower semantic visual detail", common:"Inspection, detection in darkness" | |
| } | |
| ]; | |
| const $=id=>document.getElementById(id); | |
| const family=$("family"), usecase=$("usecase"); | |
| [...new Set(sensors.map(s=>s.family))].sort().forEach(x=>{ | |
| const o=document.createElement("option");o.value=x;o.textContent=x;family.appendChild(o); | |
| }); | |
| [...new Set(sensors.flatMap(s=>s.uses))].sort().forEach(x=>{ | |
| const o=document.createElement("option");o.value=x;o.textContent=x;usecase.appendChild(o); | |
| }); | |
| $("familyCount").textContent=new Set(sensors.map(s=>s.family)).size; | |
| function card(s){ | |
| return ` | |
| <article class="card"> | |
| <div class="top"> | |
| <div class="icon">${s.icon}</div> | |
| <div class="titlewrap"><div class="cat">${s.family}</div><div class="name">${s.name}</div></div> | |
| <span class="badge">${s.signal}</span> | |
| </div> | |
| <div class="desc">${s.description}</div> | |
| <div class="specs"> | |
| <div class="spec"><b>${s.range}</b><span>Range</span></div> | |
| <div class="spec"><b>${s.detail}</b><span>Detail</span></div> | |
| <div class="spec"><b>${s.motion}</b><span>Motion</span></div> | |
| <div class="spec"><b>${s.cost}</b><span>Relative cost</span></div> | |
| </div> | |
| <div class="tags">${s.strengths.map(x=>`<span class="tag">${x}</span>`).join("")}</div> | |
| <div class="usecases"><b>Common applications</b><p>${s.uses.join(" · ")}</p></div> | |
| </article>`; | |
| } | |
| function render(){ | |
| const q=$("search").value.toLowerCase().trim(); | |
| const fam=family.value, use=usecase.value; | |
| const data=sensors.filter(s=>{ | |
| const hay=[s.name,s.family,s.signal,s.description,...s.strengths,...s.limits,...s.uses].join(" ").toLowerCase(); | |
| return (!q||hay.includes(q)) && (fam==="all"||s.family===fam) && (use==="all"||s.uses.includes(use)); | |
| }); | |
| $("visibleCount").textContent=data.length; | |
| $("grid").innerHTML=data.map(card).join(""); | |
| $("empty").style.display=data.length?"none":"block"; | |
| $("matrixBody").innerHTML=data.map(s=>` | |
| <tr><td><strong style="color:#f4f9ff">${s.name}</strong></td><td>${s.signal}</td><td>${s.strength}</td><td>${s.limitation}</td><td>${s.common}</td></tr> | |
| `).join(""); | |
| } | |
| $("search").addEventListener("input",render); | |
| family.addEventListener("change",render); | |
| usecase.addEventListener("change",render); | |
| render(); | |
| </script> | |
| </body> | |
| </html> | |