Skip to content

Commit

Permalink
Fixing image path compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
BAILOOL authored Feb 3, 2024
1 parent 8766c78 commit 757ffdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion McCalib/src/McCalib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void Calibration::detectBoardsWithCamera(const std::vector<cv::String> &fn,
cv::Mat image = cv::imread(fn[0]);
if (image.empty())
{
LOG_ERROR << "Could not read the image :: " << frame_path;
LOG_ERROR << "Could not read the image :: " << fn[0]);
assert((!image.empty()) && "Calibration cannot be done");
}
cams_[cam_idx]->im_cols_ = image.cols;
Expand Down

0 comments on commit 757ffdc

Please sign in to comment.