getFaceRegion: Get face region

getFaceRegionR Documentation

Get face region

Description

Returns a logical vector with the face region

Usage

getFaceRegion(
  imgPath,
  xpos = 0,
  ypos = 0,
  faceWidth = 1.4,
  faceHeight = 1.8,
  preview = TRUE,
  writeImgTo = NULL
)

Arguments

imgPath

String specifying path to the base image.

xpos

Numeric specifiying the X position (relative to the center).

ypos

Numeric specifiying the Y position (relative to the center).

faceWidth

Numeric specifiying the width of the face region.

faceHeight

Numeric specifiying the height of the face region.

preview

Numeric specifiying the height of the face region.

writeImgTo

String specifying where and if the output image should be saved. Default is NULL, meaning that the image will not be saved.

Value

Logical vector specifying the location of the face region

Examples

NULL

matschmitz/schmitz documentation built on May 15, 2022, 4:15 p.m.