# ilmamhf/depth-estimation-app-comvis architecture

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

- Interactive diagram: https://gitdiagram.com/ilmamhf/depth-estimation-app-comvis
- Repository: https://github.com/ilmamhf/depth-estimation-app-comvis

## Overview

This repository appears to be an Android app that bundles two Depth Anything V2 mobile ONNX models, suggesting an image-depth workflow. The only sampled source material is build configuration; the README is empty, and the activity, manifest, and model-loading code were not shown. Accordingly, the workflow links below are unverified and marked dashed rather than presented as confirmed runtime behavior.

Main entry points: [`app/src/main/java/com/example/comvis_app/MainActivity.kt`](https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/java/com/example/comvis_app/MainActivity.kt) (Main activity), [`app/src/main/assets/depth_anything_v2_mobile.onnx`](https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/assets/depth_anything_v2_mobile.onnx) (Mobile ONNX model), [`app/src/main/assets/depth_anything_v2_mobile_quantized.onnx`](https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/assets/depth_anything_v2_mobile_quantized.onnx) (Quantized ONNX model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Android app"]
  node_activity["Main activity<br/>[MainActivity.kt]"]
end

subgraph group_models["Depth models"]
  node_mobile_model["Mobile ONNX model"]
  node_quantized_model["Quantized ONNX model"]
end

node_user(("App user"))

node_user -.->|"opens"| node_activity
node_activity -.->|"may load"| node_mobile_model
node_activity -.->|"may load"| node_quantized_model

click node_activity "https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/java/com/example/comvis_app/MainActivity.kt"
click node_mobile_model "https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/assets/depth_anything_v2_mobile.onnx"
click node_quantized_model "https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/assets/depth_anything_v2_mobile_quantized.onnx"

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_activity,node_user toneBlue
class node_mobile_model,node_quantized_model toneAmber
```

## Components

### Android app

- [Main activity](https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/java/com/example/comvis_app/MainActivity.kt): `app/src/main/java/com/example/comvis_app/MainActivity.kt`

### Depth models

- [Mobile ONNX model](https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/assets/depth_anything_v2_mobile.onnx): `app/src/main/assets/depth_anything_v2_mobile.onnx`
- [Quantized ONNX model](https://github.com/ilmamhf/depth-estimation-app-comvis/blob/master/app/src/main/assets/depth_anything_v2_mobile_quantized.onnx): `app/src/main/assets/depth_anything_v2_mobile_quantized.onnx`

### Other components

- **App user**

## Connections

- App user → Main activity: opens
- Main activity → Mobile ONNX model: may load
- Main activity → Quantized ONNX model: may load
