Repository for our paper:
"Deep Camera Obscura: An Image Restoration Pipeline for Pinhole Photography", Joshua D. Rego1, Huaijin Chen2, Shuai Li2, Jinwei Gu2, Suren Jayasuriya1
1 Arizona State University | 2 Sensebrain Technology
- Simulated pinhole HDR+ dataset can be downloaded here: Google Drive
The python package requirements are included in the file requirements.yml
. We recommend installing the required packages in a separate virtual python environment using Anaconda:
Conda Download, Conda Installation Instruction
After conda is correctly installed, run conda activate
in the terminal, then make sure you are inside the project folder in the terminal and run the following command line which will create a new virtual environment named DCO
:
conda env create -f requirements.yml
After all packages are installed you can switch into this virtual environment with:
conda activate DCO
To run example the DCO pipeline on the default example images, run the following in a command line at the root project folder:
python run.py
Optionally a Python Notebook file, DCO_pipeline.ipynb
, is also included to easier visualize the images through the DCO pipeline.