Bug fix with intrinsics.
This commit is contained in:
parent
1b80d55094
commit
c93004f03d
2 changed files with 9 additions and 3 deletions
|
@ -182,7 +182,7 @@ int main (int argc, char **argv)
|
|||
|
||||
cv::Mat captured_image;
|
||||
|
||||
captured_image = image_reader.GetNextImage();
|
||||
captured_image = image_reader.GetNextImage();
|
||||
|
||||
cout << "Starting tracking" << endl;
|
||||
while (!captured_image.empty())
|
||||
|
|
|
@ -197,7 +197,10 @@ bool ImageCapture::OpenImageFiles(const std::vector<std::string>& image_files, f
|
|||
this->cx = cx;
|
||||
this->cy = cy;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
image_intrinsics_set = false;
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
|
@ -275,7 +278,10 @@ bool ImageCapture::OpenDirectory(std::string directory, std::string bbox_directo
|
|||
this->cx = cx;
|
||||
this->cy = cy;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
image_intrinsics_set = false;
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue