if (FALSE) {
MATR = matrix(runif(75), ncol = 25, nrow = 5)
res = HOG_apply(MATR, cells = 3, orientations = 5, rows = 5, columns = 5, threads = 1)
ARRAY = array(5, dim = c(10, 10, 3))
res = HOG_apply(ARRAY, cells = 3, orientations = 6, threads = 1)
FOLDER_path = paste0(system.file("tmp_images", "same_type", package = "OpenImageR"), '/')
res = HOG_apply(FOLDER_path, cells = 3, orientations = 6, threads = 1)
}
Run the code above in your browser using DataLab