#include <opencv2/core/core.hpp>
#include <string>
#include <fstream>
Go to the source code of this file.
|
| void | readConfig (char *configFileName, char *videoPath, cv::Rect &box) |
| | readConfig read config text More...
|
| |
| void | writeXML (std::string configFileName, const std::string videoPath, const cv::Rect box) |
| | writeXML write XML and YMAL config file More...
|
| |
| void | readXML (std::string configFileName, std::string &videoPath, cv::Rect &box) |
| | readXML read XML and YMAL config file More...
|
| |
| template<class T > |
| int | unique (T *src, int len) |
| |
| void readConfig |
( |
char * |
configFileName, |
|
|
char * |
videoPath, |
|
|
cv::Rect & |
box |
|
) |
| |
readConfig read config text
- Parameters
-
| configFileName | config file name |
| videoPath | the returned video name |
| box | returned value of initialize tracking window |
| void readXML |
( |
std::string |
configFileName, |
|
|
std::string & |
videoPath, |
|
|
cv::Rect & |
box |
|
) |
| |
readXML read XML and YMAL config file
- Parameters
-
| configFileName | |
| videoPath | |
| box | |
template<class T >
| int unique |
( |
T * |
src, |
|
|
int |
len |
|
) |
| |
compute the unique elements in src the length of src
- Returns
- the total number of elements in dest src[0] ... src[n-1]
| void writeXML |
( |
std::string |
configFileName, |
|
|
const std::string |
videoPath, |
|
|
const cv::Rect |
box |
|
) |
| |
writeXML write XML and YMAL config file
- Parameters
-
| configFileName | |
| videoPath | |
| box | |