- May 27, 2025
- Mins Read
Code examples of Depth APIs in iOS
Use devices which has a dual camera (e.g. iPhone 8 Plus) or a TrueDepth camera (e.g. iPhone X)
Open ARKit-Sampler.xcworkspace
with Xcode 10 and build it!
It can NOT run on Simulator. (Because it uses Metal.)
Depth visualization in real time using AV Foundation.
Blending a background image with a mask created from depth.
Depth visualization from pictures in the camera roll.
Background removal demo using Portrait Effect Matte (or Portrait Effect Matte).
Plaease try this after taking a picture of a HUMAN with PORTRAIT mode.
Available in iOS 12 or later.
Depth visualization on ARKit. The depth on ARKit is available only when using ARFaceTrackingConfiguration
.
A demo to render a 2D image in 3D space.
[WIP] An occlusion sample on ARKit using depth.
Light and scrollable view controller for tvOS to present blocks of text Description TvOSTextViewer is a view controller to present ...
TvOSSlider is an implementation of UISlider for tvOS. Description and usage TvOSSlider palliates missing an implementation of UISlider for tvOS as part ...
TvOSScribble, based on CoreML, mitigates the lack of a physical numpad area in Siri Remote implementing a handwriting gesture recognizer. ...
PIN keyboard for tvOS Description TvOSPinKeyboard is a view controller that allows easily asking for PIN codes in tvOs Requirements ...
📺 A tvOS button which truncates long text with '... More'. The TvOSMoreButton is a simple view which aims to ...