Satellighte
Satellite Image Classification
TABLE OF CONTENTS
About The Satellighte
Satellighte is an image classification library that consist state-of-the-art deep learning methods. It is a combination of the words 'Satellite' and 'Light', and its purpose is to establish a light structure to classify satellite images, but to obtain robust results.
Satellite image classification is the most significant technique used in remote sensing for the computerized study and pattern recognition of satellite information, which is based on diversity structures of the image that involve rigorous validation of the training samples depending on the used classification algorithm.
Source: paperswithcode
Prerequisites
Before you begin, ensure you have met the following requirements:
| requirement | version | requirement | version | |
|---|---|---|---|---|
| imageio | ~=2.15.0 | torchaudio | ~=0.8.1 | |
| numpy | ~=1.21.0 | torchmetrics | ~=0.7.1 | |
| pytorch_lightning | ~=1.5.10 | torchvision | ~=0.9.1 | |
| scikit-learn | ~=1.0.2 | torch | ~=1.8.1 |
Installation
To install Satellighte, follow these steps:
From Pypi
pip install satellighte
From Source
git clone https://github.com/canturan10/satellighte.git
cd satellighte
pip install .
From Source For Development
git clone https://github.com/canturan10/satellighte.git
cd satellighte
pip install -e ".[all]"
Usage Examples
import imageio
import satellighte as sat
img = imageio.imread("test.jpg")
model = sat.Classifier.from_pretrained("model_config_dataset")
model.eval()
results = model.predict(img)
# [{'cls1': 0.55, 'cls2': 0.45}]
Deployments
For more information, please refer to the Deployment
Tests
During development, you might like to have tests run.
Install dependencies
pip install -e ".[test]"
Linting Tests
pytest satellighte --pylint --pylint-error-types=EF
Document Tests
pytest satellighte --doctest-modules
Coverage Tests
pytest --doctest-modules --cov satellighte --cov-report term
Contributing
To contribute to Satellighte, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>. - Make your changes and commit them:
git commit -m '<commit_message>' - Push to the original branch:
git push origin - Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.
Contributors
Oğuzcan Turan |
You ? |
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
@article{helber2019eurosat,
title={Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification},
author={Helber, Patrick and Bischke, Benjamin and Dengel, Andreas and Borth, Damian},
journal={IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing},
year={2019},
publisher={IEEE}
}
@inproceedings{helber2018introducing,
title={Introducing EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classification},
author={Helber, Patrick and Bischke, Benjamin and Dengel, Andreas and Borth, Damian},
booktitle={IGARSS 2018-2018 IEEE International Geoscience and Remote Sensing Symposium},
pages={204--207},
year={2018},
organization={IEEE}
}
Give a ⭐️ if this project helped you!
This readme file is made using the readme-template
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file satellighte-0.0.4.tar.gz.
File metadata
- Download URL: satellighte-0.0.4.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
610ed6308e451b90be5d2d2d6dfb0e2ab6823ff627868995d31bd51469f2cc8f
|
|
| MD5 |
152c943af9d2f40994833687e8cf385a
|
|
| BLAKE2b-256 |
8427818820631c9d851f5b26b9544a764710b1f3d8353451cd2c95a1a9b43b11
|
File details
Details for the file satellighte-0.0.4-py3-none-any.whl.
File metadata
- Download URL: satellighte-0.0.4-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ef888ca838c82c94334cfb25eedb5fd196cf487eb4cdd1b3176e9c9c8af92fe
|
|
| MD5 |
3021a729216fbd1c3b14b7a3c0d76497
|
|
| BLAKE2b-256 |
fbbd03b477ac78c40edf2401129514f24647cefd2ad493851cefd00f04bc9283
|