Skip to main content

PWC PWC PWC PWC PWC

Light Side

Light Side of the Night

Low-Light Image Enhancement

Website • Docs • Pypi

Light Side

TABLE OF CONTENTS
  1. About The Light Side
  2. Prerequisites
  3. Installation
  4. Usage Examples
  5. Architectures
  6. Datasets
  7. Deployments
  8. Training
  9. Tests
  10. Contributing
  11. Contributors
  12. Contact
  13. License
  14. References
  15. Citations

About The Light Side

Light Side is an low-light image enhancement library that consist state-of-the-art deep learning methods. The light side of the Force is referenced. The aim is to create a light structure that will find the Light Side of the Night.

Light_side_of_the_Force The light side of the Force, also known as Ashla, was one of two methods of using the Force. The light side was aligned with calmness, peace, and passiveness, and was used only for knowledge and defense. The Jedi were notable practitioners of the light, being selfless servants of the will of the Force, and their enemies, the Sith followed the dark side of the Force.

Source: Wookieepedia

Low-light image enhancement aims at improving the perception or interpretability of an image captured in an environment with poor illumination.

Source: paperswithcode

Prerequisites

Before you begin, ensure you have met the following requirements:

requirement version
imageio ~=2.15.0
numpy ~=1.22.0
pytorch_lightning ~=1.7.0
scikit-learn ~=1.0.2
torch ~=1.9.1

Installation

To install Light Side, follow these steps:

From Pypi

pip install light_side

From Source

git clone https://github.com/canturan10/light_side.git
cd light_side
pip install .

From Source For Development

git clone https://github.com/canturan10/light_side.git
cd light_side
pip install -e ".[all]"

Usage Examples

import imageio
import light_side as ls

img = imageio.imread("test.jpg")

model = ls.Enhancer.from_pretrained("model_config_dataset")
model.eval()

results = model.predict(img)

APIs

For more information, please refer to the APIs

Architectures

For more information, please refer to the Architectures

Datasets

For more information, please refer to the Datasets

Deployments

For more information, please refer to the Deployment

Training

To training, follow these steps:

For installing Light Side, please refer to the Installation.

python training/zerodce_training.py

For optional arguments,

python training/zerodce_training.py --help

Tests

During development, you might like to have tests run.

Install dependencies

pip install -e ".[test]"

Linting Tests

pytest light_side --pylint --pylint-error-types=EF

Document Tests

pytest light_side --doctest-modules

Coverage Tests

pytest --doctest-modules --cov light_side --cov-report term

Contributing

To contribute to Light Side, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Contributors

Oğuzcan Turan

Oğuzcan Turan
Linkedin Portfolio

You ?

Oğuzcan Turan
Reserved

Contact

If you want to contact me you can reach me at can.turan.10@gmail.com.

License

This project is licensed under MIT license. See LICENSE for more information.

References

The references used in the development of the project are as follows.

Citations

Click to expand!
@misc{Turan_satellighte,
author = {Turan, Oguzcan},
title = {{satellighte}},
url = {https://github.com/canturan10/satellighte}
}
@article{DBLP:journals/corr/abs-2001-06826,
  author    = {Chunle Guo and
               Chongyi Li and
               Jichang Guo and
               Chen Change Loy and
               Junhui Hou and
               Sam Kwong and
               Runmin Cong},
  title     = {Zero-Reference Deep Curve Estimation for Low-Light Image Enhancement},
  journal   = {CoRR},
  volume    = {abs/2001.06826},
  year      = {2020},
  url       = {https://arxiv.org/abs/2001.06826},
  eprinttype = {arXiv},
  eprint    = {2001.06826},
  timestamp = {Sat, 23 Jan 2021 01:20:17 +0100},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2001-06826.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

-----------------------------------------------------

Give a ⭐️ if this project helped you!

This readme file is made using the readme-template

Metadata

Release files for light-side 0.1.0

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

Source distribution (sdist)

Source distribution for light-side 0.1.0
File Size Uploaded Provenance Actions
light_side-0.1.0.tar.gz 25.3 kB Without provenance Details for light_side-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for light-side 0.1.0
File Interpreter ABI Platform Actions
light_side-0.1.0-py3-none-any.whl Python 3 none any Details for light_side-0.1.0-py3-none-any.whl

Total release size: 51.2 kB

Release files / light_side-0.1.0.tar.gz

Download URL light_side-0.1.0.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e86a7b30f7733090213f5cced0977398aab31c141aa3bc13020957892e77f394
BLAKE2b-256 checksum
How to use checksums
9c4a718210b00a2f6c86394c7fae41d4434c2df5e704fca0885f3df1ae19cdcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.1 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.12.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.13

Release files / light_side-0.1.0-py3-none-any.whl

Download URL light_side-0.1.0-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35c8ad7dba0d80f7538712bef0a6cda762ea3207c26679461b041fd06b516445
BLAKE2b-256 checksum
How to use checksums
987e7991d7e870f456d58df9344c2884979e9128f2de2ad2f951929b7fec7871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.1 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.12.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.13

Security for light-side 0.1.0

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.

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