Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

> 4 points to P3P algorithm

Hi,

Recently I have been trying out the various PnP algorithms that are part of the openCV library, such as:

  1. P3P
  2. EPNP
  3. ITERATIVE
  4. UPNP
  5. DLS

After manually annotating a few images for the 2D correspondences (like in this tutorial), I ran into a few issues and hence

My question:

  1. UPNP , EPNP and DLS gave me the same result for all images I used. I think that UPNP and EPNP may have same result since UPNP is like EPNP for uncalibrated cameras (while my camera is calibrated), but I don't understand why DLS is giving me the same result.

  2. Can P3P algorithm accept more than 4 inputs ? Currently openCV throws an assertion error if I pass in >4 points using the P3P flag to the cv::solvePnP() method.

> 4 points to P3P algorithm

Hi,

Recently I have been trying out the various PnP algorithms that are part of the openCV library, such as:

  1. P3P
  2. EPNP
  3. ITERATIVE
  4. UPNP
  5. DLS

After manually annotating a few images for the 2D correspondences (like in this tutorial), I ran into a few issues and hence

My question:

  1. UPNP , EPNP and DLS gave me the same result for all images I used. I think that UPNP and EPNP may have same result since UPNP is like EPNP for uncalibrated cameras (while my camera is calibrated), but I don't understand why DLS is giving me the same result.

  2. Can P3P algorithm accept more than 4 inputs ? Currently openCV throws an assertion error if I pass in >4 points using the P3P flag to the cv::solvePnP() method.

> 4 points to P3P algorithmClarification of PnP variants

Hi,

Recently I have been trying out the various PnP algorithms that are part of the openCV library, such as:

  1. P3P
  2. EPNP
  3. ITERATIVE
  4. UPNP
  5. DLS

After manually annotating a few images for the 2D correspondences (like in this tutorial), I ran into a few issues and hence

My question:

  1. UPNP , EPNP and DLS gave me the same result for all images I used. I think that UPNP and EPNP may have same result since UPNP is like EPNP for uncalibrated cameras (while my camera is calibrated), but I don't understand why DLS is giving me the same result.

  2. Can P3P algorithm accept more than 4 inputs ? Currently openCV throws an assertion error if I pass in >4 points using the P3P flag to the cv::solvePnP() method.

Clarification of PnP variants

Hi,

Recently I have been trying out the various PnP algorithms that are part of the openCV library, such as:

  1. P3P
  2. EPNP
  3. ITERATIVE
  4. UPNP
  5. DLS

After manually annotating a few images for the 2D correspondences (like in this tutorial), I ran into a few issues and hence

My question:

  1. UPNP , EPNP and DLS gave me the same result for all images I used. I think that UPNP and EPNP may have same result since UPNP is like EPNP for uncalibrated cameras (while my camera is calibrated), but I don't understand why DLS is giving me the same result.

  2. Can P3P algorithm accept more than 4 inputs ? Currently openCV throws an assertion error if I pass in >4 points using the P3P flag to the cv::solvePnP() method.