SOLVEPNP_SQPNP gone?

I was playing around with different solvepnp options in python and SOLVEPNP_SQPNP worked great for me. Then I went to try it in C++ where I’m using opencv 4.x and I was sad to see it didn’t exist. Does anyone know if it migrated to some other name or method?

Thank you.

the flag is still there (why do you think, it isn’t ?)

Hi Berak, sorry I see that it is there. It went away briefly in some of the 4.x releases. I was on 4.3 and the flag was gone (also gone in documentation). But I see it has returned in 4.5. So I incorrectly assumed that it was dropped between 3.x and 4.x. I was able to upgrade my project to 4.5 and get the flag to work again.

1 Like