Skip to main content

Dehazer

forthebadge made-with-python
Python 3.6

Functionality of the Dehazer

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

Usage

  • Make sure you have Python installed in your system.
  • Run Following command in the CMD.
 pip install Dehaze

Implementation

# test.py
# 0 for Dehazing and 1 for Remove Background
import Dehaze
Dehaze.dhazei(img,0)     #Input:image Output:image
Dehaze.dhazei(img,1)

Dehaze.dhaze("gggg.jpg",0)   #Input:path Output:image
Dehaze.dhaze("gggg.jpg",1)

Dehaze.vdhaze("vv.mp4",0)     #Input:path Output:output.mp4 in root directory
Dehaze.vdhaze("vv.mp4",1)

Example

import Dehaze
import cv2

img = cv2.imread("gggg.jpg", cv2.IMREAD_COLOR) 
z=Dehaze.dhazei(img,1)
cv2.imshow('Dehazed_image', z)                     #Input:image Output:image
cv2.waitKey(0)


z=Dehaze.dhaze("gggg.jpg",1)
cv2.imshow('Dehazed_image', z)                    #Input:path Output:image
cv2.waitKey(0)


Dehaze.vdhaze("vv.mp4",1)                         #Input:path Output:output.mp4 in root directory
Dehaze.vdhaze("vv.mp4",0)


Screenshots

 parmishh  parmishh
 parmishh  parmishh

Release files for Dehaze 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Dehaze 0.0.4
File Size Uploaded
Dehaze-0.0.4.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Dehaze 0.0.4
File Interpreter ABI Platform
Dehaze-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / Dehaze-0.0.4.tar.gz

Download URL Dehaze-0.0.4.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0749c140487d0dfa8b7405fc38344f1c8ade89830c386a032d09510ff92fddea
BLAKE2b-256 checksum
How to use checksums
491bfdf6c301d055b2224e6e4eef0d1230c7e689efd8a150012b9e11bccc364c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / Dehaze-0.0.4-py3-none-any.whl

Download URL Dehaze-0.0.4-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9fc81d597a30b9cc2136b8572d18d88a12496dbbc3635dddb52d567ffafe3317
BLAKE2b-256 checksum
How to use checksums
53a0f6758bcc77e852bb04896290e6d2c7cdd8ffe84a907e2b27022310a80287
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page