if (FALSE) {
# Classify all ROIs in a sample (top prediction per image)
result <- ifcb_classify_sample("path/to/D20220522T003051_IFCB134.roi")
head(result)
# Return top 3 predictions per image
result <- ifcb_classify_sample(
"path/to/D20220522T003051_IFCB134.roi",
top_n = 3
)
# Classify only specific ROI numbers
result <- ifcb_classify_sample(
"path/to/D20220522T003051_IFCB134.roi",
ROInumbers = c(1, 5, 10)
)
}
Run the code above in your browser using DataLab