wd_images_ID <- system.file("pictures/sample_images", package = "camtrapR")
maxTimeDiff <- 120 # = 2 minutes
if (Sys.which("exiftool") != ""){ # only run this example if Exiftool is available
check.folders <- checkSpeciesFolders(inDir = wd_images_ID,
maxDeltaTime = maxTimeDiff,
writecsv = FALSE)
check.folders
# In this example, these are really 2 different species photographed within 2 minutes.
}
Run the code above in your browser using DataLab