Post

Replies

Boosts

Views

Activity

Comment on 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
Comment on 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??
Replies
Boosts
Views
Activity
May ’22
Comment on How to obtain the true distance depth data per pixel?
The use case is for measuring the distance from an object to the camera. How am I able to obtain this depth in meter values?
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Sep ’22