Skip to content
Snippets Groups Projects
Commit bd7e118b authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Fix forgotten time_tolerance

parent 8d0354a2
No related branches found
No related tags found
1 merge request!163Time tol
...@@ -13,7 +13,7 @@ namespace wolf ...@@ -13,7 +13,7 @@ namespace wolf
#if defined (HAVE_OPENCV3) #if defined (HAVE_OPENCV3)
ProcessorImageFeature::ProcessorImageFeature(ProcessorParamsImage _params) : ProcessorImageFeature::ProcessorImageFeature(ProcessorParamsImage _params) :
ProcessorTrackerFeature("IMAGE", _params.algorithm.max_new_features), ProcessorTrackerFeature("IMAGE", _params.time_tolerance, _params.algorithm.max_new_features),
params_(_params), params_(_params),
active_search_grid_() active_search_grid_()
{ {
...@@ -81,7 +81,7 @@ ProcessorImageFeature::ProcessorImageFeature(ProcessorParamsImage _params) : ...@@ -81,7 +81,7 @@ ProcessorImageFeature::ProcessorImageFeature(ProcessorParamsImage _params) :
#else #else
ProcessorImageFeature::ProcessorImageFeature(ProcessorParamsImage _params) : ProcessorImageFeature::ProcessorImageFeature(ProcessorParamsImage _params) :
ProcessorTrackerFeature("IMAGE", _params.algorithm.max_new_features), ProcessorTrackerFeature("IMAGE", _params.time_tolerance, _params.algorithm.max_new_features),
matcher_ptr_(nullptr), matcher_ptr_(nullptr),
detector_descriptor_ptr_(nullptr), detector_descriptor_ptr_(nullptr),
params_(_params), params_(_params),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment