Post not yet marked as solved
Post marked as unsolved with 1 replies, 1,390 views
an AVDepthData class method converting(toDepthDataType: kCVPixelFormatType_DepthFloat16) does not work.
let depthData = photo.depthData
depthData.converting(toDepthDataType: kCVPixelFormatType_DepthFloat16)
let ddType = depthData.depthDataType
ddType value is 1751411059 which means kCVPixelFormatType_DisparityFloat16.
How do I get the DepthFloat16 format data?