Motion detection API
Motion detection API allows applications to
1) set/get the motion detection setting
Data structures
Data Structure
SMotionDetectionSetti
ng
SMDList
SChannelMotionDetec
tion
SMDRegionList
SMDRegion
/* SMotionDetection */
// Upper left coordinte (x,y), bottom right coordinate (x1, y1)
typedef struct _MDRegionEntry {
int enabled;
int sensitivity; // 1-100. (low->high)
int threshold; // 1-100. (low->high)
int x;
int y;
int x1;
int y1;
} SMDRegionEntry;
/*SMDRegionList*/
typedef struct _MDRegionList
int size;
SMDRegionEntry regionEntry[5];
}SMDRegionList;
typedef struct _MDEntry {
int enabled;
int channelIndex; //match stream channel index , (Unique) 0: reserved. 1+: valid
index
int detectionInterval;
one.
SMDRegionList MDRList;
} SMDEntry;
typedef struct _MDList {
int size;
SMDEntry MDEntry[5];//match stream
}SMDList;
Description
Basic motion detection setting.
List of detection channels.
Keep the information of detection channels.
List of detection regions.
Keep the information of detection regions.
{
// The time interval to carry out another MD after previous
113
Need help?
Do you have a question about the WFB-100A and is the answer not in the manual?
Questions and answers