Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

ImageInstanceQ

ImageInstanceQ[image,obj]
gives True if image appears to be an instance of the object obj, and gives False otherwise.

ImageInstanceQ[image,obj1|obj2|]
gives True if image appears to be an instance of any of , and gives False otherwise.

ImageInstanceQ[image,obj,category]
assumes that the image is of something in the specified category.

Details and OptionsDetails and Options

  • Possible forms for both objects and categories are:
  • "type"entity type, as used in Interpreter
    "concept"named concept, as used in entities
    "word"English word, as used in WordData
    wordspecword sense specification, as used in WordData
    Entity[]any appropriate entity
    category1|category2|any of the
  • The following options can be given:
  • PerformanceGoalAutomaticfavor algorithms with specific advantages
    RecognitionPrior0.5prior probability for a True result
    RecognitionThreshold0.5what recognition probability to require

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Test of whether an image is an instance of a particular object:

In[1]:=
Click for copyable input
Out[1]=

Perform the test within a specific category:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2015
(10.1)