parse_detections: Parse MD results into a simple dataframe
Description
Parse MD results into a simple dataframe
Usage
parse_detections(
results,
manifest = NULL,
out_file = NULL,
threshold = 0,
file_col = "filepath"
)
Value
original dataframe including md results
Arguments
- results
json output from megadetector
- manifest
optional dataframe containing all frames
- out_file
optional path to save dataframe
- threshold
confidence threshold to include bbox
- file_col
column in manifest that refers to file paths
Examples
Run this codeif (FALSE) {
mdresults <- parseMD(mdres)
}
Run the code above in your browser using DataLab