Class ImageAnalysisSkill
- java.lang.Object
-
- com.azure.search.documents.indexes.models.SearchIndexerSkill
-
- com.azure.search.documents.indexes.models.ImageAnalysisSkill
-
public final class ImageAnalysisSkill extends SearchIndexerSkill
A skill that analyzes image files. It extracts a rich set of visual features based on the image content.
-
-
Constructor Summary
Constructors Constructor Description ImageAnalysisSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
Creates an instance of ImageAnalysisSkill class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageAnalysisSkillLanguage
getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use.List<ImageDetail>
getDetails()
Get the details property: A string indicating which domain-specific details to return.List<VisualFeature>
getVisualFeatures()
Get the visualFeatures property: A list of visual features.ImageAnalysisSkill
setDefaultLanguageCode(ImageAnalysisSkillLanguage defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language code to use.ImageAnalysisSkill
setDetails(ImageDetail... details)
Set the details property: A string indicating which domain-specific details to return.ImageAnalysisSkill
setDetails(List<ImageDetail> details)
Set the details property: A string indicating which domain-specific details to return.ImageAnalysisSkill
setVisualFeatures(VisualFeature... visualFeatures)
Set the visualFeatures property: A list of visual features.ImageAnalysisSkill
setVisualFeatures(List<VisualFeature> visualFeatures)
Set the visualFeatures property: A list of visual features.-
Methods inherited from class com.azure.search.documents.indexes.models.SearchIndexerSkill
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setName
-
-
-
-
Constructor Detail
-
ImageAnalysisSkill
public ImageAnalysisSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
Creates an instance of ImageAnalysisSkill class.- Parameters:
inputs
- the inputs value to set.outputs
- the outputs value to set.
-
-
Method Detail
-
getDefaultLanguageCode
public ImageAnalysisSkillLanguage getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use. Default is en.- Returns:
- the defaultLanguageCode value.
-
setDefaultLanguageCode
public ImageAnalysisSkill setDefaultLanguageCode(ImageAnalysisSkillLanguage defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language code to use. Default is en.- Parameters:
defaultLanguageCode
- the defaultLanguageCode value to set.- Returns:
- the ImageAnalysisSkill object itself.
-
getVisualFeatures
public List<VisualFeature> getVisualFeatures()
Get the visualFeatures property: A list of visual features.- Returns:
- the visualFeatures value.
-
setVisualFeatures
public ImageAnalysisSkill setVisualFeatures(List<VisualFeature> visualFeatures)
Set the visualFeatures property: A list of visual features.- Parameters:
visualFeatures
- the visualFeatures value to set.- Returns:
- the ImageAnalysisSkill object itself.
-
getDetails
public List<ImageDetail> getDetails()
Get the details property: A string indicating which domain-specific details to return.- Returns:
- the details value.
-
setDetails
public ImageAnalysisSkill setDetails(List<ImageDetail> details)
Set the details property: A string indicating which domain-specific details to return.- Parameters:
details
- the details value to set.- Returns:
- the ImageAnalysisSkill object itself.
-
setVisualFeatures
public ImageAnalysisSkill setVisualFeatures(VisualFeature... visualFeatures)
Set the visualFeatures property: A list of visual features.- Parameters:
visualFeatures
- the visualFeatures value to set.- Returns:
- the ImageAnalysisSkill object itself.
-
setDetails
public ImageAnalysisSkill setDetails(ImageDetail... details)
Set the details property: A string indicating which domain-specific details to return.- Parameters:
details
- the details value to set.- Returns:
- the ImageAnalysisSkill object itself.
-
-