4 #include <opencv2/core/core.hpp>
15 void readConfig(
char* configFileName,
char* videoPath, cv::Rect &box);
23 void writeXML(std::string configFileName,
const std::string videoPath,
const cv::Rect box);
31 void readXML(std::string configFileName, std::string &videoPath, cv::Rect &box);
38 template <
class T>
int unique(T* src,
int len)
42 int index = 1, end = 0;
43 for(;index < len; index++){
46 if(src[index] == src[k])
50 src[end] = src[index];