ObjCls.h 358 Bytes
#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;
};