Coder Social home page Coder Social logo

samay-jain / smartclear---desmoking-dehazing-image-with-object-detection-for-rescue-operation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 72 KB

A python project to desmoke/dehaze image from the selected directory with human being and animal detection for the rescue operation during fire outbreaks or disasters etc. It can also be used for the normal dehazing operation on images.

License: MIT License

Python 100.00%
custom-training deep-learning dehazing desmoking image-processing machine-learning object-detection python yolov8 ffa-net

smartclear---desmoking-dehazing-image-with-object-detection-for-rescue-operation's Introduction

SmartClear---Desmoking-Dehazing-Image-with-Object-Detection-for-rescue-operation

Overview

This GitHub repository contains the source code and documentation for our final year B.Tech project in Computer Science and Engineering. The project focuses on creating a Python GUI-based application that performs image dehazing/desmoking and living being detection. The goal is to contribute to efficient rescue operations during indoor fire disasters by clearing smoke and haze from images and detecting the presence of living beings at the disaster site.

Training Code of Feature Fusion Attention Network Architecture Model can be accessed through - https://drive.google.com/file/d/1KhRlRJyCslhM-T-0BWtZhv3StSDawKBl/view?usp=drive_link

Output images -

hab3 png_dehazed_img

hab6 png_dehazed_img

833_1_dehazed_img

234_1_dehazed_img

236_1 png_dehazed_img

Features

Dehazing/Desmoking Model: Utilizes the FFA-Net architecture, a Feature Fusion Attention Network, to effectively dehaze/smoke images. The model has been trained on a labeled dataset consisting of 30,000 indoor hazed images.

Living being Detection: Implements YOLOv8, a deep learning object detection model, for the detection of living beings in images.

Graphical User Interface (GUI): The application is equipped with a user-friendly GUI for easy interaction.

Image Grid Output: Displays the image before and after dehazing/desmoking and living being detection in the form of a grid. The original image is shown on the left, and the processed image is shown on the right.

Execution

System Requirements: The project runs comfortably on systems with high processing capacity. It may be time-consuming on systems with limited resources, executing primarily on CPU.

Dependencies: Ensure that the required dependencies, including Torchvision, PIL, Torch, OpenCV, and Ultralytics YOLO, are installed on your system.

Weights for dehazing/desmoking and living being detection (Humans, Animals and Birds) can be downloaded from the link - https://drive.google.com/drive/folders/1SnwXBWQ-5dLs8wrsyJWJ71oXvXv0zWHs?usp=drive_link

Execution Steps:

Clone the repository to your local machine. Set up the necessary directories for input images, pretrained models, and output images. Run the Python script finalcode.py to execute the dehazing and detection operations.

Usage

Launch the application. Load input images for dehazing and detection. View the processed images in the GUI. Save the final output images, showing the impact of dehazing and the results of human and animal detection.

Contributing

If you'd like to contribute to the project, feel free to fork the repository and submit pull requests.

Acknowledgments

We express our gratitude to the open-source community for providing valuable tools and frameworks that have contributed to the success of this project.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the license terms.

Contact

For any inquiries or suggestions, please contact Samay Jain at [email protected] We welcome your feedback and contributions.

smartclear---desmoking-dehazing-image-with-object-detection-for-rescue-operation's People

Contributors

kalashk116 avatar samay-jain avatar

Watchers

 avatar  avatar

Forkers

kalashk116

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.