shu223/iOS-Depth-Sampler resource
Code examples for Depth APIs in iOS observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2919
- days_rel: n/a
- days_push: 1033
- n_releases_24m: 0
Adoption not part of the score
1220 stars · 104 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of Swift code examples demonstrating iOS Depth APIs, including real-time depth visualization, depth masks, Portrait Effect Matte, and ARKit depth. It is a sample app built with Xcode that runs on devices with dual or TrueDepth cameras.
Use cases
- learn how to visualize camera depth in real time on iOS
- implement background removal using Portrait Effect Matte
- render depth data from portrait-mode photos in the camera roll
- explore ARKit face-tracking depth visualization
- blend a background image with a depth-based mask
- render a 2D image in 3D space using depth
When to choose
- you are an iOS developer learning to work with depth data from AV Foundation, TrueDepth, or ARKit
- you need working Swift sample code for portrait matte or depth masking features
- you want a reference for Metal-based depth visualization on iPhone
When to avoid
- you need a production-ready library or SDK rather than demo code
- you want to run on the iOS Simulator or on devices without dual/TrueDepth cameras
- your project targets platforms other than iOS
Facets
learning-resource · maturity maintenance
image-processing computer-vision graphics developer-tools mobile-development computer-vision image-processing tutorials depth-api arkit avfoundation portrait-matte sample-code metal camera ios swift mobile
1 source
- readme: https://github.com/shu223/iOS-Depth-Sampler · fetched 2026-08-28 · 63c122b854df
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shu223/iOS-Depth-Sampler | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="shu223/iOS-Depth-Sampler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem