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  | facial_features(img, version = NULL, ...)
 | 
img | 
 image data  | 
version | 
 for api version  | 
... | 
 additional arguments to passed to request  | 
List with face features
1 2 3  | img <- "../tests/testthat/image/image.png"
features <- facial_features(img)
length(features)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.