## Image recognition

With the help of Mathematica's knowledge base on pattern recognition, we can engage in the development of artificial intelligence. Mathematica needs only one photo to report what is depicted in it. This is possible thanks to the `ImageIdentify`

function:

However, this definition is not limited to only one category. Since it is not always possible to identify exactly what is depicted in an image, you should specify additional parameters to be able to select among options. For example, in this case, we are asking for 10 possible options to be shown:

If we know exactly that there is an edible fruit in the image, then Mathematica will help to classify it. For example, in the next case, we ask for 10 types of edible fruits, which could match this image together with their probabilities:

Note one very useful function—`WordCloud`

. This allows you to build a cloud of words depending on their frequency, which helps to define what is in the image more clearly.

The `ImageInstanceQ`

function...