ROC SDK  2.4.0
Scalable Face Recognition Software
roc-at

Extract templates in a gallery with the specified indicies.

This command line application corresponds to the roc_at function in the Application Programming Interface. Indicies that aren't integers will be treated as roc_template_id and converted to roc_template_index automatically by calling roc_index_for_id.

Options

Option Meaning Default
-f Extract feature vector Extract template
-l <file> See Index List Treat index as an integer
-t Extract thumbnail Extract template

Index List

When the -l flag is specified, the second argument to this command is interpreted as a text file of newline-separated integer indicies. The order of the output gallery will be consistent with the order of the indicies in this list.

Examples

Show help
Print application usage and supported arguments.
$ roc-at -h 
Extract a template
Write the fourth template in the gallery faces.t to fourth.t.
$ roc-at faces.t 3 fourth.t 
Extract a template to stdout
Print the fourth template in the gallery faces.t to stdout.
$ roc-at faces.t 3 > fourth.t 
Extract a thumbnail
Write the thumbnail of the fourth template in the gallery faces.t to fourth.jpg.
$ roc-at -t faces.t 3 fourth.jpg 
Extract a feature vector
Write the feature vector of the fourth template in the gallery faces.t to fourth.bin.
$ roc-at -f faces.t 3 fourth.bin 
Extract a list of templates
Write the templates for the indicies specified by indicies.txt in the gallery faces.t to selected.t.
$ roc-at -l faces.t indicies.txt selected.t