# Scene Filter

Filters the input from a camera, to remove records that do not show the intended scene. To determine whether the camera is recording the intended scene, the input records are compared to a stored image. You can use this engine to filter out records, and therefore stop analysis, when a PTZ-capable CCTV camera has been moved by the operator.

Configuration Parameter | Description
--- | ---
AnalysisInterval | Specifies how often to compare the input to the background image.
BackgroundImage | An image of the intended scene.
Input | The name of the image track to analyze.
MaxMatchDifference | The average difference in luminosity between pixels in the ingested frame and pixels in the stored image must not exceed this value for the scenes to be considered the same.
MinMatchCorrelation | The correlation between the pixels in the ingested frame and pixels in the stored image must exceed this value for the scenes to be considered the same.
MinTransitionTime | The minimum time duration that must pass before Media Server starts or stops filtering records.
Type | The engine to use. Set this parameter to `SceneFilter`.

## Output Tracks

This engine produces a single output track, named `TaskName.Output`. This track is a copy of the input track, but filtered so that it only contains video frames that match the background image. If the camera is moved to view another scene, the input video frames are filtered out.

_FT_HTML5_bannerTitle.htm