Post

Replies

Boosts

Views

Activity

Reply to How to get depth & calibration data from the TrueDepth system?
Thank you @gchiste for the prompt response, I'm getting closer with your help!! I successfully implemented depthDataMap but I'm so confused by the output because I was expecting an array of depth (z) values and instead I got this: <CVPixelBuffer 0x283126800 width=640 height=480 bytesPerRow=2560 pixelFormat=fdep iosurface=0x28022c480 attributes={     IOSurfaceProperties =     {     };     PixelFormatDescription =     {         BitsPerBlock = 32;         BitsPerComponent = 32;         CGBitmapContextCompatibility = 0;         CGImageCompatibility = 0;         ComponentRange = FullRange;         ContainsAlpha = 0;         ContainsGrayscale = 0;         ContainsRGB = 0;         ContainsYCbCr = 0;         FillExtendedPixelsCallback = {length = 24, bytes = 0x0000000000000000ac04668a010000000000000000000000};         IOSurfaceCoreAnimationCompatibility = 0;         IOSurfaceOpenGLESTextureCompatibility = 1;         OpenGLESCompatibility = 1;         PixelFormat = 1717855600;     }; } propagatedAttachments={ } nonPropagatedAttachments={ }> where are the Z values??
May ’22