Description Usage Arguments Value Examples
Convert image files into matrix from folder. Each row corresponds to one image
1 | images2matrix(inputFolder, w = 28, h = 28, class)
|
inputFolder |
Folder that content supported image bmp, jpeg, bnp. |
w |
The resized width of image (pixels). |
h |
The resized length of image (pixels) |
class |
class label as integer (1, 2, 3,...). |
a data frame. The first column is the label of each image. the other column are the value of the pixels.
1 2 3 4 | ## Not run:
images2matrix("folder/path/", w= 28, h = 28, class= 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.