Closed chunyang-zhang closed 4 years ago
Sometimes, this error comes from the input images not found.
Okay,thank you for your advice! I have checked the input images that is needed by the function(test_t265_data()):
cv::Mat im1 = cv::imread("robot1.png", cv::IMREAD_GRAYSCALE);
cv::Mat im2 = cv::imread("robot2.png", cv::IMREAD_GRAYSCALE);
translationVector = cv::readOpticalFlow("translationVector.flo");
calibrationVector = cv::readOpticalFlow("calibrationVector.flo");
fisheyeMask8 = cv::imread("mask.png", cv::IMREAD_GRAYSCALE);
translationVector = cv::readOpticalFlow("translationVectorHalf.flo");
calibrationVector = cv::readOpticalFlow("calibrationVectorHalf.flo");
fisheyeMask8 = cv::imread("maskHalf.png", cv::IMREAD_GRAYSCALE);
robot1.png, robot2.png, mask.png, maskHalf.png, calibrationVector.flo, calibrationVector.flo, translationVectorHalf.flo, calibrationVectorHalf.flo
I put these files and my program in a same directory, I'm sure that these files can be found by the program, but i also get the same error again. Could you give some advice? thank you!
I added a few lines to check if the images are actually found. Please check if it works for you.
I added a few lines to check if the images are actually found. Please check if it works for you.
Okay, thank you for your work and response! I will try it again!
it works! thank you very much
Your work is amazing! I try to run the "testvfs" demo, but failed. Error Message : CUDA error at /home/super/Vision/vfs/testVFS/downscale.cu:92 code=18(cudaErrorInvalidTexture) "cudaBindTexture2D(0, texFine, src, width, height, stride * sizeof(float))". Have you encountered this problem? If not, do you have any ideas about it? thank you!