getFaceRegion | R Documentation |
Returns a logical vector with the face region
getFaceRegion(
imgPath,
xpos = 0,
ypos = 0,
faceWidth = 1.4,
faceHeight = 1.8,
preview = TRUE,
writeImgTo = NULL
)
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. |
Logical vector specifying the location of the face region
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.