How bmifsud/poc-artriout works
AR Trion is a privacy-first, browser-based augmented-reality platform. Its visible client workflow checks WebGPU support, presents a BIPA consent dialog, and requests a camera stream only after consent. The packages also provide local inference options, MediaPipe hand-landmark processing, zero-egress enforcement, ephemeral frame sanitization, and WebGPU-oriented rendering configuration. The excerpts show package capabilities, but do not show a connected frame-processing or rendering loop; those stages are therefore represented without invented links.
Main entry points: index.ts App Bootstrap · ClickwrapConsent.ts Consent and Camera Gate · LocalInferenceRuntime.ts Local Inference Runtime · ClickwrapConsentModal.ts Consent Dialog
Components 12
Web Client
- App Bootstrap
apps/web-app/src/index.ts
Privacy Compliance
- Consent Dialog
packages/compliance/src/ClickwrapConsentModal.ts - Consent and Camera Gate
packages/compliance/src/ClickwrapConsent.ts - Frame Sanitization
packages/compliance/src/MemorySanitizer.ts
Edge Perception
- Local Inference Runtime
packages/perception/src/LocalInferenceRuntime.ts - MediaPipe Hand Landmarker
packages/perception/src/MediaPipeHandLandmarker.ts - Network Egress Guard
packages/perception/src/NetworkEgressGuard.ts
WebGPU Rendering
- WebGPU Capability
packages/rendering/src/WebGPUCapabilityDetector.ts - WebGPU WASM Config
packages/rendering/src/EmscriptenConfig.ts
Other components
- Browser User
- Browser WebGPU
- Browser Camera
Connections 9
- Browser User → App Bootstrap: opens
apps/web-app/src/index.ts - App Bootstrap → WebGPU Capability: checks support
apps/web-app/src/index.ts - WebGPU Capability → Browser WebGPU: requests adapter
packages/rendering/src/WebGPUCapabilityDetector.ts - App Bootstrap → Consent Dialog: renders dialog
apps/web-app/src/index.ts - Consent Dialog → Consent and Camera Gate: grants consent
packages/compliance/src/ClickwrapConsentModal.ts - App Bootstrap → Consent and Camera Gate: requests camera
apps/web-app/src/index.ts - Consent and Camera Gate → Browser Camera: checks consent; opens stream
packages/compliance/src/ClickwrapConsent.ts - Local Inference Runtime → Network Egress Guard: activates guard
packages/perception/src/LocalInferenceRuntime.ts - Local Inference Runtime → Network Egress Guard: records remote-model violation
packages/perception/src/LocalInferenceRuntime.ts