An open API service indexing awesome lists of open source software.

https://github.com/gitgoap/defogify

Dehaze input images/ video
https://github.com/gitgoap/defogify

gradio-interface huggingface-spaces open-cv python3

Last synced: 4 months ago
JSON representation

Dehaze input images/ video

Awesome Lists containing this project

README

          

## Overview

This project implements a single-image haze removal technique using the Dark Channel Prior, as described in the research paper: ``Single Image Haze Removal Using Dark Channel Prior``
The dehazing algorithm is designed to enhance the quality of images affected by haze. This method is effective for various applications in image processing where haze reduction is required.

## [Research Paper](https://ieeexplore.ieee.org/document/5567108)

## Introduction

Haze removal is essential for enhancing image clarity and visibility in outdoor scenes, improving the performance of vision-based applications.

## Features

- **Single Image Dehazing**
Process one image at a time to remove haze and bring out hidden details using the Dark Channel Prior.
- **Bulk Image Dehazing**
Process multiple images simultaneously. This feature is perfect for efficiently dehazing an entire batch of images.
- **Video Dehazing**
Dehaze video files by processing each frame individually to ensure a clear and detailed output even for moving visual content.

### Before and After Examples

| Original Image | Dehazed Image |
|----------------|---------------|
| | |
| | |
| | |

## Live Demo

Try the dehazing app live at ``Hugging Face``:

[Visit DeFogify in 🤗 space](https://huggingface.co/spaces/MLap/deFogify)

## Installation

Ensure you have the required Python packages installed. Dependencies are listed in the `requirements.txt` file.

To install the required packages, use:

```bash
pip install -r requirements.txt
```

For Ubuntu/Debian-based systems, also install:

```bash
sudo apt-get update
sudo apt-get install libgl1-mesa-glx
```