Метод | Описание | |
---|---|---|
CustomFrameDifferenceDetector ( ) : System |
Initializes a new instance of the CustomFrameDifferenceDetector class.
|
|
CustomFrameDifferenceDetector ( bool suppressNoise ) : System |
Initializes a new instance of the CustomFrameDifferenceDetector class.
|
|
CustomFrameDifferenceDetector ( bool suppressNoise, bool keepObjectEdges ) : System |
Initializes a new instance of the CustomFrameDifferenceDetector class.
|
|
ProcessFrame ( |
Process new video frame. Processes new frame from video source and detects motion in it. Check MotionLevel property to get information about amount of motion (changes) in the processed frame. |
|
Reset ( ) : void |
Reset motion detector to initial state. Resets internal state and variables of motion detection algorithm. Usually this is required to be done before processing new video source, but may be also done at any time to restart motion detection algorithm. |
|
SetBackgroundFrame ( |
Set background frame. The method sets background frame, which will be used to calculate difference with. |
|
SetBackgroundFrame ( |
Set background frame. The method sets background frame, which will be used to calculate difference with. |
|
SetBackgroundFrame ( |
Set background frame. The method sets background frame, which will be used to calculate difference with. |
Метод | Описание | |
---|---|---|
Reset ( bool force ) : void |
public CustomFrameDifferenceDetector ( ) : System | ||
Результат | System |
public CustomFrameDifferenceDetector ( bool suppressNoise ) : System | ||
suppressNoise | bool | Suppress noise in video frames or not (see |
Результат | System |
public CustomFrameDifferenceDetector ( bool suppressNoise, bool keepObjectEdges ) : System | ||
suppressNoise | bool | Suppress noise in video frames or not (see |
keepObjectEdges | bool | Restore objects edges after noise suppression or not (see |
Результат | System |
public ProcessFrame ( |
||
videoFrame | Video frame to process (detect motion in). | |
Результат | void |
public SetBackgroundFrame ( |
||
backgroundFrame | Background frame to set. | |
Результат | void |
public SetBackgroundFrame ( |
||
backgroundFrame | Background frame to set. | |
Результат | void |
public SetBackgroundFrame ( |
||
backgroundFrame | Background frame to set. | |
Результат | void |