Giter Site home page Giter Site logo

Run return test_t265_data() Error about vfs HOT 5 CLOSED

menandro avatar menandro commented on July 30, 2024
Run return test_t265_data() Error

from vfs.

Comments (5)

menandro avatar menandro commented on July 30, 2024

Sometimes, this error comes from the input images not found.

from vfs.

chunyang-zhang avatar chunyang-zhang commented on July 30, 2024

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!

from vfs.

menandro avatar menandro commented on July 30, 2024

I added a few lines to check if the images are actually found. Please check if it works for you.

from vfs.

chunyang-zhang avatar chunyang-zhang commented on July 30, 2024

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!

from vfs.

chunyang-zhang avatar chunyang-zhang commented on July 30, 2024

it works! thank you very much

from vfs.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.