Class MovementDetector

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll

Provides the ability to detect movement on image sources.

C#
Copy
public class MovementDetector : SurveillanceEngine, IDisposable
Inheritance
object
MovementDetector
Implements
System.IDisposable

Constructors

View Source

MovementDetector()

Initializes a new instance of the MovementDetector class.

Declaration
C#
Copy
public MovementDetector()
Exceptions
Type Condition
System.NotSupportedException

The required features are not supported.

Methods

View Source

AddSource(SurveillanceSource, MovementDetectionConfiguration)

Adds SurveillanceSource with the provided MovementDetectionConfiguration.

Declaration
C#
Copy
public void AddSource(SurveillanceSource source, MovementDetectionConfiguration config)
Parameters
Type Name Description
SurveillanceSource source

The source used for recognition.

MovementDetectionConfiguration config

The config for the source. This value can be null.

Exceptions
Type Condition
System.ArgumentNullException

source is null.

System.ObjectDisposedException

The MovementDetector has already been disposed of.
-or-
config has already been disposed of.

View Source

AddSource(SurveillanceSource)

Adds SurveillanceSource.

Declaration
C#
Copy
public void AddSource(SurveillanceSource source)
Parameters
Type Name Description
SurveillanceSource source

The source used for recognition.

Exceptions
Type Condition
System.ArgumentNullException

source is null.

System.ObjectDisposedException

The MovementDetector has already been disposed of.

Events

View Source

Detected

Occurs when the movement detected.

Declaration
C#
Copy
public event EventHandler<MovementDetectedEventArgs> Detected
Event Type
Type Description
System.EventHandler<TEventArgs><MovementDetectedEventArgs>
Remarks

The event handler will be executed on an internal thread.

Implements

System.IDisposable

See Also