Skip to main content
API Reference SwiftyNsdk

NsdkPlaybackFrame

A frame of data from a playback session, bundling together frame metadata and associated buffers.

Declaration

struct NsdkPlaybackFrame

Constructors

init(metadata: PlaybackDataset.FrameMetadata, image: CGImage?, depthData: CVPixelBuffer? = nil, depthConfidence: CVPixelBuffer? = nil)

Properties

NameTypeSummary
let depthConfidenceCVPixelBuffer?
The depth confidence buffer (UInt8 format) for this frame, or nil if unavailable
let depthDataCVPixelBuffer?
The depth data buffer (Float32 format) for this frame, or nil if unavailable
let imageCGImage?
The camera image for this frame, or nil if unavailable
let metadataPlaybackDataset.FrameMetadata
The metadata for this frame (pose, intrinsics, timestamps, etc.)

Relationships

conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype