tem_to_xml: Templates to XML

View source: R/tem_to_xml.R

tem_to_xmlR Documentation

Templates to XML

Description

Make an XML file with the template points for a set of stimuli. For use with facetrain for training dlib models.

Usage

tem_to_xml(stimuli, dir = "images", imageset = "Image Set")

Arguments

stimuli

list of class stimlist

dir

path to save the images and XML file

imageset

name for the image set (in the XML file)

Value

the path to the xml file (invisibly)

Examples

xml <- system.file("demo/_images.xml", package = "webmorphR.dlib")

# read the first 10 lines of the xml file
readLines(xml, n = 10)

debruine/webmorphR.dlib documentation built on Sept. 26, 2022, 10:08 a.m.