Class MovementDetector
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to detect movement on image sources.
public class MovementDetector : SurveillanceEngine, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceMovementDetector()
Initializes a new instance of the MovementDetector class.
Declaration
public MovementDetector()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required features are not supported. |
See Also
Methods
View SourceAddSource(SurveillanceSource, MovementDetectionConfiguration)
Adds SurveillanceSource with the provided MovementDetectionConfiguration.
Declaration
public void AddSource(SurveillanceSource source, MovementDetectionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
SurveillanceSource | source | The source used for recognition. |
MovementDetectionConfiguration | config | The config for the |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException | The MovementDetector has already been disposed of. |
See Also
View SourceAddSource(SurveillanceSource)
Adds SurveillanceSource.
Declaration
public void AddSource(SurveillanceSource source)
Parameters
Type | Name | Description |
---|---|---|
SurveillanceSource | source | The source used for recognition. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ObjectDisposedException | The MovementDetector has already been disposed of. |
See Also
Events
View SourceDetected
Occurs when the movement detected.
Declaration
public event EventHandler<MovementDetectedEventArgs> Detected
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><MovementDetectedEventArgs> |
Remarks
The event handler will be executed on an internal thread.
See Also
Implements
System.IDisposable