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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = """Qiusheng Wu"""
4
4
  __email__ = "giswqs@gmail.com"
5
- __version__ = "0.24.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
@@ -54,7 +54,6 @@ from transformers.utils import logging as hf_logging
54
54
 
55
55
  from .utils import get_device
56
56
 
57
-
58
57
  hf_logging.set_verbosity_error() # silence HF load reports
59
58
 
60
59
 
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
- (img1, img2, transform, crs, original_shape) = self._read_and_align_images(
252
+ img1, img2, transform, crs, original_shape = self._read_and_align_images(
253
253
  image1_path, image2_path, target_size
254
254
  )
255
255