panel_segmentation.panel_detection.PanelDetection.generateSatelliteImage

PanelDetection.generateSatelliteImage(latitude, longitude, file_name_save, google_maps_api_key)[source]

Generates satellite image via Google Maps, using a set of lat-long coordinates.

Parameters
  • latitude (float) – Latitude coordinate of the site.

  • longitude (float) – Longitude coordinate of the site.

  • file_name_save (string) – File path that we want to save the image to, where the image is saved as a PNG file.

  • google_maps_api_key (string) – Google Maps API Key for automatically pulling satellite images.

Returns

  • Figure

  • Figure of the satellite image