public final class CognitiveServicesVisionProcessor extends ProcessorNodeBase
Constructor and Description |
---|
CognitiveServicesVisionProcessor(String name,
List<NodeInput> inputs,
EndpointBase endpoint,
SpatialAnalysisOperationBase operation)
Creates an instance of CognitiveServicesVisionProcessor class.
|
Modifier and Type | Method and Description |
---|---|
EndpointBase |
getEndpoint()
Get the endpoint property: Endpoint to which this processor should connect.
|
ImageProperties |
getImage()
Get the image property: Describes the parameters of the image that is sent as input to the endpoint.
|
SpatialAnalysisOperationBase |
getOperation()
Get the operation property: Describes the Spatial Analysis operation to be used in the Cognitive Services Vision
processor.
|
SamplingOptions |
getSamplingOptions()
Get the samplingOptions property: Describes the sampling options to be applied when forwarding samples to the
extension.
|
CognitiveServicesVisionProcessor |
setImage(ImageProperties image)
Set the image property: Describes the parameters of the image that is sent as input to the endpoint.
|
CognitiveServicesVisionProcessor |
setSamplingOptions(SamplingOptions samplingOptions)
Set the samplingOptions property: Describes the sampling options to be applied when forwarding samples to the
extension.
|
getInputs, getName
public CognitiveServicesVisionProcessor(String name, List<NodeInput> inputs, EndpointBase endpoint, SpatialAnalysisOperationBase operation)
name
- the name value to set.inputs
- the inputs value to set.endpoint
- the endpoint value to set.operation
- the operation value to set.public EndpointBase getEndpoint()
public ImageProperties getImage()
public CognitiveServicesVisionProcessor setImage(ImageProperties image)
image
- the image value to set.public SamplingOptions getSamplingOptions()
public CognitiveServicesVisionProcessor setSamplingOptions(SamplingOptions samplingOptions)
samplingOptions
- the samplingOptions value to set.public SpatialAnalysisOperationBase getOperation()
Copyright © 2021 Microsoft Corporation. All rights reserved.