remove_subject {facerec} | R Documentation |
remove subject
Description
Removes a subject from a gallery.
Usage
remove_subject(subject_id, gallery)
Arguments
subject_id |
The subject id for the subject to be removed. |
gallery |
The name of the gallery in which the subject is enrolled. |
Value
nothing.
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')
# remove subject
remove_subject(subject_id = 'finn', gallery = 'starwars')
[Package facerec version 0.1.0 Index]