共用方式為


MediaGraphMotionDetectionProcessor Class

Definition

A node that accepts raw video as input, and detects if there are moving objects present. If so, then it emits an event, and allows frames where motion was detected to pass through. Other frames are blocked/dropped.

public class MediaGraphMotionDetectionProcessor : Azure.Media.Analytics.Edge.Models.MediaGraphProcessor
type MediaGraphMotionDetectionProcessor = class
    inherit MediaGraphProcessor
Public Class MediaGraphMotionDetectionProcessor
Inherits MediaGraphProcessor
Inheritance
MediaGraphMotionDetectionProcessor

Constructors

MediaGraphMotionDetectionProcessor(String, IEnumerable<MediaGraphNodeInput>)

Initializes a new instance of MediaGraphMotionDetectionProcessor.

Properties

EventAggregationWindow

Event aggregation window duration, or 0 for no aggregation.

Inputs

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.

(Inherited from MediaGraphProcessor)
Name

The name for this processor node.

(Inherited from MediaGraphProcessor)
OutputMotionRegion

Indicates whether the processor should detect and output the regions, within the video frame, where motion was detected. Default is true.

Sensitivity

Enumeration that specifies the sensitivity of the motion detection processor.

Applies to