WOLFRAM

"NotablePerson" (Built-in Classifier)

Determine the notable person in an image.

Classes

Details

  • The classifier is applied to the largest face found in the image.
  • The classifier will return one of the possible classes, even if the person in the input image is not among these classes.
  • In the current version, the notable persons are dominated by US-known personalities.

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Use the "NotablePerson" built-in classifier to determine what notable person is depicted in the given image:

Out[1]=1

Obtain the probabilities for the most likely classes:

Out[2]=2

Obtain a ClassifierFunction for this classifier:

Out[1]=1

Use the classifier function to classify:

Out[2]=2

Classify many examples at once:

Out[3]=3

Scope  (1)Survey of the scope of standard use cases

Load the ClassifierFunction corresponding to the built-in classifier:

Out[1]=1

Obtain a subset of possible classes:

Options  (3)Common values & functionality for each option

ClassPriors  (1)

Use a custom ClassPriors to restrict the possible outputs:

Out[1]=1

IndeterminateThreshold  (1)

Use a custom IndeterminateThreshold:

Out[1]=1

UtilityFunction  (1)

Obtain the utility function of the classifier:

Classify an image using this new utility:

Out[3]=3

Compare to the result with the default utility:

Out[4]=4

Neat Examples  (1)Surprising or curious use cases

Obtain different notable persons with their corresponding probabilities:

Visualize a subset of results with the highest probabilities using WordCloud:

Out[2]=2