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++;