Click or drag to resize
Accord.NET (logo)

SimpleBackgroundModelingDetectorFramesPerBackgroundUpdate Property

Frames per background update, [1, 50].

Namespace:  Accord.Vision.Motion
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public int FramesPerBackgroundUpdate { get; set; }
Request Example View Source

Property Value

Type: Int32
Remarks

The value controls the speed of modeled background adaptation to scene changes. After each specified amount of frames the background frame is updated in the direction to decrease difference with current processing frame.

Default value is set to 2.

Note Note
The property has effect only in the case if MillisecondsPerBackgroundUpdate property is set to 0. Otherwise it does not have effect and background update is managed according to the MillisecondsPerBackgroundUpdate property settings.

See Also