Click or drag to resize
MotionDetector Class
Inheritance Hierarchy

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class MotionDetector : VideoHandler

The MotionDetector type exposes the following members.

Constructors
  NameDescription
Public methodMotionDetector
Class to represent a motion detector, which detects on receive VideoDatas.
Top
Methods
  NameDescription
Public methodDispose
Disposes the object.
(Inherited from DisposableClass.)
Protected methodDispose(Boolean)
Disposes the object.
(Inherited from DisposableClass.)
Protected methodFinalize
(Inherited from DisposableClass.)
Protected methodGetAllFormats (Inherited from VideoHandler.)
Public methodOnDataReceived
Receiving the VideoData from the sender.
(Overrides VideoHandlerOnDataReceived(Object, VideoData).)
Protected methodReceiverConnected
This will be called when this object has been connected to a video receiver.
(Inherited from VideoHandler.)
Protected methodReceiverDisconnected
This will be called when this object has been disconnected from a video receiver.
(Inherited from VideoHandler.)
Public methodRestart
Restarts the detector.
Protected methodSendData
Sends media data to the connected audio handlers.
(Inherited from VideoHandler.)
Protected methodSenderConnected
This will be called when a video sneder has been connected to this object.
(Inherited from VideoHandler.)
Protected methodSenderDisconnected
This will be called when a video sender has been disconnected from this object.
(Inherited from VideoHandler.)
Public methodSetPreferredSendFormats (Inherited from VideoHandler.)
Protected methodSetSupportedFormats
Sets the video formats that the video handler can receive. If no video format specified, all formats are supported.
(Inherited from VideoHandler.)
Public methodStart
Starts the detection.
Public methodStop
Stops the detection.
Top
Properties
  NameDescription
Public propertyDetectionFPS
Gets or sets that how many frames should be checked per second.
Public propertyHighlightMotion
Gets or sets how to highlight the moving objects.
Public propertyID (Inherited from DisposableClass.)
Public propertyIsRunning
Gets that the motion detector is running or not.
Public propertyMotionColor
Gets or sets the highlight color.
Public propertyPixelAmountSensitivy
Gets or sets that what percent of the image should change to be recognized as motion.
Public propertyPixelIntensitySensitivy
Gets or sets that what intensity difference between pixels should be recognized as motion.
Public propertyReceiveFormats
Gets a list of video formats that the video handler can receive. If no video format specified, all formats are supported.
(Inherited from VideoHandler.)
Top
Events
  NameDescription
Public eventDetectionError
Occurs when the detection get error
Public eventMediaDataSent
Occurs when the video data is ready to send.
(Inherited from VideoHandler.)
Public eventMotionDetection
Carries the motion information for the checked frame as arguments.
Public eventReceiveFormatsChanged
Occurs when an item is added or removed from the ReceiveFormats collection.
(Inherited from VideoHandler.)
Top
See Also