Questions tagged [truedepth-camera]

37 questions
0
votes
1 answer

How to create video from ARKit face session depth pixel buffer

I'm trying to append frame.capturedDepthData.depthDataMap to AVAssetWriterInputPixelBufferAdaptor but the result is always unsuccessful. My adaptor is configured like this: NSError* error; videoWriter = [AVAssetWriter.alloc initWithURL:outputURL…
mixtly87
  • 1,675
  • 15
  • 32
0
votes
0 answers

Record depth map from iPhone as sequence

I want to create an application on IOS that can record and save RGB+Depth data. I have been able to capture both data from the dual-camera and preview on the screen in real-time. Now I want to save it as two sequences in the library (one RGB…
0
votes
1 answer

sampler value of texture from DisparityFloat16 pixel format on iOS OpenGLES

I want to use depthDataMap as a texture from iPhoneX true depth camera on my OpenGLES project. Have downloaded some Swift samples, it seems that depthMap can be created and sampled as a float texture on Metal. But on OpenGLES, the only way to create…
kobunketsu
  • 157
  • 2
  • 10
0
votes
0 answers

iOS 12 Swift save TrueDepth data to video

I've been trying to write TrueDepth data as a quicktime movie. I have examined the example from https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/streaming_depth_data_from_the_truedepth_camera I understand that it is…
0
votes
1 answer

'No active and enabled video connection' error when capturing photo with TrueDepth cam

I am trying to record depth data from the TrueDepth camera along with a photo. But when calling AVCapturePhotoOutput capturePhoto(withSettings,delegate) I get an exception stating: No active and enabled video connection I configure the camera and…
jorrebor
  • 2,166
  • 12
  • 48
  • 74
0
votes
2 answers

How to get the ARPointCloud counts from the depth camera on the front of iPhone X

when i use the code session.currentFrame?.rawFeaturePoints?.points.count to get the point cloud data from the depth camera on the front of iPhone X,but,it turns out to be nil Does anyone knows what I am missing? I don’t know how to do it. Please…
zhang
  • 1
  • 2
0
votes
1 answer

Can AVDepthData be returned with more than 8-bit data?

I'm using the front-facing camera on an iPhone X to capture depth data (using the IR true depth camera). I'm able to quite easily extract the depthData from the photo that I take, but that data appears to be limited to 8-bit values per data point,…
Vik
  • 1,301
  • 4
  • 16
  • 29
1 2
3