Description Usage Arguments Value See Also Examples
Given a grayscale input image, returns a possible locations for faces Input should be a two-dimensional structure (like data.frame or matrix), resizing will be attempted internally but for best performance, images should be already sized at 48x48 pixels.
1 | facial_localization(img, version = NULL, ...)
|
img |
image data |
version |
for api version |
... |
additional arguments to passed to request |
List with face locations
facial_features
, image_features
1 2 3 | ## Example 1
img <- "../tests/testthat/image/image.png"
emotion <- facial_localization(img)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.