Closed Zoltan3057 closed 2 years ago
Hi, It seems saved images sometimes have misalignment. Using cv::Mat clone() may improve this condition.
void dmvio::DatasetSaver::addImage(cv::Mat& mat, double timestamp, double exposure) { { std::unique_lock<std::mutex> lock(mutex); imageQueue.emplace_back(mat.clone(), timestamp, exposure); } frameArrivedCond.notify_all(); }
Thanks a lot for reporting this and providing a solution! It should be fixed now, but please let me know if the problem still arises.
Hi, It seems saved images sometimes have misalignment. Using cv::Mat clone() may improve this condition.