![]() |
ROC SDK
2.4.0
Scalable Face Recognition Software
|
Check the contents of a gallery for data corruption.
This command line application corresponds to the roc_validate function in the Application Programming Interface.
| Option | Meaning |
|---|---|
-c | See Print Template Count |
-e <int> | See Ensure Template Count |
-t | See Truncate Gallery |
If the -c option is specified, print the number of templates in the gallery.
If the -e option is specified, return EXIT_FAILURE if the number of templates in the gallery does not equal the provided count.
If the -t option is specified, the gallery file will be truncated after the last valid template.
$ roc-validate -h
faces.t. $ roc-validate -c faces.t
faces.t has 3 templates. $ roc-validate -e 3 faces.t
faces.t after the last valid template. $ roc-validate -t faces.t
1.8.15