# shenalme/iris_feedbck architecture

> Architecture diagram of the GitHub repository shenalme/iris_feedbck, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shenalme/iris_feedbck
- Repository: https://github.com/shenalme/iris_feedbck

## Overview

This repository contains a packaged MediaPipe Face Mesh solution, rather than enough visible source to map a separate application workflow. Its API accepts image frames, initializes the processing graph and runtime assets, and delivers face landmarks and optional geometry through callbacks. The sampled runtime code shows asset loading and WebAssembly setup, but not the model’s internal inference stages. The site bundle and video sample are opaque or peripheral here, so they are not mapped as application components.

Main entry points: [`mediapipe/face_mesh/face_mesh.js`](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh.js) (Face Mesh API), [`mediapipe/face_mesh/face_mesh_solution_packed_assets_loader.js`](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_packed_assets_loader.js) (Packed Asset Loader), [`mediapipe/face_mesh/face_mesh_solution_simd_wasm_bin.js`](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_simd_wasm_bin.js) (WebAssembly Runtime), [`mediapipe/face_mesh/face_mesh_solution_wasm_bin.js`](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_wasm_bin.js) (WASM Fallback)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Face Mesh API"]
  node_face_api["Face Mesh API<br/>[face_mesh.js]"]
  node_api_types["API Types<br/>[index.d.ts]"]
end

subgraph group_runtime["Processing Runtime"]
  node_wasm_runtime["WebAssembly Runtime"]
  node_wasm_fallback["WASM Fallback"]
end

subgraph group_assets["Model Assets"]
  node_asset_loader["Packed Asset Loader"]
  node_model_data["Model Data"]
end

node_developer(("Developer"))

node_developer -->|"sends frames"| node_face_api
node_face_api -->|"initializes runtime"| node_wasm_runtime
node_face_api -->|"loads runtime"| node_wasm_fallback
node_face_api -->|"loads assets"| node_asset_loader
node_asset_loader -->|"fetches data"| node_model_data
node_face_api -->|"returns results"| node_developer

click node_face_api "https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh.js"
click node_api_types "https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/index.d.ts"
click node_wasm_runtime "https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_simd_wasm_bin.js"
click node_wasm_fallback "https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_wasm_bin.js"
click node_asset_loader "https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_packed_assets_loader.js"
click node_model_data "https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_packed_assets.data"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_face_api,node_api_types toneBlue
class node_wasm_runtime,node_wasm_fallback toneAmber
class node_asset_loader,node_model_data toneMint
class node_developer toneIndigo
```

## Components

### Face Mesh API

- [Face Mesh API](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh.js): `mediapipe/face_mesh/face_mesh.js`
- [API Types](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/index.d.ts): `mediapipe/face_mesh/index.d.ts`

### Processing Runtime

- [WebAssembly Runtime](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_simd_wasm_bin.js): `mediapipe/face_mesh/face_mesh_solution_simd_wasm_bin.js`
- [WASM Fallback](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_wasm_bin.js): `mediapipe/face_mesh/face_mesh_solution_wasm_bin.js`

### Model Assets

- [Packed Asset Loader](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_packed_assets_loader.js): `mediapipe/face_mesh/face_mesh_solution_packed_assets_loader.js`
- [Model Data](https://github.com/shenalme/iris_feedbck/blob/main/mediapipe/face_mesh/face_mesh_solution_packed_assets.data): `mediapipe/face_mesh/face_mesh_solution_packed_assets.data`

### Other components

- **Developer**

## Connections

- Developer → Face Mesh API: sends frames
- Face Mesh API → WebAssembly Runtime: initializes runtime (evidence: `mediapipe/face_mesh/face_mesh.js`)
- Face Mesh API → WASM Fallback: loads runtime (evidence: `mediapipe/face_mesh/face_mesh.js`)
- Face Mesh API → Packed Asset Loader: loads assets (evidence: `mediapipe/face_mesh/face_mesh.js`)
- Packed Asset Loader → Model Data: fetches data (evidence: `mediapipe/face_mesh/face_mesh_solution_packed_assets_loader.js`)
- Face Mesh API → Developer: returns results
