diff --git a/modules/tracker/mbt/test/generic-with-dataset/testGenericTracker.cpp b/modules/tracker/mbt/test/generic-with-dataset/testGenericTracker.cpp index 9c0677ef5e..709128e746 100644 --- a/modules/tracker/mbt/test/generic-with-dataset/testGenericTracker.cpp +++ b/modules/tracker/mbt/test/generic-with-dataset/testGenericTracker.cpp @@ -497,9 +497,9 @@ bool run(const std::string &input_directory, bool opt_click_allowed, bool opt_di std::map > > mapOfModels; std::map mapOfW; mapOfW["Camera1"] = I.getWidth(); - mapOfW["Camera2"] = I.getHeight(); + mapOfW["Camera2"] = I_depth.getWidth(); std::map mapOfH; - mapOfH["Camera1"] = I_depth.getWidth(); + mapOfH["Camera1"] = I.getHeight(); mapOfH["Camera2"] = I_depth.getHeight(); std::map mapOfcMos; mapOfcMos["Camera1"] = cMo;