CognitiveServicesVisionProcessor Class

A processor that allows the pipeline topology to send video frames to a Cognitive Services Vision extension. Inference results are relayed to downstream nodes.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.media.videoanalyzeredge._generated.models._models_py3.ProcessorNodeBase
CognitiveServicesVisionProcessor

Constructor

CognitiveServicesVisionProcessor(*, name: str, inputs: List[azure.media.videoanalyzeredge._generated.models._models_py3.NodeInput], endpoint: azure.media.videoanalyzeredge._generated.models._models_py3.EndpointBase, operation: azure.media.videoanalyzeredge._generated.models._models_py3.SpatialAnalysisOperationBase, image: Optional[azure.media.videoanalyzeredge._generated.models._models_py3.ImageProperties] = None, sampling_options: Optional[azure.media.videoanalyzeredge._generated.models._models_py3.SamplingOptions] = None, **kwargs)

Variables

type
str

Required. Type discriminator for the derived types.Constant filled by server.

name
str

Required. Node name. Must be unique within the topology.

inputs
list[<xref:azure.media.videoanalyzer.edge.models.NodeInput>]

Required. An array of upstream node references within the topology to be used as inputs for this node.

endpoint
<xref:azure.media.videoanalyzer.edge.models.EndpointBase>

Required. Endpoint to which this processor should connect.

image
<xref:azure.media.videoanalyzer.edge.models.ImageProperties>

Describes the parameters of the image that is sent as input to the endpoint.

sampling_options
<xref:azure.media.videoanalyzer.edge.models.SamplingOptions>

Describes the sampling options to be applied when forwarding samples to the extension.

operation
<xref:azure.media.videoanalyzer.edge.models.SpatialAnalysisOperationBase>

Required. Describes the Spatial Analysis operation to be used in the Cognitive Services Vision processor.