Dataset
FelixYuan

FelixYuan/SpatialVID-HQ

SpatialVID: A Large-Scale Video Dataset with Spatial Annotations Jiahao Wang1*  Yufeng Yuan1*  Rujie Zheng1*  Youtian Lin1  Jian Gao1  Lin-Zhuo Chen1  Yajie Bao1  Yi Zhang1  Chang Zeng1  Yanxi Zhou1  Xiaoxiao Long1  Hao Zhu1  Zhaoxiang Zhang2  Xun Cao1  Yao Yao1† 1Nanjing University  2Institute of Automation, Chinese Academy of Science  *Equal Contribution  †Corresponding Author CVPR 2026… See the full description on the dataset page: https://huggingface.co/datasets/FelixYuan/SpatialVID-HQ.

34likes
5.3kdownloads
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: task_categories:image-to-video

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: task_categories:text-to-3d

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: arxiv:2509.09676

#1 Repository Của Tuần

SpatialVID: A Large-Scale Video Dataset with Spatial Annotations

1Nanjing University  2Institute of Automation, Chinese Academy of Science 
*Equal Contribution  †Corresponding Author
CVPR 2026

       

SpatialVID-HQ

Directory Structure

DATA_PATH/
├─ annotations/
│  ├─ group_0001/
│  │  ├─ 0a00f99d-9d9a-5265-9548-e97a34c1302c/
│  │  │  ├─ caption.json
│  │  │  ├─ dyn_masks.npz
│  │  │  ├─ indexes.txt
│  │  │  ├─ instructions.json
│  │  │  ├─ intrinsics.npy
│  │  │  └─ poses.npy
│  │  ├─ 0a7b25d8-41fd-563f-bec3-9fb2b675be3e/
│  │  │  ├─ caption.json
│  │  │  ├─ dyn_masks.npz
│  │  │  ├─ indexes.txt
│  │  │  ├─ instructions.json
│  │  │  ├─ intrinsics.npy
│  │  │  └─ poses.npy
│  │  └─ ...
│  ├─ group_0002/
│  └─ ...
├─ data/
│  ├─ train/
│  │  └─ SpatialVID_HQ_metadata.csv
├─ depths/
│  ├─ group_0001/
│  │  ├─ 0a00f99d-9d9a-5265-9548-e97a34c1302c.zip
│  │  ├─ 0a7b25d8-41fd-563f-bec3-9fb2b675be3e.zip
│  │  └─ ...
│  ├─ group_0002/
│  └─ ...
├─ videos/
│  ├─ group_0001/
│  │  ├─ 0a00f99d-9d9a-5265-9548-e97a34c1302c.mp4
│  │  ├─ 0a7b25d8-41fd-563f-bec3-9fb2b675be3e.mp4
│  │  └─ ...
│  ├─ group_0002/
│  └─ ...
└─ README.md

Dataset Download

You can download the entire SpatialVID-HQ dataset using the following command:

hf download SpatialVID/SpatialVID-HQ --repo-type dataset

The whole dataset is approximately 3.53TB in size. We have split the dataset into 74 groups for easier management. Each group contains approximately 14GB of video data and 1.5GB of annotation data, with naming conventions following the format group_0*** (e.g., group_0001, group_0002).

For downloading specific files (instead of the full dataset), please refer to the download_SpatialVID.py provided in our GitHub repository.

Usage Guide

1. Unzipping Group Files

After downloading the group files (in .tar.gz format), use the tar command to extract their contents. For example:

# Extract annotation groups
tar -xzvf annotations/group_0001.tar.gz
tar -xzvf annotations/group_0002.tar.gz
tar -xzvf annotations/group_0003.tar.gz
...

# Extract video groups (if downloaded separately)
tar -xzvf videos/group_0001.tar.gz
tar -xzvf videos/group_0002.tar.gz
...

2. Using the Metadata File

The SpatialVID_HQ_metadata.csv file contains comprehensive metadata for all video clips in the dataset. It can be loaded with pandas for easy filtering and analysis based on your research needs.

Metadata Fields Explained

Field NameDescription
idUnique identifier for each video clip (matches the annotation folder name).
group idIdentifier of the group the video clip belongs to (e.g., group_0001).
video pathRelative path to the video file (e.g., videos/group_0001/xxx.mp4).
annotation pathRelative path to the annotation folder (e.g., annotations/group_0001/xxx/).
num framesTotal number of frames in the video clip.
fpsFrames per second (FPS) of the video clip.
resolutionResolution of the video clip (e.g., 1920x1080).
aesthetic scoreSubjective score evaluating the video’s visual aesthetics (0–10).
luminance scoreScore measuring the video’s overall brightness.
motion scoreScore quantifying the intensity of motion in the video (0–20).
ocr scoreScore indicating the proportion of text occupying the screen (0–1).
moveDistTotal distance of camera movement (in meters) during the clip.
distLevelCategorized camera movement level: 1(low) → 5(extreme).
rotAngleTotal camera rotation angle (in degrees) during the clip.
trajTurnsNumber of direction changes in the camera’s movement trajectory.
dynamicRatioProportion of dynamic content (e.g., moving objects) in the video (0–1).
motionTagsTags describing the type of motion (e.g., "up", "right").
sceneTypeScene category (e.g., interior, urban, natural).
brightnessBrightness category (e.g., Dark, Dim, Bright).
timeOfDayTime of day when the video was recorded (e.g., Daytime, Night).
weatherWeather conditions during recording (e.g., Sunny, Cloudy, Rainy).
crowdDensityDensity of people in the scene (e.g., Sparse, Moderate, Dense).

Example: Loading Metadata with Pandas

import pandas as pd

# Load the metadata file
metadata = pd.read_csv('data/train/SpatialVID_HQ_metadata.csv')

# Example: Filter videos with "urban" scene type and FPS ≥ 24
filtered_metadata = metadata[(metadata['sceneType'] == 'urban') & (metadata['fps'] >= 24)]
print(filtered_metadata.head())

3. Detailed Explanation of Annotation Files

Each video clip is paired with a dedicated annotation folder (named after the video’s id). The folder contains 5 key files, each serving a specific purpose:

1. caption.json

A structured JSON file with descriptive text for the video clip, covering scene details, camera motion, and dynamic elements. Its structure includes:

  • SceneSummary: A concise overview of the entire scene.
  • SceneDescription: A detailed, granular description of the scene (e.g., objects, backgrounds, lighting).
  • CameraMotion: A clear account of how the camera moves throughout the clip (e.g., "slow pan to the right").
  • ShotImmersion: An immersive narrative that simulates the viewer’s experience of the shot.
  • CategoryTags: A list of tags aligning with metadata fields (e.g., sceneType, brightness, weather).

2. dyn_masks.npz

A compressed NumPy file storing dynamic masks for each annotated frame. These binary masks (0 = static, 1 = dynamic) highlight regions with moving objects (e.g., cars, pedestrians). To decompress and use these masks, refer to the utility script expand_npz.py in our GitHub repo.

3. intrinsics.npy

A NumPy file containing the camera’s intrinsic parameters (critical for 3D reconstruction). It stores a (n, 4) array, where n is the number of annotated frames. Each row [fx, fy, cx, cy] represents normalized intrinsics:

  • fx, fy: Normalized focal lengths (scaled by image width/height).
  • cx, cy: Normalized coordinates of the principal point (scaled by image width/height).

To convert these to pixel-space intrinsics (for practical use), apply the following formulas:

# Assume image_width and image_height are from the video's resolution
fx_pixel = fx * image_width
fy_pixel = fy * image_height
cx_pixel = cx * image_width
cy_pixel = cy * image_height

4. poses.npy

A NumPy file recording the camera’s 3D pose for each annotated frame. It stores a (n, 7) array, where n is the number of annotated frames. Each row [tx, ty, tz, qx, qy, qz, qw] represents:

  • tx, ty, tz: Translation vector (world-to-camera coordinates in the OpenCV coordinate system, in meters).
  • qx, qy, qz, qw: Unit quaternion (camera orientation following the right-hand rule, in the OpenCV coordinate system).

For coordinate transformation related to the pose data, please refer to the utility script quat_to_mat.py.

5. instructions.json

A JSON file with motion instructions for transitions between consecutive annotated frames. The file uses key-value pairs, where keys follow the format [frame1]->[frame2] (e.g., 0->6) and values are motion commands. Supported instructions include:

  • Dolly In/Out: Move the camera forward/backward along its viewing direction.
  • Truck Left/Right: Move the camera left/right while maintaining orientation.
  • Pedestal Up/Down: Move the camera up/down while maintaining orientation.
  • Tilt Up/Down: Rotate the camera up/down around its horizontal axis.
  • Pan Left/Right: Rotate the camera left/right around its vertical axis.
  • Roll CW/CCW: Rotate the camera clockwise/counterclockwise around its viewing axis.
  • Stay: Keep the camera stationary (no movement).

6. depths.zip (Optional)

A compressed file containing precomputed depth maps for each annotated frame. The depth maps are stored in inverse depth format. To decompress and use these depth maps, refer to the utility script read_depth.py in our GitHub repo.

Important Note on Annotated Frames

Annotations are generated for frames extracted at intervals of int(fps/5). For example:

  • If a video has 30 FPS, frames are extracted at indices 0, 6, 12, 18, 24, ....
  • If a video has 25 FPS, frames are extracted at indices 0, 5, 10, 15, ....

And the current instuctions are generated by get_instructions.py in our GitHub repo, which you can modify the interval and threshold parameters to customize the frame selection process based on your experimental needs.

License

SpatialVID-HQ is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC-BY-NC-SA 4.0). By using this dataset, you agree to the following terms:

  1. Attribution: You must credit the original source of the dataset.
  2. Non-Commercial Use: The dataset may not be used for commercial purposes.
  3. ShareAlike: Any modified or derived works must be released under the same license.

For the full license text, visit: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.

If you are the copyright owner of any video in our dataset and you need it to be removed, please contact us, and we will remove the video samples from our dataset / Github / project webpage / technical presentation as soon as possible.

Citation

If you use SpatialVID-HQ in your research, please cite our work using the following format (citation will be updated upon paper publication):

@article{wang2025spatialvid,
  title={Spatialvid: A large-scale video dataset with spatial annotations},
  author={Wang, Jiahao and Yuan, Yufeng and Zheng, Rujie and Lin, Youtian and Gao, Jian and Chen, Lin-Zhuo and Bao, Yajie and Zhang, Yi and Zeng, Chang and Zhou, Yanxi and others},
  journal={arXiv preprint arXiv:2509.09676},
  year={2025}
}

Similar Projects

Discover other similar projects and AI models.

Dataset
fka/prompts.chat

a.k.a. Awesome ChatGPT Prompts This is a Dataset Repository mirror of prompts.chat — a social platform for AI prompts. 📢 Notice This Hugging Face dataset is a mirror. For the latest prompts, features, and community contributions, please visit: 🌐 Website: prompts.chat 📦 GitHub: github.com/f/awesome-chatgpt-prompts About prompts.chat is an open-source platform where users can share, discover, and collect AI prompts from the community. The project can… See the full description on the dataset page: https://huggingface.co/datasets/fka/prompts.chat.

♥0
27.4k
Oct 26, 2026
Dataset
OpenAssistant/oasst1

OpenAssistant Conversations Dataset (OASST1) Dataset Summary In an effort to democratize research on large-scale alignment, we release OpenAssistant Conversations (OASST1), a human-generated, human-annotated assistant-style conversation corpus consisting of 161,443 messages in 35 different languages, annotated with 461,292 quality ratings, resulting in over 10,000 fully annotated conversation trees. The corpus is a product of a worldwide crowd-sourcing effort… See the full description on the dataset page: https://huggingface.co/datasets/OpenAssistant/oasst1.

♥0
32.0k
May 2, 2023
Dataset
cais/mmlu

Dataset Card for MMLU Dataset Summary Measuring Massive Multitask Language Understanding by Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt (ICLR 2021). This is a massive multitask test consisting of multiple-choice questions from various branches of knowledge. The test spans subjects in the humanities, social sciences, hard sciences, and other areas that are important for some people to learn. This covers 57… See the full description on the dataset page: https://huggingface.co/datasets/cais/mmlu.

♥0
546.5k
Mar 8, 2024
Dataset
stanfordnlp/imdb

Dataset Card for "imdb" Dataset Summary Large Movie Review Dataset. This is a dataset for binary sentiment classification containing substantially more data than previous benchmark datasets. We provide a set of 25,000 highly polar movie reviews for training, and 25,000 for testing. There is additional unlabeled data for use as well. Supported Tasks and Leaderboards More Information Needed Languages More Information Needed… See the full description on the dataset page: https://huggingface.co/datasets/stanfordnlp/imdb.

♥0
173.4k
Jan 4, 2024
Dataset
nyu-mll/glue

Dataset Card for GLUE Dataset Summary GLUE, the General Language Understanding Evaluation benchmark (https://gluebenchmark.com/) is a collection of resources for training, evaluating, and analyzing natural language understanding systems. Supported Tasks and Leaderboards The leaderboard for the GLUE benchmark can be found at this address. It comprises the following tasks: ax A manually-curated evaluation dataset for fine-grained… See the full description on the dataset page: https://huggingface.co/datasets/nyu-mll/glue.

♥0
673.4k
Jan 30, 2024
Dataset
proj-persona/PersonaHub

Scaling Synthetic Data Creation with 1,000,000,000 Personas This repo releases data introduced in our paper Scaling Synthetic Data Creation with 1,000,000,000 Personas: We propose a novel persona-driven data synthesis methodology that leverages various perspectives within a large language model (LLM) to create diverse synthetic data. To fully exploit this methodology at scale, we introduce PERSONA HUB – a collection of 1 billion diverse personas automatically curated from web… See the full description on the dataset page: https://huggingface.co/datasets/proj-persona/PersonaHub.

♥0
4.6k
Sep 26, 2025
Dataset
Congliu/Chinese-DeepSeek-R1-Distill-data-110k

中文基于满血DeepSeek-R1蒸馏数据集(Chinese-Data-Distill-From-R1) 🤗 Hugging Face   |   🤖 ModelScope    |   🚀 Github    |   📑 Blog 注意:提供了直接SFT使用的版本,点击下载。将数据中的思考和答案整合成output字段,大部分SFT代码框架均可直接直接加载训练。 本数据集为中文开源蒸馏满血R1的数据集,数据集中不仅包含math数据,还包括大量的通用类型数据,总数量为110K。 为什么开源这个数据? R1的效果十分强大,并且基于R1蒸馏数据SFT的小模型也展现出了强大的效果,但检索发现,大部分开源的R1蒸馏数据集均为英文数据集。 同时,R1的报告中展示,蒸馏模型中同时也使用了部分通用场景数据集。 为了帮助大家更好地复现R1蒸馏模型的效果,特此开源中文数据集。 该中文数据集中的数据分布如下:… See the full description on the dataset page: https://huggingface.co/datasets/Congliu/Chinese-DeepSeek-R1-Distill-data-110k.

♥0
2.0k
Feb 21, 2025
Dataset
openai/gsm8k

Dataset Card for GSM8K Dataset Summary GSM8K (Grade School Math 8K) is a dataset of 8.5K high quality linguistically diverse grade school math word problems. The dataset was created to support the task of question answering on basic mathematical problems that require multi-step reasoning. These problems take between 2 and 8 steps to solve. Solutions primarily involve performing a sequence of elementary calculations using basic arithmetic operations (+ − ×÷) to… See the full description on the dataset page: https://huggingface.co/datasets/openai/gsm8k.

♥0
974.3k
Mar 23, 2026
Dataset
HuggingFaceFW/fineweb-edu

📚 FineWeb-Edu 1.3 trillion tokens of the finest educational data the 🌐 web has to offer Paper: https://arxiv.org/abs/2406.17557 What is it? 📚 FineWeb-Edu dataset consists of 1.3T tokens and 5.4T tokens (FineWeb-Edu-score-2) of educational web pages filtered from 🍷 FineWeb dataset. This is the 1.3 trillion version. To enhance FineWeb's quality, we developed an educational quality classifier using annotations generated by LLama3-70B-Instruct. We… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu.

♥0
433.8k
Jul 11, 2025