We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, how can I compute Aruco center on the image? Thank you,
Gabriele
The text was updated successfully, but these errors were encountered:
Ok I found it. It is:
Mat aruco = corners.get(i); double[] point1 = aruco.get(0,0); double[] point2 = aruco.get(0,2); int centerX = (int)((point1[0] + point2[0]) / 2.0); // width int centerY = (int)((point1[1] + point2[1]) / 2.0); // height
Mat aruco = corners.get(i);
double[] point1 = aruco.get(0,0);
double[] point2 = aruco.get(0,2);
int centerX = (int)((point1[0] + point2[0]) / 2.0); // width
int centerY = (int)((point1[1] + point2[1]) / 2.0); // height
Sorry, something went wrong.
No branches or pull requests
Hi,
how can I compute Aruco center on the image?
Thank you,
Gabriele
The text was updated successfully, but these errors were encountered: