Making sure non detected frames are 0.

This commit is contained in:
Tadas Baltrusaitis 2017-11-25 18:46:53 +00:00
parent ea0f658190
commit aba30079e6

View file

@ -520,7 +520,7 @@ void CLNF::Read(string main_location)
params_local.setTo(0.0); params_local.setTo(0.0);
// global parameters (pose) [scale, euler_x, euler_y, euler_z, tx, ty] // global parameters (pose) [scale, euler_x, euler_y, euler_z, tx, ty]
params_global = cv::Vec6d(1, 0, 0, 0, 0, 0); params_global = cv::Vec6d(0, 0, 0, 0, 0, 0);
failures_in_a_row = -1; failures_in_a_row = -1;