You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I performed pose estimation with Arucos in Python3 with OpenCV 4.5.5 (installed via pip) and works as expected.
Rewriting the code in C++ with OpenCV 4.5.5 (built from source) the axes are flipped and translated from the center.
The corners are detected as expected in both Python and C++
I cant provide the full image (IP reasons) but i can provide a sample showcasing the error.
The camera matrix and distortion coefficients are the same in both.
Camera matrix:
[1256.90057913919, 0, 879.4298086122573;
0, 1254.48702971061, 504.1243816908799;
0, 0, 1]
System information (version)
Detailed description
I performed pose estimation with Arucos in Python3 with OpenCV 4.5.5 (installed via pip) and works as expected.
Rewriting the code in C++ with OpenCV 4.5.5 (built from source) the axes are flipped and translated from the center.
The corners are detected as expected in both Python and C++
I cant provide the full image (IP reasons) but i can provide a sample showcasing the error.
The camera matrix and distortion coefficients are the same in both.
Camera matrix:
[1256.90057913919, 0, 879.4298086122573;
0, 1254.48702971061, 504.1243816908799;
0, 0, 1]
Dist coeffs:
[-0.0552371547544854, -0.09931921582386366, 0.0007686659523849842, -0.002406439165687887, 0.02099621803945325]
Expected output (from Python):

Resulting output (C++)

Steps to reproduce
Python code:
C++ Code
C++ code
Issue submission checklist
I report the issue, it's not a question
I checked the problem with documentation, FAQ, open issues,
forum.opencv.org, Stack Overflow, etc and have not found any solution
I updated to the latest OpenCV version and the issue is still there
There is reproducer code and related data files: videos, images, onnx, etc
The text was updated successfully, but these errors were encountered: