"FacialAge" (Built-in Classifier)
Estimate a person's age from a face in the image.
Classes
Details
- The classifier is applied to the largest face found in the image.
- The classifier is based on the MobileNet Model Trained on UTKFace Large-Scale Face Dataset.
- The classifier may download resources that will be stored in your local object store at $LocalBase, and that can be listed using LocalObjects[] and removed using ResourceRemove.
Examples
open allclose allBasic Examples (2)
Determine the age of a person:
Obtain the probabilities for the 3 most likely ages:
Obtain a ClassifierFunction for this classifier:
Scope (2)
Use the classifier on each face:
Load the ClassifierFunction corresponding to the built-in classifier:
Options (2)
ClassPriors (1)
Use a custom ClassPriors to restrict the possible outputs:
IndeterminateThreshold (1)
Use a custom IndeterminateThreshold: