Class MotionDetectionProcessor
Motion detection processor allows for motion detection on the video stream. It generates motion events whenever motion is present on the video.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Media.VideoAnalyzer.Edge.dll
Syntax
public class MotionDetectionProcessor : Azure.Media.VideoAnalyzer.Edge.Models.ProcessorNodeBase
Constructors
MotionDetectionProcessor(String, IEnumerable<NodeInput>)
Initializes a new instance of MotionDetectionProcessor.
Declaration
public MotionDetectionProcessor (string name, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> inputs);
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. |
Exceptions
System.ArgumentNullException
|
Properties
EventAggregationWindow
Time window duration on which events are aggregated before being emitted. Value must be specified in ISO8601 duration format (i.e. "PT2S" equals 2 seconds). Use 0 seconds for no aggregation. Default is 1 second.
Declaration
public string EventAggregationWindow { get; set; }
Property Value
System.String
|
OutputMotionRegion
Indicates whether the processor should detect and output the regions within the video frame where motion was detected. Default is true.
Declaration
public Nullable<bool> OutputMotionRegion { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Sensitivity
Motion detection sensitivity: low, medium, high.
Declaration
public Nullable<Azure.Media.VideoAnalyzer.Edge.Models.MotionDetectionSensitivity> Sensitivity { get; set; }
Property Value
System.Nullable<MotionDetectionSensitivity>
|