Classify[]

✅ Works in Interactive Notebook

Category: Find.

Classify objects in an image

Classify[] uses a zero-shot model which means you can specify any class you like.

The model behind Classify[] will be downloaded automatically the first time you use it on your computer. This can take a few minutes depending on your internet connection.

Syntax

Classify["cat", "dog"]

Arguments

Examples

The following example loads an image, classifies if the image is a cat or a dog, and displays the results.

Load["./cat.jpeg"]
Classify["cat", "dog"]
Show[]

Classify code example

Supported Models

See Also

Made with ❤️ by capjamesg