Description Usage Arguments Value Examples
Load (new) image(s) to compute eigenfaces or search similar faces in the training data set. Only images in the pgm image format (greymap) are supported.
1 | load_pgm_images(path, pattern = NULL, max_images = 0L)
|
path |
character; Specify the path to the image(s). (required) |
pattern |
character; Regular expression used to filter images of the data set. Only image files matching the RegEx will be used. (optional) |
max_images |
integer, Number of images that will be loaded. (optional) |
A double vector containing the loaded image(s).
1 2 3 4 5 6 | ## Not run:
images <- load_pgm_images("C:/Users/me/data/lfwcrop_grey/faces",
pattern="(0001)|(0002)|(0003)|(0004)",
max_images=1000L)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.