ImageIdentify
ImageIdentify[image]
yields the result of attempting to identify what image is a picture of.
ImageIdentify[image,category]
restricts the identification of image to objects within the specified category.
ImageIdentify[image,category,n]
gives a list of up to n possible identifications.
ImageIdentify[image,category,n,"prop"]
gives the specified property for each identification.
Details and Options
- ImageIdentify[{image1,image2,…},…] can be used to identify objects in multiple images.
- In ImageIdentify[image,category], possible forms for category include:
-
"type" entity type, as used in Interpreter "concept" named concept, as used in "Concept" entities "word" English word, as used in WordData wordspec word sense specification, as used in WordData Entity[…] any appropriate entity category1category2… any of the categoryi - By default, ImageIdentify returns objects of the form Entity["Concept",…].
- The property "prop" can be one of the following:
-
"Concept" a concept entity object "Entity" when possible, a concrete entity object "Probability" an association of concepts and probabilities "cprop" a property supported by "Concept" entities {prop1,…} a list of property specifications - The following options can be given:
-
AcceptanceThreshold Automatic identification acceptance threshold PerformanceGoal Automatic what to optimize in the identification SpecificityGoal Automatic what specificity of object type to seek TargetDevice "CPU" the target device on which to compute - Possible settings for PerformanceGoal include "Speed" and "Quality".
- Possible settings for SpecificityGoal include:
-
"Low" favor general categories of objects "High" favor specific kinds of objects s specificity between 0 (lowest) and 1 (highest) - When no content is found at an acceptable threshold, Missing["Unidentified"] is returned.
- ImageIdentify uses machine learning. Its methods, training sets and biases included therein may change and yield varied results in different versions of the Wolfram Language.
- ImageIdentify may download resources that will be stored in your local object store at $LocalBase, and can be listed using LocalObjects[] and removed using ResourceRemove.
Examples
open allclose allBasic Examples (2)
Scope (3)
Options (4)
AcceptanceThreshold (1)
The AcceptanceThreshold is selected automatically:
If no identification is above the threshold, a Missing object is returned:
PerformanceGoal (1)
Use PerformanceGoal"Speed" to get a result as fast as possible:
Properties & Relations (1)
The neural net used by ImageIdentify can be accessed using NetModel:
Possible Issues (1)
Neat Examples (1)
Get 10 different identifications, along with their probabilities:
Visualize the result of object identification using a WordCloud:
Text
Wolfram Research (2015), ImageIdentify, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageIdentify.html (updated 2023).
CMS
Wolfram Language. 2015. "ImageIdentify." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/ImageIdentify.html.
APA
Wolfram Language. (2015). ImageIdentify. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageIdentify.html