view_subject: view subject

Description Usage Arguments Value Examples

Description

Returns all face id's for each image enrolled for a given subject in a gallery.

Usage

1
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

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')

# view subject
view_subject(subject_id = 'finn', gallery = 'starwars')

methodds/facerec documentation built on June 18, 2019, 12:35 p.m.