Single Image Haze Removal Using Dark Channel Prior
- Make sure you are using Python 3 and install dependencies:
python setup.py install
- Run Python code in shell:
python dehaze.py -i inputImagePath
python dehaze.py -i inputImagePath -o outputImagePath
# example
python dehaze.py -i ./image/1.bmp
python dehaze.py -i ./image/1.bmp -o ./output/output.jpg
- Run in Windows:
cd ./App
# install dependencies
npm install
# serve with hot reload at localhost:9080
npm run dev
# build electron application for production
npm run build