--- license: mit language: - en tags: - egocentric-video - camera-pose - visual-navigation - semantic-annotations - spatial-understanding pretty_name: SpatialSemanticDataset size_categories: - 10K//.csv` | Timestamped camera positions, orientations, and pose status | | `semantics///.txt` | Timestamped English observations, inferences, and action descriptions | Use `(channel, video_id, scene_id)` to join the index with the two annotation files. Scene IDs such as `scene_0000` are local to each video. ## Data fields ### Scene index | Field | Meaning | | --- | --- | | `channel` | Source channel | | `video_id` | YouTube video ID | | `scene_id` | Scene identifier within the source video | | `start_second`, `end_second` | Scene start and end times in the source video, in seconds | ### Camera poses | Field | Meaning | | --- | --- | | `source_t` | Timestamp in the source video, in seconds | | `source_frame` | Frame index in the source video | | `status` | Pose status. Sample files contain `valid` rows with pose values and `bad` rows whose pose fields can be `NaN`. | | `x`, `y`, `z` | Camera position components | | `qx`, `qy`, `qz`, `qw` | Camera orientation quaternion, with the scalar component `qw` last | The dataset files leave the position units, axis conventions, and coordinate relationships between scenes unspecified. Confirm these conventions before calculating physical distances or combining trajectories across scenes. ### Semantic annotations Annotations are grouped by source-video timestamp in `[HH:MM:SS]` format. Each block contains an `Observation` describing what is visible, a `Latent Thought` expressing an inferred situation or intent in the first person, and an `Action` describing an action or plan. Pose samples and semantic annotations can occur at different times. Join them by scene, then align them on the source-video timeline. ## Load a scene Install `huggingface_hub` to download the public dataset. This example downloads the index and the two annotation files for its first scene. ```python import csv from pathlib import Path from huggingface_hub import hf_hub_download REPO_ID = "MonsterDie/SpatialSemanticDataset" def download(filename): return Path(hf_hub_download(REPO_ID, filename, repo_type="dataset", token=False)) with download("metadata.csv").open(encoding="utf-8-sig", newline="") as file: scene = next(csv.DictReader(file)) key = "/".join(scene[field] for field in ("channel", "video_id", "scene_id")) with download(f"poses/{key}.csv").open(encoding="utf-8-sig", newline="") as file: valid_poses = [row for row in csv.DictReader(file) if row["status"] == "valid"] annotations = download(f"semantics/{key}.txt").read_text(encoding="utf-8-sig") print(scene) print(f"Valid poses: {len(valid_poses)}") print(annotations.split("\n\n", 1)[0]) ``` The dataset ships without predefined splits. When creating training and evaluation splits, group scenes by `(channel, video_id)` so that scenes from the same source video stay in the same split. ## License The dataset card declares the MIT license. Source videos are subject to their own terms.