Description Usage Arguments Value Examples
View source: R/read_vertices.R
experimental
Uses file2mesh to read PLY files or readOBJ to read OBJ files, and saves vertex data into three-dimensional array
1 | read_vertices(meshdata)
|
meshdata |
Path to single PLY/OBJ or directory containing PLY/OBJ files. If both files types are present, PLYs will be prioritised |
Returns array of dimensions p, k, and n. p = number of landmarks, k = dimension of data, n = number of specimens
1 2 3 4 5 | path_to_ply <- system.file("extdata", "ply", package="facefuns")
data <- read_vertices(meshdata = path_to_ply)
path_to_obj <- system.file("extdata", "obj", package="facefuns")
data <- read_vertices(meshdata = path_to_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.