Questions tagged [truedepth-camera]

37 questions
12
votes
2 answers

Can I require a user to have a True Depth camera to download my app from the App Store?

An app I want to make only makes sense with a TrueDepth camera for ARKit and augmented reality face tracking capability. Can I require a user to have a True Depth camera(iPhone X only right now) to download my app from the App Store?
Steve Moser
  • 7,647
  • 5
  • 55
  • 94
7
votes
1 answer

How to make a 3D model from AVDepthData?

I’m interested in the issue of data processing from TrueDepth Camera. It is necessary to obtain the data of a person’s face, build a 3D model of the face and save this model in an .obj file. Since in the 3D model needed presence of the person’s eyes…
K. Orlov
  • 81
  • 1
  • 3
7
votes
0 answers

TrueDepth camera foreground segmentation, improving mask result

I'm checking out an Apple project that demonstrates how to separate a person from the background using the TrueDepth front camera. You can see that…
user339946
  • 5,961
  • 9
  • 52
  • 97
6
votes
0 answers

Build 3D object of face using iPhone X Truedepth

Is there any good examples or guide on how to create 3D face objects to export/save using iPhone X TrueDepth Camera API ? This app seems to be able to do it: https://itunes.apple.com/us/app/bellus3d-faceapp/id1352268131
Axil
  • 3,606
  • 10
  • 62
  • 136
5
votes
0 answers

How to save TrueDepth data while recording video on iOS?

I am looking for a way to save the depth information (for each frame) to a file while recording a video using the TrueDepth camera. I have found solutions for saving the depth data while taking photos, but not with video. I currently have code for…
Mantu
  • 51
  • 5
5
votes
2 answers

Is it possible to run ARWorldTracking Session and ARFaceTracking Session at the same time on iPhoneX?

I'm trying to run ARWorldTracking Session and ARFaceTracking Session at the same time on iPhoneX, but the first running session stopped after the later session begun to run. Is is impossible to implement? This is my ViewController.swift…
Scoff
  • 105
  • 9
5
votes
2 answers

Save depth images from TrueDepth camera

I am trying to save depth images from the iPhoneX TrueDepth camera. Using the AVCamPhotoFilter sample code, I am able to view the depth, converted to grayscale format, on the screen of the phone in real-time. I cannot figure out how to save the…
dustymax
  • 330
  • 3
  • 11
4
votes
0 answers

Access to TrueDepth from Unity

I try to use TrueDepth data from iPhoneX(Xs, Xr, new iPadPro) for Unity App. Current ARKit plugin for Unity doesn't seem to access to TrueDepth. So I think I need to create native plugin in Objective-c. How to create a plugin which enable Unity to…
hygradme
  • 81
  • 1
  • 4
3
votes
1 answer

Swift save 16 bit depth image from builtInDualCamera

I can get depth's CVPixelBuffer from the camera session. How to save it as a 16 bit png without losing depth data?
3
votes
2 answers

Why does ARFaceAnchor have negative Z position?

I am using ARKit's ARFaceTrackingConfiguration with ARConfiguration.WorldAlignment.camera alignment, but I found that the documentation (seemingly) does not reflect the reality; Based on the excerpt of documentation below, I would expect that the…
sarasvati
  • 792
  • 12
  • 30
3
votes
0 answers

How can I record AVDepthData video and save in the gallery?

I am developing an application to record RGB-D sequences with the iPhone by using the DualRearCamera or the TrueDepthCamera. I can capture and visualize the RGB frame and depth frames and I developed a version where I can compress this data and save…
2
votes
0 answers

Measure real distance between two points using iOS Depth camera

Right now I'm exploring features of iOS Depth camera and now I want to obtain the distance in real-world metrics between two points (for example, between two eyes). I have successfully connected iOS Depth camera functionality and I have AVDepthData…
Eugene Alexeev
  • 1,152
  • 12
  • 32
2
votes
0 answers

Blurry Depth Data from iPhone 13 TrueDepth Camera

Does anyone know of a workaround for blurry depth map data being returned by the iPhone 13's TrueDepth (front) camera? Earlier iPhone models produced sharp, unfiltered depth maps but iPhone 13 models look like they have had some kind of…
stuart-h3d
  • 21
  • 2
2
votes
0 answers

Combining facial landmarks from ios vision framework with depth images

I am capturing depth images with an iphone truedepth camera and using the ios vision framework to find face landmarks in the image. The capture device resolution is 3088x2136 and the depth map is 640x480. We are trying to find the depth of all of…
joshua jackson
  • 629
  • 1
  • 6
  • 17
2
votes
1 answer

How to capture depth data as kCVPixelFormatType_DepthFloat16 on iOS?

The following code configures a TrueDepth Camera to deliver depth data. in configureCaptureDevices() the AVCaptureDevice is configured to deliver depth data in the kCVPixelFormatType_DepthFloat16 or kCVPixelFormatType_DepthFloat32 format. However,…
jorrebor
  • 2,166
  • 12
  • 48
  • 74
1
2 3