Skip to main content

CLASS

PlaybackDataset

public class PlaybackDataset

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

This class loads all frame images into memory during initialization. For large datasets, consider implementing lazy loading to reduce memory pressure.

Methods​

hasDepth()​

public func hasDepth() -> Bool

Checks if the dataset has depth data from a LiDAR source.

  • Returns: true if depthSource exists and equals "lidar", false otherwise