From d793e71f72a0748c51035e38499ccbcbedba9b85 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Tue, 12 Dec 2017 09:00:28 +0000 Subject: [PATCH] Image sequence with rel paths fix. --- lib/local/Utilities/src/ImageCapture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/local/Utilities/src/ImageCapture.cpp b/lib/local/Utilities/src/ImageCapture.cpp index 550af6b..5702816 100644 --- a/lib/local/Utilities/src/ImageCapture.cpp +++ b/lib/local/Utilities/src/ImageCapture.cpp @@ -396,7 +396,7 @@ cv::Mat ImageCapture::GetNextImage() // Set the grayscale 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++;