Learn R Programming

animl (version 3.2.0)

export_megadetector: Converts the .csv file to the MD-formatted .json file.

Description

Converts the .csv file to the MD-formatted .json file.

Usage

export_megadetector(
  manifest,
  out_file = NULL,
  detector = "MegaDetector v5a",
  prompt = TRUE
)

Value

None

Arguments

manifest

dataframe containing images and associated detections

out_file

path to save the MD formatted file

detector

name of the detector model used

prompt

ask user to overwrite existing file

Examples

Run this code
if (FALSE) export_megadetector(manifest, output_file= 'results.json', detector='MDv6')

Run the code above in your browser using DataLab