"CountryFlag" (Built-in Classifier)

Recognize which country a flag image is for.



  • This classifier is intended to be given an image of a flag pattern, not a flag in the wild.


open allclose all

Basic Examples  (2)

Use the "CountryFlag" built-in classifier to recognize a country from its flag:

Classify multiple examples:

Obtain a ClassifierFunction for the classifier:

Apply the classifier to a list of flags:

Scope  (1)

Load the ClassifierFunction corresponding to the built-in classifier:

Obtain a subset of possible classes using Information:

Options  (2)

ClassPriors  (1)

Use a custom ClassPriors to restrict the possible outputs:

IndeterminateThreshold  (1)

Use a custom IndeterminateThreshold:

Properties & Relations  (1)

The returned classes are "Country" entities:

Neat Examples  (1)

Obtain different countries with their corresponding probabilities:

Visualize the result using WordCloud: