ObjCls.h
479 Bytes
#include "VPT.h"// detector
#include "sort/Sort.h"// tracker
#include "sort/SnapShot.h"
#define MULTICHANNEL 20 //支持的最多路数
#define THRESHOLD 0.4
#include <boost/thread.hpp>
struct objDetector{
void* detector;
Sort* tracker;
SnapShot* snapshotHelper;
VPT_PARAM param;
int channels;//值为opencv的CV_8UC1 或者 CV_8UC3
int frameCounter;
bool isInitFrame;
int licence_status = -1;
int thrd_status = -1;
boost::thread thrd;
};