A list of matrices associated with a file.
The Template is one of two important data structures in OpenBR (the File is the other). A template represents a biometric at various stages of enrollment and can be modified by Transforms and compared to other templates with Distances.
While there exist many cases (ex. video enrollment, multiple face detects, per-patch subspace learning, ...) where the template will contain more than one matrix, in most cases templates have exactly one matrix in their list representing a single image at various stages of enrollment. In the cases where exactly one image is expected, the template provides the function m() as an idiom for treating it as a single matrix. Casting operators are also provided to pass the template into image processing functions expecting matrices.
Metadata related to the template that is computed during enrollment (ex. bounding boxes, eye locations, quality metrics, ...) should be assigned to the template's File member.