1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 21:40:49 +08:00

Add a framework for choosing the descriptor

This commit is contained in:
Kurnianggoro
2015-06-02 14:39:46 +09:00
parent e746608599
commit efc0322ec8
2 changed files with 27 additions and 7 deletions

View File

@@ -1198,6 +1198,7 @@ class CV_EXPORTS_W TrackerTLD : public Tracker
class CV_EXPORTS_W TrackerKCF : public Tracker
{
public:
enum MODE {GRAY, CN, CN2};
struct CV_EXPORTS Params
{
Params();
@@ -1209,7 +1210,8 @@ class CV_EXPORTS_W TrackerKCF : public Tracker
double interp_factor; // linear interpolation factor for adaptation
double output_sigma_factor; // spatial bandwidth (proportional to target)
bool resize; // activate the resize feature to improve the processing speed
int max_patch_size; // threshold for the ROI size
int max_patch_size; // threshold for the ROI size
MODE descriptor; // descriptor type
};
/** @brief Constructor