Dataset Viewer
Auto-converted to Parquet Duplicate
hazy
imagewidth (px)
1.81k
2.71k
clean
imagewidth (px)
1.81k
2.71k
id
stringlengths
10
12
video
stringclasses
42 values
frame
int64
0
65
C002_1/00000
C002_1
0
C002_1/00001
C002_1
1
C002_1/00002
C002_1
2
C002_1/00003
C002_1
3
C002_1/00004
C002_1
4
C002_1/00005
C002_1
5
C002_1/00006
C002_1
6
C002_1/00007
C002_1
7
C002_1/00008
C002_1
8
C002_1/00009
C002_1
9
C002_1/00010
C002_1
10
C002_1/00011
C002_1
11
C002_1/00012
C002_1
12
C002_1/00013
C002_1
13
C002_1/00014
C002_1
14
C002_1/00015
C002_1
15
C002_1/00016
C002_1
16
C002_1/00017
C002_1
17
C002_1/00018
C002_1
18
C002_1/00019
C002_1
19
C002_1/00020
C002_1
20
C002_2/00000
C002_2
0
C002_2/00001
C002_2
1
C002_2/00002
C002_2
2
C002_2/00003
C002_2
3
C002_2/00004
C002_2
4
C002_2/00005
C002_2
5
C002_2/00006
C002_2
6
C002_2/00007
C002_2
7
C002_2/00008
C002_2
8
C002_2/00009
C002_2
9
C002_2/00010
C002_2
10
C002_2/00011
C002_2
11
C002_2/00012
C002_2
12
C002_2/00013
C002_2
13
C002_2/00014
C002_2
14
C002_2/00015
C002_2
15
C002_2/00016
C002_2
16
C002_2/00017
C002_2
17
C002_2/00018
C002_2
18
C002_2/00019
C002_2
19
C002_2/00020
C002_2
20
C002_3/00000
C002_3
0
C002_3/00001
C002_3
1
C002_3/00002
C002_3
2
C002_3/00003
C002_3
3
C002_3/00004
C002_3
4
C002_3/00005
C002_3
5
C002_3/00006
C002_3
6
C002_3/00007
C002_3
7
C002_3/00008
C002_3
8
C002_3/00009
C002_3
9
C002_3/00010
C002_3
10
C002_3/00011
C002_3
11
C002_3/00012
C002_3
12
C002_3/00013
C002_3
13
C002_3/00014
C002_3
14
C002_3/00015
C002_3
15
C002_3/00016
C002_3
16
C002_3/00017
C002_3
17
C002_3/00018
C002_3
18
C002_3/00019
C002_3
19
C002_4/00000
C002_4
0
C002_4/00001
C002_4
1
C002_4/00002
C002_4
2
C002_4/00003
C002_4
3
C002_4/00004
C002_4
4
C002_4/00005
C002_4
5
C002_4/00006
C002_4
6
C002_4/00007
C002_4
7
C002_4/00008
C002_4
8
C002_4/00009
C002_4
9
C002_4/00010
C002_4
10
C002_4/00011
C002_4
11
C002_4/00012
C002_4
12
C002_4/00013
C002_4
13
C002_4/00014
C002_4
14
C002_4/00015
C002_4
15
C002_4/00016
C002_4
16
C002_4/00017
C002_4
17
C002_4/00018
C002_4
18
C002_4/00019
C002_4
19
C003/00000
C003
0
C003/00001
C003
1
C003/00002
C003
2
C003/00003
C003
3
C003/00004
C003
4
C003/00005
C003
5
C003/00006
C003
6
C003/00007
C003
7
C003/00008
C003
8
C003/00009
C003
9
C003/00010
C003
10
C003/00011
C003
11
C003/00012
C003
12
C003/00013
C003
13
C003/00014
C003
14
C003/00015
C003
15
C003/00016
C003
16
C003/00017
C003
17
End of preview. Expand in Data Studio

REVIDE: Real-World Video Dehazing Dataset (Unofficial Mirror)

Task Domain Dataset Pairs Splits License

Unofficial redistribution of REVIDE-Indoor, the real-world video dehazing dataset from Zhang et al. (CVPR 2021), packaged for direct use with ClearView's dataset pipeline. Every frame pair is real haze from a haze machine, filmed twice along the same camera path (with and without haze), so the pairs are aligned frame by frame.

Disclaimer

This repository is not an official release of REVIDE.

REVIDE was created by Xinyi Zhang, Hang Dong, Jinshan Pan, Chao Zhu, Ying Tai, Chengjie Wang, Jilin Li, Feiyue Huang, and Fei Wang. This repository does not claim ownership of any images or metadata, and attributes the dataset to its original creators. We describe them as "creators" rather than "copyright holders" deliberately, since copyright in academic datasets can rest with an author's university, employer, or a funding body, under arrangements we have no way to verify from the outside.

On licensing, please read before relying on this mirror. We looked for a formal license covering this dataset (the official repository, the paper) and found none. The official repository has no LICENSE file and no usage restriction, only a request to cite the paper, and the dataset itself is distributed as a plain Google Drive / Baidu link. The repository's announced official website and its outdoor and synthetic (REVIDE-SYN) releases never appeared after the 2021 indoor release. This is the same situation as this collection's NTIRE-Haze and RainDS mirrors, not a stated restriction like a dataset that explicitly says "research purposes only" (which we treat differently and do not mirror). In the absence of an explicit license, we have chosen to preserve this dataset for research reproducibility while providing full attribution and making the mirror removable on request. This is a decision we're making under that uncertainty, not a claim that we've established a legal right to redistribute it. Concretely:

  • Full attribution and citation to the original creators (below).
  • No claim of any rights beyond hosting a copy.
  • If the copyright holder, or an authorized representative, requests removal, we will comply promptly.

If you need certainty about redistribution rights (e.g. for commercial use), contact the dataset's creators or their institution directly rather than relying on this mirror.


Dataset Overview

REVIDE is the first real-world video dehazing dataset with paired supervision. The authors built a capture system that records the same indoor scene along the same camera trajectory twice, once filled with real haze from a haze machine and once haze-free, giving hazy and clean videos that line up frame by frame. The scenes are furnished flats and offices filmed by the authors themselves, most with a colour checker placed in the shot.

Split Videos Frame pairs Frame size
Train 42 1,697 mostly 2708Γ—1800 (some narrower crops, 1806 to 2209 wide)
Test 6 284 2708Γ—1800
Total 48 1,981

Counts are verified directly against the extracted official archive (REVIDE_inside.zip), not repeated from secondary sources. Every frame has its partner on the other side, and a check of hazy against clean frames found every frame's best match is the clean frame with the same index. Haze density varies a lot by video, from light veiling to near-opaque (for example E001).

Although REVIDE is a video dataset, each frame pair also works as an independent single-image dehazing sample, which is how ClearView uses it.


Changes from the Official Release

Added: one metadata.jsonl per split folder (Train/ and Test/). Each line links the files of one sample, so the Dataset Viewer and load_dataset show every frame pair as one row: hazy and clean, plus its id ({video}/{frame}), video and frame (the frame index within its video). The image files themselves are untouched.

No images added, removed, renamed, or modified. The folder layout is exactly as in the official REVIDE_inside.zip. Only the indoor part (the only part ever released) is included.


Dataset Structure

revide/
β”œβ”€β”€ README.md
β”œβ”€β”€ banner.jpg
β”œβ”€β”€ Train/
β”‚   β”œβ”€β”€ metadata.jsonl      # one row per frame pair: hazy, clean, id, video, frame
β”‚   β”œβ”€β”€ gt/
β”‚   β”‚   β”œβ”€β”€ C002_1/         # 00000.JPG, 00001.JPG, ...
β”‚   β”‚   └── ...             # 42 videos
β”‚   └── hazy/
β”‚       β”œβ”€β”€ C002_1/         # same video and frame names as gt/
β”‚       └── ...
└── Test/                   # same layout (incl. metadata.jsonl), 6 videos

Hazy and clean frames share the same video folder name and the same frame filename. Because frames sit one level down in per-video folders, ClearView ships a small dedicated REVIDEDataset parser that pairs them on (video, frame).


Usage with πŸ€— Datasets

from datasets import load_dataset

ds = load_dataset("dronefreak/REVIDE", split="train")   # splits: train, test
row = ds[0]
row["hazy"], row["clean"]  # PIL images
row["video"], row["frame"]  # e.g. "C002_1", 0

Usage with ClearView

This dataset is designed to be used directly with ClearView, an open-source PyTorch framework for image restoration.

from huggingface_hub import snapshot_download
from clearview.data import REVIDEDataset, get_train_transforms

data_dir = snapshot_download(repo_id="dronefreak/REVIDE", repo_type="dataset")

train_ds = REVIDEDataset(
    f"{data_dir}/Train",
    transform=get_train_transforms(crop_size=(256, 256)),
)
test_ds = REVIDEDataset(f"{data_dir}/Test")
one_video = REVIDEDataset(f"{data_dir}/Test", videos=["J004"])

hazy, clean = train_ds[0]
train_ds.frame_videos[0]  # video each pair came from, e.g. "C002_1"

Note: REVIDEDataset is not yet wired into the clearview-train CLI's --dataset-type choices (Python API only for now).


Dataset Sources

Original Paper

Learning To Restore Hazy Video: A New Real-World Dataset and a New Method

Xinyi Zhang, Hang Dong, Jinshan Pan, Chao Zhu, Ying Tai, Chengjie Wang, Jilin Li, Feiyue Huang, Fei Wang

IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021, pp. 9239-9248.

Official Resources


Attribution

All credit for the dataset belongs entirely to the original authors: Xinyi Zhang, Hang Dong, Jinshan Pan, Chao Zhu, Ying Tai, Chengjie Wang, Jilin Li, Feiyue Huang, and Fei Wang.

If you use this dataset in your research, please cite the original publication below.


License

No formal license was located for this dataset, see the Disclaimer above for our reasoning for mirroring it anyway under that uncertainty (full attribution, reproducibility purpose, removable on request). This repository makes no claim to any rights over the dataset content beyond hosting a copy.


Citation

If you use this dataset, please cite:

@inproceedings{REVIDE,
  author = {Zhang, Xinyi and Dong, Hang and Pan, Jinshan and Zhu, Chao and Tai, Ying and Wang, Chengjie and Li, Jilin and Huang, Feiyue and Wang, Fei},
  title = {Learning To Restore Hazy Video: A New Real-World Dataset and a New Method},
  booktitle = {CVPR},
  pages = {9239--9248},
  year = {2021}
}

Acknowledgements

We sincerely thank Xinyi Zhang, Hang Dong, Jinshan Pan, Chao Zhu, Ying Tai, Chengjie Wang, Jilin Li, Feiyue Huang, and Fei Wang for creating and publicly releasing the first real-world paired video dehazing dataset.

Downloads last month
1,715

Collection including dronefreak/REVIDE