facial_features: Detects facial features

Description Usage Arguments Value See Also Examples

Description

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.

Usage

1

Arguments

img

image data

version

for api version

...

additional arguments to passed to request

Value

List with face features

See Also

face_emotion, image_features

Examples

1
2
3
img <- "../tests/testthat/image/image.png"
features <- facial_features(img)
length(features)

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