MediaGraphGrpcExtension Class
A processor that allows the media graph to send video frames to an external inference container over a gRPC connection. This can be done using shared memory (for high frame rates), or over the network. 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.MediaGraphExtensionProcessorBaseMediaGraphGrpcExtension
Constructor
MediaGraphGrpcExtension(*, 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, data_transfer: azure.media.analyticsedge._generated.models._models_py3.MediaGraphGrpcExtensionDataTransfer, sampling_options: Optional[azure.media.analyticsedge._generated.models._models_py3.MediaGraphSamplingOptions] = None, extension_configuration: Optional[str] = None, **kwargs)
Parameters
- inputs
- list[<xref:azure.media.analyticsedge.models.MediaGraphNodeInput>]
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. Endpoint to which this processor should connect.
- image
- <xref:azure.media.analyticsedge.models.MediaGraphImage>
Required. Describes the parameters of the image that is sent as input to the endpoint.
- sampling_options
- <xref:azure.media.analyticsedge.models.MediaGraphSamplingOptions>
Describes the sampling options to be applied when forwarding samples to the extension.
- data_transfer
- <xref:azure.media.analyticsedge.models.MediaGraphGrpcExtensionDataTransfer>
Required. How media should be transferred to the inference engine.
Feedback
Submit and view feedback for