xml_to_tem: XML to Templates

View source: R/xml_to_tem.R

xml_to_temR Documentation

XML to Templates

Description

Make webmorph templates out of XML formatted point files.

Usage

xml_to_tem(xml)

Arguments

xml

The file path for the XML file

Value

A stimlist with only tem points

Examples

## Not run: 
  # requires python and dlib
  xml <- system.file("demo/_images.xml", package = "webmorphR.dlib")
  stimuli <- xml_to_tem(xml)
  stimuli |> draw_tem() |> plot(nrow = 2)

## End(Not run)

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