export_folders: Create SymLink Directories and Sort Classified Images
Description
Create SymLink Directories and Sort Classified Images
Usage
export_folders(
manifest,
out_dir,
out_file = NULL,
label_col = "prediction",
file_col = "filepath",
unique_name = "uniquename",
copy = FALSE
)
Value
manifest with added link columns
Arguments
- manifest
DataFrame of classified images
- out_dir
Destination directory for species folders
- out_file
if provided, save the manifest to this file
- label_col
specify 'prediction' for species or 'category' for megadetector class
- file_col
Colun containing file paths
- unique_name
Unique image name identifier
- copy
Toggle to determine copy or hard link, defaults to link
Examples
Run this codeif (FALSE) {
manifest <- export_folders(manifest, out_dir)
}
Run the code above in your browser using DataLab