Skip to content

Conversation

@AleksandrPanov
Copy link
Contributor

Fixes #3045
For the pose estimation example, the camera parameters are required. To work with examples from the tutorial, default camera parameters were added:

Size imgSize = inputImage.size();
cameraMatrix = Mat::eye(3, 3, CV_64FC1);
cameraMatrix.at<double>(0, 0) = cameraMatrix.at<double>(1, 1) = 650;
cameraMatrix.at<double>(0, 2) = imgSize.width / 2;
cameraMatrix.at<double>(1, 2) = imgSize.height / 2;
distCoeffs = Mat(5, 1, CV_64FC1, Scalar::all(0));

aruco_tutorial

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@AleksandrPanov AleksandrPanov added category: documentation Documentation fix or update, does not affect code category: samples category: aruco labels Nov 22, 2021
@AleksandrPanov AleksandrPanov self-assigned this Nov 22, 2021
@alalek
Copy link
Member

alalek commented Nov 26, 2021

AleksandrPanov self-assigned this 4 days ago

Assignment to author blocks PR merging.
This means that author wants/needs to do something (it is better to use "convert to draft" for such cases)

@AleksandrPanov AleksandrPanov removed their assignment Nov 26, 2021
@AleksandrPanov
Copy link
Contributor Author

AleksandrPanov self-assigned this 4 days ago

Assignment to author blocks PR merging. This means that author wants/needs to do something (it is better to use "convert to draft" for such cases)

Sorry, I didn't know that. In this PR, nothing else needs to be done.

@opencv-pushbot opencv-pushbot merged commit 43d8975 into opencv:4.x Nov 26, 2021
@alalek alalek mentioned this pull request Dec 30, 2021
@alalek alalek mentioned this pull request Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: aruco category: documentation Documentation fix or update, does not affect code category: samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ArUco tutorial should contain camera parameters of example images

3 participants