face_features: Detects face 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
face_features(img, local.api = FALSE)

Arguments

img

image data

local.api

logical, whether use local or remote API

Value

List with face features

See Also

face_emotion, image_features

Examples

1
2
3
img <- matrix(runif(48*48, 0, 1), nrow = 48)
features <- face_features(img)
length(features)

redmode/indicoio documentation built on May 27, 2019, 4:03 a.m.