view_subject {facerec} | R Documentation |
view subject
Description
Returns all face id's for each image enrolled for a given subject in a gallery.
Usage
view_subject(subject_id, gallery)
Arguments
subject_id |
The subject id for which to return all face id's. |
gallery |
The gallery in which the subject is enrolled. |
Value
A dataframe with face id's and enrollment timestamps associated with the input subject.
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 subject
view_subject(subject_id = 'finn', gallery = 'starwars')
[Package facerec version 0.1.0 Index]