Detector.save_results

giant.ufo.detector:

Detector.save_results(out, split=True)[source]

This method saves the results into csv files.

It can optionally split the results by image file, creating a single file for each image. In this case, the out string should be a format string expecting 1 input, the name of the image file.

Parameters:
  • out (str) – the name of the csv file to save the results to. If split is True then this should be a format string expecting the name of the image file

  • split (bool) – A flag specifying whether to split the output into a file for each image processed instead of 1 big file