MediaGraphMotionDetectionProcessor Class
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.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.media.analyticsedge._generated.models._models_py3.MediaGraphProcessorMediaGraphMotionDetectionProcessor
Constructor
MediaGraphMotionDetectionProcessor(*, name: str, inputs: List[azure.media.analyticsedge._generated.models._models_py3.MediaGraphNodeInput], sensitivity: Optional[Union[str, azure.media.analyticsedge._generated.models._direct_methodsfor_live_video_analyticson_io_tedge_enums.MediaGraphMotionDetectionSensitivity]] = None, output_motion_region: Optional[bool] = None, event_aggregation_window: 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.
- sensitivity
- str or <xref:azure.media.analyticsedge.models.MediaGraphMotionDetectionSensitivity>
Enumeration that specifies the sensitivity of the motion detection processor. Possible values include: "Low", "Medium", "High".
- output_motion_region
- bool
Indicates whether the processor should detect and output the regions, within the video frame, where motion was detected. Default is true.
Feedback
Submit and view feedback for