2015-09-15 08:18:06 -0600 | commented question | solvePnP / solvePnPRansac axis references UP - BUMP - UP |
2015-09-13 17:18:39 -0600 | asked a question | solvePnP / solvePnPRansac axis references Hello folks, I am having problems getting a realiable pose estimation using solvePnPRansac. I am using the following parameters for the Ransac: I have 4 World Points and I get 4 image points from the blobs detected. The blobs are well detected, as proved by the following image: Prolems arise when I project points on the body frame. The circle representes the projected points. Projecting the green blob coords, returns the following: Projecting the blue blob: Projecting the left Red blob (upper red): And finally, projecting the down red blob: Projecting the center coords, returns this: I do not have any world coords at the origin. What can this be, or what can I do, to solve this problem? Thank you in advance! |
2015-09-11 18:06:28 -0600 | answered a question | solvePnPRansac CV_32F error I managed it by casting .astype(np.float32) , and it runs! But, I have a problem: The only think it gives back is the following: This is the points I grab from the image (imgp): And these are the World Point Coords: For some reason, the algorithm is doing nothing, or at least it seems. I tried to step down the reprojection error (to as low as 1) and everything stayed the same. With this error, tried to increase the number of iterations, with no results. This is how I am calling the function now: Hope you can help me! With my best regards, Pedro EDIT: I noticed that if I increase reprojection error it works, but I am putting it at like 100. this is way too much I think. What can I do to increase the quality of the measurement? |
2015-09-11 08:56:11 -0600 | answered a question | solvePnPRansac CV_32F error UP - BUMP - UP |
2015-09-09 08:49:53 -0600 | received badge | ● Editor (source) |
2015-09-09 08:21:17 -0600 | asked a question | solvePnPRansac CV_32F error Hello folks, First time here, so forgive me if I do something wrong. Of course, if you need more info on the problem, tell me! I got the following error after running solvePnPRansac: Here are the parameters I am sending to the algorithm, ordered: Any tips on this? Thank you in advance! EDIT: If I cast the arrays to int type with .astype(int) it returns the same error. |