Giter Club home page Giter Club logo

dehazer's Introduction

Dehazer

forthebadge made-with-python
Python 3.6

Problem statement

Haze & Fog causes several Road and Plane accidents: Survey By Times of INDIA Shows about 11000 people died because of accidents met due to Fog/Haze during the year 2017 and the number keeps on increasing every year. Several Plane and Chopper crashes has been reported due to low visibility caused by Fog and Haze.In 2019 we lost Chief of Defence Staff,during a chopper crash caused by low visibility caused by haze. Another accident in which 234 people died during a indonesian Jet crash due to reduced visibility caused by Fog and Haze.

Solution

With the advancement in Image Processing Algorithms and Technology. We now have a solution the Dehaze_module implements the "Boundary Constraint and Contextual Regularization algorithm" which refers to theory and equations of the research by Gaofeng MENG. The module thus developed helps us to dehaze images. We can futher make use of the fact that video is made up of frames, we extract frames and process each frame and append it to a array and finally combine the processed frames to give Dehazed video output. It can be used to have a clear view in Haze/Foggy weather and reduce chances of road accidents and plane crashes.

Functionality of the Dehazer

  • Removes Haze and Fog and enhances quality of Videos/Images.
  • Removes Background and enhances quality of Videos/Images.

Working

 parmishhImage Dehazing Algorithm  parmishhVideo Dehazing Implementation

How to use and Contribute

fork the repository

git clone https://github.com/{your github username here}/Dehazer

cd Dehazer

pip install -r requirements.txt

streamlit run Homepage.py

Project will start running in localhost

Now This Project is Published on PyPi🎉

This project is now Published on PyPi and its the first Video Dehazer on PyPi that provides Video Dehazing,Video Bgremoval and other image processing tools! Just use:

pip install Dehaze

How to use it: https://pypi.org/project/Dehaze/

Outputs

 parmishh  parmishh
 parmishh  parmishh

Additional Bg removal feature

 parmishh  parmishh
 parmishh  parmishh

Acknowledgements

Thanks to Gaofeng MENG, Ying WANG, Jiangyong DUAN, Shiming XIANG, Chunhong PAN for their paper "Efficient Image Dehazing with Boundary Constraint and Contextual Regularization"(https://ieeexplore.ieee.org/document/6751186)

dehazer's People

Contributors

parmishh avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.