parse_MD: parse MD results into a simple dataframe

View source: R/detect.R

parse_MDR Documentation

parse MD results into a simple dataframe

Description

parse MD results into a simple dataframe

Usage

parse_MD(
  results,
  manifest = NULL,
  out_file = NULL,
  buffer = 0.02,
  threshold = 0,
  file_col = "Frame"
)

Arguments

results

json output from megadetector

manifest

dataframe containing all frames

out_file

path to save dataframe

buffer

percentage buffer to move bbox away from image edge

threshold

confidence threshold to include bbox

file_col

column in manifest that refers to file paths

Value

original dataframe including md results

Examples

## Not run: 
mdresults <- parseMD(mdres)

## End(Not run)

icr-ctl/animl documentation built on Feb. 16, 2025, 11:33 p.m.