Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when running demo-omd #38

Open
yxianzhe opened this issue Mar 23, 2022 · 9 comments
Open

Problem when running demo-omd #38

yxianzhe opened this issue Mar 23, 2022 · 9 comments

Comments

@yxianzhe
Copy link

Hi, this work is really fantastic.
When I tried demo-kitti, it worked well and got a very good estimation. I just had some problem when running demo-omd. And I had the following mistake:

..........Dealing with Camera Pose..........
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.2.0) /home/yxz/lib_sources/opencv/opencv/modules/calib3d/src/solvepnp.cpp:216: error: (-215:Assertion failed) npoints >= 4 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) in function 'solvePnPRansac'

I tried to modify the variable reprojectionError to have more good matches, but it didn't work. Do you have any ideas about this mistake?

@ZhenhuiL1n
Copy link

I also have this problem.

@RGthesis
Copy link

RGthesis commented Sep 1, 2022

Hi, I am a begginer in this project and i am facing the same issue as you @yxianzhe @ZhenhuiL1n . If you have found a solution, let me know ;)

@JonnyG123789
Copy link

same

@JonnyG123789
Copy link

it seems like too few matched keypoints

@JonnyG123789
Copy link

Hi, I am a begginer in this project and i am facing the same issue as you @yxianzhe @ZhenhuiL1n . If you have found a solution, let me know ;)

DId you got this problem?

@JonnyG123789
Copy link

The method is to "#" about depth value in Tracking.cc 200.

@Sherryblues
Copy link

The method is to "#" about depth value in Tracking.cc 200.
hello!
I found that line 200 in Tracking.cc has already been annotated.
Can you explain it in more detail?
Thank you!
图片

@sinsyamoses
Copy link

i also have this problem

@hu-xue
Copy link

hu-xue commented Oct 24, 2023

The method is to "#" about depth value in Tracking.cc 200.
hello!
I found that line 200 in Tracking.cc has already been annotated.
Can you explain it in more detail?
Thank you!
图片

if we use omd dataset, it is based on the RGB-D camera. So we should change the depth calculate function of RGB-D camera, such as line 193.
so uncomment 193, and comment 191 can fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants