Description Usage Arguments Value See Also Examples
Given an grayscale input image of a face, returns a 48 dimensional feature vector explaining that face. Useful as a form of feature engineering for face oriented tasks. Input should be in a list of list format, resizing will be attempted internally but for best performance, images should be already sized at 48x48 pixels.
1 | face_features(img, local.api = FALSE)
|
img |
image data |
local.api |
logical, whether use local or remote API |
List with face features
1 2 3 | img <- matrix(runif(48*48, 0, 1), nrow = 48)
features <- face_features(img)
length(features)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.