Skip to main content
API Reference SwiftyNsdk

PlaybackDataset

A dataset loaded from a capture JSON file containing frame metadata....

Declaration

class PlaybackDataset

Summary

A dataset loaded from a capture JSON file containing frame metadata. This class uses on-demand loading for frame images and depth data. Only the currently requested frame is loaded into memory, reducing memory pressure for large datasets.


Methods

NameTypeSummary
hasDepthBool
Checks if the dataset has depth data from a LiDAR source.
- Returns: true if depthSource exists and equals "lidar", false otherwise

Nested Types

Structs

NameTypeSummary
CaptureMetadataCaptureMetadata
Metadata structure for capture information
CaptureRootCaptureRoot
Root structure for the capture JSON file
FrameMetadataFrameMetadata
Frame metadata structure matching the JSON format
LocationMetadataLocationMetadata
Location metadata structure

Enums

NameTypeSummary
PlaybackDatasetErrorPlaybackDatasetError
Errors that can occur when retrieving frame data