Class MotionDetectionProcessor


  • public final class MotionDetectionProcessor
    extends ProcessorNodeBase
    Motion detection processor allows for motion detection on the video stream. It generates motion events whenever motion is present on the video.
    • Constructor Detail

      • MotionDetectionProcessor

        public MotionDetectionProcessor​(String name,
                                        List<NodeInput> inputs)
        Creates an instance of MotionDetectionProcessor class.
        Parameters:
        name - the name value to set.
        inputs - the inputs value to set.
    • Method Detail

      • getSensitivity

        public MotionDetectionSensitivity getSensitivity()
        Get the sensitivity property: Motion detection sensitivity: low, medium, high.
        Returns:
        the sensitivity value.
      • setSensitivity

        public MotionDetectionProcessor setSensitivity​(MotionDetectionSensitivity sensitivity)
        Set the sensitivity property: Motion detection sensitivity: low, medium, high.
        Parameters:
        sensitivity - the sensitivity value to set.
        Returns:
        the MotionDetectionProcessor object itself.
      • isOutputMotionRegion

        public Boolean isOutputMotionRegion()
        Get the outputMotionRegion property: Indicates whether the processor should detect and output the regions within the video frame where motion was detected. Default is true.
        Returns:
        the outputMotionRegion value.
      • setOutputMotionRegion

        public MotionDetectionProcessor setOutputMotionRegion​(Boolean outputMotionRegion)
        Set the outputMotionRegion property: Indicates whether the processor should detect and output the regions within the video frame where motion was detected. Default is true.
        Parameters:
        outputMotionRegion - the outputMotionRegion value to set.
        Returns:
        the MotionDetectionProcessor object itself.
      • getEventAggregationWindow

        public String getEventAggregationWindow()
        Get the eventAggregationWindow property: 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.
        Returns:
        the eventAggregationWindow value.
      • setEventAggregationWindow

        public MotionDetectionProcessor setEventAggregationWindow​(String eventAggregationWindow)
        Set the eventAggregationWindow property: 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.
        Parameters:
        eventAggregationWindow - the eventAggregationWindow value to set.
        Returns:
        the MotionDetectionProcessor object itself.