ATLURI0001/NeuroMirror
关于
Real-time webcam-driven anatomical visualization with interactive X-ray simulations of cranial, neural, and muscular structures.
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文🪞 NeuroMirror
Real-Time Augmented Reality Anatomical & Neural X-Ray Mirror in Your Browser
🚀 Launch Live WebAR App • 🧪 Try #demo Mode (No Camera Required) • ✨ Explore Features • 📐 Architecture
🌟 Overview
NeuroMirror turns any standard web browser and webcam into an interactive, high-precision augmented reality anatomical mirror. Look directly into your camera, and NeuroMirror fits 3D anatomical structures—including your skull, cerebral brain hemispheres, facial musculature, eyes, and articulated hand bones—directly over your body in real time.
When you speak, smile, or open your mouth, the 3D mandible bone rotates around its anatomically accurate temporomandibular (TMJ) jaw hinge, maintaining seamless physical registration at 60 frames per second.
✨ Features
💀 1. Cranium & Dynamic Jaw Kinematics
- 478 Facial Landmarks: Anchors 3D cranial models onto your head with sub-millimeter precision.
- Dynamic TMJ Hinge: Real-time jaw angle calculation. The 3D mandible tracks your oral aperture synchronously as you speak, yawn, or smile.
🧠 2. Neural Cortex & Brain Structure
- Cerebral Hemispheres: High-density 3D brain mesh situated inside the cranial vault.
- Volumetric Lobes: Visualizes frontal, parietal, occipital, and temporal structures in spatial depth.
💪 3. Facial Musculature & Eye Orbits
- Superficial & Deep Muscles: Renders masseter, temporalis, frontalis, and facial expression muscle groups.
- Ocular Sockets: Real-time optical orbits tracking head position and rotation.
🖐️ 4. 3D Articulated Skeletal Hands
- 21 Joints Per Hand: Lift your hands to project 3D carpal, metacarpal, and phalangeal bone segments over your real fingers in stereoscopic depth.
🔍 5. Multi-Modal Optical Reveals
- Whole Overlay: Complete anatomical overlay over the live video stream.
- Split-Screen View: Vertical split comparison between your mirror reflection and internal anatomy.
- AR Lens (Flashlight): Move an interactive circular lens across your face to reveal the structures underneath the skin.
- Depth Slicing: Cut across transverse anatomical planes to peel back superficial layers.
🏷️ 6. Real-Time 3D Anatomical Callouts
- Dynamic Billboard Labels: Turn on anatomical annotations (Frontal Bone, Parietal Bone, Mandible, Brain Cortex, etc.) that anchor to anatomical features and follow your movements live.
📐 Architecture & Processing Pipeline
NeuroMirror is designed to run 100% on the client side with zero server-side computational dependencies. All computer vision inferences and WebGL shaders execute locally inside the browser.
Processing Stages:
- Video Ingestion: WebRTC
getUserMediacaptures camera stream at 60 FPS. - MediaPipe Tasks Vision: WebAssembly and SIMD-accelerated models execute:
face_landmarker.task(478 3D points + facial blendshapes)hand_landmarker.task(21 3D joint landmarks per hand)
- Kinematics Engine: Fits the cranial base using Procrustes point alignment, calculates dynamic mandible rotation around the jaw pivot, and interpolates skeletal bone segments.
- Three.js WebGL Core & GLSL Shaders:
- Custom Fresnel Holographic Glow shader for futuristic blue/cyan X-ray styling.
- Solid Anatomical Tissue shader with lighting and specular highlights.
- Screen-space stencil masks for Split, Lens, and Depth slicing modes.
- HUD & Dynamic Callouts: 2D canvas overlay renders billboarded anatomical pinpoints in sync with 3D projection matrices.
🚀 Quick Start
🌐 Option 1: Run Live on GitHub Pages (No Installation)
Simply navigate to the deployed GitHub Pages URL:
👉 https://atluri0001.github.io/NeuroMirror/
Tip: Don't have a camera or want a quick preview? Append
#demoto launch the offline test environment with pre-recorded head and hand motion:
💻 Option 2: Run Locally
Because NeuroMirror accesses camera video streams via navigator.mediaDevices, it must be served over a secure origin (http://localhost or https://):
# 1. Clone the repository
git clone https://github.com/ATLURI0001/NeuroMirror.git
cd NeuroMirror
# 2. Start a local HTTP server
# Using Python 3:
python -m http.server 8000
# Or using Node.js:
npx serve .
Open your browser at http://localhost:8000.
🎛️ Controls & UI Guide
| Section | Control | Description |
|---|---|---|
| Presets | Skull / Brain / Muscles / All |
Instant toggles for anatomical layer combinations. |
| Layers | Skull, Brain, Muscles, Eyes, Outline, Hands |
Individual layer checkboxes for fine inspection. |
| Labels | Show labels |
Activates real-time 3D billboarded anatomical pinpoints. |
| Shader Look | X-ray vs Solid |
Toggle between luminous cyan holographic X-ray or natural anatomical tissue shaders. |
| Reveal Mode | Whole / Half Split / Lens / Depth Cut |
Switch between full head, split screen, flashlight lens, or cross-sectional slice. |
| Adjustments | Brightness, Realism Blend, Edge Feathering |
Fine-tune the optical transparency and blending. |
| Calibration | Scale, Depth, Offset (X, Y, Z) |
Fine-tune anatomical fit to match individual cranial proportions. |
🛠️ Technology Stack
- Computer Vision: Google MediaPipe Tasks Vision (
@mediapipe/tasks-vision) - 3D Graphics Engine: Three.js r160 (WebGL 2.0)
- Shader Language: Custom GLSL Vertex and Fragment Shaders
- Binary Mesh Data: Embedded high-density 3D anatomical meshes compressed into binary streams
- Runtime: Vanilla ES6 Modules & WebAssembly (Zero build step, zero dependencies, runs natively)
- Deployment: GitHub Pages
🔒 Privacy & Security
- Strictly Local: Your camera video feed is processed 100% in-memory on your local device.
- Zero Network Transmission: NeuroMirror does not record, store, or transmit your webcam stream or facial geometry to any external server.
- Review our SECURITY.md for full privacy and security details.
🤝 Contributing
Contributions to NeuroMirror are welcome! Whether you are adding new anatomical layers, optimizing GLSL shaders, or enhancing landmark calibration:
- Check out CONTRIBUTING.md for development workflows and coding standards.
- Read the CODE_OF_CONDUCT.md for our community guidelines.
- Open an issue or submit a pull request!
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
探索相关项目
加载中…