Using Python and OpenCV for removing Fog and Haze from an Image

Vivek Modi (~modihere)




Fog and haze (referred to as the atmospheric light) are the main cause of distortions, degradation in the quality of images clicked during foggy situations. But with the advancement in technology, thanks to Python and OpenCV libraries and brilliant minds of people out here in this small world, recovering almost a fog-free image has been made possible in recent times. And now we are moving towards making this algorithm more optimized so that it can work in real time for videos and live camera feed. Different mathematical models have been presented over the time for this algorithm but there are very few real-life implementations in any particular programming language, so here the Python implementation of this algorithm will be discussed. Basic steps and the ideas implemented will be discussed in a brief and different implementation will also be shown in the session.


  • Basic knowledge of the numpy functions.
  • An idea about the OpenCV computer vision libraries and the different filters implemented there.
  • Love for Python

Speaker Info:


Vivek Modi

  • Final Year undergrad at NIT Durgapur
  • Tech Head at GNU/LINUX USERS' GROUP NIT Durgapur
  • Summer Intern at DRDO (Integrated Test Range)

Contributor in the project:

Soumam Banerjee

  • Final Year undergrad at NIT Durgapur

Speaker Links:


Id: 789
Section: Developer tools and Automation
Type: Talks
Target Audience: Intermediate
Last Updated: