Dehazer
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
| |
|
| |
|
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Dehaze-0.0.4.tar.gz | 6.4 kB | Without provenance | Details for Dehaze-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Dehaze-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for Dehaze-0.0.4-py3-none-any.whl |
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
|
Security for Dehaze 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.