Skip to contents

Serialises a list of result records to analysis.json, analysis.csv, and manifest.json under output_dir and returns a grayleafspot_run object.

Usage

write_grayleafspot_results(
  results,
  output_dir,
  engine = "python-local",
  engine_model = "packaged-python-pipeline",
  run_name = NULL
)

Arguments

results

A list of per-image result records (as produced by the Python pipeline or analyze_grayleafspot_image()).

output_dir

Character. Directory to write outputs into (created if absent).

engine

Character. Engine label stored in the manifest.

engine_model

Character. Engine-model label stored in the manifest.

run_name

Optional character. Human-readable run name for the manifest.

Value

A grayleafspot_run object.