mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-07-13 16:47:48 +00:00
Bug fix with intrinsics.
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user