Class CognitiveServicesVisionProcessor
A processor that allows the pipeline topology to send video frames to a Cognitive Services Vision extension. Inference results are relayed to downstream nodes.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Media.VideoAnalyzer.Edge.dll
Syntax
public class CognitiveServicesVisionProcessor : Azure.Media.VideoAnalyzer.Edge.Models.ProcessorNodeBase
Constructors
CognitiveServicesVisionProcessor(String, IEnumerable<NodeInput>, EndpointBase, SpatialAnalysisOperationBase)
Initializes a new instance of CognitiveServicesVisionProcessor.
Declaration
public CognitiveServicesVisionProcessor (string name, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> inputs, Azure.Media.VideoAnalyzer.Edge.Models.EndpointBase endpoint, Azure.Media.VideoAnalyzer.Edge.Models.SpatialAnalysisOperationBase operation);
Parameters
System.String
name
Node name. Must be unique within the topology. |
System.Collections.Generic.IEnumerable<NodeInput>
inputs
An array of upstream node references within the topology to be used as inputs for this node. |
EndpointBase
endpoint
Endpoint to which this processor should connect. |
SpatialAnalysisOperationBase
operation
Describes the Spatial Analysis operation to be used in the Cognitive Services Vision processor. |
Exceptions
System.ArgumentNullException
|
Properties
Endpoint
Endpoint to which this processor should connect.
Declaration
public Azure.Media.VideoAnalyzer.Edge.Models.EndpointBase Endpoint { get; set; }
Property Value
EndpointBase
|
Image
Describes the parameters of the image that is sent as input to the endpoint.
Declaration
public Azure.Media.VideoAnalyzer.Edge.Models.ImageProperties Image { get; set; }
Property Value
ImageProperties
|
Operation
Describes the Spatial Analysis operation to be used in the Cognitive Services Vision processor.
Declaration
public Azure.Media.VideoAnalyzer.Edge.Models.SpatialAnalysisOperationBase Operation { get; set; }
Property Value
SpatialAnalysisOperationBase
|
SamplingOptions
Describes the sampling options to be applied when forwarding samples to the extension.
Declaration
public Azure.Media.VideoAnalyzer.Edge.Models.SamplingOptions SamplingOptions { get; set; }
Property Value
SamplingOptions
|