Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
BAILOOL committed Feb 3, 2024
1 parent 85ed6c6 commit bf6c367
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions McCalib/src/McCalib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,12 @@ void Calibration::detectBoardsInImageWithCamera(const std::string frame_path,
const int frame_idx) {
LOG_INFO << "Got here1 ";
cv::Mat image = cv::imread(frame_path);
if(image.empty())
{
std::cout << "Could not read the image: " << frame_path << std::endl;
return 1;
}

LOG_INFO << "Got here1-2 ";
// Greyscale image for subpixel refinement
cv::Mat graymat;
Expand Down

0 comments on commit bf6c367

Please sign in to comment.