Class CVMotionCellsSettings
OpenCV motion cells.
Inherited Members
Namespace: VisioForge.Core.Types.X.OpenCV
Assembly: VisioForge.Core.dll
Syntax
public class CVMotionCellsSettings
Properties
CalculateMotion
Gets or sets a value indicating whether to calculate motion.
Declaration
public bool CalculateMotion { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
CellsColor
Gets or sets a color for motion cells.
Declaration
public SKColor CellsColor { get; set; }
Property Value
Type | Description |
---|---|
SKColor |
DataFile
Gets or sets a location of motioncells data file (empty string means no saving).
Declaration
public string DataFile { get; set; }
Property Value
Type | Description |
---|---|
string |
Display
Gets or sets a value indicating whether to display of motion cells on current frame.
Declaration
public bool Display { get; set; }
Property Value
Type | Description |
---|---|
bool |
Gap
Gets or sets an interval after which motion is considered finished and a motion finished bus message is posted.
Declaration
public TimeSpan Gap { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
GridSize
Gets or sets a grid size.
Declaration
public Size GridSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
MinimumMotionFrames
Gets or sets a minimum number of motion frames triggering a motion event.
Declaration
public int MinimumMotionFrames { get; set; }
Property Value
Type | Description |
---|---|
int |
MotionCellBorderThickness
Gets or sets motion cell border thickness. Set to -1 to fill motion cell.
Declaration
public int MotionCellBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
int |
MotionCellsIdx
Gets or sets a cell description with its line and column idx separated with ":". Pass multiple cells as a comma-separated list.
Declaration
public string MotionCellsIdx { get; set; }
Property Value
Type | Description |
---|---|
string |
MotionMaskCellsPos
Gets or sets a cell description with its line and column idx separated with ":". Pass multiple cells as a comma-separated list.
Declaration
public string MotionMaskCellsPos { get; set; }
Property Value
Type | Description |
---|---|
string |
MotionMaskCoords
Gets or sets a region with its upper left and lower right x, y coordinates separated with ":". Pass multiple regions as a comma-separated list.
Declaration
public string MotionMaskCoords { get; set; }
Property Value
Type | Description |
---|---|
string |
PostAllMotion
Gets or sets a value indicating whether to call Motion event for every motion frame or just motion start and motion stop.
Declaration
public bool PostAllMotion { get; set; }
Property Value
Type | Description |
---|---|
bool |
PostNoMotion
Gets or sets a no motion flag. If non 0, call a NoMotion event if no motion is detected for the given number of seconds.
Declaration
public TimeSpan PostNoMotion { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Sensitivity
Gets or sets a motion detection sensitivity.
Declaration
public double Sensitivity { get; set; }
Property Value
Type | Description |
---|---|
double |
Threshold
Gets or sets a threshold value for motion [0.001..0.1]. Filter detects motion when at least this fraction of the cells have moved.
Declaration
public double Threshold { get; set; }
Property Value
Type | Description |
---|---|
double |
UseAlpha
Gets or sets a value indicating whether to use alpha blending on frames with motion cells.
Declaration
public bool UseAlpha { get; set; }
Property Value
Type | Description |
---|---|
bool |