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