facial_localization: Detects faces

Description Usage Arguments Value See Also Examples

Description

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.

Usage

1

Arguments

img

image data

version

for api version

...

additional arguments to passed to request

Value

List with face locations

See Also

facial_features, image_features

Examples

1
2
3
## Example 1
img <- "../tests/testthat/image/image.png"
emotion <- facial_localization(img)

IndicoDataSolutions/IndicoIo-R documentation built on May 7, 2019, 6:37 a.m.