Python library for solving computer vision tasks specifically for satellite imagery
Project description
earth-vision
Earth Vision
is a python library for solving computer vision tasks specifically for satellite imagery.
Objective
To ease researcher to run ML pipelines for AI or Deep Learning Applications in solving Earth Observation (EO) tasks.
Installation
We recommend Anaconda as Python package management system and using Python 3.9.
pip:
pip install earth-vision
conda install gdal
From source:
python setup.py install
conda install gdal
GDAL is actually a C++ library with python bindings. That means it relies on underlying C++ code and the package must be built/compiled in a certain manner to be usable with Python. So, we prefer to install it from Anaconda.
Example
from torch.utils.data import DataLoader
from torchvision.transforms import ToTensor, Compose, Normalize
from earthvision.datasets import RESISC45
# Transformation
preprocess = Compose([ToTensor(),
Normalize(mean=[0.3680, 0.3810, 0.3436],
std=[0.1454, 0.1356, 0.1320])])
# Dataset and Dataloader
dataset = RESISC45(root='../dataset', transform=preprocess, download=True)
dataloader = DataLoader(dataset, batch_size=32, shuffle=True)
Features In Progress
- Pretrained model for
earthvision.datasets
Features Plans
Feel free to suggest features you would like to see by opening an issue.
- GPU memory optimization [TBD]
- High-level pipeline to integrate varied data sources [TBD]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file earth-vision-0.0.7.tar.gz
.
File metadata
- Download URL: earth-vision-0.0.7.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfe2953dae3931b7310bf7dd474fda01bb5afbe998dba20746dfb35ac4ddb3df |
|
MD5 | 2a2d06a370e42238ecebee4533a450dd |
|
BLAKE2b-256 | 8fc1ab1cc5925be0a593d6505ae0553323326eadabfdad345e5bbcfe5ad27621 |