write_metadata: Write model predictions from 'MLWIC2' to image files

Description Usage Arguments

View source: R/write_metadata.R

Description

Uses 'exiftool' to add metadata to your image files based on output from running classify on your images. You must have ExifTool installed on your machine for this function to work (https://exiftool.org/install.html). This function is designed for those users who want to be able to view their classified images along with the classifications from MLWIC in software like digiKam, MediaPro, and Lighthouse.

Usage

1
2
3
4
5
6
7
write_metadata(
  output_file = paste0(getwd(), "/", "MLWIC2_output.csv"),
  model_type = c("species_model", "empty_animal"),
  exiftool_loc = NULL,
  show_sys_output = FALSE,
  ...
)

Arguments

output_file

The path to- and file name of the csv file that you created with classify or make_output. This is likely in the MLWIC2_helpers_folder unless you deviated from the defaults.

model_type

Did you run the ('species_model') or the ('empty_animal') model?

exiftool_loc

The path to your exiftool installation. It is only necessary to specify this on some computers, especially those running Windows.

show_sys_output

logical. If TRUE, shows the output from the system command


mikeyEcology/MLWIC2 documentation built on Feb. 18, 2021, 11:46 a.m.