if (FALSE) {
# Classify a single pre-extracted PNG
result <- ifcb_classify_images("path/to/D20220522T003051_IFCB134_00001.png")
# Classify several PNGs at once
pngs <- list.files("path/to/png_folder", pattern = "\\.png$",
full.names = TRUE)
result <- ifcb_classify_images(pngs, top_n = 3)
}
Run the code above in your browser using DataLab