-
DisplayVideo just shows the frames of a video sequentially, PerFrameDetection does face/eye detection on every frame and displays the results, AgeGenderDemo uses AgeRegressor and GenderClassifier for age/gender detection, and displays the results. These algorithms expect a gallery with the name of one (or more) video sources video sources can be the location of a video (including the address of an ip camera), or the index of a webcam.
-
Stasm
-
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