geoai-py 0.25.0__tar.gz → 0.26.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {geoai_py-0.25.0 → geoai_py-0.26.0}/.pre-commit-config.yaml +2 -2
- {geoai_py-0.25.0 → geoai_py-0.26.0}/PKG-INFO +1 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/__init__.py +12 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/auto.py +0 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/change_detection.py +1 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/moondream.py +0 -1
- geoai_py-0.26.0/geoai/prithvi.py +1253 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/PKG-INFO +1 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/SOURCES.txt +1 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/mkdocs.yml +2 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/pyproject.toml +2 -2
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/_geoai_lib.py +0 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/update_checker.py +0 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/package_plugin.py +0 -1
- {geoai_py-0.25.0 → geoai_py-0.26.0}/.dockerignore +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/.editorconfig +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/.gitignore +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/CITATION.cff +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/Dockerfile +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/LICENSE +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/MANIFEST.in +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/README.md +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/__init__.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/catalog_models.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/catalog_tools.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/geo_agents.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/map_tools.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/stac_models.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/agents/stac_tools.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/classify.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/detectron2.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/dinov3.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/download.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/extract.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/geoai.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/hf.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/landcover_train.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/landcover_utils.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/map_widgets.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/sam.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/segment.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/segmentation.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/timm_segment.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/timm_train.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/__init__.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/cloudmask.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/multiclean.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/tools/sr.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/train.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai/utils.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/dependency_links.txt +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/entry_points.txt +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/requires.txt +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/geoai_py.egg-info/top_level.txt +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/pytest.ini +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/README.md +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/LICENSE +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/__init__.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/__init__.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/map_tools.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/moondream.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/samgeo.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/dialogs/segmentation.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/geoai_plugin.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/about.svg +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/gpu.svg +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/icon.png +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/moondream.svg +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/samgeo.png +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/icons/segment.svg +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/geoai_plugin/metadata.txt +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/install.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/qgis_plugin/install.sh +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/requirements.txt +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/requirements_docs.txt +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/setup.cfg +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/__init__.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/create_test_data.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_classify.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_download.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_extract.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_fixtures.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_geoai.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_moondream.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_segment.py +0 -0
- {geoai_py-0.25.0 → geoai_py-0.26.0}/tests/test_utils.py +0 -0
|
@@ -12,7 +12,7 @@ repos:
|
|
|
12
12
|
args: ["--maxkb=500"]
|
|
13
13
|
|
|
14
14
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
15
|
-
rev:
|
|
15
|
+
rev: 26.1.0
|
|
16
16
|
hooks:
|
|
17
17
|
- id: black-jupyter
|
|
18
18
|
|
|
@@ -27,6 +27,6 @@ repos:
|
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
- repo: https://github.com/kynan/nbstripout
|
|
30
|
-
rev: 0.
|
|
30
|
+
rev: 0.9.0
|
|
31
31
|
hooks:
|
|
32
32
|
- id: nbstripout
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
__author__ = """Qiusheng Wu"""
|
|
4
4
|
__email__ = "giswqs@gmail.com"
|
|
5
|
-
__version__ = "0.
|
|
5
|
+
__version__ = "0.26.0"
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
import os
|
|
@@ -162,3 +162,14 @@ try:
|
|
|
162
162
|
except ImportError:
|
|
163
163
|
# Moondream not available (missing dependency)
|
|
164
164
|
pass
|
|
165
|
+
|
|
166
|
+
# Prithvi EO 2.0 Geospatial Foundation Model
|
|
167
|
+
try:
|
|
168
|
+
from .prithvi import (
|
|
169
|
+
PrithviProcessor,
|
|
170
|
+
load_prithvi_model,
|
|
171
|
+
prithvi_inference,
|
|
172
|
+
)
|
|
173
|
+
except ImportError:
|
|
174
|
+
# Prithvi not available (missing dependency)
|
|
175
|
+
pass
|
|
@@ -249,7 +249,7 @@ class ChangeDetection:
|
|
|
249
249
|
dict: Detailed results if return_detailed_results=True
|
|
250
250
|
"""
|
|
251
251
|
# Read and align images
|
|
252
|
-
|
|
252
|
+
img1, img2, transform, crs, original_shape = self._read_and_align_images(
|
|
253
253
|
image1_path, image2_path, target_size
|
|
254
254
|
)
|
|
255
255
|
|