alex04072000/ObstructionRemoval
alex04072000/ObstructionRemoval has 1,004 GitHub stars and 181 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-22 12:45 UTC. Last push 2021-08-28.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
[CVPR 2020] Learning to See Through Obstructions
학습README.md
OriginalImportant update (2020/07/18)
The original webpage will not be accessible from 7/7 to 7/25. The temporary link to the webpage and pre-trained weights are below:
Sorry for the inconvenience.
[CVPR 2020] Learning to See Through Obstructions

We present a learning-based approach for removing unwanted obstructions, such as window reflections, fence occlusions or raindrops, from a short sequence of images captured by a moving camera. Our method leverages the motion differences between the background and the obstructing elements to recover both layers. Specifically, we alternate between estimating dense optical flow fields of the two layers and reconstructing each layer from the flowwarped images via a deep convolutional neural network. The learning-based layer reconstruction allows us to accommodate potential errors in the flow estimation and brittle assumptions such as brightness consistency. We show that training on synthetically generated data transfers well to real images. Our results on numerous challenging scenarios of reflection and fence removal demonstrate the effectiveness of the proposed method.
Paper
Overview
This is the author's reference implementation of the multi-image reflection removal using TensorFlow described in: "Learning to See Through Obstructions" Yu-Lun Liu, Wei-Sheng Lai, Ming-Hsuan Yang, Yung-Yu Chuang, Jia-Bin Huang (National Taiwan University & Google & Virginia Tech & University of California at Merced & MediaTek Inc.) in CVPR 2020. If you find this code useful for your research, please consider citing the following paper.
Further information please contact Yu-Lun Liu.
Requirements setup
-
- tested using TensorFlow 1.10.0
-
- Please overwrite
tfoptflow/model_pwcnet.pyandtfoptflow/model_base.pyusing the ones in this repository.
- Please overwrite
To download the pre-trained models:
Data Preparation
Please prepare 5 frames and follow the naming rule XXXXX_I[0-4].png as shown in imgs folder, and change the folder path in run_reflection.py or test_fence.py.
Usage
- Run your own sequence (reflection removal):
CUDA_VISIBLEDEVICES=0 python3 run_reflection.py
- Run your own sequence (fence removal):
CUDA_VISIBLEDEVICES=0 python3 test_fence.py
Citation
[1] Yu-Lun Liu, Wei-Sheng Lai, Ming-Hsuan Yang, Yung-Yu Chuang, and Jia-Bin Huang. Learning to See Through Obstructions. Proceedings of IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2020
관련 프로젝트 살펴보기
불러오는 중…