MediaGraphCognitiveServicesVisionExtension Class

A processor that allows the media graph 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.analyticsedge._generated.models._models_py3.MediaGraphExtensionProcessorBase
MediaGraphCognitiveServicesVisionExtension

Constructor

MediaGraphCognitiveServicesVisionExtension(*, name: str, inputs: List[azure.media.analyticsedge._generated.models._models_py3.MediaGraphNodeInput], endpoint: azure.media.analyticsedge._generated.models._models_py3.MediaGraphEndpoint, image: azure.media.analyticsedge._generated.models._models_py3.MediaGraphImage, sampling_options: Optional[azure.media.analyticsedge._generated.models._models_py3.MediaGraphSamplingOptions] = None, **kwargs)

Parameters

type
str
Required

Required. The discriminator for derived types.Constant filled by server.

name
str
Required

Required. The name for this processor node.

inputs
list[<xref:azure.media.analyticsedge.models.MediaGraphNodeInput>]
Required

Required. An array of the names of the other nodes in the media graph, the outputs of which are used as input for this processor node.

endpoint
<xref:azure.media.analyticsedge.models.MediaGraphEndpoint>
Required

Required. Endpoint to which this processor should connect.

image
<xref:azure.media.analyticsedge.models.MediaGraphImage>
Required

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

sampling_options
<xref:azure.media.analyticsedge.models.MediaGraphSamplingOptions>
Required

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