| read_face_selection | R Documentation |
Reads the file that Export selection in
view_faces(select = TRUE) downloads, or the code in
the line that Copy R code gives in a notebook, and returns the
chosen faces.
read_face_selection(file, faces)
file |
Path of the exported |
faces |
The same data frame that was passed to
|
The chosen rows of faces, which face_scores
scores and face_selection in image_scores,
image_scores_dir and video_scores accepts.
view_faces
## Not run:
faces <- detect_faces(system.file("extdata", "two-people.jpg", package = "transforEmotion"))
view_faces(faces, select = TRUE)
chosen <- read_face_selection("~/Downloads/selection-faces-20261011-101500.json", faces)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.