geowatch.tasks.poly_from_point.predict module¶
- class geowatch.tasks.poly_from_point.predict.HeatMapConfig(*args, **kwargs)[source]¶
Bases:
DataConfigValid options: []
- Parameters:
*args – positional arguments for this data config
**kwargs – keyword arguments for this data config
- default = {'filepath_output': <Value('output_region.geojson')>, 'filepath_to_images': <Value(None)>, 'filepath_to_points': <Value(None)>, 'filepath_to_region': <Value(None)>, 'filepath_to_sam': <Value(None)>, 'ignore_buffer': <Value(None)>, 'method': <Value('ellipse')>, 'region_id': <Value(None)>, 'size_prior': <Value('20.06063 x 20.0141229 @ 10mGSD')>, 'threshold': <Value(0.45)>, 'time_prior': <Value('1 year')>}¶
- geowatch.tasks.poly_from_point.predict.convert_polygons_to_region_model(utm_polygons, main_region_header, points_gdf_utm, points_gdf_crs84, config)[source]¶
Given polygons in a CRS, convert them to CRS84 polygon-based RegionModels.
- geowatch.tasks.poly_from_point.predict.get_vidspace_info(video_obj)[source]¶
Extract information about the videospace of a kwcoco video object
- geowatch.tasks.poly_from_point.predict.convert_points_to_poly_with_sam_method(dset, video_obj, points_gdf_utm, config)[source]¶
- geowatch.tasks.poly_from_point.predict.main()[source]¶
- IGNORE:
black /mnt/ssd2/data/test/geowatch/geowatch/tasks/poly_from_point/predict.py pyenv shell 3.10.5 source $(pyenv prefix)/envs/pyenv-geowatch/bin/activate python -m geowatch.tasks.poly_from_point.predict –method ‘box’ from geowatch.tasks.poly_from_point.predict import *