mapreader.spot_text.maptext_runner

Classes

MapTextRunner

Module Contents

class mapreader.spot_text.maptext_runner.MapTextRunner(patch_df, parent_df=None, cfg_file='./MapTextPipeline/configs/ViTAEv2_S/rumsey/final_rumsey.yaml', weights_file='./rumsey-finetune.pth', device='default', delimiter=',')

Bases: mapreader.spot_text.runner_base.DetRecRunner

Parameters:
  • patch_df (pandas.DataFrame | geopandas.GeoDataFrame | str | pathlib.Path)

  • parent_df (pandas.DataFrame | geopandas.GeoDataFrame | str | pathlib.Path | None)

  • cfg_file (str | pathlib.Path)

  • weights_file (str | pathlib.Path)

  • device (str)

  • delimiter (str)

patch_predictions
parent_predictions
geo_predictions
search_results
voc_size
use_customer_dictionary
predictor