|
IMVPresenceDetection
The IMVPresenceDetection interface contains methods and
properties to configure the MV Presence Detetion
filter
Methods:
Header file:
IMVPresenceDetection.h
Interface definition language file: IMVPresenceDetection.idl
Typelib: MVPresenceDetection
Interface ID: IID_IMVPresenceDetection
Property
IMVPresenceDetection::AreaOfInterestCount
Declaration:
Property Get AreaOfInterestCount As Long
Count of areas of interes.
C Prototype:
HRESULT get_AreaOfInterestCount(LONG
*pVal);
Property IMVPresenceDetection::Color
Declaration:
Property Get/Put Color As Long
Drawing color
C Prototype:
HRESULT put_Color(LONG newVal);
HRESULT get_Color(LONG *pVal);
Property
IMVPresenceDetection::DrawAreasOfInterest
Declaration:
Property Get/Put DrawAreasOfInterest As Boolean
Draw the areas of interest.
C Prototype:
HRESULT
put_DrawAreasOfInterest(VARIANT_BOOL newVal);
HRESULT get_DrawAreasOfInterest(VARIANT_BOOL *pVal);
Property
IMVPresenceDetection::FillValid
Declaration:
Property Get/Put FillValid As Boolean
Fill valid areas.
C Prototype:
HRESULT put_FillValid(VARIANT_BOOL
newVal);
HRESULT get_FillValid(VARIANT_BOOL *pVal);
Method
IMVPresenceDetection::GetAreaOfInterest
Declaration: Sub
GetAreaOfInterest(Index As Long, Enabled As Boolean, Left As Long,
Top As Long, Width As Long, Height As Long, Level As Double)
Get the parameter of an area of interes.
Parameter:
|
|
Index |
Index of area of interest. |
|
|
Enabled |
State of the area of interest. |
|
|
Left |
Left position of the area. |
|
|
Top |
Top position of the area. |
|
|
Width |
Width of the area. |
|
|
Height |
Height of the area. |
|
|
Level |
Presence detection level in percent of pixel. |
C Prototype:
HRESULT GetAreaOfInterest(LONG Index,
VARIANT_BOOL* Enabled, LONG* Left, LONG* Top, LONG* Width, LONG*
Height, DOUBLE* Level);
Method
IMVPresenceDetection::GetAreaOfInterestState
Declaration:
Function GetAreaOfInterestState(Index As Long) As Boolean
Get the state of an area of interes.
Parameter:
|
|
Index |
Index of area of interest. |
C Prototype:
HRESULT GetAreaOfInterestState(LONG
Index, VARIANT_BOOL* value);
Property IMVPresenceDetection::Invert
Declaration:
Property Get/Put Invert As Boolean
Invert the presence detection function
C Prototype:
HRESULT put_Invert(VARIANT_BOOL
newVal);
HRESULT get_Invert(VARIANT_BOOL *pVal);
Property
IMVPresenceDetection::SegmentationThreshold
Declaration:
Property Get/Put SegmentationThreshold As Long
Threshold for binary segmentation.
C Prototype:
HRESULT put_SegmentationThreshold(LONG
newVal);
HRESULT get_SegmentationThreshold(LONG *pVal);
Property
IMVPresenceDetection::SelectAreaOfInterest
Declaration:
Property Get/Put SelectAreaOfInterest As Long
Select an area of interest.
C Prototype:
HRESULT put_SelectAreaOfInterest(LONG
newVal);
HRESULT get_SelectAreaOfInterest(LONG *pVal);
Method
IMVPresenceDetection::SetAreaOfInterest
Declaration: Sub
SetAreaOfInterest(Index As Long, Enabled As Boolean, Left As Long,
Top As Long, Width As Long, Height As Long, Level As Double)
Set the parameter of an area of interes.
Parameter:
|
|
Index |
Index of area of interest. |
|
|
Enabled |
State of the area of interest. |
|
|
Left |
Left position of the area.
|
|
|
Top |
Top position of the area. |
|
|
Width |
Width of the area. |
|
|
Height |
Height of the area. |
|
|
Level |
Presence detection level in percent of pixel. |
C Prototype:
HRESULT SetAreaOfInterest(LONG Index,
VARIANT_BOOL Enabled, LONG Left, LONG Top, LONG Width, LONG Height,
DOUBLE Level);
|