File size: 2,970 Bytes
83bc635 bbfe706 07ddb4d bbfe706 07ddb4d bbfe706 83bc635 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | ---
license: other
license_name: per-model
license_link: LICENSE.md
library_name: coreml
pipeline_tag: depth-estimation
tags:
- coreml
- depth-estimation
- object-detection
- ios
---
# PrecisePerception models
Core ML packages used by the [PrecisePerception](https://github.com/G-OZA/PrecisePerception) iOS app (live
monocular depth on an iPhone, fused with LiDAR / ARKit anchors). They are mirrored here unchanged, so the app can be
built from a fresh clone with `tools/get_models.sh`. Depth Anything V2 is not mirrored: the script downloads it from
[apple/coreml-depth-anything-v2-small](https://huggingface.co/apple/coreml-depth-anything-v2-small).
| File | Model | Output | Licence |
|---|---|---|---|
| `coreml/ZipDepthBaseF16.mlpackage` | ZipDepth base, FP16, 512x384 input ([paper](https://arxiv.org/abs/2607.08771), [code](https://github.com/fabiotosi92/ZipDepth)) | relative disparity | MIT (ZipDepth authors) |
| `coreml/yolo26n-depth.mlpackage` | Ultralytics YOLO26n depth, FP16, 640x640, exported with `yolo export format=coreml half=True` | metric depth (m) | AGPL-3.0 (Ultralytics) |
| `coreml/yolo11n.mlpackage` | Ultralytics YOLO11n detector (COCO), FP16, 640x640, NMS in the package | boxes, classes | AGPL-3.0 (Ultralytics) |
## Android (LiteRT / TFLite)
Float32 LiteRT files for the Android port (`android/` in the app repo), portrait inputs, made with
`android/tools/export_tflite.py` (litert-torch 0.10) and checked against the PyTorch originals on a real frame with
`android/tools/verify_tflite.py`.
| File | Model | Input | Output | vs PyTorch (median rel. diff.) | Licence |
|---|---|---|---|---|---|
| `tflite/depth_anything_v2_small.tflite` | Depth Anything V2 Small (from `depth-anything/Depth-Anything-V2-Small-hf`) | 280x364, ImageNet-normalised, NCHW | relative disparity | 1.6e-3 (tanh GELU) | Apache-2.0 |
| `tflite/depth_anything_v2_small_196x252.tflite` | same, smaller input | 196x252 | relative disparity | 1.4e-3 | Apache-2.0 |
| `tflite/depth_anything_v2_small_518x686.tflite` | same, full detail | 518x686 | relative disparity | 1.7e-3 | Apache-2.0 |
| `tflite/zipdepth_base.tflite` | ZipDepth base, NPU checkpoint, blocks rewritten exactly for mobile GPUs / NNAPI (see the export script) | 384x512, RGB [0, 1] | relative disparity | 1.5e-6 | MIT |
| `tflite/yolo26n_depth.tflite` | YOLO26n depth (Ultralytics `format=litert`) | 640x640, RGB [0, 1] | metric depth (m) | 5.4e-7 | AGPL-3.0 |
| `tflite/yolo11n.tflite` | YOLO11n detector (Ultralytics `format=litert`) | 640x640, RGB [0, 1] | [1, 84, 8400], boxes normalised | exact (classes) | AGPL-3.0 |
DA2: the exact GELU does not convert with litert-torch 0.10, so the tanh approximation is used; the position embeddings are precomputed for the fixed input size.
Each model keeps the licence of its authors; see LICENSE.md. The Ultralytics models are AGPL-3.0: if you build on
them in a product, check [Ultralytics licensing](https://www.ultralytics.com/license).
|