-
Save and Restore mat are used to transfer a template's matrix to metadata/copy a matrix in metadata to the template's main matrix. This is useful in e.g. visualization applications. Add a transform to expand the size of detected rects by some factor.
-
Add an inPlace argument to draw, and add a couple transforms for drawing the values of properties at some named point on an image. The inPlace argument (default false) controls whether or not an image is cloned before it is drawn on. Not cloning the image means the transforms doesn't exactly obey the const modifier on the input template (since it alters the values pointed at by that matrix), which could lead to unexpected results in some scenarios. On the other hand, the clone operation is wasteful in some cases, and also not cloning can be useful in scenarios such as drawing a set of detections represented by different templates on the same image, so as a compromise we have a default off option to draw in place.
-
Changes to PP5Enroll, proposed fix to #54
-
Changes to subject/label
-
Set detect_base_face_only based on enrollAll (per-file enrollAll is not supported). Implement project(templatelist) rather than project(template), when enrollAll is set, output multiple templates, one for each detected face, with associated metadata.
-
Remove special casing of label in cache, and getCSVElement
-
These names mirroring File functionality. Fixed SVMDistance dropped unnecessary second relabel in LDATransform::train