The Motion detection node detects camera and/or scene motion in the video, adds motion detection metadata to the frame metadata, and can drop frames when there is no motion to reduce downstream processing. This node makes it easy to build use cases such as motion triggered recordings, or to reduce downstream processing when there is no motion.
Inputs & Outputs
Inputs : 1, Media Format : Raw Video
Outputs : 1, Media Format: Raw Video
Output Metadata : MOtion Information
Properties
Property
Description
Type
Default
Required
detect_camera_motion
Detects camera view changing (such as pan/tilt/zoom).
bool
false
No
detect_scene_motion
Detects motion in the scene, optionally within specified regions of interest.
bool
true
No
roi_labels
Regions of interest labels. Comma separated.
string
-
No
rois
Regions of interest for scene movement detection. If defined, only detects motion within these regions. Comma separated vertices, semicolon separated polygons.