Skip to main content
API Reference NSDK

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. All fields optional so varying capture exports decode without keyNotFound.
CaptureRootCaptureRoot
Root structure for the capture JSON file. Required fields per capture.json spec; optional fields may be omitted.
FrameMetadataFrameMetadata
Frame metadata structure matching the JSON format. Required fields per capture.json spec; optional fields may be omitted.
LocationMetadataLocationMetadata
Location metadata structure. All fields are optional so various capture formats (2D-only GPS, no compass, minimal logs) decode without keyNotFound.

Enums

NameTypeSummary
PlaybackDatasetErrorPlaybackDatasetError
Errors that can occur when retrieving frame data.