We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d0a76d commit b768f5dCopy full SHA for b768f5d
src/dataset/kaist_pub.cpp
@@ -115,7 +115,7 @@ int main(int argc, char* argv[]) {
115
const string& sensor_type = line_data_vec[1];
116
if (sensor_type == "stereo") {
117
const string img_file = sData_path + "/image/stereo_left/" + time_str + ".png";
118
- const cv::Mat raw_image = cv::imread(img_file, CV_LOAD_IMAGE_ANYDEPTH);
+ const cv::Mat raw_image = cv::imread(img_file, IMREAD_ANYDEPTH);
119
if (raw_image.empty()) {
120
cerr << "[PublishData]: Failed to open image at time: " << time_str;
121
return -1;
0 commit comments