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

Assertion error (bug) #1

Open
craigstar opened this issue Mar 29, 2019 · 1 comment
Open

Assertion error (bug) #1

craigstar opened this issue Mar 29, 2019 · 1 comment

Comments

@craigstar
Copy link

craigstar commented Mar 29, 2019

Hi, I tried your code, its perfect! It worked well on my laptop except one place.
On line 278 pop_solver.cpp
C.block ( 3, 0, 1, 4 ) = Eigen::Vector4d ( 1.0, 1.0, 1.0, 1.0 );
When I run the program, it got stuck here. assertion error. rows and cols != problem.
my fix is C.block ( 3, 0, 1, 4 ) = Eigen::Vector4d ( 1.0, 1.0, 1.0, 1.0 ).transpose();

Good job! I found your result is much much better than OpenCV's epnp!

@cumtchenchang
Copy link

@craigstar hi, do you have compare demos? I encountered an error when using this code in my project, so I want to compare OpenCV and this work. May you provide a demo or some suggestions about comparison. Thank you, sincerely.

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

2 participants