Dataset Viewer
Auto-converted to Parquet Duplicate
image_id
string
clip_id
string
image
image
mask
image
056_12/0001
056_12
056_12/0002
056_12
056_12/0003
056_12
056_12/0004
056_12
056_12/0005
056_12
056_12/0006
056_12
056_12/0007
056_12
056_12/0008
056_12
056_12/0009
056_12
056_12/0010
056_12
056_12/0011
056_12
056_12/0012
056_12
056_12/0013
056_12
056_12/0014
056_12
056_12/0015
056_12
056_12/0016
056_12
056_12/0017
056_12
056_12/0018
056_12
056_12/0019
056_12
056_12/0020
056_12
056_12/0021
056_12
056_12/0022
056_12
056_12/0023
056_12
056_12/0024
056_12
056_12/0025
056_12
056_12/0026
056_12
056_12/0027
056_12
056_12/0028
056_12
056_12/0029
056_12
056_2/0001
056_2
056_2/0002
056_2
056_2/0003
056_2
056_2/0004
056_2
056_2/0005
056_2
056_2/0006
056_2
056_2/0007
056_2
056_2/0008
056_2
056_2/0009
056_2
056_2/0010
056_2
056_2/0011
056_2
056_2/0012
056_2
056_2/0013
056_2
056_2/0014
056_2
056_2/0015
056_2
056_2/0016
056_2
056_2/0017
056_2
056_2/0018
056_2
056_2/0019
056_2
056_2/0020
056_2
056_2/0021
056_2
056_2/0022
056_2
056_2/0023
056_2
056_2/0024
056_2
056_2/0025
056_2
056_2/0026
056_2
056_2/0027
056_2
056_2/0028
056_2
056_2/0029
056_2
056_2/0030
056_2
056_2/0031
056_2
056_2/0032
056_2
056_2/0033
056_2
056_2/0034
056_2
056_2/0035
056_2
056_2/0036
056_2
056_2/0037
056_2
056_2/0038
056_2
056_2/0039
056_2
056_2/0040
056_2
056_2/0041
056_2
056_2/0042
056_2
056_2/0043
056_2
056_2/0044
056_2
056_2/0045
056_2
056_2/0046
056_2
056_2/0047
056_2
056_2/0048
056_2
056_2/0049
056_2
056_2/0050
056_2
056_2/0051
056_2
056_2/0052
056_2
056_2/0053
056_2
056_2/0054
056_2
056_2/0055
056_2
056_2/0056
056_2
056_2/0057
056_2
056_2/0058
056_2
056_2/0059
056_2
056_2/0060
056_2
056_6/0001
056_6
056_6/0002
056_6
056_6/0003
056_6
056_6/0004
056_6
056_6/0005
056_6
056_6/0006
056_6
056_6/0007
056_6
056_6/0008
056_6
056_6/0009
056_6
056_6/0010
056_6
056_6/0011
056_6
End of preview. Expand in Data Studio

VMD-D — Video Mirror Detection Dataset

VMD-D is the first large-scale dataset for Video Mirror Detection, introduced in:

Learning to Detect Mirrors from Videos via Dual Correspondences
Jiaying Lin*, Xin Tan*, Rynson W. H. Lau
CVPR 2023
Paper · Project Page

Dataset Summary

VMD-D contains 14,987 image frames from 269 videos with corresponding manually annotated binary mirror masks. Videos are split into clips, and each clip is an independent sequence segment.

Split Clips Frames
train 144 7,836
test 127 7,151

Dataset Structure

Each sample has four columns:

Column Type Description
image_id string Original path stem: {clip_id}/{frame_id}, e.g. 056_12/0001. Enables round-trip fidelity.
clip_id string Video clip identifier, e.g. 056_12
image Image JPEG video frame
mask Image PNG binary segmentation mask (mirror = white, background = black)

The original on-disk layout is:

VMD/
  train/
    {clip_id}/
      JPEGImages/            # {frame}.jpg
      SegmentationClassPNG/  # {frame}.png
  test/
    …

Loading the Dataset

from datasets import load_dataset

ds = load_dataset("garrying/VMD-D")
# or load a single split:
train_ds = load_dataset("garrying/VMD-D", split="train")
test_ds  = load_dataset("garrying/VMD-D", split="test")

sample = train_ds[0]
print(sample["image_id"])   # e.g. "056_12/0001"
sample["image"].show()
sample["mask"].show()

Converting Back to Raw Files

A helper script parquet_to_raw.py is included in this repo to restore the original directory structure:

# Download the helper
huggingface-cli download garrying/VMD-D parquet_to_raw.py --repo-type dataset

# Restore all splits from HuggingFace
python parquet_to_raw.py --repo garrying/VMD-D

# Restore only the test split to a custom directory
python parquet_to_raw.py --repo garrying/VMD-D --splits test --out VMD_test

Output structure matches the original:

VMD/
  train/{clip_id}/JPEGImages/{frame}.jpg
  train/{clip_id}/SegmentationClassPNG/{frame}.png
  test/…

Citation

@InProceedings{Lin_2023_CVPR,
  author    = {Lin, Jiaying and Tan, Xin and Lau, Rynson W. H.},
  title     = {Learning to Detect Mirrors from Videos via Dual Correspondences},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year      = {2023},
}

License

This dataset is released under CC BY-NC 4.0. Non-commercial use only.

Downloads last month
33