144cd8c4
Hu Chunming
v6.0.0 替换模型
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "CD.h"// detector
#include "libuctools.h"
#include "sort/Sort.h"// tracker
#include "sort/SnapShot.h"
#define MULTICHANNEL 20 //支持的最多路数
#define THRESHOLD 0.3
struct objDetector{
void* detector;
Sort* tracker;
SnapShot* snapshotHelper;
CD_PARAM param;
int channels;//值为opencv的CV_8UC1 或者 CV_8UC3
CDTOOLS_Result *ssdResult; //检测的结果数组
int frameCounter;
bool isInitFrame;
};
|