update config stream port + update explanation background subtraction

This commit is contained in:
Cédric Verstraeten
2016-09-01 13:53:07 +02:00
parent 746d42a433
commit 77aa136e50
2 changed files with 5 additions and 3 deletions

View File

@@ -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, its considered background and added to the model as a center of a new component.
### Erode

View File

@@ -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>