ROC SDK  2.4.0
Scalable Face Recognition Software
roc-cluster

Cluster a gallery into persons.

This command line application corresponds to the combination of roc_knn and roc_cluster functions in the Application Programming Interface.

Alternatively this application can be used to invoke roc_extend.

Options

Option Meaning Default
-e <gallery> roc_extend with the specified probe gallery instead of clustering cluster
-k <int> roc_knn Nearest Neighbors 100
-m <float> roc_cluster Clustering Similarity or roc_extend threshold ROC_DEFAULT_VERIFICATION_THRESHOLD
-s roc_extend spawn false

Examples

Show help
Print application usage and supported arguments.
$ roc-cluster -h 
Cluster a gallery
Cluster a gallery faces.t and write its persons to persons.txt.
$ roc-cluster faces.t persons.txt 
Cluster a gallery to stdout
Cluster a gallery faces.t and print its persons to stdout.
$ roc-cluster faces.t 
Extend a gallery
Extend a gallery faces.t with probes more.t, threshold 0.5, spawning new persons when necessary, and write the persons to persons.txt.
$ roc-cluster faces.t persons.txt -e more.t -m 0.5 -s