User`s manual
88 Function Library
Action: The argument descript what actions the function will
do.
bit 0: Callback,
bit 1: Reserved,
bit 2: Send motion frame
Example: when action = 1 + 4, the function will perform
callback and send the motion image.
X_Start, Y_Start, Width, Height: Set the boundary
of motion detection area.
@ Return Code
@ Example
< VC/BCB >
int Result;
int channel = 0;
int enable = 1;
int Threshold = 5;
int interval = 3;
int action = 1 + 4;
int area =1;
int X_Start = 0;
int Y_Start =0;
int Width = 160;
int Height = 120;
Result =
AngeloMPEG4_Decode_Set_Motion_Detection(cha
nnel, area, enable, Threshold, interval,
action, X_Start, Y_Start, Width, Height);
< Visual Basic >
Dim Result As Long, channel As Long, enable As
Long, Threshold As Long, interval As Long,
action As Long, area As Long, X_Start As
Long, Y_Start As Long, Width As Long, Height
As Long