Datasets:
Add REVIDE-Indoor (unofficial mirror) with one-row-per-frame-pair metadata
#1
by dronefreak - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50)
- .gitattributes
- README.mdAdded+207
- Test/gt/C005/00000.JPGAdded
- Test/gt/C005/00001.JPGAdded
- Test/gt/C005/00002.JPGAdded
- Test/gt/C005/00003.JPGAdded
- Test/gt/C005/00004.JPGAdded
- Test/gt/C005/00005.JPGAdded
- Test/gt/C005/00006.JPGAdded
- Test/gt/C005/00007.JPGAdded
- Test/gt/C005/00008.JPGAdded
- Test/gt/C005/00009.JPGAdded
- Test/gt/C005/00010.JPGAdded
- Test/gt/C005/00011.JPGAdded
- Test/gt/C005/00012.JPGAdded
- Test/gt/C005/00013.JPGAdded
- Test/gt/C005/00014.JPGAdded
- Test/gt/C005/00015.JPGAdded
- Test/gt/C005/00016.JPGAdded
- Test/gt/C005/00017.JPGAdded
- Test/gt/C005/00018.JPGAdded
- Test/gt/C005/00019.JPGAdded
- Test/gt/C005/00020.JPGAdded
- Test/gt/C005/00021.JPGAdded
- Test/gt/C005/00022.JPGAdded
- Test/gt/C005/00023.JPGAdded
- Test/gt/C005/00024.JPGAdded
- Test/gt/C005/00025.JPGAdded
- Test/gt/C005/00026.JPGAdded
- Test/gt/C005/00027.JPGAdded
- Test/gt/C005/00028.JPGAdded
- Test/gt/C005/00029.JPGAdded
- Test/gt/C005/00030.JPGAdded
- Test/gt/C005/00031.JPGAdded
- Test/gt/C005/00032.JPGAdded
- Test/gt/C005/00033.JPGAdded
- Test/gt/C005/00034.JPGAdded
- Test/gt/C005/00035.JPGAdded
- Test/gt/C005/00036.JPGAdded
- Test/gt/C005/00037.JPGAdded
- Test/gt/C005/00038.JPGAdded
- Test/gt/C005/00039.JPGAdded
- Test/gt/C005/00040.JPGAdded
- Test/gt/C005/00041.JPGAdded
- Test/gt/C005/00042.JPGAdded
- Test/gt/E005/00000.JPGAdded
- Test/gt/E005/00001.JPGAdded
- Test/gt/E005/00002.JPGAdded
- Test/gt/E005/00003.JPGAdded
- Test/gt/E005/00004.JPGAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207---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)
<p align="center"> <img src="banner.jpg" alt="REVIDE sample frames: real haze-machine hazy frames above their aligned haze-free frames, from four indoor videos"/></p>

> **Unofficial redistribution of REVIDE-Indoor**, the real-world video dehazing dataset from Zhang et al. (CVPR 2021), packaged for direct use with [ClearView](https://github.com/dronefreak/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](https://huggingface.co/datasets/dronefreak/NTIRE-Haze) and [RainDS](https://huggingface.co/datasets/dronefreak/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
```textrevide/├── 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
```pythonfrom datasets import load_dataset
ds = load_dataset("dronefreak/REVIDE", split="train") # splits: train, testrow = ds[0]row["hazy"], row["clean"] # PIL imagesrow["video"], row["frame"] # e.g. "C002_1", 0```
---
# Usage with ClearView
This dataset is designed to be used directly with [ClearView](https://github.com/dronefreak/clearview), an open-source PyTorch framework for image restoration.
```pythonfrom huggingface_hub import snapshot_downloadfrom 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](#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:
```bibtex@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..gitattributes
README.mdAdded+207
Test/gt/C005/00000.JPGAdded
Large File Pointer Details
- SHA256: f0ae9a7957273004e2263cb698843038d0307448ec7aeab40076adee8ad5458b
- Pointer size: 131 Bytes
- Size of remote file: 311 kB
Test/gt/C005/00001.JPGAdded
Large File Pointer Details
- SHA256: 96360a49f8734ea175175355a9c2d10606eb26e041a5445a465f412317290ee2
- Pointer size: 131 Bytes
- Size of remote file: 308 kB
Test/gt/C005/00002.JPGAdded
Large File Pointer Details
- SHA256: cf146d9270db15bc81e93e2a7b15fae5049562fd98a56b9c9db56c30e61a4c4d
- Pointer size: 131 Bytes
- Size of remote file: 308 kB
Test/gt/C005/00003.JPGAdded
Large File Pointer Details
- SHA256: 06b54a31cf85791de750fa8a6c9b0c211c37005ca9cdb90a8b3db0abddb6af48
- Pointer size: 131 Bytes
- Size of remote file: 305 kB
Test/gt/C005/00004.JPGAdded
Large File Pointer Details
- SHA256: fef0906ec2cad343dab8b2f70d95de0d79905347b29de1711f43461b7c99d5d8
- Pointer size: 131 Bytes
- Size of remote file: 303 kB
Test/gt/C005/00005.JPGAdded
Large File Pointer Details
- SHA256: badcfc0d237b82b9ecdc22c570bcb291b4ce5d832b526cda2973c4e7bb397bf7
- Pointer size: 131 Bytes
- Size of remote file: 300 kB
Test/gt/C005/00006.JPGAdded
Large File Pointer Details
- SHA256: c120b380eed8016dcf634930f2816c0fe4fe9c7580d0a15e95c2ad44a4446ccc
- Pointer size: 131 Bytes
- Size of remote file: 300 kB
Test/gt/C005/00007.JPGAdded
Large File Pointer Details
- SHA256: 04c468797cda3a4cde400da334847b84e85003ce7d8fa1f21c04875fb979efc7
- Pointer size: 131 Bytes
- Size of remote file: 298 kB
Test/gt/C005/00008.JPGAdded
Large File Pointer Details
- SHA256: f5f061eb73ff984c8dfff4c729f7e7fe71e2db7e26d321fa3eefb2c235dfbcab
- Pointer size: 131 Bytes
- Size of remote file: 295 kB
Test/gt/C005/00009.JPGAdded
Large File Pointer Details
- SHA256: 45e08637224ab58e3500ab331bdb8b62aec7cbfaa55cf79d97d662d710ff6957
- Pointer size: 131 Bytes
- Size of remote file: 275 kB
Test/gt/C005/00010.JPGAdded
Large File Pointer Details
- SHA256: 2aefd213da17c29c7b814793278b801c0bb8573b4f47b6c56aba1fc3fd021706
- Pointer size: 131 Bytes
- Size of remote file: 270 kB
Test/gt/C005/00011.JPGAdded
Large File Pointer Details
- SHA256: 4591175c3a2b1cf8108947c1c9de76e756a930e94f2eaf00dbad7f2f8d621f28
- Pointer size: 131 Bytes
- Size of remote file: 298 kB
Test/gt/C005/00012.JPGAdded
Large File Pointer Details
- SHA256: ec603d9d125b0e0511d1e24fda552f4e3773b4b99c740f3a763e640074f50dc9
- Pointer size: 131 Bytes
- Size of remote file: 297 kB
Test/gt/C005/00013.JPGAdded
Large File Pointer Details
- SHA256: 48f51687f64f1901298dedd0bfe62f74b0ea70f71d2f1756a59933299c58d7b8
- Pointer size: 131 Bytes
- Size of remote file: 299 kB
Test/gt/C005/00014.JPGAdded
Large File Pointer Details
- SHA256: 36b51dbfc8fb7e6bcd094c933b75eadcdf26afcafd10d81f2ff63983c800d6c7
- Pointer size: 131 Bytes
- Size of remote file: 299 kB
Test/gt/C005/00015.JPGAdded
Large File Pointer Details
- SHA256: 157787b64222f95e071869b9dda3446d307af1e29febeb273a43e313822c076c
- Pointer size: 131 Bytes
- Size of remote file: 284 kB
Test/gt/C005/00016.JPGAdded
Large File Pointer Details
- SHA256: 660db260f8e7d67ed9790992660254605ef7eccc6b0f1e0c91b93bf763920071
- Pointer size: 131 Bytes
- Size of remote file: 307 kB
Test/gt/C005/00017.JPGAdded
Large File Pointer Details
- SHA256: 9059f5ee048fee7fc02c590ed9c8ad683f30b321802715f393f20957865b7bd7
- Pointer size: 131 Bytes
- Size of remote file: 313 kB
Test/gt/C005/00018.JPGAdded
Large File Pointer Details
- SHA256: 9e9c777934e9978ec43a7d399c83b795d4dc2a739ebcad4aa3594a18a7e88a9c
- Pointer size: 131 Bytes
- Size of remote file: 315 kB
Test/gt/C005/00019.JPGAdded
Large File Pointer Details
- SHA256: 03c2180db1ca9c90612286244cd8d77d6324f4c507df73ba9f1d8ac6af394f51
- Pointer size: 131 Bytes
- Size of remote file: 312 kB
Test/gt/C005/00020.JPGAdded
Large File Pointer Details
- SHA256: ed03f8798dc7fa6dcefe703f0c8311fa1b491261a81e2313c4931c9b6dcdd189
- Pointer size: 131 Bytes
- Size of remote file: 299 kB
Test/gt/C005/00021.JPGAdded
Large File Pointer Details
- SHA256: 7ac285128f8d0d36f821d45d5ee0c6974ea68dc7b533135820263ef0d23d9b78
- Pointer size: 131 Bytes
- Size of remote file: 329 kB
Test/gt/C005/00022.JPGAdded
Large File Pointer Details
- SHA256: ffb3f88d347101914989a7bd44712da12e0ab308836f00cdc480b1407d498800
- Pointer size: 131 Bytes
- Size of remote file: 331 kB
Test/gt/C005/00023.JPGAdded
Large File Pointer Details
- SHA256: 0f9eb50f97173f32dd44a4cce098cfc935a759cb8914f167c262c95e3aed963c
- Pointer size: 131 Bytes
- Size of remote file: 329 kB
Test/gt/C005/00024.JPGAdded
Large File Pointer Details
- SHA256: f6c7e6ab0dbba305753a93196fc264b06668ea37e0fed9cf246675a74cc10ea5
- Pointer size: 131 Bytes
- Size of remote file: 331 kB
Test/gt/C005/00025.JPGAdded
Large File Pointer Details
- SHA256: 4ef112da2e8a202eab9fb9a69e031f861c67ec53f65c2653a9e60e42a1af8ebb
- Pointer size: 131 Bytes
- Size of remote file: 330 kB
Test/gt/C005/00026.JPGAdded
Large File Pointer Details
- SHA256: c14168e5e854e2de07b15cfa3dfe652f1de8b572b3ae0cfd5aa06b22f4dd4d68
- Pointer size: 131 Bytes
- Size of remote file: 331 kB
Test/gt/C005/00027.JPGAdded
Large File Pointer Details
- SHA256: 787e38e3f55b9830cea15573927e544425405c4241737e09805b586f71de34b7
- Pointer size: 131 Bytes
- Size of remote file: 333 kB
Test/gt/C005/00028.JPGAdded
Large File Pointer Details
- SHA256: 1ca1c5b529429a8b3b1d632ad45db1567fe0fb68df7473f372be6c00880362ba
- Pointer size: 131 Bytes
- Size of remote file: 335 kB
Test/gt/C005/00029.JPGAdded
Large File Pointer Details
- SHA256: d2e91e0d2c4cfcd680b12148f5775c4c445ad4815559d00c60aabe8a0ce52c4e
- Pointer size: 131 Bytes
- Size of remote file: 335 kB
Test/gt/C005/00030.JPGAdded
Large File Pointer Details
- SHA256: 0da3299ceafa5b61538b902b77081bf4c675518b1c17217d1b12007492411f02
- Pointer size: 131 Bytes
- Size of remote file: 314 kB
Test/gt/C005/00031.JPGAdded
Large File Pointer Details
- SHA256: 91705438876cf62e3c89e95f9ed176d272f80675469438af374cf64ad424bda7
- Pointer size: 131 Bytes
- Size of remote file: 319 kB
Test/gt/C005/00032.JPGAdded
Large File Pointer Details
- SHA256: d55150401c0e179a44f3cf5768902464fb4cd2aceea71560550fb0e68e457fed
- Pointer size: 131 Bytes
- Size of remote file: 297 kB
Test/gt/C005/00033.JPGAdded
Large File Pointer Details
- SHA256: b30b7f11f4bf9fb4e174d468bffe282081581cf76c2270ee273b966ed4e47ae8
- Pointer size: 131 Bytes
- Size of remote file: 275 kB
Test/gt/C005/00034.JPGAdded
Large File Pointer Details
- SHA256: f2dafb287d695cd2000ffcf3e10a3ca130de77a933a9df221e1516a8f6c6f0bb
- Pointer size: 131 Bytes
- Size of remote file: 269 kB
Test/gt/C005/00035.JPGAdded
Large File Pointer Details
- SHA256: 53043153a3f29ba02e0de0a80689d9225593af3e933d4d8c05b888a9b05d4615
- Pointer size: 131 Bytes
- Size of remote file: 260 kB
Test/gt/C005/00036.JPGAdded
Large File Pointer Details
- SHA256: 25d73cc79f62526124f7ec84d97a74e5f10e452f5e5638a168698368f24ec01e
- Pointer size: 131 Bytes
- Size of remote file: 254 kB
Test/gt/C005/00037.JPGAdded
Large File Pointer Details
- SHA256: 6eee8e73a88cdfb660ba99bf9db957c2cbfc133c9b5d1e9d7d7296e030c4347d
- Pointer size: 131 Bytes
- Size of remote file: 284 kB
Test/gt/C005/00038.JPGAdded
Large File Pointer Details
- SHA256: 19e3beaaf367488a2961b446181e1ceca8d2632e92a696d22e5e4adf3784dc0a
- Pointer size: 131 Bytes
- Size of remote file: 249 kB
Test/gt/C005/00039.JPGAdded
Large File Pointer Details
- SHA256: 8d9366065259ef95d244cdff65dfce04219646ee12b66e5fe1c443ebbd927aa0
- Pointer size: 131 Bytes
- Size of remote file: 244 kB
Test/gt/C005/00040.JPGAdded
Large File Pointer Details
- SHA256: 06b8aa862cac0320ad51c94c5b936135237c75069881c825475ac2dfaf4af519
- Pointer size: 131 Bytes
- Size of remote file: 269 kB
Test/gt/C005/00041.JPGAdded
Large File Pointer Details
- SHA256: 19cefbaa87e07c7648e0121468ad4a6a3d16b9442ebe454c1732319985da6407
- Pointer size: 131 Bytes
- Size of remote file: 270 kB
Test/gt/C005/00042.JPGAdded
Large File Pointer Details
- SHA256: 44159da4d3a611111a6d6ea018f4f01a0fd75af13d57be42068d93d441b62327
- Pointer size: 131 Bytes
- Size of remote file: 269 kB
Test/gt/E005/00000.JPGAdded
Large File Pointer Details
- SHA256: 7282e5a9e81d76a95d387ad9251ff54d0ac4bc5cbf41df1b8719053ad351e345
- Pointer size: 131 Bytes
- Size of remote file: 360 kB
Test/gt/E005/00001.JPGAdded
Large File Pointer Details
- SHA256: 7dd05564965d56ba7605237cbcfa9e26b54b014e9ac1a5f352320a83aa1677b2
- Pointer size: 131 Bytes
- Size of remote file: 341 kB
Test/gt/E005/00002.JPGAdded
Large File Pointer Details
- SHA256: dfdab1f775fb55edadf6c062989ecd0a6d99280592eb469b0a52a254dc0e3453
- Pointer size: 131 Bytes
- Size of remote file: 323 kB
Test/gt/E005/00003.JPGAdded
Large File Pointer Details
- SHA256: cb7fa6430e89bae48033fbe9231cc85a3474f113b75e4e62f632a61b0a93ba43
- Pointer size: 131 Bytes
- Size of remote file: 312 kB
Test/gt/E005/00004.JPGAdded
Large File Pointer Details
- SHA256: 7aca2645049cc21a7e5e267ce9d392a43a6f09f1740159ffec83f63aeb87b665
- Pointer size: 131 Bytes
- Size of remote file: 306 kB