NsdkPlaybackFrame
A frame of data from a playback session, bundling together frame metadata and associated buffers.
Declaration
struct NsdkPlaybackFrameConstructors
init(metadata: PlaybackDataset.FrameMetadata, image: CGImage?, depthData: CVPixelBuffer? = nil, depthConfidence: CVPixelBuffer? = nil)
Properties
| Name | Type | Summary |
|---|---|---|
| let depthConfidence | CVPixelBuffer? | The depth confidence buffer (UInt8 format) for this frame, or nil if unavailable |
| let depthData | CVPixelBuffer? | The depth data buffer (Float32 format) for this frame, or nil if unavailable |
| let image | CGImage? | The camera image for this frame, or nil if unavailable |
| let metadata | PlaybackDataset.FrameMetadata | The metadata for this frame (pose, intrinsics, timestamps, etc.) |
Relationships
conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype