Image sequence with rel paths fix.

This commit is contained in:
Tadas Baltrusaitis 2017-12-12 09:00:28 +00:00
parent 061f693022
commit d793e71f72

View file

@ -396,7 +396,7 @@ cv::Mat ImageCapture::GetNextImage()
// Set the grayscale frame // Set the grayscale frame
convertToGrayscale(latest_frame, latest_gray_frame); convertToGrayscale(latest_frame, latest_gray_frame);
this->name = boost::filesystem::path(image_files[frame_num]).filename().replace_extension("").string(); this->name = image_files[frame_num];
frame_num++; frame_num++;