geoai-py 0.24.0__py2.py3-none-any.whl → 0.26.0__py2.py3-none-any.whl
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/__init__.py +16 -1
- geoai/auto.py +0 -1
- geoai/change_detection.py +1 -1
- geoai/moondream.py +748 -1
- geoai/prithvi.py +1253 -0
- geoai/utils.py +1877 -327
- {geoai_py-0.24.0.dist-info → geoai_py-0.26.0.dist-info}/METADATA +3 -2
- {geoai_py-0.24.0.dist-info → geoai_py-0.26.0.dist-info}/RECORD +12 -11
- {geoai_py-0.24.0.dist-info → geoai_py-0.26.0.dist-info}/WHEEL +1 -1
- {geoai_py-0.24.0.dist-info → geoai_py-0.26.0.dist-info}/entry_points.txt +0 -0
- {geoai_py-0.24.0.dist-info → geoai_py-0.26.0.dist-info}/licenses/LICENSE +0 -0
- {geoai_py-0.24.0.dist-info → geoai_py-0.26.0.dist-info}/top_level.txt +0 -0
geoai/__init__.py
CHANGED
|
@@ -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
|
|
@@ -153,8 +153,23 @@ try:
|
|
|
153
153
|
moondream_query,
|
|
154
154
|
moondream_detect,
|
|
155
155
|
moondream_point,
|
|
156
|
+
moondream_caption_sliding_window,
|
|
157
|
+
moondream_query_sliding_window,
|
|
158
|
+
moondream_detect_sliding_window,
|
|
159
|
+
moondream_point_sliding_window,
|
|
156
160
|
)
|
|
157
161
|
from .map_widgets import moondream_gui
|
|
158
162
|
except ImportError:
|
|
159
163
|
# Moondream not available (missing dependency)
|
|
160
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
|
geoai/auto.py
CHANGED
geoai/change_detection.py
CHANGED
|
@@ -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
|
|