Find objects in an image.
Detect[] uses a zero-shot model which means you can specify any class you like.
The model behind Detect[] 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
Detect[]
Detect["person"]
Arguments
class
- The class to detect.
Examples
The following example loads an image, runs inference to find all objects matching the "person" class, and displays the results.
Load["./photo.jpg"]
Detect["person"]
Show[]
Supported Models
Synonyms
- Find[]