TRVMotionDetector

Properties   Methods

Top  Previous  Next

TRVMotionDetector finds differences between two images, and returns them as a collection of rectangular areas.

Unit MRVFuncImg;

Syntax

TRVMotionDetector = class;

hmtoggle_arrow1Hierarchy

Description

This class can be used to detect motion, i.e. changes between two video frames. It returns the result as a collection of rectangles covering all changed areas.

The class has the following properties defining detection options:

ChangedAreaProcessingMode

MinChangeAreaSize,

PixelColorThreshold

The changes are detected by calling DetectChanges. The results are returned by GetRect and IsRectValid.

The example of using this class can be found in the demo projects, Cameras\MotionDetect