mirror of
https://github.com/kerberos-io/documentation.git
synced 2026-08-23 15:18:31 +00:00
update config stream port + update explanation background subtraction
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
This Background subtraction algorithm is **a more advanced** method in comparison to the **Differential images** method. The key difference is that it uses and calculates a background image. Images taken from the capture device are then subtracted from the background image, resulting in a more robust segmentation of the foreground. As this method is more accurate, it also **consumes a lot more CPU power and memory**; the background model is adapted by every iteration.
|
||||
|
||||
The algorithm is described in [**following paper**](http://personal.ee.surrey.ac.uk/Personal/R.Bowden/publications/avbs01/avbs01.pdf).
|
||||
|
||||
## Parameters
|
||||
|
||||
The parameters of the Background images algorithm can be found in the *config/algorithm.xml* file, but you can also use the web to modify the parameters. Below you see a default configuration file.
|
||||
@@ -32,11 +34,11 @@ Finding the ideal history parameters, depends heavily in the application you wan
|
||||
|
||||
### NMixtures
|
||||
|
||||
The erode parameter represents a structural element (a morphological operation), which will be used to minimize the changed pixels.
|
||||
Sets the number of gaussian components in the background model.
|
||||
|
||||
### Ratio
|
||||
|
||||
The erode parameter represents a structural element (a morphological operation), which will be used to minimize the changed pixels.
|
||||
If a foreground pixel keeps semi-constant value for about backgroundRatio*history frames, it’s considered background and added to the model as a center of a new component.
|
||||
|
||||
### Erode
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ The parameters for the supported streaming protocols can be found in the *config
|
||||
|
||||
<Mjpg>
|
||||
<enabled type="bool">true</enabled>
|
||||
<streamPort type="number">8888</streamPort>
|
||||
<streamPort type="number">8889</streamPort>
|
||||
<quality type="number">75</quality>
|
||||
</Mjpg>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user