get_gallery_subjects {facerec} | R Documentation |
get gallery subjects
Description
Returns all subject id's associated with a gallery.
Usage
get_gallery_subjects(gallery)
Arguments
gallery |
The gallery in which the subjects are enrolled. |
Value
A vector of subject id's
Examples
facerec_init()
# enroll
finn_image <- 'https://upload.wikimedia.org/wikipedia/en/2/2a/Finn-Force_Awakens_%282015%29.png'
finn_enroll <- enroll(image = finn_image, subject_id = 'finn', gallery = 'starwars')
# view subjects
get_gallery_subjects(gallery = 'starwars')
[Package facerec version 0.1.0 Index]