IMVMotionDetection
IMVMotionDetection Interface.
The IMVMotionDetection Interface provides methods to configure the MV Motion Detection filter.
| DrawColour | Colour that is used to draw the motion detection regions. |
| DrawRegions | Specifies whether the motion detection region rectangles are drawn. |
| DrawTimeStamp | Specifies whether a time stamp is drawn onto the video stream. |
| IsMotionDetected | Is currently motion detected within any region? |
| IsMotionInRegion | Is motion detected within the currently selected region? |
| LineWidth | Line width for drawing. |
| MinLumaDiff | Minimum pixel luminance difference. |
| MinNumOfPixel | Minimum number of changed pixels in percent. |
| MotionDetection | Enables or disables motion detection. |
| PostRoll | Number of post roll frames. |
| RegionHeight | Height of the currently selected region. |
| RegionWidth | Width of the currently selected region. |
| RegionXOrigin | Horizotal origin of the currently selected region. |
| RegionYOrigin | Vertical origin of the currently selected region. |
| SelectedRegion | Currently selected motion detection region. |
| ShowMotionAreas | Specifies whether areas are highlighted if motion is detected. |
| UseRegions | Specifies the number of motion detection regions. |
Header file: IMVMotionDetection.h
Interface definition language file: IMVMotionDetection.idl
Typelib: MVMotionDetection
Interface ID: IID_IMVMotionDetection
Property IMVMotionDetection::DrawColour
Declaration: Property Get/Put DrawColour As LongColour that is used to draw the motion detection regions.
Prototype:HRESULT put_DrawColour(LONG);
HRESULT get_DrawColour(LONG*);
Property IMVMotionDetection::DrawRegions
Declaration: Property Get/Put DrawRegions As LongSpecifies whether the motion detection region rectangles are drawn.
Prototype:HRESULT put_DrawRegions(LONG);
HRESULT get_DrawRegions(LONG*);
Property IMVMotionDetection::DrawTimeStamp
Declaration: Property Get/Put DrawTimeStamp As LongSpecifies whether a time stamp is drawn onto the video stream.
Prototype:HRESULT put_DrawTimeStamp(LONG);
HRESULT get_DrawTimeStamp(LONG*);
Method IMVMotionDetection::IsMotionDetected
Declaration: Function IsMotionDetected As LongIs currently motion detected within any region?
Parameter:
Prototype:
value Unequal to zero if motion is detected and zero otherwise. HRESULT IsMotionDetected(LONG* value);
Method IMVMotionDetection::IsMotionInRegion
Declaration: Function IsMotionInRegion As LongIs motion detected within the currently selected region?
Parameter:
Prototype:
value Unequal to zero if motion is detected and zero otherwise. HRESULT IsMotionInRegion(LONG* value);
Property IMVMotionDetection::LineWidth
Declaration: Property Get/Put LineWidth As LongLine width for drawing.
Prototype:HRESULT put_LineWidth(LONG);
HRESULT get_LineWidth(LONG*);
Property IMVMotionDetection::MinLumaDiff
Declaration: Property Get/Put MinLumaDiff As LongMinimum pixel luminance difference.
Prototype:HRESULT put_MinLumaDiff(LONG);
HRESULT get_MinLumaDiff(LONG*);
Property IMVMotionDetection::MinNumOfPixel
Declaration: Property Get/Put MinNumOfPixel As DoubleMinimum number of changed pixels in percent.
Prototype:HRESULT put_MinNumOfPixel(DOUBLE);
HRESULT get_MinNumOfPixel(DOUBLE*);
Property IMVMotionDetection::MotionDetection
Declaration: Property Get/Put MotionDetection As LongEnables or disables motion detection.
Prototype:HRESULT put_MotionDetection(LONG);
HRESULT get_MotionDetection(LONG*);
Property IMVMotionDetection::PostRoll
Declaration: Property Get/Put PostRoll As LongNumber of post roll frames.
Prototype:HRESULT put_PostRoll(LONG);
HRESULT get_PostRoll(LONG*);
Property IMVMotionDetection::RegionHeight
Declaration: Property Get/Put RegionHeight As LongHeight of the currently selected region.
Prototype:HRESULT put_RegionHeight(LONG);
HRESULT get_RegionHeight(LONG*);
Property IMVMotionDetection::RegionWidth
Declaration: Property Get/Put RegionWidth As LongWidth of the currently selected region.
Prototype:HRESULT put_RegionWidth(LONG);
HRESULT get_RegionWidth(LONG*);
Property IMVMotionDetection::RegionXOrigin
Declaration: Property Get/Put RegionXOrigin As LongHorizotal origin of the currently selected region.
Prototype:HRESULT put_RegionXOrigin(LONG);
HRESULT get_RegionXOrigin(LONG*);
Property IMVMotionDetection::RegionYOrigin
Declaration: Property Get/Put RegionYOrigin As LongVertical origin of the currently selected region.
Prototype:HRESULT put_RegionYOrigin(LONG);
HRESULT get_RegionYOrigin(LONG*);
Property IMVMotionDetection::SelectedRegion
Declaration: Property Get/Put SelectedRegion As LongCurrently selected motion detection region.
Prototype:HRESULT put_SelectedRegion(LONG);
HRESULT get_SelectedRegion(LONG*);
Property IMVMotionDetection::ShowMotionAreas
Declaration: Property Get/Put ShowMotionAreas As LongSpecifies whether areas are highlighted if motion is detected.
Prototype:HRESULT put_ShowMotionAreas(LONG);
HRESULT get_ShowMotionAreas(LONG*);
Property IMVMotionDetection::UseRegions
Declaration: Property Get/Put UseRegions As LongSpecifies the number of motion detection regions.
Prototype:HRESULT put_UseRegions(LONG);
HRESULT get_UseRegions(LONG*);