Datasets:
Download README.md from dronefreak/REVIDE: direct link, hf CLI and curl.
- Browser
- Download file 9.73 kB
-
https://huggingface.co/datasets/dronefreak/REVIDE/resolve/main/README.md
- Command line
-
hf download hf://datasets/dronefreak/REVIDE/README.md
-
curl -L -o README.md https://huggingface.co/datasets/dronefreak/REVIDE/resolve/main/README.md
language:
- en
license: unknown
pretty_name: REVIDE (Unofficial Mirror)
task_categories:
- image-to-image
tags:
- image-restoration
- dehazing
- haze-removal
- video-dehazing
- computer-vision
- real-world
- pytorch
- clearview
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: train
path:
- Train/metadata.jsonl
- Train/*/*/*.JPG
- split: test
path:
- Test/metadata.jsonl
- Test/*/*/*.JPG
REVIDE: Real-World Video Dehazing Dataset (Unofficial Mirror)
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.
Dataset Description
- Repository: https://github.com/BookerDeWitt/REVIDE_Dataset
- Paper: https://openaccess.thecvf.com/content/CVPR2021/papers/Zhang_Learning_To_Restore_Hazy_Video_A_New_Real-World_Dataset_and_CVPR_2021_paper.pdf
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.
- CVPR Open Access: https://openaccess.thecvf.com/content/CVPR2021/html/Zhang_Learning_To_Restore_Hazy_Video_A_New_Real-World_Dataset_and_CVPR_2021_paper.html
Official Resources
- Dataset repository: https://github.com/BookerDeWitt/REVIDE_Dataset
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.