artus.spatialize package

Submodules

artus.spatialize.GeoCOCOExporter module

artus.spatialize.GeoFiftyoneExporter module

artus.spatialize.LocationImporter module

A module to import sample location from a CSV.

This module is dedicated to user that only have images georeferenced by a GPS point. It will add the matching GPS point to every sample in the fiftyone dataset.

artus.spatialize.LocationImporter.import_csv_locations(location_path, fiftyone_dataset)

A function to import GPS locations from a CSV file and add it to the matching sample in a fiftyone dataset.

Parameters:
  • location_path (str) – a path to csv containing 3 columns called ‘filename’, ‘latitude’ and ‘longitude’

  • fiftyone_dataset (fiftyone.core.dataset) – a fiftyone dataset containing images

Returns:

the same dataset with a geolocation point added to the samples listed in the csv file.

Return type:

fiftyone.core.dataset

Module contents