detect_MD_batch | R Documentation |
Apply MegaDetector to a Given Batch of Images
detect_MD_batch(
detector,
image_file_names,
checkpoint_path = NULL,
checkpoint_frequency = -1,
confidence_threshold = 0.1,
quiet = TRUE,
image_size = NULL,
file_col = "Frame"
)
detector |
preloaded md model |
image_file_names |
list of image filenames, a single image filename, or folder |
checkpoint_path |
path to checkpoint file |
checkpoint_frequency |
write results to checkpoint file every N images |
confidence_threshold |
only detections above this threshold are returned |
quiet |
print debugging statements when false, defaults to true |
image_size |
overrides default image size, 1280 |
file_col |
select which column if image_file_names is a manifest |
list of dictionaries of MegaDetector detections
## Not run: mdres <- detectMD_batch(md_py, allframes$Frame)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.