remove_subject: remove subject

Description Usage Arguments Value Examples

Description

Removes a subject from a gallery.

Usage

1
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

1
2
3
4
5
6
7
8
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')

facerec documentation built on May 2, 2019, 3:45 p.m.