Code Monkey home page Code Monkey logo

sattelite_image_dehazing's Introduction

Satellite Image Dehazing

This project implements an image dehazing technique using the AOD-Net architecture.

Folder Structure

  • readme.md: Instructions for setting up and running the project.
  • requirements.txt: Contains all necessary Python libraries.
  • dehazing-code.ipynb: Jupyter notebook with the full dehazing code.
  • dehazing.py: Python code to run the dehazing UI on Windows OS.
  • run_cvip_ui_picker.bat: Batch file to launch the dehazing UI on Windows.
  • run.py: Python script to run the UI on any operating system.
  • test_dataset/: Folder containing hazy image test data.
  • AOD_Net_reg.h5: Saved model in Hierarchical Data Format (HDF).

Getting Started

Follow these instructions to set up your environment to run the project.

Prerequisites

Ensure you have Python 3.6 or higher installed on your machine. Install all the required dependencies with one of the following methods:

Using requirements.txt

pip install -r requirements.txt

Alternatively, you can install the dependencies directly using:

pip install opencv-python numpy tensorflow matplotlib scikit-image keras tkinter PIL

Running the Dehazing App On Windows:

  1. Double-click the run_cvip_ui_picker.bat file to start the application.
  2. Wait for the app to open, and then upload an image from the directory using the UI.

On macOS or Linux:

  1. Open a terminal.

  2. Execute the following command:

python run.py
  1. To dehaze a different image, change the image path in the img variable inside run.py. For example: img = cv2.imread('file_path')

Note: Keep the command prompt open while the app is running.

sattelite_image_dehazing's People

Contributors

lokesh97jain 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.