by Jaesung Rim, Haeyun Lee, Jucheol Won, Sunghyun Cho. [pdf] [project]
2026.09 We have released the RAW files of RealBlur and RealBlur-Tele. Feel free to use or reprocess them.
2022.10 Related work, Realistic Blur Synthesis for Learning Image Deblurring (real-world blur dataset and blur synthesis pipeline) is accepted by ECCV2022. Code and dataset are available at RSBlur github.
git clone --recurse-submodules https://github.com/rimchang/RealBlur.gitWe recommend virtual environment using conda or pyenv.
- Python2.7
- cuda8.0
- ./SRN-Deblur/requirements.txt
- Python3.6.3
- cuda9.0
- ./DeblurGANv2/requirements.txt
Dataset [Hugging Face] [Google Drive]
- RealBlur: A real-world blur dataset captured with a Sony A7R3.
- RealBlur-Tele: A real-world blur dataset captured with a Sony A7R3 and a telephoto lens.
- BSD-B: A synthetic blur dataset generated using blur kernels.
Download the RealBlur dataset using the links above. To reproduce the training setup in our paper, also download BSD-B and GoPro.
Place the datasets in the appropriate directories: SRN-Deblur/testing_set/, SRN-Deblur/training_set/, or DeblurGANv2/dataset/. Refer to link_file.sh for the directory structure and file linking.
Pretrained Models [Hugging Face] [Google Drive]
Place the checkpoint files in SRN-Deblur/checkpoints/ or DeblurGANv2/checkpoints/, depending on the model.
# ./SRN-Deblur
python run_model.py --phase=train --batch=16 --lr=1e-4 --model=color --checkpoint_path=RealBlurJ_pre_trained+GOPRO+BSD500 --datalist=datalist/RealBlur_J_train_list.txt,datalist/BSB_B_Centroid_train.txt,datalist/datalist_gopro.txt --pre_trained=./checkpoints/color --load_iteration=523000 --warmup=1 --over_sampling=20000
python run_model.py --phase=train --batch=16 --lr=1e-4 --model=color --checkpoint_path=RealBlurR_pre_trained+GOPRO+BSD500 --datalist=datalist/RealBlur_R_train_list.txt,datalist/BSB_B_Centroid_train.txt,datalist/datalist_gopro.txt --pre_trained=./checkpoints/color --load_iteration=523000 --warmup=1 --over_sampling=20000
# ./DeblurGANv2
python train_RealBlur_J_bsd_gopro_pretrain_ragan_ls.py
python train_RealBlur_R_bsd_gopro_pretrain_ragan_ls.py# ./SRN-Deblur
python run_model.py --phase=test --model=color --checkpoint_path=RealBlurJ_pre_trained+GOPRO+BSD500 --datalist=datalist/RealBlur_J_test_list.txt --height=784 --width=688
python run_model.py --phase=test --model=color --checkpoint_path=RealBlurR_pre_trained+GOPRO+BSD500 --datalist=datalist/RealBlur_R_test_list.txt --height=784 --width=688
# ./DeblurGANv2
python predict.py --img_pattern=./datalist/RealBlur_J_test_list.txt --weights_path=checkpoints/last_deblur_gan_v2_RealBlur_J_bsd_gopro_pretrain_ragan_ls_10000.h5
python predict.py --img_pattern=./datalist/RealBlur_R_test_list.txt --weights_path=checkpoints/last_deblur_gan_v2_RealBlur_R_bsd_gopro_pretrain_ragan_ls_10000.h5# python3, skimage == 0.17.2, cv2==4.2.0.32
python evaluation_RealBlur_ecc.py --gt_root=dataset/RealBlur-J_ECC_IMCORR_centroid_itensity_ref --input_dir=RealBlur_J --core=1 Please go to post processing
The RealBlur dataset is released under CC BY 4.0 license.
If you use our dataset for your research, please cite our paper.
@inproceedings{rim_2020_ECCV,
title={Real-World Blur Dataset for Learning and Benchmarking Deblurring Algorithms},
author={Rim, Jaesung and Lee, Haeyun and Won, Jucheol and Cho, Sunghyun},
booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
year={2020}
}