-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Charuco seems inaccurate. #3175
Comments
A thing I have done in the past is to play around with the corner refinement method. Best results (but most compute) I used to have with the Apriltag refinement. However, that is broken for me in the latest OpenCV release (installed 4.5.5.62 opencv-python and opencv-contrib-python, platform Windows 10, x64). When I use the pattern detector, it hangs indefinitely without returning a result. |
Related work: #3174 |
Related issue with the algorithm hanging: #2816 |
This PR #3174 could fix your issue. Could you attach the reproducer and images? |
@AleksandrPanov reproducer and images are located in linked repo. See description. |
@NMO13 thx for the very detailed description and nice code. There is a problem with
There are different
After the fix, everything works. Also, attached is the working script. Do you mind if photos from your repository can be used to improve the ArUco tutorial? |
@classner, could you attach a reproducer? cv::aruco::CORNER_REFINE_APRILTAG is working with these samples. |
Hi @AleksandrPanov, thanks for your effort and clear explanation! |
System information (version)
Detailed description
I created a small script here which finds corners of some images containing a chessbaord pattern which I have made, calculates the fundamental matrix and visualizes epipolar lines. I used charuco for finding the corners. The problem: The epipolar lines seem always very off in the visualizations. Therefore I added
cv2.findChessboardCorners
in order to compare it with the charuco corner detection and found that it seems to be much more accurate when visualizing the epilines.The text was updated successfully, but these errors were encountered: