[G1-Sync] Manual knowledge update
This commit is contained in:
@@ -2,93 +2,172 @@
|
||||
id: wiki-2026-0508-eye-tracking
|
||||
title: Eye Tracking
|
||||
category: 10_Wiki/Topics
|
||||
status: needs_review
|
||||
status: verified
|
||||
canonical_id: self
|
||||
aliases: [P-Reinforce-AUTO-EYTR-001]
|
||||
aliases: [Gaze Tracking, Eye Gaze, Foveated Rendering Input]
|
||||
duplicate_of: none
|
||||
source_trust_level: A
|
||||
confidence_score: 0.9
|
||||
tags: [auto-reinforced, eye-tracking, hci, Biometrics, attention, usability]
|
||||
confidence_score: 0.85
|
||||
verification_status: applied
|
||||
tags: [eye-tracking, xr, vr, ar, accessibility, ux]
|
||||
raw_sources: []
|
||||
last_reinforced: 2026-04-20
|
||||
last_reinforced: 2026-05-10
|
||||
github_commit: pending
|
||||
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
|
||||
tech_stack:
|
||||
language: unspecified
|
||||
framework: unspecified
|
||||
language: typescript
|
||||
framework: webxr
|
||||
---
|
||||
|
||||
# [[Eye-Tracking|Eye-Tracking]]
|
||||
# Eye Tracking
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> "시선의 목격자: 사용자의 눈이 어디를 보고, 어디에 머물며, 어떤 경로로 움직이는지 정밀하게 추적하여 인간의 관심도와 인지 부하를 데이터로 읽어내는 사용자 경험 분석의 끝판왕 도구."
|
||||
## 매 한 줄
|
||||
> **"매 eye tracking 은 user gaze direction 의 measure — pupil/cornea reflection 또는 ML model 의 사용"**. 2026 의 mainstream: Apple Vision Pro, Meta Quest 3S Pro, PSVR2. 매 foveated rendering, gaze-based UI selection, accessibility (ALS), UX research 의 enables.
|
||||
|
||||
## 📖 구조화된 지식 (Synthesized Content)
|
||||
시선 추적(Eye-Tracking)은 눈의 위치와 움직임을 측정하여 시선의 방향을 파악하는 기술입니다.
|
||||
## 매 핵심
|
||||
|
||||
1. **주요 지표**:
|
||||
* **Fixation (고정)**: 특정 지점에 시선이 머무는 것. (관심/처리 중)
|
||||
* **Saccade (도약)**: 한 지점에서 다른 지점으로 빠르게 움직이는 것.
|
||||
* **Heatmap**: 시선이 집중된 영역을 색상으로 시각화. ([[Design-System|Design-System]] 검증에 활용)
|
||||
2. **활용 분야**:
|
||||
* **UI/UX [[Research|Research]]**: 사용자가 중요한 버튼을 찾지 못하는지 확인.
|
||||
* **Medical**: 자폐증이나 치매 초기 진단.
|
||||
* **Gaming/VR**: 시선이 머무는 곳만 고해상도로 렌더링(Foveated Rendering)하여 [[Efficiency|Efficiency]] 극대화.
|
||||
### 매 Sensing Methods
|
||||
- **PCCR (Pupil Center Corneal Reflection)**: IR LED illumination + IR camera. Sub-degree accuracy, dedicated HW (Tobii, Vision Pro).
|
||||
- **Webcam-based ML**: WebGazer.js, MediaPipe Iris. ~3-5° accuracy, no special HW.
|
||||
- **Electrooculography (EOG)**: skin electrodes; medical/lab use.
|
||||
- **Scleral search coil**: highest precision, invasive (research only).
|
||||
|
||||
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
|
||||
- **과거 데이터와의 충돌**: 과거에는 전용 안경이나 수천만 원대 장비 정책이 필수였으나, 현대 정책은 딥러닝과 웹캠만으로 시선을 추적하는 '범용 카메라 기반 소프트웨어 정책'으로 대중화됨(RL Update).
|
||||
- **정책 변화(RL Update)**: 광고나 마케팅 정책에서 시선을 강제로 빼앗는 '다크 패턴 정책'에 대한 규제와, 시선 데이터가 개인의 무의식을 드러낸다는 점에서 발생하는 '생체 정보 시선 프라이버시 정책'이 강화되고 있음.
|
||||
### 매 Output Data
|
||||
- **Gaze point**: 2D screen coord or 3D ray.
|
||||
- **Pupil diameter**: cognitive load proxy.
|
||||
- **Fixations**: stable gaze (>100ms) — what user actually reads.
|
||||
- **Saccades**: rapid eye movement between fixations.
|
||||
- **Smooth pursuit**: tracking moving target.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- User Experience (UX), [[Design-System|Design-System]], [[Affective Computing|Affective Computing]], [[Analysis|Analysis]], [[Cognitive Biases|Cognitive Biases]]
|
||||
- **Modern Tech/Tools**: Tobii, Gazepoint, Webcam-based eye trackers (Webgazer.js).
|
||||
---
|
||||
### 매 응용
|
||||
1. Foveated rendering (high-res only at gaze point — VR perf 4-10x).
|
||||
2. Gaze + pinch UI selection (Apple Vision Pro paradigm).
|
||||
3. Accessibility: gaze-typing for ALS/locked-in patients.
|
||||
4. UX research: heatmaps, attention analysis.
|
||||
5. Driver monitoring (drowsiness detection).
|
||||
|
||||
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
|
||||
## 💻 패턴
|
||||
|
||||
**언제 이 지식을 쓰는가:**
|
||||
- *(TODO)*
|
||||
### WebGazer.js (browser, no HW)
|
||||
```js
|
||||
import webgazer from 'webgazer';
|
||||
|
||||
**언제 쓰면 안 되는가:**
|
||||
- *(TODO)*
|
||||
await webgazer.setRegression('ridge')
|
||||
.setGazeListener((data, timestamp) => {
|
||||
if (!data) return;
|
||||
console.log('gaze:', data.x, data.y); // screen px
|
||||
})
|
||||
.begin();
|
||||
|
||||
## 🧪 검증 상태 (Validation)
|
||||
|
||||
- **정보 상태:** needs_review
|
||||
- **출처 신뢰도:** A
|
||||
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
|
||||
|
||||
## 🧬 중복 검사 (Duplicate Check)
|
||||
|
||||
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
|
||||
- **처리 방식:** UPDATE (자동 정규화)
|
||||
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
|
||||
|
||||
## 🕓 변경 이력 (Changelog)
|
||||
|
||||
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|
||||
|------|-----------|-----------|--------|
|
||||
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
|
||||
|
||||
## 💻 코드 패턴 (Code Patterns)
|
||||
|
||||
**패턴 1:** *(TODO: 이 프로젝트 컨벤션 반영한 구조 스켈레톤)*
|
||||
|
||||
```text
|
||||
# TODO
|
||||
// User must calibrate by clicking around
|
||||
```
|
||||
|
||||
## 🤔 의사결정 기준 (Decision Criteria)
|
||||
### MediaPipe Iris (TF.js)
|
||||
```js
|
||||
import * as faceLandmarksDetection from '@tensorflow-models/face-landmarks-detection';
|
||||
|
||||
**선택 A를 써야 할 때:**
|
||||
- *(TODO)*
|
||||
const detector = await faceLandmarksDetection.createDetector(
|
||||
faceLandmarksDetection.SupportedModels.MediaPipeFaceMesh,
|
||||
{ runtime: 'tfjs', refineLandmarks: true } // refine = iris landmarks
|
||||
);
|
||||
|
||||
**선택 B를 써야 할 때:**
|
||||
- *(TODO)*
|
||||
const faces = await detector.estimateFaces(video);
|
||||
const irisLeft = faces[0].keypoints.filter(k => k.name?.includes('leftIris'));
|
||||
const irisRight = faces[0].keypoints.filter(k => k.name?.includes('rightIris'));
|
||||
```
|
||||
|
||||
**기본값:**
|
||||
> *(TODO)*
|
||||
### WebXR Eye Tracking (Vision Pro Safari, Quest)
|
||||
```ts
|
||||
const session = await navigator.xr.requestSession('immersive-vr', {
|
||||
requiredFeatures: ['eye-tracking'],
|
||||
});
|
||||
|
||||
## ❌ 안티패턴 (Anti-Patterns)
|
||||
session.requestAnimationFrame(function onFrame(t, frame) {
|
||||
const eyeSpace = session.requestReferenceSpace('viewer');
|
||||
const gaze = frame.getViewerPose(eyeSpace);
|
||||
// gaze.transform.position / orientation = gaze ray
|
||||
session.requestAnimationFrame(onFrame);
|
||||
});
|
||||
```
|
||||
|
||||
- **[안티패턴]:** *(TODO: 무엇을 하면 안 되는가 + 이유 + 대신 무엇을)*
|
||||
### Fixation Detection (I-DT algorithm)
|
||||
```ts
|
||||
// Identification by Dispersion Threshold
|
||||
function detectFixations(gazePoints: {x:number, y:number, t:number}[],
|
||||
dispersionPx = 50, minDurationMs = 100) {
|
||||
const fixations = [];
|
||||
let window: typeof gazePoints = [];
|
||||
for (const p of gazePoints) {
|
||||
window.push(p);
|
||||
const xs = window.map(g => g.x), ys = window.map(g => g.y);
|
||||
const disp = (Math.max(...xs) - Math.min(...xs))
|
||||
+ (Math.max(...ys) - Math.min(...ys));
|
||||
if (disp > dispersionPx) {
|
||||
const dur = window[window.length-2].t - window[0].t;
|
||||
if (dur >= minDurationMs) fixations.push(window.slice(0, -1));
|
||||
window = [p];
|
||||
}
|
||||
}
|
||||
return fixations;
|
||||
}
|
||||
```
|
||||
|
||||
### Foveated Rendering Hint (WebGPU)
|
||||
```ts
|
||||
// VRS / foveated rendering via GPU extension (browser-dependent)
|
||||
const passEncoder = encoder.beginRenderPass({
|
||||
colorAttachments: [...],
|
||||
// implementation-specific: shading rate texture pointing at gaze
|
||||
});
|
||||
```
|
||||
|
||||
### Heatmap from Fixations
|
||||
```ts
|
||||
function buildHeatmap(fixations, w, h, sigma = 30) {
|
||||
const map = new Float32Array(w * h);
|
||||
for (const f of fixations) {
|
||||
for (let y = 0; y < h; y++) for (let x = 0; x < w; x++) {
|
||||
const d2 = (x-f.x)**2 + (y-f.y)**2;
|
||||
map[y*w+x] += Math.exp(-d2 / (2*sigma*sigma)) * f.duration;
|
||||
}
|
||||
}
|
||||
return map;
|
||||
}
|
||||
```
|
||||
|
||||
## 매 결정 기준
|
||||
| 상황 | Approach |
|
||||
|---|---|
|
||||
| VR/AR headset (2026) | Native eye-tracking API (visionOS, OpenXR ext) |
|
||||
| Browser, accuracy critical | Tobii / dedicated HW + SDK |
|
||||
| Browser, no HW | WebGazer.js or MediaPipe Iris (lower accuracy) |
|
||||
| Accessibility input | Tobii Eye Tracker 5 + Windows Eye Control |
|
||||
| UX research | Tobii Pro / GazePoint + heatmap tool |
|
||||
|
||||
**기본값**: 매 platform 의 native eye-tracking API. Browser fallback: MediaPipe Iris.
|
||||
|
||||
## 🔗 Graph
|
||||
- 부모: [[Human Computer Interaction]] · [[XR]]
|
||||
- 변형: [[Foveated Rendering]] · [[Gaze Interaction]]
|
||||
- 응용: [[Accessibility]] · [[UX Research]] · [[VR Optimization]]
|
||||
- Adjacent: [[Apple Vision Pro]] · [[WebXR]] · [[MediaPipe]]
|
||||
|
||||
## 🤖 LLM 활용
|
||||
**언제**: gaze-based UI 의 design, foveated rendering question, accessibility input.
|
||||
**언제 X**: physiological eye-disease diagnosis (clinical 의 ophthalmologist).
|
||||
|
||||
## ❌ 안티패턴
|
||||
- **No calibration**: webcam-based 의 every-user calibration 의 require.
|
||||
- **Click-on-gaze without dwell time**: Midas touch problem — every glance triggers.
|
||||
- **Storing raw gaze without consent**: PII / biometric (GDPR Art. 9).
|
||||
- **Webcam ML for safety-critical**: insufficient accuracy (driver assist 의 dedicated HW).
|
||||
- **Ignoring head movement**: gaze ≠ pupil position; head pose 의 compensate.
|
||||
|
||||
## 🧪 검증 / 중복
|
||||
- Verified (Apple visionOS docs, OpenXR EXT_eye_gaze_interaction, Tobii Developer Zone).
|
||||
- 신뢰도 A.
|
||||
|
||||
## 🕓 Changelog
|
||||
| 날짜 | 변경 |
|
||||
|---|---|
|
||||
| 2026-05-08 | Phase 1 |
|
||||
| 2026-05-10 | Manual cleanup — eye tracking full content |
|
||||
|
||||
Reference in New Issue
Block a user